A vehicle data caching method, device, electronic device and storage medium

By obtaining the planned driving path and real-time driving information of the vehicle, and dynamically adjusting the cached data volume in combination with the network status information, the network jitter problem of the vehicle during driving is solved, and smooth playback and traffic savings are achieved at different network speeds.

CN114861098BActive Publication Date: 2024-12-31CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210585500.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2024-12-31
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

Due to the unstable network speed of the vehicle during driving, the existing technology is difficult to find a balance between resisting network speed jitter and reducing traffic waste when setting up cache, resulting in poor playback results or wasted data.

Method used

By obtaining the planned driving path and real-time driving information of the vehicle, the time to reach the target node is determined, and the cached data volume is dynamically adjusted according to the network status information of the target node, ensuring a smooth playback experience at different network speeds.

Benefits of technology

It realizes adjusting the cache size according to the actual network status, which not only ensures the smoothness of playback but also reduces the waste of network traffic, and solves the problem of network jitter during driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114861098B_ABST
    Figure CN114861098B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a data caching method, device, electronic device and storage medium for a vehicle. The method includes obtaining the planned driving path and real-time driving information of the current vehicle; determining the time when the current vehicle arrives at a target node according to the planned driving path and the real-time driving information, and the target node is any point on the planned driving path; obtaining the network status information of the target node at the corresponding time; and caching media data for the current vehicle according to the network status information of the target node at the corresponding time. The embodiment of the present invention caches media data for the current vehicle according to the network status information of the target node at the corresponding time, and caches data according to the actual network conditions, thereby achieving the effect of ensuring the user experience while not wasting excess traffic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to communication processing technology, and more particularly to a vehicle data caching method, device, electronic device and storage medium. Background Art

[0002] It is a very common phenomenon that vehicles play online media while driving. For example, listening to the radio and watching videos while driving will use mobile traffic data. Depending on the distribution of base stations, the traffic bandwidth fluctuates greatly.

[0003] At present, in order to solve the problem of playback jamming caused by unstable network speed during vehicle driving, the multimedia data will be pre-stored by setting cache. In the case of slow network speed, the player can still play the cached data, thus avoiding the situation where the network speed is slow and the player will jam immediately. However, during the data caching process, if a larger cache is set, the anti-network jitter effect is better, but if the user temporarily changes the playback target, more cached data will be wasted, increasing hardware costs; if a smaller cache is set, the user temporarily changes the playback target and wastes less data, but the anti-network jitter effect is poor, which is easy to cause playback jamming. Summary of the invention

[0004] The embodiments of the present invention provide a vehicle data caching method, device, electronic device and storage medium, which can ensure the playback effect under different network speeds and reduce the waste of network traffic.

[0005] In a first aspect, an embodiment of the present invention provides a vehicle data caching method, the method comprising: obtaining a planned driving path and real-time driving information of a current vehicle; determining a time for the current vehicle to arrive at a target node based on the planned driving path and the real-time driving information, the target node being any point on the planned driving path; obtaining network status information of the target node at a corresponding time; and caching media data for the current vehicle based on the network status information of the target node at the corresponding time.

[0006] In a second aspect, an embodiment of the present invention further provides a data caching device for a vehicle, the device comprising: a first acquisition module, used to acquire a planned driving path and real-time driving information of a current vehicle; a time determination module, used to determine the time when the current vehicle arrives at a target node based on the planned driving path and real-time driving information, the target node being any point on the planned driving path; a second acquisition module, used to acquire network status information of the target node at the tracking time; and a data caching module, used to cache media data for the current vehicle based on the network status information of the target node at the corresponding time.

[0007] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a vehicle data caching method as described in any one of the embodiments of the present invention is implemented.

[0008] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a vehicle data caching method as described in any one of the embodiments of the present invention.

[0009] The present invention obtains the planned driving path and real-time driving information of the current vehicle; determines the time when the current vehicle arrives at a target node based on the planned driving path and the real-time driving information, where the target node is any point on the planned driving path; obtains the network status information of the target node at the corresponding time; and caches media data for the current vehicle based on the network status information of the target node at the corresponding time. On the basis of the above-mentioned embodiment, by obtaining the planned driving path and real-time driving information of the current vehicle, and determining the network status at the corresponding time in combination with the time when the current vehicle arrives at the target node, the media data of the current vehicle is cached, the network jitter problem of the current vehicle during driving is solved, and the cache size is realized according to the actual network status, which not only ensures the smoothness of playback but also does not waste the cached media data traffic. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0011] Figure 1 is a flow chart of a vehicle data caching method provided in an embodiment of the present invention;

