Vehicle service data storage method and system, electronic device, and storage medium
By partitioning and storing vehicle business data in flash memory and generating basic and extended indexes, the problem of high hardware expansion costs for non-volatile memory is solved, achieving efficient storage and low-cost data management.
Patent Information
- Application Number
- CN202611366320.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-24
AI Technical Summary
Non-volatile memory requires hardware expansion to store more data, which leads to high costs.
By partitioning vehicle business data into flash memory according to access frequency type and generating basic and extended indexes, and storing only the indexes in non-volatile memory, the space occupied by non-volatile memory is reduced.
It enables a significant increase in storage capacity, a reduction in hardware costs, an improvement in storage efficiency, an extension of storage life, and ensures data reliability and integrity without requiring hardware expansion.
Smart Images

Figure CN123157138A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle data storage, in particular to a vehicle service data storage method and system, an electronic device and a storage medium. BACKGROUND
[0002] Vehicle service data, such as periodic sampling data and fault data, is stored together with a positioning index in a non-volatile memory (NVM). To meet the demand for large-capacity data storage, the NVM needs to be configured with an MB-level capacity (such as 16 MB), resulting in high hardware costs.
[0003] In view of the problem in the prior art that the non-volatile memory needs to be expanded in hardware when storing more data, and the cost is high, no effective solution has been proposed so far. SUMMARY
[0004] The vehicle service data storage method and system, the electronic device and the storage medium provided by the embodiments of the present application at least solve the problem in the prior art that the non-volatile memory needs to be expanded in hardware when storing more data, and the cost is high.
[0005] The present application provides a vehicle service data storage method, comprising: writing service data of a vehicle into a corresponding partition in a flash memory according to an access frequency type of the service data, wherein the access frequency type includes high frequency and low frequency, high-frequency service data is written into a first area of the flash memory, and low-frequency service data is written into a second area of the flash memory; generating a basic index according to the access frequency type of the service data, a flash memory address and a write time stamp; generating an extended index according to the basic index and service data verification information of the service data for the service data with the access frequency type being low frequency, wherein the extended index is used for verifying the service data; and storing the basic index or the basic index and the extended index into a non-volatile memory.
[0006] As an optional solution, writing service data of a vehicle into a corresponding partition in a flash memory according to an access frequency type of the service data comprises: in the case that the write time of the service data is within a preset first time length, determining that the access frequency type is high frequency, and storing the service data into a first area, wherein the first area is used for storing high-frequency service data within the preset first time length; and in the case that the write time of the service data exceeds the preset first time length and is within a preset second time length, determining that the access frequency type is low frequency, and migrating the service data from the first area to the second area, wherein the second area is used for storing low-frequency service data within the preset second time length.
[0007] As an optional solution, after storing the base index or the base index and the extended index into the non-volatile memory, the method further comprises: reading the base index of the service data of the second area at a set frequency, determining service data that is not accessed within a target time period, and marking as an archiving state, wherein the archiving state is recorded in the extended index of the service data; compressing the service data marked as the archiving state to obtain archived service data; storing the archived service data into the third area of the flash memory, and deleting the corresponding service data in the second area; updating the extended index in the non-volatile memory, and modifying the archiving state to an archived state.
[0008] As an optional solution, updating the extended index in the non-volatile memory comprises: in response to an index modification request, locating a target index to be updated and a target storage address stored in the non-volatile memory; determining a field of the target index to be updated and content of the specific field to be updated based on the index modification request; and updating and modifying the corresponding field in the target index by field-level incremental coverage, thereby updating the target index.
[0009] As an optional solution, after updating and modifying the corresponding field in the target index by field-level incremental coverage, the method further comprises: recording and accumulating the erase-write times of the storage page where the target index is located, wherein the extended index further comprises the erase-write times; and in the case that the erase-write times reach a preset number threshold, migrating the target index to a storage page with the least erase-write times.
[0010] As an optional solution, the method further comprises: receiving a read request of target service data, obtaining an access frequency type and a write time stamp of the target service request; according to the access frequency type and the write time stamp, searching for a corresponding base index or a base index and an extended index in the non-volatile memory; for high-frequency service data, directly positioning and reading in the first area of the flash memory according to the base index, and returning to the requester; for low-frequency service data, positioning and reading in the second area of the flash memory according to the base index, and verifying the service data through the extended index; in the case that the verification is passed, returning the low-frequency service data to the requester.
[0011] As an optional solution, the non-volatile memory comprises a main index area and a backup index area; and the storing of the basic index, or the basic index and the extended index into the non-volatile memory comprises: directly writing the basic index of the high-frequency service data into the main index area; directly writing the basic index and the extended index of the low-frequency service data with a security level not reaching a preset level into the main index area; and firstly storing the basic index and the extended index of the low-frequency service data with a security level reaching the preset level into the backup index area, and then writing the basic index and the extended index into the main index area.
[0012] As an optional solution, the extended index further comprises an update state; and the method further comprises: in response to an index update request, performing field-level incremental covering on the basic index and the extended index in the order of the backup index area first and then the main index area, so as to update the index; and automatically updating the update state in the process of updating / writing the basic index and the extended index, wherein the update state comprises not updated, updating, and update completed; and automatically restoring the index with the update state being updating from the backup index area after a restart after power-off.
[0013] The application further provides a storage system of vehicle service data, comprising: a storage controller, a non-volatile memory, and a flash memory; the flash memory comprises a plurality of partitions corresponding to different access frequency types, and is used for storing the service data in the corresponding partition according to the access frequency type of the service data, wherein the access frequency type comprises high frequency and low frequency, the high-frequency service data is written into a first area of the flash memory, and the low-frequency service data is written into a second area of the flash memory; the storage controller is connected with the flash memory, and is used for generating a basic index according to the access frequency type of the service data, a flash memory address, and a write time stamp; and for the service data with the access frequency type being low frequency, generating an extended index according to the basic index of the service data and service data verification information, wherein the extended index is used for verifying the service data; and the non-volatile memory is connected with the storage controller, and is used for independently storing index data.
[0014] As an optional solution, the non-volatile memory comprises: a main index area and a backup index area; the main index area is used for storing the basic index of the high-frequency service data, and / or the basic index and the extended index of the low-frequency service data with a security level not reaching a preset level; and the backup index area is used for storing the basic index and the extended index of the low-frequency service data with a security level reaching the preset level.
[0015] As an optional solution, the flash memory further comprises a third area; the third area is independently arranged with the first area and the second area, and is used for storing archived service data obtained by compressing processing of service data not accessed in a target time period.
[0016] The present invention also provides an electronic device, including: a processor, and a memory storing a program, the program including instructions that, when executed by the processor, cause the processor to perform the above-described method for storing vehicle business data.
[0017] The present invention also provides a non-transitory machine-readable medium storing computer instructions for causing the computer to execute the storage method based on the aforementioned vehicle business data.
[0018] The present invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the above-described method for storing vehicle business data.
[0019] The vehicle business data storage method provided in this invention utilizes external flash memory, partitions the flash memory, stores data in different locations according to different access frequencies, and generates different indexes. Only the indexes are stored in non-volatile memory, thereby reducing the space occupied by non-volatile memory, improving storage efficiency, and achieving a significant increase in storage capacity without hardware expansion. This solves the problem in related technologies where non-volatile memory requires hardware expansion and incurs high costs when storing more data. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other embodiments can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a flowchart of a method for storing vehicle business data according to an embodiment of the present invention.
[0022] Figure 2 This is a flowchart of a data reading method according to an embodiment of the present invention.
[0023] Figure 3 This is a flowchart of a data update method according to an embodiment of the present invention.
[0024] Figure 4 This is a schematic diagram of the storage architecture of an embodiment of the present invention.
[0025] Figure 5 This is a schematic diagram of the index architecture of an embodiment of the present invention.
[0026] Figure 6 This is a schematic diagram of a vehicle business data storage system according to an embodiment of the present invention.
[0027] Figure 7 This is a schematic diagram of the electronic device of the present invention. Detailed Implementation
[0028] Embodiments of the present invention will now be described in more detail with reference to the accompanying drawings. While some embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the invention. It should be understood that the accompanying drawings and embodiments are for illustrative purposes only and are not intended to limit the scope of protection of the invention.
[0029] like Figure 1 As shown, the present invention provides a method for storing vehicle business data, including: Step S101: Based on the access frequency type of the vehicle's business data, write the business data into the corresponding partition in the flash memory. The access frequency type includes high frequency and low frequency. High frequency business data is written into the first partition of the flash memory, and low frequency business data is written into the second partition of the flash memory.
[0030] Step S102: Generate a basic index based on the access frequency type, flash memory address, and write timestamp of the business data.
[0031] Step S103: For business data with low access frequency, generate an extended index based on the basic index of the business data and the business data verification information. The extended index is used to verify the business data.
[0032] Step S104: Store the base index, or the base index and extended index, in non-volatile memory.
[0033] The entity executing the above steps can be the vehicle's storage controller, which stores the vehicle's business data in non-volatile memory (NVM) and flash memory (Flash). The NVM stores the index, and the Flash stores the business data, thereby enabling the NVM to store more business data without hardware expansion.
[0034] The access frequency type mentioned above can represent the usage frequency of business data. It is determined by the storage controller based on the business attributes and lifecycle of the business data. For example, real-time data is high-frequency business data, while non-real-time data such as records, logs, and configuration information is low-frequency business data. Another example is that data written within 0-24 hours is high-frequency business data, while data written beyond 24 hours is low-frequency business data.
[0035] The storage controller determines the access frequency type (high frequency or low frequency) of vehicle business data based on the business type, real-time requirements, and preset strategies; and dynamically updates the access frequency type during data storage based on storage duration and access records.
[0036] The flash memory is partitioned into two zones: Zone 1 and Zone 2. High-frequency business data is stored in Zone 1, and low-frequency business data is stored in Zone 2. When high-frequency business data is read frequently, only Zone 1 needs to be scanned frequently, effectively reducing the need for full flash scanning and improving read efficiency.
[0037] The same business data may migrate in flash memory due to changes in access frequency. The main purpose is to free up space for frequently accessed data. Infrequently accessed business data is then dynamically categorized more effectively, making data storage and retrieval more efficient and convenient.
[0038] Each partition's business data generates a basic index for quick data address location. The basic index includes access frequency type, flash memory address, and write timestamp. Both the flash memory address and write timestamp can be used to locate the storage location of business data. For frequently accessed, high-frequency business data, the index is used to find the data during reading. Indexing high-frequency business data with the minimum amount of data reduces NVM erase / write cycles and space usage. In addition to the basic index, an extended index is generated for low-frequency business data in the second zone for data verification and status management. This is because high-frequency business data is used frequently, has a short storage cycle, and is less prone to errors. Low-frequency business data, on the other hand, may be stored in Flash memory for extended periods and is susceptible to errors due to changes in other data. Therefore, the extended index is set up primarily to verify the low-frequency business data, ensuring its accuracy before reading it out and guaranteeing the reliability and verifiability of long-term storage.
[0039] This involves storing the basic index, or a combination of the basic and extended indexes, in a small-capacity NVM, while storing the business data in a large-capacity Flash memory, thus achieving a separation of storage architectures. This avoids the NVM becoming too large and costly due to storing complete data.
[0040] Vehicle business data is characterized by large data volume, frequent writes, and the need for long-term non-volatile storage. However, non-volatile memory (NVM) has drawbacks such as small capacity, high cost, and unsuitability for large-capacity data storage.
[0041] Automotive embedded systems commonly employ a "small NVM + large Flash" hardware architecture, a widely adopted, cost-effective, and automotive-grade compliant choice in the industry. This embodiment is fully compatible with automotive hardware. Flash memory features large capacity, low cost, frequent erasure and rewriting capabilities, and automotive-grade reliability. It can provide large capacities (e.g., 128MB) at a significantly lower unit cost than NVM, making it the only feasible medium for massive amounts of data in automotive systems. Furthermore, this embodiment uses an index and data separation architecture. Business data must be stored in Flash memory, while the index must be stored in NVM to achieve the technical benefits of reduced costs, improved efficiency, and extended lifespan. Therefore, Flash memory is the optimal choice for this embodiment.
[0042] In summary, the solution presented in this embodiment can significantly reduce NVM capacity from the MB level to the KB level while increasing the amount of business data stored, resulting in a marked decrease in hardware costs. Erase and write efficiency is significantly improved, with smaller indexes and fewer erases / writes, leading to a significant reduction in single-cycle time. Read speed is greatly improved, as the corresponding partition is located by index, eliminating the need for a full Flash scan and greatly enhancing search speed. Low-frequency business data is validated with extended indexes, reliably ensuring data integrity and accuracy. The reduced scope and frequency of NVM erases and writes significantly extend the lifespan of the vehicle-mounted storage.
[0043] As an optional solution, based on the access frequency type of the vehicle's business data, the business data is written to the corresponding partition in the flash memory, including: if the writing time of the business data is within a preset first duration, the access frequency type is determined to be high frequency, and the business data is stored in the first partition, wherein the first partition is used to store high frequency business data within the preset first duration; if the writing time of the business data exceeds the preset first duration but is within a preset second duration, the access frequency type is determined to be low frequency, and the business data is migrated from the first partition to the second partition, wherein the second partition is used to store low frequency business data within the preset second duration.
[0044] The storage controller sets a preset first duration (e.g., 24 hours) and a preset second duration (e.g., 7 days) for vehicle business data. When business data is first written, if the write time falls within the preset first duration, the storage controller determines the access frequency type as high frequency and writes it to the first area of the flash memory. The storage controller periodically checks the write time of the stored business data.
[0045] When the write time of business data exceeds a preset first duration but is still within a preset second duration, the controller updates its access frequency type from high frequency to low frequency. The controller then migrates the business data from the first flash memory area to the second flash memory area and updates the flash memory address and access frequency type in the base index.
[0046] After the migration is complete, the controller generates an extended index for the low-frequency service data for data verification, status marking, and management. The controller then releases the storage space in the original first zone.
[0047] Access frequency types are dynamically determined based on the write duration of business data: business data whose write time is within a preset first duration is considered high-frequency business data and is stored in the first flash memory zone; business data whose write time exceeds the preset first duration but is within a preset second duration is considered low-frequency business data and is migrated from the first zone to the second zone. This limitation makes the access frequency determination objective and quantifiable, enabling automatic partitioning and dynamic migration of data according to its lifecycle, optimizing flash memory access efficiency and extending storage life.
[0048] It should be noted that high-frequency business data in the first zone can be stored in the order of their write timestamps. During reading, local location can be performed based on the write timestamps, thereby further improving reading efficiency.
[0049] As an optional approach, after storing the base index, or the base index and extended index, in non-volatile memory, the method further includes: reading the base index of the business data in the second area at a set frequency, identifying business data that has not been accessed within a target time period, and marking it as pending archiving, wherein the pending archiving status is recorded in the extended index of the business data; compressing the business data marked as pending archiving to obtain archived business data; storing the archived business data in the third area of flash memory, and deleting the corresponding business data in the second area; updating the extended index in the non-volatile memory, and changing the pending archiving status to the archived status.
[0050] The storage controller periodically reads the basic index corresponding to low-frequency service data in the second flash memory zone according to a preset frequency; combined with the time information in the basic index, it filters out low-frequency service data that has not been accessed within a target time period; the storage controller marks this part of the service data as pending archiving and writes the pending archiving status into the extended index of the corresponding service data. The above-mentioned target time is at least not less than the above-mentioned preset second duration.
[0051] The storage controller reads the business data to be archived in the second zone and compresses it to generate archived business data; the storage controller writes the compressed archived business data to the third zone of the flash memory; the storage controller deletes the corresponding original low-frequency business data in the second zone of the flash memory and releases the storage space in the second zone.
[0052] The storage controller synchronously updates the corresponding extended index information in the non-volatile memory, modifies the flash memory address and data length, and updates the pending archive status in the extended index to the archived status.
[0053] The above steps implement lifecycle management for cold zone (second zone) data. Low-frequency business data in the second zone remains idle and inaccessible for extended periods, thus not requiring significant space in the cold zone and necessitating further archiving. Data in the pending / archived state only exists in the extended index; high-frequency business data lacks an extended index and therefore does not participate in archiving. Long-term historical data has extremely low access frequency; compressed storage can significantly save space in the second zone of Flash memory.
[0054] When business data migration changes location, the NVM extended index address and status must be updated synchronously to ensure accurate location during reading.
[0055] The above solution enables automatic cleaning and archiving of low-frequency cold zone data, preventing the cold zone space from being filled with old and useless data and improving the utilization rate of the second zone's effective storage space; the compressed processing of archived business data significantly improves the overall flash storage capacity utilization rate.
[0056] Archived status is recorded in the extended index, without consuming basic index resources or affecting the efficiency of high-frequency business data reading; after data migration, the NVM extended index is updated synchronously to ensure that archived business data is traceable, readable, and not lost. It is fully adapted to vehicle scenarios where vehicles are powered on for extended periods and stored for long periods; the second zone always retains recent low-frequency active data, which can further accelerate the reading and query speed of the second zone.
[0057] like Figure 3 As shown, as an optional approach, updating the extended index in non-volatile memory includes: Step S301: In response to the index modification request, locate the target index that needs to be updated and the target storage address stored in non-volatile memory.
[0058] Step S302: Based on the index modification request, determine the fields that need to be updated in the target index, and the specific content that needs to be updated in those fields.
[0059] Step S303 involves updating the target index by updating and modifying the corresponding fields in the target index using a field-level incremental overwrite method.
[0060] For extended index modification requests triggered by the archiving process, the storage controller first locates the target index to be updated and its storage address in NVM, and determines the specific index fields that need to be changed and the content to be updated. Instead of using the traditional method of full-page erase and rewrite, it uses a field-level incremental overwrite method to modify only the changed fields, thus completing the update of the extended index in non-volatile memory.
[0061] The storage controller responds to the index modification request generated by the archiving process, locates the target extended index to be updated in non-volatile memory, and the target storage address corresponding to the target extended index; the storage controller parses the index modification request, determines the specific fields in the target extended index that need to be updated, and the update content corresponding to each field; the fields to be updated include flash address, data length, and archived / archived status fields; The storage controller does not perform a full erase operation on the NVM storage pages where the target extended index resides. Instead, it uses a field-level incremental overwrite update method. The storage controller only rewrites and updates the corresponding fields in the target index that have changed, keeping the content of the unchanged fields unchanged, thus completing the update of the target extended index.
[0062] It should be noted that only low-frequency and archived business data have extended indexes, and field-level incremental updates can be performed on low-frequency and archived business data in the extended indexes; high-frequency business data only have basic indexes, and field-level incremental updates are performed on high-frequency business data in the basic indexes.
[0063] Traditional updates to NVM (EEPROM / Flash type NVM) involve full-page erasure and rewriting, which is costly and results in significant lifespan loss. In this embodiment, only a few fields change during index migration—address, status, and length—using incremental field-level overwriting, while most fields remain unchanged, eliminating the need for a full-page rewrite.
[0064] When performing local rewriting with field-level incremental overwrite, the changed bytes / fields are overwritten directly, skipping unchanged fields, achieving minimal erase and write updates. This significantly reduces the number and range of NVM erases, avoids invalid wear caused by full-page erases, and significantly extends the lifespan of non-volatile memory.
[0065] This significantly improves index update speed, eliminating the need to wait for full page erasure and rewriting, resulting in faster index update response and better real-time performance; moreover, it can reduce NVM power consumption overhead, making it more suitable for low-power embedded vehicle environments.
[0066] By modifying only the changed fields and retaining the original verification, status and other unchanged information, the index data is more stable and has a lower probability of error; it is deeply adapted to the archiving scheduling process, and the index update is efficient and reliable during archiving, without affecting the normal reading of business data in the second and third zones.
[0067] As an optional approach, after updating and modifying the corresponding fields in the target index through field-level incremental overwrite, the method also includes: recording and accumulating the number of erase / write operations on the storage page where the target index is located, where the extended index also includes the number of erase / write operations; when the number of erase / write operations reaches a preset threshold, the target index is migrated to the storage page with the fewest erase / write operations.
[0068] After completing the incremental update at the extended index field level, the storage controller counts and accumulates the total number of erases and writes to the NVM storage page where the index is located; the extended index itself carries an erase count field; when the number of erases and writes to a single page reaches a preset threshold, the index of that page is automatically migrated to the free storage page with the fewest erases and writes, thereby achieving global wear leveling of NVM and avoiding excessive wear and failure of local storage pages.
[0069] It should be noted that only low-frequency / archived business data has extended indexes, write / erase counts, and performs this wear leveling; high-frequency business data does not have extended indexes and is not included in this step.
[0070] The storage controller reads the erase / write count field carried in the target extended index; the storage controller accumulates the erase / write count of the NVM storage page where the target extended index is located and updates the erase / write count field value; the storage controller determines whether the cumulative erase / write count of the current storage page has reached the preset threshold.
[0071] If the threshold is not reached, the index update process ends. If the number of erase / write operations reaches the preset threshold, the storage controller retrieves the free storage page with the fewest erase / write operations in the non-volatile memory. The storage controller then completely migrates the current target extended index to this low-erase-count storage page. The storage controller updates the NVM physical address corresponding to the index and releases the original high-erase-count storage page.
[0072] Each NVM storage page has a fixed erase / write lifespan. Frequent erasures and writes to the same page will cause it to age and fail quickly. Archiving and status updates will also concentrate on modifying the same extended index page, creating hotspot pages for erasure and write operations. This embodiment uses erase / write count statistics and automatically migrates when a threshold is exceeded to evenly distribute the erase / write pressure across all NVM pages. This effectively avoids excessive concentrated wear and aging failure of local storage pages in NVM, significantly improving the overall lifespan of non-volatile memory.
[0073] Furthermore, the erase / write count is integrated into the extended index field, eliminating the need for a separate wear leveling storage area and saving NVM space. Combined with field-level incremental erase / write, wear is reduced twice, significantly improving NVM lifespan. Wear leveling is performed only on the extended index for low-frequency / archived business data, without impacting the read performance of high-frequency business data or reducing hotspot access efficiency; ensuring that the erase / write count of each storage page in the NVM is relatively uniform, significantly improving storage reliability and stability.
[0074] like Figure 2 As shown, as an optional approach, the method also includes: Step S201: Receive the read request for the target business data and obtain the access frequency type and write timestamp of the target business request.
[0075] Step S202: Based on the access frequency type and write timestamp, search for the corresponding basic index, or basic index and extended index, in the non-volatile memory.
[0076] Step S203: For high-frequency business data, locate and read it directly in the first area of the flash memory according to the basic index, and return it to the requester.
[0077] Step S204: For low-frequency business data, locate and read it in the second area of the flash memory according to the basic index, and verify the business data through the extended index.
[0078] In step S205, if the verification passes, the low-frequency business data is returned to the requester.
[0079] The storage controller receives read requests carrying the access frequency type and write timestamp, and matches the corresponding index in the NVM based on the access frequency type and write timestamp. High-frequency service data only has a basic index, so the data in the first flash memory area is directly located and read back based on the basic index. Low-frequency service data has both a basic index and an extended index. The data in the second flash memory area is first located using the basic index, and then the integrity and validity of the service data are verified using the extended index. The data is returned only after the verification is successful. This implements a differentiated read mechanism for high-frequency fast reads and low-frequency secure verification reads.
[0080] Specifically, the storage controller receives a target business data read request initiated from an external source, parses and extracts the access frequency type and write timestamp carried in the read request, and then retrieves the corresponding basic index in the non-volatile memory (NVM) based on the access frequency type and write timestamp.
[0081] If the data is low-frequency business data, the associated extended index is matched synchronously; if it is determined to be high-frequency business data: the storage controller directly locates the corresponding data in the first area of the flash memory based on the flash memory address in the basic index and reads it. After reading, the business data is returned to the requester; high-frequency business data has no extended index and no verification step is performed.
[0082] If the data is determined to be low-frequency business data: the storage controller first locates the corresponding business data in the second flash memory zone based on the basic index, then reads the corresponding extended index, and performs integrity and validity checks on the business data through the verification information in the extended index.
[0083] If the verification result is successful, the storage controller will return the business data to the requester; if the verification fails, the data is deemed abnormal, the data is discarded, and an error is reported.
[0084] High-frequency business data can be read extremely quickly, eliminating the need for verification steps and extended index interaction, thus significantly improving read efficiency. Low-frequency, long-term stored data is secure and reliable, with integrity verification performed through extended indexes to prevent reading of corrupted, abnormal, or tampered data.
[0085] The system precisely locates the underlying index based on access frequency type and write timestamp, eliminating the need for full-flash scanning and significantly improving lookup efficiency compared to existing traversal read solutions. The read logic is fully compatible with write operations, dynamic migration, archive scheduling, and index updates, ensuring logical self-consistency and high consistency throughout the entire storage system. It achieves tiered reads for high-frequency, high-performance and low-frequency, high-reliability operations, perfectly adapting to the access needs of vehicle business data at different lifecycle stages. Furthermore, it incurs no additional NVM erase / write overhead; the read process is read-only, without impacting NVM lifespan.
[0086] As an optional solution, the non-volatile memory includes a main index area and a backup index area. Storing the base index, or the base index and extended index, in the non-volatile memory includes: directly writing the base index of high-frequency business data into the main index area; directly writing the base index and extended index of low-frequency business data whose security level does not reach the preset level into the main index area; and storing the base index and extended index of low-frequency business data whose security level reaches the preset level in the backup index area first, and then writing it into the main index area.
[0087] The non-volatile memory is internally divided into two physical storage areas: a primary index area and a backup index area. Indexes are written according to the following differentiated rules: For high-frequency business data, only a basic index is generated, and the storage controller directly writes this basic index into the primary index area of the non-volatile memory; high-frequency business data has low security requirements and does not require backup. For low-frequency business data, the storage controller first determines its security level.
[0088] If the security level of low-frequency business data does not reach the preset level (ordinary historical data, general logs), the storage controller directly writes its basic index and extended index to the main index area without backup; if the security level of low-frequency business data reaches the preset level (important fault data, vehicle critical status data, safety-related data), the storage controller first writes the complete basic index and extended index to the backup index area to complete the backup, and then writes the same set of indexes to the main index area.
[0089] After writing is complete, update the index status flag; in case of abnormal system power failure and restart, the damaged or lost main index data can be recovered from the backup index area.
[0090] Critical, low-frequency business data indexes are protected with dual safeguards to prevent index loss and data irrecoverability due to abnormal index writes, power outages, or storage corruption. Ordinary low-frequency and high-frequency business data are not redundantly backed up, saving NVM storage space, reducing additional write cycles, and not affecting NVM lifespan. This enables on-demand backup and tiered security, balancing storage efficiency and data security while avoiding resource waste caused by full index backups.
[0091] In the event of a power outage and abnormal restart, the main index can be quickly restored from the backup index area, which greatly improves the reliability and fault tolerance of the vehicle storage system. The write strategy is completely consistent with the previous partitioning, index generation, reading, and scheduling logic, and the whole system logic is unified, stable, and feasible.
[0092] As an optional solution, the extended index also includes an update status. The method further includes: responding to index update requests and performing field-level incremental overwrite on the basic index and extended index in the order of backing up the index area first and then the main index area to update the index; automatically updating the update status during the process of updating / writing the basic index and extended index, where the update status includes not updated, updating in progress, and updating completed; and automatically restoring the index with the update status of updating in progress from the backup index area after a power outage and restart.
[0093] The storage controller responds to index update requests and, for the basic and extended indexes of low-frequency business data whose security level has reached the preset level, strictly follows the order of backing up the index area first and then the main index area, and performs index updates using a field-level incremental overwrite method.
[0094] During the process of updating index fields sequentially in the backup index area and the main index area, the storage controller modifies the update status in the extended index in real time; the update status includes: not updated, updating in progress, and update completed; when all index fields have been incrementally updated, the update status is set to update completed.
[0095] If the vehicle experiences a power outage and restart during the index update process, the index will be in an abnormal state during the interruption. When the system restarts and performs a self-test, the storage controller traverses the NVM index and identifies the abnormal index with the update status in progress. The storage controller then directly reads the complete and normal index data from the backup index area to overwrite and restore the damaged, interrupted, or incomplete indexes in the main index area, thus completing automatic abnormal recovery.
[0096] It should be noted that this process is only executed for high-security, low-frequency business data; high-frequency business data and ordinary low-frequency business data are not backed up and this update and recovery logic is not executed.
[0097] This embodiment backs up the index area before writing to the primary index area, ensuring that the backup area is always a complete and reliable baseline and preventing situations where there is no basis for recovery if the primary area update fails. The update status is used to mark the progress of index transactions, accurately identifying update interruption anomalies, rather than blindly performing a full recovery.
[0098] It completely resolves the technical issues of index corruption, misalignment, and loss caused by power outages during incremental index updates, achieving atomicity in index update transactions. By accurately identifying abnormal interruptions through update status, it eliminates the need for a full index scan for recovery, resulting in faster recovery speeds.
[0099] It only applies to high-security, low-frequency data, without affecting the read / write efficiency of high-frequency data or consuming additional NVM resources; it significantly improves the index reliability and data security of the vehicle storage system under vehicle vibration, power-on / off, and abnormal power outage scenarios; it is fully compatible with field-level incremental updates, dual-index partitioning, and wear leveling mechanisms, ensuring the safety and stability of the entire storage system.
[0100] It should be noted that this embodiment also provides an optional implementation method, which will be described in detail below.
[0101] This implementation method needs to address four core technical issues: NVM capacity and cost: how to further reduce NVM capacity and lower hardware costs while ensuring the integrity of the indexing function; NVM erase / write efficiency and lifespan: how to reduce the NVM erase / write range and frequency, reduce erase / write time, and extend the NVM lifespan; Index reliability: how to avoid index damage or corruption and ensure accurate association between the index and Flash data; Flash access efficiency: how to achieve fast location and reading of Flash data through partitioning and scheduling in conjunction with the NVM index, avoiding full scans.
[0102] The core architecture of this implementation method is as follows: Figure 4 As shown, NVM-Flash collaborative tiered storage divides the storage system into upper and lower layers, with separated responsibilities but strong interrelationships: 1. Upper layer: NVM index layer (storage medium: small NVM, such as 4KB EEPROM).
[0103] Only "hierarchical index + verification information + erase / write records" are stored, without storing complete data, thus achieving a lightweight NVM.
[0104] 2. Lower layer: External Flash data layer (storage medium: high-capacity Flash, such as 128MB).
[0105] Store complete business data, manage partitions according to access frequency and lifecycle, and reduce NVM load.
[0106] This implementation method is designed with four core modules to address the four major technical problems mentioned above.
[0107] Module 1: NVM hierarchical lightweight index, solving the "NVM capacity problem".
[0108] like Figure 5 As shown, instead of a single index structure, a hierarchical storage system of "basic index + extended index" is designed to achieve multi-dimensional positioning within a KB-level NVM: 1. Basic Index (required, occupies 60% of NVM space): Each record is 8 bytes, containing DataTag (data type identifier, 2 bytes), FlashBlockAddr (Flash data start address, 4 bytes), and TimeStamp (write time, 2 bytes). Data can be quickly filtered by "type + time", narrowing the location range to 1-2 Flash blocks.
[0109] 2. Extended Index (stored on demand, occupying 40% of NVM space): 6 bytes per record, associated with the basic index via DataTag, containing DataHash (Flash data CRC32 checksum, 4 bytes), ValidFlag (data validity, 1 byte), EraseCount (NVM page erase count, 1 byte), supplementing checksum and status information.
[0110] Module 2: External Flash hot and cold partitioning and collaborative scheduling, solving the "Flash access efficiency problem".
[0111] Based on data access frequency and lifecycle, the Flash memory is divided into three functional areas, which, together with the NVM index, enable hierarchical access: 1. Hot Zone (30% Flash): Stores high-frequency business data (such as real-time sampling data) from the past 24 hours, stored in descending order of TimeStamp, with the NVM basic index pointing to the hot zone first; 2. Cold Zone (50% Flash): Stores low-frequency business data for 24 hours to 7 days, partitioned by DataTag (data type), with NVM extended index marking access frequency; 3. Archive Area (20% Flash): Stores archived business data older than 7 days, using LZ77 compression, and the NVM index only stores "compressed package address + decompression length"; 4. Scheduling logic: Update ValidFlag every hour through NVM index, mark "7 days inaccessible" data in cold zone as "to be archived", migrate it to the archive area in the background, and free up space in hot zone.
[0112] Module 3: NVM Incremental Erasure and Wear Leveling, solving the "NVM erasure efficiency and lifespan problem".
[0113] Optimize NVM index update method to reduce erase / write range and frequency: 1. Field-level overwrite: When updating an NVM index, only the changed fields are overwritten (e.g., only the 4 bytes of FlashBlockAddr are updated, and the 2 bytes of DataTag are not erased), avoiding full-page writes and reducing the time of a single write from 8ms to 0.3ms; 2. Erase-write balance: The EraseCount of the extended index records the number of erases and writes for each page in the NVM. When a page is erased more than 100 times, the index is automatically migrated to the page with the fewest erases and writes to avoid excessive wear in certain areas.
[0114] Module 4: Index dual-zone redundancy and power failure protection, solving the "index reliability problem".
[0115] The use of "dual-zone redundancy + breakpoint recording" ensures that the index is not lost or corrupted. 1. Dual-zone redundant storage: NVM indexes distinguish between the "primary index area" and the "backup index area" (each occupying 50% of the space). During updates, the backup area is written first, and then the primary area is written. If the primary area is damaged, it can be recovered from the backup area. 2. Power outage breakpoint record: The extended index adds an UpdateStatus field (1 byte) to mark the index update status (0=not updated, 1=updating, 2=updating completed). If UpdateStatus=1 after a power outage and restart, the index will be automatically restored from the backup area.
[0116] This implementation method achieves four core technical effects through the above four modules. Quantitative data is based on a test environment of "128MB external Flash + 4KB NVM": Significantly improved NVM erase / write efficiency and lifespan: Single erase / write time reduced from 8ms to 0.3ms (a reduction of 96.25%). Guaranteed index reliability and data integrity: Dual-zone redundancy + hash verification ensures 100% recovery after index corruption, increasing the data read success rate from 90% in traditional solutions to 100%, eliminating the risk of data loss. Exponentially improved Flash access efficiency: Through index positioning + hot / cold partitioning, the time to find a single piece of data is reduced from 45ms (full scan) to 1.8ms (a 25-fold improvement), meeting real-time storage requirements.
[0117] The core innovation of this implementation method lies in breaking through the traditional limitations of "data-index storage coupling", "unreliable single index", and "indiscriminate Flash storage", and proposes three key invention points: The layered lightweight index architecture splits the index into a "basic positioning layer + extended verification layer," achieving multi-dimensional positioning of "data type + time + address" within a KB-level NVM, thus resolving the contradiction between "large NVM capacity" and "coarse index positioning." Flash hot and cold partitioning and NVM index collaborative scheduling mechanism. Flash partitions are divided according to data access frequency, and dynamic partition scheduling is achieved through the ValidFlag and TimeStamp of the NVM index, avoiding full Flash scan and improving data lookup efficiency by 25 times.
[0118] NVM incremental erase and write with dual-zone redundancy protection mechanism. By reducing the NVM erase and write range through field-level overwriting, and combining "dual-zone redundancy + power failure breakpoint record" to ensure index reliability, it not only solves the problem of long NVM erase and write time, but also achieves 100% index recovery, balancing efficiency and reliability.
[0119] like Figure 6 As shown, the present invention also provides a vehicle business data storage system, including: a storage controller, a non-volatile memory, and flash memory; the flash memory includes multiple partitions corresponding to different access frequency types, used to store business data in the corresponding partitions according to the access frequency type of the business data, wherein the access frequency type includes high frequency and low frequency, high frequency business data is written to the first partition of the flash memory, and low frequency business data is written to the second partition of the flash memory; the storage controller is connected to the flash memory and is used to generate a basic index according to the access frequency type of the business data, the flash memory address, and the write timestamp; for business data with a low access frequency type, an extended index is generated according to the basic index of the business data and the business data verification information, wherein the extended index is used for business data verification; the non-volatile memory is connected to the storage controller and is used to independently store index data.
[0120] The storage controller executes the above method, storing business data in the corresponding area of flash memory and the index in non-volatile memory. By utilizing external flash memory, the flash memory is partitioned, and data is stored in different locations based on different access frequencies, generating different indexes. Only the indexes are stored in non-volatile memory, thereby reducing the space occupied by non-volatile memory, improving storage efficiency, and achieving a significant increase in storage capacity without hardware expansion. This solves the problem of high costs associated with hardware expansion when storing more data in related technologies.
[0121] As an optional solution, the non-volatile memory includes: a primary index area and a backup index area; the primary index area is used to store the basic index of high-frequency business data, and / or the basic index and extended index of low-frequency business data whose security level does not reach the preset level; the backup index area is used to store the basic index and extended index of low-frequency business data whose security level reaches the preset level.
[0122] As an optional solution, the flash memory also includes a third zone; the third zone is set up independently from the first and second zones and is used to store archived business data obtained by compressing business data that has not been accessed within the target time period.
[0123] The present invention also provides an electronic device, including: a processor, and a memory storing a program, the program including instructions, which, when executed by the processor, cause the processor to perform the aforementioned method for storing vehicle business data.
[0124] The present invention also provides a non-transitory machine-readable medium storing computer instructions for causing a computer to execute the storage method based on the aforementioned vehicle business data.
[0125] The present invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the above-described method for storing vehicle business data.
[0126] Embodiments of the present invention also provide an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, which, when executed by the at least one processor, causes the electronic device to perform the method of the embodiments of the present invention.
[0127] refer to Figure 7 The present invention will now be described in the form of a structural block diagram of an electronic device that can serve as an embodiment of the present invention, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0128] like Figure 7 As shown, the electronic device includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 702 or a computer program loaded into a random access memory (RAM) 703 from a storage unit 708. The RAM 703 may also store various programs and data required for the operation of the electronic device. The computing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0129] Multiple components in the electronic device are connected to I / O interface 705, including: input unit 706, output unit 707, storage unit 708, and communication unit 709. Input unit 706 can be any type of device capable of inputting information into the electronic device. Input unit 706 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of the electronic device. Output unit 707 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 708 may include, but is not limited to, disks and optical discs. Communication unit 709 allows the electronic device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, and / or wireless communication transceivers, such as Bluetooth devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.
[0130] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, CPUs, graphics processing units (GPUs), various special-purpose artificial intelligence (AI) computing units, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above. For example, in some embodiments, the method embodiments of the present invention can be implemented as a computer program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed on an electronic device via ROM 702 and / or communication unit 709. In some embodiments, the computing unit 701 can be configured to perform the methods described above by any other suitable means (e.g., by means of firmware).
[0131] Computer programs for implementing the methods of embodiments of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0132] In the context of embodiments of the present invention, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable signal medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, or infrared systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0133] It should be noted that the term "comprising" and its variations used in the embodiments of the present invention are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "a plurality" mentioned in the embodiments of the present invention are illustrative and not restrictive, and those skilled in the art should understand that unless explicitly indicated otherwise in the context, they should be understood as "one or more".
[0134] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this invention are subject to strict compliance with relevant laws, regulations, and regulatory requirements in their collection, storage, use, processing, transmission, provision, and disclosure, and adhere to the principles of legality, legitimacy, necessity, and good faith. The acquisition of relevant information and data is premised on the user's explicit consent or other legitimate reasons, and a clear and convenient authorization management approach is provided to the user, allowing the user to independently choose to consent, withdraw consent, or refuse to provide relevant information. For functions that rely on user information, if the user does not authorize or withdraws authorization, the corresponding technical function cannot be implemented, and the technical solution of this invention is not applicable in this scenario.
[0135] The steps described in the method embodiments provided by the present invention can be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of protection of the present invention is not limited in this respect.
[0136] The term "embodiment" in this specification refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of the invention. The appearance of this phrase in various places in the specification does not necessarily imply the same embodiment, nor does it imply independence or alternativeity from other embodiments. The various embodiments in this specification are described in a related manner, with reference to each other for similar or identical parts. In particular, for apparatus, device, and system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, and relevant details are referred to in the description of the method embodiments.
[0137] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the appended claims.
Claims
1. A method for storing vehicle business data, characterized in that, include: According to the access frequency type of the vehicle's business data, the business data is written into the corresponding partition in the flash memory. The access frequency type includes high frequency and low frequency. High frequency business data is written into the first partition of the flash memory, and low frequency business data is written into the second partition of the flash memory. A basic index is generated based on the access frequency type, flash memory address, and write timestamp of the business data; For the service data whose access frequency type is low, an extended index is generated based on the basic index of the service data and the service data verification information, wherein the extended index is used to verify the service data; The base index, or the base index and the extended index, are stored in non-volatile memory.
2. The method according to claim 1, characterized in that, Based on the access frequency type of the vehicle's business data, the business data is written to the corresponding partition in the flash memory, including: If the writing time of the business data is within a preset first duration, the access frequency type is determined to be high frequency, and the business data is stored in the first area, wherein the first area is used to store the high frequency business data within the preset first duration; If the writing time of the business data exceeds the preset first duration and falls within the preset second duration, the access frequency type is determined to be low frequency, and the business data is migrated from the first area to the second area, wherein the second area is used to store the low frequency business data within the preset second duration.
3. The method according to claim 1, characterized in that, After storing the base index, or the base index and the extended index, in non-volatile memory, the method further includes: The basic index of the business data in the second zone is read at a set frequency to determine the business data that has not been accessed within the target time period and mark it as pending archiving. The pending archiving status is recorded in the extended index of the business data. The business data marked as pending archiving is compressed to obtain archived business data. The archived business data is stored in the third area of the flash memory, and the corresponding business data is deleted in the second area; Update the extended index in the non-volatile memory and change the pending archiving state to the archived state.
4. The method according to claim 3, characterized in that, Updating the extended index in the non-volatile memory includes: In response to an index modification request, locate the target index that needs to be updated and the target memory address stored in non-volatile memory; Based on the index modification request, determine the fields that need to be updated in the target index, and the specific content that needs to be updated in those fields; The target index is updated by updating and modifying the corresponding fields in the target index through field-level incremental overwrite.
5. The method according to claim 4, characterized in that, After updating and modifying the corresponding fields in the target index using field-level incremental overwrite, the method further includes: Record and accumulate the number of erase / write operations on the storage page where the target index is located, wherein the extended index also includes the number of erase / write operations; If the number of erase / write operations reaches a preset threshold, the target index will be migrated to the storage page with the fewest erase / write operations.
6. The method according to claim 1, characterized in that, The method further includes: Receive a read request for target business data and obtain the access frequency type and write timestamp of the target business request; Based on the access frequency type and write timestamp, look up the corresponding basic index, or basic index and extended index, in the non-volatile memory; For high-frequency business data, the data is located and read directly in the first area of the flash memory based on the basic index and returned to the requester; For low-frequency business data, the data is located and read in the second area of the flash memory according to the basic index, and the business data is verified by the extended index. If the verification passes, the low-frequency business data will be returned to the requester.
7. The method according to claim 1, characterized in that, The non-volatile memory includes a main index area and a backup index area; Storing the base index, or the base index and the extended index, in non-volatile memory includes: The basic index of high-frequency business data is directly written into the main index area; The basic and extended indexes of low-frequency business data whose security level does not meet the preset level are directly written into the main index area; The basic and extended indexes of low-frequency business data with a security level that meets the preset level are first stored in the backup index area and then written to the main index area.
8. The method according to claim 7, characterized in that, The extended index also includes updating the state, and the method further includes: In response to the index update request, the basic index and the extended index are updated by performing field-level incremental overwrite in the order of backing up the index area first and then the main index area; During the process of updating / writing the base index and extended index, the update status is automatically updated, wherein the update status includes not updated, updating in progress, and update completed; After a power outage and restart, indexes in the "updating" status will be automatically restored from the backup index area.
9. A storage system for vehicle business data, characterized in that, include: Storage controller, non-volatile memory, flash memory; The flash memory includes multiple partitions corresponding to different access frequency types, used to store the business data in the corresponding partitions according to the access frequency type of the business data. The access frequency type includes high frequency and low frequency. High frequency business data is written to the first partition of the flash memory, and low frequency business data is written to the second partition of the flash memory. The storage controller is connected to the flash memory and is used to generate a basic index based on the access frequency type, flash memory address, and write timestamp of the service data; for the service data with a low access frequency type, an extended index is generated based on the basic index of the service data and the service data verification information, wherein the extended index is used to verify the service data; The non-volatile memory is connected to the memory controller and is used to independently store index data.
10. The storage system according to claim 9, characterized in that, The non-volatile memory includes: a main index area and a backup index area; The main index area is used to store the basic index of high-frequency business data, and / or the basic index and extended index of low-frequency business data whose security level does not reach the preset level; The backup index area is used to store the basic index and extended index of low-frequency business data whose security level reaches a preset level.
11. The storage system according to claim 9, characterized in that, The flash memory also includes a third region; The third zone is set up independently from the first and second zones and is used to store archived business data obtained by compressing business data that has not been accessed within the target time period.
12. An electronic device, comprising: A processor and a memory storing a program, characterized in that the program includes instructions that, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 8.
13. A non-transitory machine-readable medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 8.
14. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the method of any one of claims 1 to 8.
