Resource data processing method, device, storage medium, electronic device and vehicle
By downloading resource data higher than the vehicle version from the cloud and loading it when the target object meets the conditions, the problem of poor timeliness of resource data loading is solved, and rapid loading and improved user experience is achieved.
Patent Information
- Application Number
- CN202311288404.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-07
- Publication Date
- 2025-04-08
AI Technical Summary
The prior art has led to poor timeliness in loading resource data, affecting user experience.
Download the first version of resource data higher than the vehicle resource data version from the cloud resource platform, parse the loading condition information, and store the target object if the condition does not meet the condition and monitor it within the preset time period until the target object meets the condition and notify it to load the stored resource data.
It realizes timely triggering resource loading, avoiding the lag of resource loading, improving the timeliness of resource data loading, and improving user experience.
Smart Images

Figure CN119781848A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a resource data processing method, device, storage medium, electronic equipment and vehicle. Background Art
[0002] With the rapid development of automotive technology, the continuous iteration of in-vehicle functions can provide higher performance support for vehicles.
[0003] At present, for resource data such as algorithm models and vehicle operating parameters, the cloud resource platform will release new versions of resource data. If the vehicle needs to load and use these new versions of resource data, certain conditions must be met. Only after the conditions are met will the cloud resource platform be requested to download the new version of resource data for use. However, this method will result in poor timeliness in loading resource data, which will in turn affect the user experience. Summary of the invention
[0004] In view of this, the present disclosure provides a resource data processing method, device, storage medium, electronic device and vehicle, the main purpose of which is to improve the technical problem that the current existing technology will cause the timeliness of resource data loading to be poor, which in turn affects the user experience.
[0005] According to a first aspect of the present disclosure, there is provided a resource data processing method, comprising:
[0006] Downloading a first version of resource data from a cloud resource platform, the first version being higher than a second version of the resource data in the vehicle;
[0007] Parsing the resource data of the first version to obtain loading condition information corresponding to the resource data of the first version;
[0008] If the target object in the vehicle currently does not satisfy the loading condition information, the resource data of the first version is stored, and whether the target object satisfies the loading condition information is monitored within a preset time period;
[0009] If it is monitored within the preset time period that the target object meets the loading condition information, the target object is notified to obtain the stored resource data of the first version for loading.
[0010] According to a second aspect of the present disclosure, there is provided a resource data processing device, comprising:
[0011] A download module, used to download a first version of resource data from a cloud resource platform, wherein the first version is higher than a second version of the resource data in the vehicle;
[0012] A parsing module, used to parse the resource data of the first version to obtain loading condition information corresponding to the resource data of the first version;
[0013] A storage module, configured to store the resource data of the first version if the target object currently does not satisfy the loading condition information, and monitor whether the target object satisfies the loading condition information within a preset time period;
[0014] The notification module is used to notify the target object to obtain the stored resource data of the first version for loading if it is monitored that the target object meets the loading condition information within the preset time period.
[0015] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the resource data processing method described in the first aspect is implemented.
[0016] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the resource data processing method described in the first aspect when executing the computer program.
[0017] According to a fifth aspect of the present disclosure, a vehicle is provided, comprising: the electronic device as described in the fourth aspect.
[0018] By means of the above technical scheme, the present disclosure provides a resource data processing method, device, storage medium, electronic device and vehicle. Compared with the current resource data processing method, the present disclosure can download the first version of resource data from the cloud resource platform, and the first version is higher than the second version of resource data in the vehicle; parse the first version of resource data to obtain loading condition information corresponding to the first version of resource data; if the target object in the vehicle does not currently meet the loading condition information, the first version of resource data is stored, and the target object is monitored within a preset time period to see whether it meets the loading condition information; if the target object is monitored to meet the loading condition information within the preset time period, the target object is notified to obtain the stored first version of resource data for loading. The technical scheme in the present disclosure can pre-download the new version of resource data, and store it when the target object does not currently meet the corresponding loading condition information, and then notify the target object to obtain the stored first version of resource data for loading when the target object is monitored to meet the loading condition information of the new version of resource data within a subsequent preset time period, so as to timely trigger resource loading and avoid the lag of resource loading, thereby improving the timeliness of resource data loading and enhancing the user experience.
[0019] The above description is only an overview of the technical solution of the present disclosure. In order to more clearly understand the technical means of the present disclosure, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages more obvious and easy to understand, the specific implementation methods of the present disclosure are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0022] Figure 1 A schematic diagram of a process flow of a resource data processing method provided by an embodiment of the present disclosure;
[0023] Figure 2 A flowchart of another resource data processing method provided by an embodiment of the present disclosure;
[0024] Figure 3 A flowchart of an example of resource data processing provided by an embodiment of the present disclosure;
[0025] Figure 4 A schematic diagram of the structure of a resource data processing device provided in an embodiment of the present disclosure;
[0026] Figure 5 A schematic diagram of the structure of another resource data processing device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to aid understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description. It should be noted that the embodiments of the present disclosure and the features therein may be combined with each other without conflict.
[0028] The resource data processing method, device, storage medium, electronic device, and vehicle according to the embodiments of the present disclosure are described below with reference to the accompanying drawings.
[0029] In order to improve the technical problem that the current existing technology causes poor timeliness of resource data loading, which in turn affects the user experience, this embodiment provides a resource data processing method. Figure 1 As shown, the method includes:
[0030] Step 101 : Download a first version of resource data from a cloud resource platform, where the first version is higher than a second version of resource data in the vehicle.
[0031] Resource data may include algorithm models, vehicle operating parameters, json files, etc.
[0032] For this embodiment, after the vehicle receives the resource data version release information sent by the cloud resource platform, it can compare it with the second version of the resource data in the vehicle to determine whether the first version released by the cloud resource platform is higher than the second version of the resource data in the vehicle. If it is higher than the second version of the resource data in the vehicle, the first version of the resource data is downloaded from the cloud resource platform. The cloud resource platform can be used to send different versions of resource data, the first version can be the resource data version released by the cloud resource platform, and the second version can be the resource data version in the vehicle.
[0033] Step 102: parse the resource data of the first version to obtain loading condition information corresponding to the resource data of the first version.
[0034] Step 103: If the target object in the vehicle currently does not satisfy the loading condition information, the first version of the resource data is stored, and whether the target object satisfies the loading condition information is monitored within a preset time period.
[0035] In a specific application scenario, the resource data of the first version can be parsed according to the parsing rules to obtain the loading condition information corresponding to the resource data of the first version. The loading condition information can be used to determine the target object that can use the resource data of the first version, that is, the target object can be considered as an object that can load and use the new version of the resource data, such as the target object may include but is not limited to the system, application, controller, domain controller and other vehicle components, etc. The target object can be determined based on the object that can load and use the resource data of the second version; or the target object can be determined from the loading condition information, etc.
[0036] The loading condition information may include but is not limited to system version range, application version range, power mode, vehicle operating status, vehicle offline status, current time, etc.
[0037] The preset time period can be preset according to actual needs. For example, the preset time period can be within a week, a month, or 10 hours after the first version of the resource data is stored in the first preset location.
[0038] As a possible implementation, after the loading condition information of the first version of the resource data is obtained through parsing, if it is determined that the target object currently does not meet the loading condition information, the first version of the resource data and the corresponding loading condition information can be stored in a first preset location. Among them, the first preset location may include but is not limited to a pre-update storage space (pre-upgrade preparation library) and a pre-update storage information table. The pre-update storage space can be used to store the resource data to be loaded, and the pre-update storage information table can be used to store the loading condition information corresponding to the resource data to be loaded, so as to facilitate the transfer, loading and cleaning of resource data. The first preset location provides a function of pre-storing the new version of resource data. In order to avoid errors caused by the target object that does not meet the loading condition information reading the new version of resource data from the first preset location for loading and use, this embodiment can be set accordingly so that the target object cannot read data from the first preset location to avoid loading and use errors.
[0039] As another possible implementation method, after parsing and obtaining the loading condition information of the first version of the resource data, if it is determined that the target object currently meets the loading condition information, the first version of the resource data can be stored in a second preset location, and the target object can be notified to obtain the first version of the resource data from the second preset location for loading. The second preset location is a location where the target object can directly read the resource data for loading and use.
[0040] In specific application scenarios, the target object into which the first version of resource data can be loaded can be determined based on the loading condition information, and the target object can be monitored in real time to determine whether the target object meets the loading condition information. When it is monitored that the target object meets the loading condition information, resource loading is triggered and the loading takes effect immediately before the target object is used.
[0041] Step 104: If it is monitored within a preset time period that the target object meets the loading condition information, the target object is notified to obtain the stored first version of resource data for loading.
[0042] As a possible implementation, if the target object meets the loading condition information, the first version of the resource data can be transferred from the first preset location to the second preset location, and the target object is notified to obtain the first version of the resource data from the second preset location for loading; if the target object does not meet the loading condition information, the target object is continuously monitored until the loading condition information is met. Among them, the second preset location may include but is not limited to a general resource storage space (usually a resource library) and a general resource storage information table. The general resource storage space can be used to store resource data that can be loaded or has been loaded, and the general resource storage information table can be used to store the loading condition information corresponding to the resource data that can be loaded or has been loaded, so as to facilitate the transfer, loading and cleaning of resource data.
[0043] In summary, according to a resource data processing method of the present embodiment, compared with the current resource data processing method, the present embodiment can download a first version of resource data from a cloud resource platform, the first version being higher than the second version of resource data in the vehicle; the first version of resource data is parsed to obtain loading condition information corresponding to the first version of resource data; from the loading condition information, a target object in the vehicle is determined; if the target object does not currently meet the loading condition information, the first version of resource data is stored in a first preset location, and the target object is monitored within a preset time period to determine whether it meets the loading condition information; if the target object is monitored to meet the loading condition information within the preset time period, the first version of resource data is transferred from the first preset location to the second preset location, and the target object is notified to obtain the first version of resource data from the second preset location for loading. The technical solution in this embodiment can pre-download the new version of resource data and store it to the first preset location when the target object currently does not meet the corresponding loading condition information. Then, when it is monitored within a subsequent preset time period that the target object meets the loading condition information of the new version of the resource data, the new version of the resource data is transferred to the second preset location, and the target object is notified to obtain the first version of the resource data from the second preset location for loading, thereby realizing timely triggering of resource loading and avoiding the lag of resource loading, thereby improving the timeliness of resource data loading and enhancing the user experience.
[0044] Further, as a refinement and extension of the above embodiment, in order to fully illustrate the specific implementation process of the method of this embodiment, this embodiment provides the following Figure 2 The specific method shown includes:
[0045] Step 201: Receive version release information of resource data sent by a cloud resource platform, and determine a first version from the version release information.
[0046] In order to facilitate the understanding of the disclosed technical solution, Figure 3A complete description of the scheme in the present disclosure is given. As a possible implementation method, a new version of resource data is distributed by a cloud resource platform, and the vehicle side receives version release information of the resource data sent by the cloud resource platform, determines the first version from the version release information, and determines whether the resource version released by the cloud is higher than the local version. If it is lower than the local version, the resource is not updated. If it is higher than the local version, it can be determined as the first version and downloaded, and then the integrity, legality and security of the resource data of the first version are verified. After the verification passes, the resource data is parsed according to the parsing rules, and stored in the library according to the parsing rules. It is determined whether the resources meet the vehicle-side loading conditions. If they do not meet the loading conditions, they are stored in the pre-upgrade preparation library. When the monitoring service monitoring conditions are met, they are updated to the normal resource library, and the business is notified to load the resources and clean up the pre-upgrade preparation library.
[0047] As a possible implementation method, the vehicle-side and cloud-side data transmission may use the RDOTA interface, and the flashing program may be used to update the vehicle-side resources. The steps may include:
[0048] 1. The flashing program sends an IO Command to the RDOTA interface device, requesting the flashing node's secondary storage device to establish a connection between the master node (cloud) and the flashing node (car end);
[0049] 2. The flashing program sends an IO Command to the RDOTA interface device, and sends the secondary memory address and the flashing data content to the flashing queue of the flashing node;
[0050] 3. The RDOTA interface of the master node sends the data to the RDOTA interface device of the flashing node through the vehicle bus;
[0051] 4. The flash node RDOTA interface device saves the data to the local cache queue and sends a confirmation to the master node’s RDOTA interface;
[0052] 5. The RDOTA interface of the master node removes the relevant data from the queue based on the confirmation;
[0053] 6. The RDOTA interface device of the flashing node writes the data to the secondary storage through DMA. After the writing is completed, the data is removed from the local cache queue;
[0054] 7. Repeat steps 3 to 6 until the flashing is completed.
[0055] Step 202 : Download a first version of resource data from a cloud resource platform, where the first version is higher than a second version of resource data in the vehicle.
[0056] For this embodiment, the specific implementation process can refer to the relevant description in step 101 of the embodiment, which will not be repeated here.
[0057] Step 203: Perform an integrity check on the first version of the resource data, and / or perform a legality check on the first version of the resource data, and / or perform a security check on the first version of the resource data.
[0058] In a specific application scenario, the resource data of the first version may be subjected to integrity verification, and / or legality verification, and / or security verification. As a possible implementation method, the integrity of the resource data of the first version may be determined by comparing the message digest algorithm (Message Digest Algorithm5, MD5) value and / or the secure hash algorithm (Secure Hash Algorithm256, SHA256) value between the resource data of the first version and the resource data of the same version published by the cloud resource platform; if the MD5 value and / or the SHA256 value between the resource data of the first version and the resource data of the same version published are consistent, it can be determined that the resource data of the first version has passed the integrity verification, the integrity of the resource data is guaranteed, and the resource file is prevented from being tampered with; if the MD5 value and / or the SHA256 value between the resource data of the first version and the resource data of the same version published are inconsistent, it can be determined that the resource data of the first version has not passed the integrity verification, and an error may be reported to the cloud resource platform or the resource data may be downloaded again for integrity verification. Correspondingly, the steps of the embodiment may include: comparing the MD5 value and / or SHA256 value between the first version of the resource data and the same version of the resource data published by the cloud resource platform; if the MD5 value and / or SHA256 value between the first version of the resource data and the published same version of the resource data are consistent, it is determined that the first version of the resource data passes the integrity check.
[0059] As a possible implementation method, the private key information in the vehicle can be used to perform identity verification on the first version of the resource data; if the identity verification passes, it can be determined that the first version of the resource data has passed the legitimacy check; if the identity verification fails, it can be determined that the first version of the resource data has passed the legitimacy check, and an error can be reported to the cloud resource platform or the resource data can be downloaded again for legitimacy verification. Among them, the private key information in the vehicle is a set of keys for communication that are pre-generated during the vehicle production process. The vehicle can generate a shared session key by exchanging messages, and perform identity verification based on the session key, thereby ensuring the legitimacy of communication between the vehicle and surrounding devices during the life cycle of the vehicle, and preventing malicious attacks and tampering. Accordingly, the steps of the embodiment may include: using the private key information in the vehicle to perform identity verification on the first version of the resource data; if the identity verification passes, it is determined that the first version of the resource data has passed the legitimacy check.
[0060] As a possible implementation method, it can be determined whether the first version of the resource data is transmitted through a preset security channel; if the first version of the resource data is transmitted through a preset security channel, it can be determined that the first version of the resource data passes the security check, and the security of the resource data transmission process can be ensured; if the first version of the resource data is not transmitted through the preset security channel, it can be determined that the first version of the resource data does not pass the security check, and an error can be reported to the cloud resource platform or the resource data can be downloaded again for security verification. Among them, the preset security channel can be an information transmission channel (link) for transmitting data within the R&D department, which is used to ensure stability and security during data transmission. Accordingly, the implementation steps may include: determining whether the first version of the resource data is transmitted through a preset security channel; if the first version of the resource data is transmitted through a preset security channel, it is determined that the first version of the resource data passes the security check.
[0061] Step 204: If the resource data of the first version passes the integrity check, and / or passes the legality check, and / or passes the security check, the resource data of the first version is parsed to obtain loading condition information.
[0062] In a specific application scenario, if the first version of the resource data passes the integrity check, and / or passes the legality check, and / or passes the security check, the first version of the resource data can be parsed based on the parsing rules to obtain the loading condition information; if the first version of the resource data does not pass the integrity check, and / or the legality check, and / or the security check, an error can be reported to the cloud resource platform or the resource data can be downloaded again for verification. The parsing rules can be composed of a set of parsing protocols, which can include but are not limited to the system version range, application version range, power mode, vehicle working status, vehicle offline status, and current time, which are helpful for collecting and monitoring the loading condition information of resource data.
[0063] Step 205: Determine the target object in the vehicle from the loading condition information.
[0064] Step 206: If the target object currently does not satisfy the loading condition information, the first version of the resource data is stored in a first preset location, and whether the target object satisfies the loading condition information is monitored within a preset time period.
[0065] As a possible implementation method, if the target object is not detected in the current vehicle to meet the loading condition information, the first version of the resource data and the corresponding loading condition information can be stored in a first preset location to facilitate subsequent timely triggering of loading and improve the timeliness of resource loading and use; if the target object is detected in the current vehicle to meet the loading condition information, the first version of the resource data and the corresponding loading condition information can be stored in a second preset location to facilitate the target object to load the resource data in a timely manner.
[0066] For this embodiment, according to the loading condition information of the first version of the resource data, the target object to which the first version of the resource data can be applied can be determined, and whether the target object satisfies the loading condition information can be monitored. Specifically, it can be monitored whether the system version corresponding to the target object is in the first preset version range within the preset time period; and / or, whether the application version corresponding to the target object is in the second preset version range within the preset time period; and / or, whether the power mode corresponding to the target object is the target power mode within the preset time period; and / or, whether the working mode of the vehicle is the target working mode within the preset time period; and / or, whether the offline state of the vehicle is the target state within the preset time period; and / or, whether the real-time time is in the time range in which the first version of the resource data is allowed to be loaded within the preset time period; if the system version is in the first preset version range, and / or the application version is in the second preset version range, and / or the power mode is the target power mode, and / or the working mode of the vehicle is the target working mode, and / or the offline state of the vehicle is the target state, and / or the real-time time is in the time range in which the first version of the resource data can be loaded within the preset time period, then it can be determined that the target object satisfies the loading condition information. The first preset version range may be from the minimum required version to the maximum required version of the system version corresponding to the target object; the second preset version range may be from the minimum required version to the maximum required version of the application version corresponding to the target object.
[0067] For example, within one week after the first version of the resource data is stored in the first preset location, monitor whether the system version corresponding to the target object is within the first preset version range; and / or, monitor whether the application version corresponding to the target object is within the second preset version range; and / or, monitor whether the power mode corresponding to the target object is the target power mode; and / or, monitor whether the working mode of the vehicle is the target working mode; and / or, monitor whether the offline status of the vehicle is the target status; and / or, monitor whether the current time is within the time range within which the resource data of the first version is allowed to be loaded; if within this time period it is monitored that the system version is within the first preset version range, and / or the application version is within the second preset version range, and / or the power mode is the target power mode, and / or the working mode of the vehicle is the target working mode, and / or the offline status of the vehicle is the target status, and / or the current time is within the time range within which the resource data of the first version can be loaded, then it is determined that the target object meets the loading condition information.
[0068] Step 207: If it is monitored within the preset time period that the target object meets the loading condition information, the first version of the resource data is transferred from the first preset location to the second preset location, and the target object is notified to obtain the first version of the resource data from the second preset location for loading.
[0069] For this embodiment, the specific implementation process can refer to the relevant description in step 105 of the embodiment, which will not be repeated here.
[0070] Step 208: Clear the resource data of the first version stored in the first preset location.
[0071] In a specific application scenario, after the resource data of the first version is transferred from the first preset location to the second preset location, the storage space occupied by the resource data of the first version in the first preset location can be cleared to reserve space for the next version storage, and the pre-update storage information table in the first preset location and the general resource storage information table in the second preset location can be updated.
[0072] In summary, according to a resource data processing method provided by the present disclosure, this embodiment can pre-store the new version of resource data to a first preset location, and when it is detected that the target object meets the loading condition information of the new version of resource data, the resource data is transferred so that the target object can load the resource data in time, avoid the lag in resource loading and use, and improve the user experience. In addition, the first version of the resource data can be checked for integrity, and / or legality, and / or security, to avoid resource data transmission failure, improve the security during data transmission, and can clean up the storage space of the first preset location in time to improve storage space utilization.
[0073] Based on the above Figure 1 , Figure 2 The specific implementation of the method shown in this embodiment provides a resource data processing device, such as Figure 4 , the device includes: a download module 31, a parsing module 32, a storage module 33, and a notification module 34;
[0074] A download module 31, which can be used to download a first version of resource data from a cloud resource platform, the first version being higher than a second version of resource data in the vehicle;
[0075] The parsing module 32 may be used to parse the resource data of the first version to obtain loading condition information corresponding to the resource data of the first version;
[0076] The storage module 33 is used to store the resource data of the first version if the target object currently does not meet the loading condition information, and monitor whether the target object meets the loading condition information within a preset time period;
[0077] The notification module 34 is configured to notify the target object to obtain the stored resource data of the first version for loading if it is monitored that the target object satisfies the loading condition information within the preset time period.
[0078] In a specific application scenario, the storage module 33 can be specifically used to monitor whether the system version corresponding to the target object is within a first preset version range within a preset time period; and / or, monitor whether the application version corresponding to the target object is within a second preset version range within a preset time period; and / or, monitor whether the power mode corresponding to the target object is the target power mode within a preset time period; and / or, monitor whether the working mode of the vehicle is the target working mode within a preset time period; and / or, monitor whether the offline state of the vehicle is the target state within a preset time period; and / or, monitor whether the current time is within a time range within which the resource data of the first version is allowed to be loaded within a preset time period; if within the preset time period the system version is within the first preset version range, and / or the application version is within the second preset version range, and / or the power mode is the target power mode, and / or the working mode of the vehicle is the target working mode, and / or the offline state of the vehicle is the target state, and / or the real-time time is within the time range within which the resource data of the first version can be loaded, then it is determined that the target object meets the loading condition information.
[0079] In specific application scenarios, such as Figure 5 As shown, the device further includes: a verification module 35, a clearing module 36, and a receiving module 37;
[0080] In a specific application scenario, the verification module 35 can be specifically used to perform integrity verification on the first version of resource data; and / or, perform legality verification on the first version of resource data; and / or, perform security verification on the first version of resource data; parse the first version of resource data to obtain loading condition information corresponding to the first version of resource data, including: if the first version of resource data passes the integrity verification, and / or passes the legality verification, and / or passes the security verification, then parse the first version of resource data to obtain loading condition information.
[0081] In a specific application scenario, the verification module 35 can be used to compare the MD5 value and / or SHA256 value between the first version of the resource data and the same version of the resource data published by the cloud resource platform; if the MD5 value and / or SHA256 value between the first version of the resource data and the published resource data of the same version are consistent, it is determined that the first version of the resource data passes the integrity check.
[0082] In a specific application scenario, the verification module 35 can be specifically used to use the private key information in the vehicle to perform identity verification on the first version of the resource data; if the identity verification passes, it is determined that the first version of the resource data passes the legitimacy verification.
[0083] In a specific application scenario, the verification module 35 can be specifically used to determine whether the first version of the resource data is transmitted through a preset security channel; if the first version of the resource data is transmitted through a preset security channel, it is determined that the first version of the resource data passes the security verification.
[0084] In a specific application scenario, the storage module 33 can be used to store the resource data of the first version in a first preset location; the notification module 34 can be used to transfer the resource data of the first version from the first preset location to a second preset location, and notify the target object to obtain the resource data of the first version from the second preset location for loading.
[0085] In a specific application scenario, the clearing module 36 can be specifically used to clear the first version of resource data stored in the first preset location.
[0086] In a specific application scenario, the receiving module 37 can be specifically used to receive version release information of resource data sent by the cloud resource platform; and determine the first version from the version release information.
[0087] It should be noted that for other corresponding descriptions of the functional units involved in the resource data processing device provided in this embodiment, reference can be made to Figure 1 and Figure 2 The corresponding description in will not be repeated here.
[0088] Based on the above Figure 1 and Figure 2 The method shown in the embodiment also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned Figure 1 and Figure 2 The method shown.
[0089] Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various implementation scenarios of the present disclosure.
[0090] Based on the above Figure 1 and Figure 2 The method shown, and Figure 4 and Figure 5In order to achieve the above-mentioned purpose, the embodiment of the present disclosure also provides an electronic device that can be configured on the vehicle (such as an electric vehicle) side, and the device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figure 1 and Figure 2 The method shown.
[0091] Optionally, the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.
[0092] Those skilled in the art will appreciate that the above-mentioned physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different arrangements of components.
[0093] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.
[0094] Based on the above electronic device, the embodiment of the present disclosure further provides a vehicle, which may specifically include: the above electronic device. The vehicle may specifically be an electric car, etc.
[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present disclosure can be implemented by means of software plus a necessary general hardware platform, or can be implemented by hardware. In this embodiment, the resource data of the new version can be pre-stored in a first preset location, and when it is detected that the target object meets the loading condition information of the resource data of the new version, the resource data is transferred so that the target object can load the resource data in time, avoid the lag in resource loading and use, and improve the user experience. In addition, the resource data of the first version can be checked for integrity, and / or through legality, and / or through security, to avoid resource data transmission failure, improve the security during data transmission, and can clean up the storage space of the first preset location in time to improve storage space utilization.
[0096] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0097] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features applied herein.
Claims
1. A resource data processing method, characterized in that: include: Downloading a first version of resource data from a cloud resource platform, the first version being higher than a second version of the resource data in the vehicle; Parsing the resource data of the first version to obtain loading condition information corresponding to the resource data of the first version; If the target object in the vehicle currently does not satisfy the loading condition information, the resource data of the first version is stored, and whether the target object satisfies the loading condition information is monitored within a preset time period; If it is monitored within the preset time period that the target object meets the loading condition information, the target object is notified to obtain the stored resource data of the first version for loading.
2. The method according to claim 1, characterized in that The monitoring of whether the target object satisfies the loading condition information within the preset time period includes: monitoring whether the system version corresponding to the target object is within a first preset version range within the preset time period; and / or, monitoring whether the application version corresponding to the target object is within a second preset version range within the preset time period; and / or, monitoring whether the power mode corresponding to the target object is the target power mode within the preset time period; and / or, monitoring whether the working mode of the vehicle is a target working mode within the preset time period; and / or, monitoring whether the offline state of the vehicle is a target state within the preset time period; and / or, Monitoring within the preset time period whether the real time is within a time range in which the resource data of the first version is allowed to be loaded; If within the preset time period the system version is within the first preset version range, and / or the application version is within the second preset version range, and / or the power mode is the target power mode, and / or the vehicle's operating mode is the target operating mode, and / or the vehicle's offline status is the target status, and / or the real-time time is within the time range in which the resource data of the first version can be loaded, then it is determined that the target object satisfies the loading condition information.
3. The method according to claim 1, characterized in that Before parsing the resource data of the first version to obtain loading condition information corresponding to the resource data of the first version, the method further includes: Performing integrity check on the resource data of the first version; and / or, Performing a validity check on the resource data of the first version; and / or, Performing security verification on the resource data of the first version; The parsing of the resource data of the first version to obtain loading condition information corresponding to the resource data of the first version includes: If the resource data of the first version passes the integrity check, and / or passes the legality check, and / or passes the security check, the resource data of the first version is parsed to obtain the loading condition information.
4. The method according to claim 3, characterized in that: The performing integrity check on the resource data of the first version includes: Comparing the MD5 value and / or SHA256 value between the first version of the resource data and the same version of the resource data released by the cloud resource platform; If the MD5 value and / or SHA256 value of the resource data of the first version are consistent with those of the published resource data of the same version, it is determined that the resource data of the first version passes the integrity check.
5. The method according to claim 3, characterized in that: The checking the validity of the resource data of the first version includes: Using the private key information in the vehicle, performing identity verification on the resource data of the first version; If the identity verification is passed, it is determined that the resource data of the first version has passed the legality verification.
6. The method according to claim 3, characterized in that: The performing security verification on the resource data of the first version includes: Determining whether the resource data of the first version is transmitted through a preset secure channel; If the first version of the resource data is transmitted through a preset secure channel, it is determined that the first version of the resource data passes the security check.
7. The method according to claim 1, characterized in that The storing of the resource data of the first version includes: storing the resource data of the first version in a first preset location; The notifying the target object to obtain the stored resource data of the first version for loading includes: The resource data of the first version is transferred from the first preset location to a second preset location, and the target object is notified to obtain the resource data of the first version from the second preset location for loading.
8. The method according to claim 7, characterized in that After transferring the resource data of the first version from the first preset location to the second preset location, the method further includes: The resource data of the first version stored in the first preset location is cleared.
9. The method according to claim 1, characterized in that: Before downloading the first version of resource data from the cloud resource platform, the method further includes: Receiving version release information of the resource data sent by the cloud resource platform; The first version is determined from the version release information.
10. A resource data processing device, characterized in that: include: A download module, used to download a first version of resource data from a cloud resource platform, wherein the first version is higher than a second version of the resource data in the vehicle; A parsing module, used to parse the resource data of the first version to obtain loading condition information corresponding to the resource data of the first version; A storage module, configured to store the resource data of the first version if the target object currently does not satisfy the loading condition information, and monitor whether the target object satisfies the loading condition information within a preset time period; The notification module is used to notify the target object to obtain the stored resource data of the first version for loading if it is monitored that the target object meets the loading condition information within the preset time period.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
12. An electronic device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.
13. A vehicle, characterized in that: include: The electronic device as claimed in claim 12.