[0012] Figure 2 is another flow chart of a vehicle data caching method provided in an embodiment of the present invention;

[0013] Figure 3 is a structural schematic diagram of a data cache device for a vehicle provided in an embodiment of the present invention;

[0014] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0015] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0016] In addition, in the embodiments of the present invention, words such as "optional" or "exemplary" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "optional" or "exemplary" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "optional" or "exemplary" is intended to present related concepts in a specific way.

[0017] Figure 1 This is a flow chart of a vehicle data caching method provided in an embodiment of the present invention. The embodiment of the present invention is applicable to online data caching during vehicle driving. The method can be executed by a vehicle data caching device, which can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated into an electronic device, which can be a vehicle entertainment server, i.e., a vehicle server. The following embodiments will be described by taking the vehicle data caching device integrated into an electronic device as an example. Figure 1 The method of the embodiment of the present invention specifically includes the following steps:

[0018] S110: Obtain the planned driving path and real-time driving information of the current vehicle.

[0019] Among them, the driving path refers to the entire route of the current vehicle from the starting point to the end point; the real-time driving information refers to the driving information of the current vehicle recorded according to the actual driving process of the current vehicle. Specifically, the real-time driving information includes the real-time driving speed, real-time driving position and real-time traffic conditions of the current vehicle; further, the real-time driving speed of the current vehicle can determine the speed and direction of the current vehicle, the real-time driving position of the current vehicle can determine the location of the current vehicle at each moment, and the real-time traffic conditions of the current vehicle refer to the road traffic congestion and smoothness of the current vehicle at the current location during the current vehicle's driving on the planned driving path.

[0020] Specifically, the starting point and end point of the current vehicle are determined according to the vehicle computer server on the current vehicle, and then the driving path of the current vehicle is planned according to the starting point and end point of the current vehicle. At the same time, the real-time driving speed, real-time driving position and real-time traffic conditions of the current vehicle are recorded in real time through the vehicle computer server, and the path planning driving path and real-time driving information of the current vehicle are further obtained.

[0021] For example, if the current vehicle is going from starting point A to end point B, it is determined that the planned driving path of the current vehicle from starting point A to end point B must pass through four streets a, b, c and d, and the real-time driving information of the current vehicle is obtained at the same time.

[0022] S120. Determine the time for the current vehicle to arrive at a target node according to the planned driving path and the real-time driving information. The target node is any point on the planned driving path.

[0023] The target node refers to any point on the planned driving path of the current vehicle.

[0024] Specifically, after obtaining the planned driving path and real-time driving information of the current vehicle, if the current vehicle wants to reach the target node, determine the position distance of the target vehicle that the current vehicle wants to reach on the planned driving path and the real-time driving speed, real-time driving position and real-time traffic conditions of the current vehicle, and further calculate and determine the arrival time based on the position distance and the real-time driving speed, real-time driving position and real-time traffic conditions of the current vehicle.

[0025] For example, if the current vehicle is going from starting point A to end point B, it is determined that the planned driving path of the current vehicle from starting point A to end point B must pass through four streets, a, b, c and d. At the same time, the current vehicle's real-time driving speed is 50km / h, the real-time driving position is on street a, and the real-time traffic condition is not congested. When the vehicle is going to reach the target node b street, street b is on the planned driving path of the current vehicle, and the distance between street a and street b is 25km. According to the current vehicle's planned driving path AB and the real-time driving information, it is determined that the time for the current vehicle to reach the target node b street is 0.5h.

[0026] S130. Obtain network status information of the target node at a corresponding time.

[0027] The network status information is information that can monitor the network status in real time, and is used to monitor the network connection and the status of each network interface device, and may include, for example, the network direction and network speed, etc., which is not limited in this embodiment.

[0028] Specifically, after determining the time it takes for the current vehicle to travel to the target node, the vehicle computer service end obtains the network base station location distribution, network base station service capacity, and total service number of the target node at the corresponding time, and further determines the specific network direction and network speed of the target node at the corresponding time based on the time it takes for the current vehicle to travel to the target node.

[0029] For example, when it is determined that the time for the current vehicle to arrive at the target node b street is 0.5h, when the network base station location distribution of the target node b at the time is obtained, there are 100 base stations, the total service number of the network base stations is 2000, and the current service capacity of the network base stations is 1000. If the current vehicle arrives at the target node b at 05h, the network direction and network speed can provide stable services to the current vehicle.

[0030] S140. Cache media data for the current vehicle according to the network status information of the target node at the corresponding time.

[0031] The media data is a form of information transmission, such as sound, text, image, and animation, etc., which is not limited in this embodiment. The purpose of caching the media data is to increase the storage speed of the media data.

[0032] Specifically, after determining the network status information of the target node at a time, if the current vehicle arrives at the target node according to the time, the network direction and network speed of the target node at a time are determined based on the service capacity of the network base station at the corresponding time, the total number of services of the network base station, and the current service capacity of the network base station to cache media data for the current vehicle.

[0033] The technical solution of the embodiment of the present invention is to obtain the planned driving path and real-time driving information of the current vehicle; determine the time when the current vehicle arrives at the target node according to the planned driving path and the real-time driving information, and the target node is any point on the planned driving path; obtain the network status information of the target node at the corresponding time; and cache media data for the current vehicle according to the network status information of the target node at the corresponding time. On the basis of the above embodiment, by obtaining the planned driving path and real-time driving information of the current vehicle, and determining the network status at the corresponding time in combination with the time when the current vehicle arrives at the target node, the media data of the current vehicle is cached, and the network jitter problem of the current vehicle during driving is solved, so as to achieve the effect of realizing the cache size according to the actual network status, which not only ensures the smoothness of playback but also does not waste the cached media data traffic.

[0034] Figure 2 is another flow chart of a vehicle data caching method provided in an embodiment of the present invention. On the basis of the above embodiment, obtaining the network status information of the target node at the corresponding time and caching media data for the current vehicle according to the network status information of the target node at the corresponding time are further optimized. The method specifically includes the following steps:

[0035] S210: Obtain the planned driving path and real-time driving information of the current vehicle.

[0036] Specifically, the starting point and end point of the current vehicle are determined according to the vehicle computer server on the current vehicle, and then the driving path of the current vehicle is planned according to the starting point and end point of the current vehicle. At the same time, the real-time driving speed, real-time driving position and real-time traffic conditions of the current vehicle are recorded in real time through the vehicle computer server, and the path planning driving path and real-time driving information of the current vehicle are further obtained.

[0037] S220. Determine the time for the current vehicle to arrive at a target node according to the planned driving path and the real-time driving information. The target node is any point on the planned driving path.

[0038] Specifically, after obtaining the planned driving path and real-time driving information of the current vehicle, if the current vehicle wants to reach the target node, determine the position distance of the target vehicle that the current vehicle wants to reach on the planned driving path and the real-time driving speed, real-time driving position and real-time traffic conditions of the current vehicle, and further calculate and determine the arrival time based on the position distance and the real-time driving speed, real-time driving position and real-time traffic conditions of the current vehicle.

[0039] S230: Obtain attribute information of the network device of the target node.

[0040] Among them, the network device is a physical entity used to connect to the network, such as a network base station, server, hub, switch, bridge, router and gateway, etc.; taking the network base station as an example, the attribute information is information used to display the essential characteristics or properties of the network base station, such as the location, quantity and performance of the network base station, etc., which is not limited in this embodiment.

[0041] Specifically, after determining the target node of the current vehicle, the vehicle computer server determines the location, quantity and performance of the network equipment according to the specific location of the target node and the deployment of the network equipment at the location of the target node.

[0042] S240: Determine rated service provision information and real-time service provision information of the network device according to the attribute information of the network device.

[0043] The rated service provision information is important indicator information of the network device, such as the rated throughput of the network device and the number of users connected to the network device, etc.; the real-time service provision information refers to the important indicator information that has been used by the network device during use, such as the occupied network device throughput and the number of users connected to the network device, etc., which is not limited in this embodiment. Furthermore, the rated throughput of the network device refers to the number of data that the network device can successfully transmit per unit time, and the rated number of users connected refers to the maximum number of users that the network device can successfully receive per unit time.

[0044] Specifically, after determining the attribute information of the network equipment such as the location, quantity and performance of the network equipment, the rated throughput and the rated number of access users of the network equipment are determined according to the location, quantity and performance of the network equipment. At the same time, when the current vehicle is about to reach the target node, the throughput occupied by the network equipment at the target node and the number of users who have accessed are determined.

[0045] For example, when the current vehicle arrives at the target node, the rated throughput of the network device at the target node is determined to be 1000 bits and the rated number of connected users is 100 according to the attribute information of the network device at the target node, while the real-time occupied throughput of the target node is 800 bits and the number of connected users is 90.

[0046] S250: Determine the network status information of the target node at a corresponding time according to the rated service provision information and the real-time service provision information of the network device.

[0047] Specifically, after determining the rated throughput and rated number of access users of the network device as well as the occupied throughput and number of access users of the network device, the network direction and network speed of the target node at the corresponding time are determined based on the difference between the rated service provision information and the real-time service provision information of the network device.

[0048] On the basis of the above embodiment, optionally, the network status information of the target node at the corresponding time is determined according to the rated service provision information and the real-time service provision information of the network device, including: predicting the network speed jitter occurrence time and the network speed jitter duration of the target node according to the rated service provision information and the real-time service provision information of the network device; determining the network status information of the target node at the corresponding time based on the network speed jitter occurrence time and the network speed jitter duration of the target node.

[0049] Among them, when the network is used, when the network is congested or queued, it will affect the end-to-end delay in the network and cause the packet delays transmitted through the same connection to be different. The network speed jitter describes the degree of delay variation in the network. Furthermore, the network jitter occurrence time refers to the instant when the network delay occurs, and the network jitter duration refers to the total time of the entire network delay.

[0050] Specifically, based on the rated service provision information and real-time service provision information of the network equipment, when there is a delay in the network of the network equipment of the target node, the network speed jitter occurrence time and network speed jitter duration of the target node are recorded, and then the network status information of the current vehicle at the corresponding time when it arrives at the target node is determined based on the network speed jitter occurrence time and network speed jitter duration of the target node.

[0051] For example, if the current vehicle is ready to go to the target node B at 10:00, it takes 15 minutes to reach the target node. At this time, at the target node B, when the network speed of the network equipment of the target node B is monitored, the network speed jitter begins to occur at 10:00, and the duration of the network speed jitter is 30 minutes. Then, when the current vehicle arrives at the target node B at 10:15, the network speed jitter will occur. The advantage of this setting is that the network jitter of the target node can be determined in real time, and the network jitter of the current vehicle reaching the target node can be predicted in advance.

[0052] S260: Determine a cache amount according to network status information of the target node at a corresponding time.

[0053] The cache size refers to the amount of media data that needs to be stored in advance.

[0054] Specifically, after determining the network status information of the target node, determine the specific cache size according to the network speed of the target node. When the network status of the target node is abnormal, the size of the cache is further determined by the network speed of the target node at the corresponding time, based on the size of the network speed of the target node and the time when the current vehicle arrives at the target node. When the network speed of the target node is lower than the preset value, determine the cache amount to be cached. If the network speed is lower than the preset value at this time, determine the network speed difference and the first cache speed. The worse the network speed, the larger the cache amount; when the network speed of the target node is higher than the preset value, determine the good network speed and the second cache speed. The better the network speed, the smaller the cache amount. The preset value, the first cache speed and the second cache speed parameters have been set on the vehicle computer server.

[0055] Exemplarily, when the preset value is set to 1024kb / s, if the network speed of the target node is 1000kb / s at this time, it is lower than the preset value, and the network speed is determined to be poor and the first cache speed is 2048kb / s, and the cache amount is large; if the network speed of the target node is 2048kb / s at this time, it is higher than the preset value, and the network speed is determined to be good and the second cache speed is 256kb / s, and the cache amount is small.

[0056] S270: Acquire a cached amount of media data, and cache the media data.

[0057] Specifically, after determining the cache capacity of the target node at the corresponding time, the cached media data is obtained through the cache capacity, and the media data is further cached and stored.

[0058] Based on the above embodiment, optionally, obtaining the cached media data includes: downloading the cached media data from a media server.

[0059] Among them, the media server is an important device of the next generation network. Under the control of the vehicle server, it can provide the media data required for various services implemented on the network equipment.

[0060] Specifically, after the cached media data is obtained and cached, the cached media data is downloaded by the media server controlled by the vehicle computer server. The advantage of this setting is that the media data can be downloaded and saved in real time, and the cache size of the media data can be adjusted in real time, thereby ensuring the viewing experience while not wasting excess traffic.

[0061] Based on the above embodiment, optionally, obtaining the cached media data includes: determining a target vehicle, and obtaining the cached media data from the target vehicle.

[0062] Among them, the target vehicle refers to a vehicle other than the current vehicle that the current vehicle can provide data sharing with. The target vehicle can be a vehicle that is closer to the current vehicle. The target vehicle and the current vehicle can communicate through wireless communication methods such as Near Field Communication (NFC) and Bluetooth.

[0063] Specifically, after the cached media data is obtained and cached, the current vehicle is determined to provide data sharing with other vehicles, and the obtained media data is shared. The advantage of this setting is that, under the premise of ensuring the stability of the network speed of the current vehicle, the effect of not wasting excess traffic is achieved.

[0064] The technical solution of the embodiment of the present invention is to obtain the planned driving path and real-time driving information of the current vehicle; determine the time when the current vehicle arrives at the target node according to the planned driving path and the real-time driving information, and the target node is any point on the planned driving path; obtain the attribute information of the network device of the target node; determine the rated service provision information and real-time service provision information of the network device according to the attribute information of the network device; determine the network status information of the target node at the corresponding time according to the rated service provision information and the real-time service provision information of the network device; determine the cache amount according to the network status information of the target node at the corresponding time; obtain the media data of the cache amount, and cache the media data. In the above technical solution, the cache amount is determined by the attribute information and rated service of the network device and the target node, and finally the cached media data is determined, the jitter of the media data during the playback process is reduced, and the real-time adjustment of the media data cache size is achieved, so as to achieve the effect of ensuring the viewing experience while not wasting excess traffic.

[0065] Figure 33 is a schematic diagram of the structure of a vehicle data cache device provided in an embodiment of the present invention. As can be seen from the figure, the device includes: a first acquisition module 310, a time determination module 320, a second acquisition module 330 and a data cache module 340. Among them,

[0066] The first acquisition module 310 is used to acquire the planned driving path and real-time driving information of the current vehicle.

[0067] The time determination module 320 is used to determine the time when the current vehicle arrives at a target node according to the planned driving path and real-time driving information. The target node is any point on the planned driving path.

[0068] The second acquisition module 330 is used to acquire the network status information of the target node at a corresponding time.

[0069] The data caching module 340 is used to cache media data for the current vehicle according to the network status information of the target node at the corresponding time.

[0070] Optionally, the real-time driving information includes the real-time driving speed, real-time driving position and real-time traffic conditions of the current vehicle.

[0071] Optionally, the second acquisition module 330 is specifically used to: obtain attribute information of the network device of the target node; determine the rated service provision information and real-time service provision information of the network device based on the attribute information of the network device; determine the network status information of the target node at the corresponding time based on the rated service provision information and real-time service provision information of the network device.

[0072] Optionally, the second acquisition module 330 is specifically used to: predict the occurrence time and duration of network speed jitter of the target node based on the rated service provision information and real-time service provision information of the network device; determine the network status information of the target node at the corresponding time based on the occurrence time and duration of network speed jitter of the target node.

[0073] Optionally, the data cache module 340 is specifically used to: determine the cache amount according to the network status information of the target node at the corresponding time; obtain the media data of the cache amount, and cache the media data.

[0074] Optionally, the data cache module 340 is specifically used to download a cached amount of media data from a media server.

[0075] Optionally, the data cache module 340 is specifically used to: determine a target vehicle, and obtain a cached amount of media data from the target vehicle.

[0076] The vehicle data caching device provided in the embodiment of the present invention can execute the vehicle data caching method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0077] Figure 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, such as Figure 4 As shown, the electronic device includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processor 410 in the electronic device can be one or more. Figure 4 A processor 410 is taken as an example; the processor 410, the memory 420, the input device 430 and the output device 440 in the electronic device can be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0078] The memory 420, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to a data caching method for a vehicle in an embodiment of the present invention (for example, a first acquisition module 310, a time determination module 320, a second acquisition module 330 and a data caching module 340 in a data caching device for a vehicle). The processor 410 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 420, that is, implements the above-mentioned data caching method for a vehicle.

[0079] The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0080] The input device 430 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 440 may include a display device such as a display screen.

[0081] An embodiment of the present invention further provides a storage medium including computer executable instructions. When the computer executable instructions are executed by a computer processor, they are used to execute a vehicle data caching method. The method includes:

[0082] Obtain the planned driving path and real-time driving information of the current vehicle;

[0083] Determine the time when the current vehicle arrives at the target node based on the planned driving path and real-time driving information. The target node is any point on the planned driving path.

[0084] Get the network status information of the target node at the corresponding time;

[0085] Cache media data for the current vehicle based on the network status information of the target node at the corresponding time.

[0086] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present invention is not limited to the method operations described above, and the computer executable instructions can also execute related operations in the vehicle data caching method provided in any embodiment of the present invention.

[0087] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0088] It is worth noting that in the embodiment of the data caching device of the above-mentioned vehicle, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0089] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A vehicle data caching method, characterized in that: The method comprises: Obtain the planned driving path and real-time driving information of the current vehicle; Determine the time when the current vehicle arrives at a target node according to the planned driving path and the real-time driving information; wherein the target node is any point on the planned driving path; Obtaining network status information of the target node at a corresponding time; caching media data for the current vehicle according to the network status information, including: when the network status of the target node is abnormal, determining the size of the cache according to the network speed of the target node and the time when the current vehicle reaches the target node; determining a target vehicle, obtaining the media data of the cache from the target vehicle, and caching the media data; wherein the target vehicle refers to a vehicle other than the current vehicle, and the target vehicle communicates with the current vehicle by means of near field communication or Bluetooth communication; Determine a vehicle with which the current vehicle can provide data sharing, and share the acquired media data; Wherein, obtaining the network status information of the target node at the corresponding time includes: Acquire attribute information of the network device of the target node; wherein the attribute information of the network device of the target node includes the location, quantity and performance of the network device; Determining rated service provision information and real-time service provision information of the network device according to the attribute information of the network device; Determine the network state information of the target node at the corresponding time according to the rated service provision information and the real-time service provision information of the network device; Predicting the network speed jitter occurrence time and network speed jitter duration of the target node according to the rated service provision information and the real-time service provision information of the network device; Determine the network status information of the target node at the corresponding time based on the network speed jitter occurrence time and the network speed jitter duration of the target node; The step of determining the size of the cache amount according to the network speed of the target node and the time when the current vehicle arrives at the target node includes: When the network speed of the target node is lower than a preset value, the network speed difference and the first cache speed are determined; wherein the size of the cache amount increases as the network speed decreases; When the network speed of the target node is higher than a preset value, the network speed difference and the second cache speed are determined; wherein the size of the cache amount decreases as the network speed increases.

2. The method according to claim 1, characterized in that: The real-time driving information includes the real-time driving speed, real-time driving position and real-time traffic conditions of the current vehicle.

3. The method according to claim 1, characterized in that The obtaining the media data of the cache amount includes: The buffered amount of media data is downloaded from a media server.

4. A data cache device for a vehicle, characterized in that: include: The first acquisition module is used to obtain the planned driving path and real-time driving information of the current vehicle; A time determination module, used to determine the time when the current vehicle arrives at a target node according to the planned driving path and the real-time driving information; wherein the target node is any point on the planned driving path; A second acquisition module is used to acquire the network status information of the target node at a corresponding time; The data cache module is specifically used for: When the network status of the target node is abnormal, the size of the cache is determined according to the network speed of the target node and the time when the current vehicle arrives at the target node; the target vehicle is determined, and the media data of the cache amount is obtained from the target vehicle, and the media data is cached; wherein the target vehicle refers to a vehicle other than the current vehicle, and the target vehicle communicates with the current vehicle by means of near field communication or Bluetooth communication; Determine a vehicle with which the current vehicle can provide data sharing, and share the acquired media data; The step of determining the size of the cache amount according to the network speed of the target node and the time when the current vehicle arrives at the target node includes: When the network speed of the target node is lower than a preset value, the network speed difference and the first cache speed are determined; wherein the size of the cache amount increases as the network speed decreases; When the network speed of the target node is higher than a preset value, the network speed difference and the second cache speed are determined; wherein the size of the cache amount decreases as the network speed increases; Wherein, the second acquisition module is specifically used for: Acquire attribute information of the network device of the target node; wherein the attribute information of the network device of the target node includes the location, quantity and performance of the network device; Determining rated service provision information and real-time service provision information of the network device according to the attribute information of the network device; Predicting the network speed jitter occurrence time and network speed jitter duration of the target node according to the rated service provision information and the real-time service provision information of the network device; Based on the network speed jitter occurrence time and the network speed jitter duration of the target node, the network status information of the target node at the corresponding time is determined.

5. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the vehicle data caching method as described in any one of claims 1 to 3 when executing the program.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the data cache method for a vehicle as claimed in any one of claims 1 to 3 is implemented.