A data storage and processing method, a data storage and processing circuit, and an electronic device
By storing non-volatile data from electronic device motherboards to EMMC and managing according to the working status of the BIOS and management modules, the complex problems of decentralized storage and maintenance are solved, and more efficient data management and system resilience is achieved.
Patent Information
- Application Number
- CN202111385870.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-22
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2041-11-22
AI Technical Summary
In the prior art, nonvolatile data on the electronic device motherboard is stored separately and maintained separately, resulting in large resource occupancy and complex data maintenance.
Store the nonvolatile data that needs to be read during the startup process of multiple systems of the electronic device motherboard into the EMMC, and determine the data management strategy based on the working status of the BIOS and management modules to perform data management.
Through centralized storage and intelligent management, the complexity of motherboard data maintenance is reduced, the system's resilience is improved, and the system's transition dependence management module is avoided.
Smart Images

Figure CN114217737B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer storage, and particularly to a data storage processing method, a data storage processing circuit, and an electronic device. Background Art
[0002] The non-volatile data on the motherboard of an electronic device includes the following four parts: 1. Data for describing the motherboard FRU (Field Replace Unit); 2. Data saved by the motherboard management module in the EMMC (Embedded MultiMedia Card); 3. Data saved by the BIOS (Basic Input Output System) in the non-volatile ROM of the PCH (computer motherboard BGA) RTC (Real Time Clock); 4. Data that needs to be restored when the motherboard FPGA is powered on and saved in the management module FLASH.
[0003] Currently, the above four parts of data are stored separately in different chips, with decentralized storage and separate maintenance. Among them, the first part of the data uses an independent Flash chip, which occupies the layout space of the motherboard. And when the Flash chip fails and needs to be replaced, it is easy to bring problems such as complex code development and maintenance due to the instruction differences of Flash chips from different manufacturers and models. Specifically, the position of the independent Flash chip on the motherboard can be referred to Figure 1 the U72 position shown, which occupies the motherboard layout space. And when reading and writing FRU data, the independent Flash chip needs to be connected to an I2C bus and read and written using a preset slave address, occupying the I2C resource. In the case of a failure of the motherboard management module, even the second part of the data cannot be directly read. The third part of the data requires independent battery power supply. When the battery power is insufficient, data loss will occur. In short, the current data management form of decentralized storage and separate maintenance of the non-volatile storage data on the motherboard occupies resources and is difficult to maintain data. Summary of the Invention
[0004] Embodiments of the present invention provide a data storage processing method, a data storage processing circuit, and an electronic device.
[0005] According to a first aspect of the present invention, there is provided a data storage processing method, the method including: storing non-volatile data that needs to be read during the startup processes of multiple systems of the motherboard of an electronic device into the EMMC of the motherboard; determining a management strategy for managing the data in the motherboard EMMC according to the working states of the BIOS and the management module of the electronic device, and performing data management according to the strategy.
[0006] According to an embodiment of the present invention, the non-volatile data that needs to be read during the startup processes of the multiple systems includes at least one of the following data: first data for describing data of the field replaceable units of the main board; second data, which is the system data of the BIOS; third data that needs to be restored when the FPGA of the main board is powered on; and fourth data saved in the EMMC by the main board management module.
[0007] According to an embodiment of the present invention, storing multiple non-volatile data of the main board of an electronic device into the EMMC of the main board includes: partitioning the EMMC to obtain multiple storage areas; formatting the storage areas into a specified file system; saving the first data into a first specified storage area among the multiple storage areas, and performing file management on the first data based on the file system of the specified file area.
[0008] According to an embodiment of the present invention, storing multiple non-volatile data of the main board of an electronic device into the EMMC of the main board includes: saving the second data into a second specified storage area among the multiple storage areas, and managing the second data based on the data offset of the second data in the second specified storage area; saving the third data into a third specified storage area among the multiple storage areas, and managing the third data based on the data offset of the third data in the third specified storage area.
[0009] According to an embodiment of the present invention, determining a management strategy for managing data in the EMMC of the main board according to the working states of the BIOS and the management module of the electronic device, and performing data management according to the strategy includes: when the management module is working properly, reading and writing multiple non-volatile data from and into the EMMC through the management module.
[0010] According to an embodiment of the present invention, determining a management strategy for managing data in the EMMC of the main board according to the working states of the BIOS and the management module of the electronic device, and performing data management according to the strategy includes: when the management module fails and the BIOS is working properly, the BIOS reads and writes multiple non-volatile data from and into the EMMC through the controller of the main board.
[0011] According to an embodiment of the present invention, according to the working states of the BIOS and the management module of an electronic device, a management strategy for managing data in the motherboard EMMC is determined, and data management is performed according to the strategy, including: in the case where the working states of the management module show that both the management module and the BIOS have failed, reading and writing a plurality of non-volatile data in the EMMC from the EMMC through an external general-purpose read-write device connected to the EMMC.
[0012] According to a second aspect of the present invention, there is also provided a data storage processing circuit, the data storage processing circuit including: an EMMC of the motherboard of the electronic device, connected to the controller of the motherboard through an independent communication line, the EMMC being used for storing a plurality of non-volatile data of the motherboard, and the electronic device being able to determine a management strategy for managing data in the motherboard EMMC according to the working states of the BIOS and the management module of the electronic device, and performing data management according to the strategy.
[0013] According to an embodiment of the present invention, the data storage processing circuit further includes: a general-purpose reader-writer, connected to the EMMC through the controller, for reading and writing a plurality of non-volatile data in the EMMC from the EMMC in the case where the working states of the management module show that both the management module and the BIOS have failed.
[0014] According to a third aspect of the present invention, there is also provided an electronic device, the electronic device including at least one processor, and at least one memory and a bus connected to the processor; wherein, the processor and the memory complete communication with each other through the bus; the processor is used for calling program instructions in the memory to execute the above data storage processing method.
[0015] In the data storage processing method, data storage processing circuit and electronic device of the embodiments of the present invention, the data storage processing method includes: storing a plurality of non-volatile data required to be read during the system startup process of the motherboard of the electronic device in the EMMC of the motherboard; determining a management strategy for managing data in the motherboard EMMC according to the working states of the BIOS and the management module of the electronic device, and performing data management according to the strategy. In this way, a variety of scattered motherboard data is saved in the EMMC and managed through a specific management strategy. For example: it can be saved in a specific data format, and an FPGA can be used as a converter to accelerate the reading of data in the EMMC. Thereby effectively reducing the complexity of motherboard data maintenance, avoiding the over-reliance of the electronic device system startup and operation on the management module, and effectively improving the resilience of the electronic device system.
[0016] It should be understood that the teachings of the present invention do not necessarily achieve all the beneficial effects described above. Instead, specific technical solutions can achieve specific technical effects, and other embodiments of the present invention can also achieve beneficial effects not mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] By referring to the following detailed description with reference to the accompanying drawings, the above and other objects, features, and advantages of the exemplary embodiments of the present invention will become readily understood. In the drawings, several embodiments of the present invention are shown in an exemplary rather than restrictive manner, wherein:
[0018] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0019] Figure 1 Shows the position of the independent Flash chip for storing FRU data in the motherboard in the prior art;
[0020] Figure 2 Shows a schematic layout diagram of the EMMC on the motherboard in an embodiment of the first embodiment of the present invention;
[0021] Figure 3 Shows a schematic implementation flow diagram of the data storage processing method in the embodiment of the present invention;
[0022] Figure 4 Shows a schematic composition structure diagram of the electronic device in the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0023] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and then implement the present invention, and do not limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to be able to convey the scope of the present invention to those skilled in the art completely.
[0024] The technical solutions of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0025] Figure 2 Shows a schematic layout diagram of the EMMC on the motherboard in an embodiment of the first embodiment of the present invention.
[0026] Reference Figure 2As shown, the EMMC chip can be laid out at the U64 position of the motherboard layout. The EMMC chip consists of an embedded storage solution with an MMC (Multimedia Card) interface, a flash memory device, and a main controller. And all interfaces and controllers are encapsulated in a small BGA structure. Its interface speed is up to 52 MBytes per second. EMMC has fast and upgradeable performance. Based on the NAND flash memory chip, it additionally integrates a controller and encapsulates the two into a BGA-structured chip, thus greatly reducing the space occupied on the PCB motherboard. Therefore, the EMMC chip has a powerful data storage capacity and fast data processing capabilities, and the space it occupies on the motherboard layout is very small. In addition, EMMC integrates a Flash Controller (Flash chip controller) inside to complete functions such as wear-leveling, bad block management, and ECC (Error Correcting Code) verification. At the same time, eMMC can have very good read and write performance by using technologies such as Cache and Memory Array.
[0027] Therefore, in the data storage and processing method of the embodiment of the present invention, the non-volatile data that needs to be read during the startup processes of multiple systems of the motherboard of the electronic device is stored in the EMMC of the motherboard, and a suitable data management strategy is adopted to manage the non-volatile data stored thereon.
[0028] Figure 3 The implementation process schematic diagram of the data storage and processing method of the embodiment of the present invention is shown.
[0029] Reference Figure 3 , the data storage and processing method of the embodiment of the present invention at least includes the following operation processes: Operation 301, storing the non-volatile data that needs to be read during the startup processes of multiple systems of the motherboard of the electronic device in the EMMC of the motherboard; Operation 302, determining the management strategy for managing the data in the motherboard EMMC according to the working states of the BIOS and management module of the electronic device, and performing data management according to the strategy.
[0030] In Operation 301, the non-volatile data that needs to be read during the startup processes of multiple systems of the motherboard of the electronic device is stored in the EMMC of the motherboard.
[0031] In this embodiment of the present invention, the non-volatile data that needs to be read during the startup processes of multiple systems may include at least one of the following data: First data, data for describing the field replaceable units of the motherboard; Second data, system data of the BIOS; Third data, data that needs to be restored when the motherboard FPGA is powered on; Fourth data, data saved in the EMMC by the motherboard management module.
[0032] Specifically, after saving the data used to describe the motherboard FRU (Field Replace Unit) to the EMMC, firstly, an independent Flash can be no longer used to save this data, effectively saving the motherboard layout space. Secondly, there is no need to connect to a preset I2C bus to read and write this data, effectively improving the processing efficiency of the management module for the data describing the motherboard FRU (Field Replace Unit). Moreover, the selection of an independent Flash chip is avoided, as well as the instruction differences and the resulting complex and cumbersome code development and maintenance operations when accessing Flash chips of different manufacturers and models. Thus, when the Flash chip is damaged, the problem of the entire motherboard needing to be replaced is further avoided.
[0033] The system data of the BIOS can include the data saved in the non-volatile ROM on the PCH RTC (Platform Controller Hub Real_TimeClock, real-time clock on the south bridge chip). After saving the system data of the BIOS in the EMMC chip, the problem of data loss in the non-volatile ROM caused by power failure of the PCH RTC after the independent power supply battery in the traditional PCH RTC solution fails to supply power normally can be effectively avoided. Thus, when the BIOS POST is abnormal due to the data saved in the non-volatile ROM of the PCH RTC, the problem of being unable to obtain data for specific analysis and having to clear the data can be effectively avoided.
[0034] For the data that needs to be restored when the FPGA on the management module FLASH is powered on, storing it in the EMMC can ensure that these data can be normally restored during the FPGA power-on process regardless of whether the management module can work properly, thus ensuring the normal startup of the motherboard system.
[0035] For the data saved by the motherboard management module in the EMMC (Embedded Multi Media Card, embedded memory), it can ensure the smooth startup of the BIOS.
[0036] In this embodiment of the present invention, for the first data used to describe the motherboard field replaceable unit, the following operations can be adopted to store multiple non-volatile data of the motherboard of the electronic device in the EMMC of the motherboard: partition the EMMC to obtain multiple storage areas, format the storage areas into a specified file system, further save the first data to the first specified storage area among the multiple storage areas, and perform file management on the first data based on the file system of the specified file area.
[0037] Specifically, inside the EMMC, the NAND Flash chip (Flash memory array) and the Device Controller chip (also called Flash controller, EMMC controller) are encapsulated together. The Flash controller is responsible for managing the memory and provides a standard interface, enabling the EMMC to automatically adjust the working modes of the host and the slave without bit limit and eliminating the need to handle other complex NAND Flash compatibility and management issues. Meanwhile, the controller serves as the connection medium between the applications of its card and the multimedia bus, and it can complete protocol conversion before the application program bus and the standard multimedia bus.
[0038] NAND Flash is a non-volatile memory, usually used in embedded systems to store systems, applications, data, etc., similar to the hard disk in a PC system. Inside the EMMC, the NAND Flash is divided into several main areas. For example, the EMMC can be divided into areas such as Boot Area Partitions, RPMB (Replay Protected Memory Block) Partition, General Purpose partition, and User Data Area.
[0039] Among them, Boot Area Partitions can further include Boot Area Partition 1 and Boot Area Partition 2. This partition is mainly designed to support booting the system from the EMMC. The data in this partition can be read out through a very simple protocol after the EMMC is powered on.
[0040] The RPMB Partition uses HMAC SHA-256 and Write Counter to ensure that the data stored inside the RPMB is not illegally tampered with. In practical applications, the RPMB Partition is usually used to store security-related data, such as fingerprint data, keys related to secure payment, etc.
[0041] General Purpose Partition can also include multiple sub-areas such as General Purpose Partition 1 to 4. The General Purpose Partition is mainly used to store system or user data. Usually, the General Purpose Partition does not exist when the EMMC chip leaves the factory and needs to be actively configured before it exists.
[0042] For example, the first data used to describe the motherboard field replaceable unit can be stored in this partition. The NAND Flash chip memory array of the EMMC chip can configure a file system, which specifies the rules for naming files, such as the maximum number of characters in the file name, which characters can be used, and how long the file name suffix can be in some systems. The file system also includes the format of the specified path for finding files through the directory structure. The file system can be one of various file systems such as FAT, NTFS, CDFS, RAW, JFFS2, or YAFFS2. As for which specific file system to adopt, no specific limitation is made here.
[0043] The User Data Area is mainly used to store system and user data. The User Data Area is usually repartitioned. For example, in the Android system, sub-areas such as boot, system, and user data are usually separated in this area.
[0044] In this way, by storing the motherboard FRU information in the EMMC, the Flash chip that independently stores the motherboard FRU information can be removed from the motherboard, effectively releasing the motherboard Layout space and the i2c resources occupied by the Flash chip.
[0045] In this embodiment of the present invention, for the second data of the BIOS system data and the third data that needs to be restored when the motherboard FPGA is powered on, the following operations can be used to store multiple non-volatile data of the motherboard of the electronic device in the EMMC of the motherboard: save the second data to the second specified storage area in the multiple storage areas, and manage the second data based on the data offset of the second data in the second specified storage area, and save the third data to the third specified storage area in the multiple storage areas, and manage the third data based on the data offset of the third data in the third specified storage area.
[0046] For example, the second data and the third data can be stored in the User Data Area of the EMMC chip. The NAND Flash in the EMMC is configured with multiple areas. For each partition, the position where the file is stored in the EMMC is managed by the data offset.
[0047] In operation 302, according to the working states of the BIOS and the management module of the electronic device, determine the management policy for managing the data in the motherboard EMMC, and perform data management according to the policy.
[0048] In this embodiment of the present invention, according to the working states of the BIOS and the management module of the electronic device, a management strategy for the data in the management mainboard EMMC is determined, and data management is performed according to the strategy, including: when the management module is working normally, reading and writing multiple non-volatile data in the EMMC through the management module.
[0049] Specifically, when the management module is working normally, the management module itself manages the data included in the data that needs to be restored when the mainboard FPGA is powered on, and saves the relevant information to the EMMC. The management module will also actively read the data that needs to be restored when the mainboard FPGA is powered on from the EMMC and transfer it to the FPGA for data restoration when powered on or after the FPGA is updated. In addition, the BIOS can read and modify the information included in the system data of the BIOS through in-band commands.
[0050] In this embodiment of the present invention, according to the working states of the BIOS and the management module of the electronic device, a management strategy for the data in the management mainboard EMMC is determined, and data management is performed according to the strategy, including: when the management module fails and the BIOS works normally, the BIOS reads and writes multiple non-volatile data in the EMMC through the controller of the mainboard.
[0051] Specifically, when the management module is abnormal and cannot work normally, and the BIOS can work normally, the BIOS can read and modify the information included in the system data of the BIOS by communicating with the FPGA. In addition, the data at a specified position in the EMMC can be read out by communicating with the FPGA through the shell tool integrated in the BIOS. At this time, the FPGA itself can read data from the EMMC to complete data restoration.
[0052] In this embodiment of the present invention, according to the working states of the BIOS and the management module of the electronic device, a management strategy for the data in the management mainboard EMMC is determined, and data management is performed according to the strategy, including: when the working states of the management module show that both the management module and the BIOS have failed, reading and writing multiple non-volatile data in the EMMC through an external general-purpose reading and writing device connected to the EMMC.
[0053] Specifically, the reserved pins of the EMMC chip can be used to enable the EMMC to perform data reading and writing operations through an external reader and writer. When both the management module and the BIOS cannot work normally, an external general-purpose reader and writer can be used to read and write the data in the EMMC through the reserved pins of the EMMC chip.
[0054] For example, the pins VCC, VCCQ, GND (or VSS), CLK, CMD, and D0 of the EMMC chip can be connected to independent jumpers on the motherboard so that the data in the EMMC can be read or written to the EMMC with the help of an external general-purpose reader / writer. At the same time, these pins are also connected to the FPGA. The FPGA reads and modifies the data in the EMMC through these pins by implementing the EMMC read / write protocol.
[0055] In the data storage and processing method according to the embodiment of the present invention, non-volatile data that needs to be read during multiple system startup processes of the motherboard of an electronic device is stored in the EMMC of the motherboard; according to the working states of the BIOS and the management module of the electronic device, a management strategy for managing the data in the motherboard EMMC is determined, and data management is performed according to the strategy. In this way, various types of dispersed motherboard data are saved in the EMMC and managed through a specific management strategy. For example, it can be saved in a specific data format, and the FPGA can be used as a converter to accelerate the reading of the data in the EMMC. Thereby, the complexity of motherboard data maintenance is effectively reduced, the over-reliance of the electronic device system startup and operation on the management module is avoided, and the resilience of the electronic device system is effectively improved.
[0056] Similarly, based on the above data storage and processing method, the embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores a program, and when the program is executed by a processor, the processor is caused to perform at least the following operation steps: Operation 301, storing non-volatile data that needs to be read during multiple system startup processes of the motherboard of the electronic device in the EMMC of the motherboard; Operation 302, determining a management strategy for managing the data in the motherboard EMMC according to the working states of the BIOS and the management module of the electronic device, and performing data management according to the strategy.
[0057] Furthermore, based on the above data storage and processing method, the embodiment of the present invention further provides a data storage and processing circuit, including: the EMMC of the motherboard of the electronic device, which is connected to the controller of the motherboard through an independent communication line. The EMMC is used to store multiple non-volatile data of the motherboard, and the electronic device can determine a management strategy for managing the data in the motherboard EMMC according to the working states of the BIOS and the management module of the electronic device, and perform data management according to the strategy.
[0058] In this embodiment of the present invention, the data storage and processing circuit further includes: a general-purpose reader / writer, which is connected to the EMMC through the controller and is used to read and write multiple non-volatile data in the EMMC when the working state of the management module shows that both the management module and the BIOS have failed.
[0059] Further, based on the above data storage processing method, an embodiment of the present invention further provides an electronic device, such as Figure 4 , the electronic device 40 includes at least one processor 401, and at least one memory 402 and a bus 403 connected to the processor 401; wherein, the processor 401 and the memory 402 complete communication with each other through the bus 403; the processor 401 is configured to call program instructions in the memory 402 to execute the above data storage processing method.
[0060] It should be noted here that: the above description of the embodiments of the data storage processing circuit and the electronic device is similar to the description of the method embodiments shown above, and has beneficial effects similar to those of the method embodiments shown above, so details will not be repeated. For the technical details not disclosed in the embodiments of the data storage processing circuit and the electronic device of the present invention, please refer to the description of the method embodiments shown above in the present invention. For the sake of saving space, details will not be repeated here. Figures 1 to 3 shown above, and has beneficial effects similar to those of the method embodiments Figures 1 to 3 shown above, so details will not be repeated. For the technical details not disclosed in the embodiments of the data storage processing circuit and the electronic device of the present invention, please refer to the description of the method embodiments shown above in the present invention. For the sake of saving space, details will not be repeated here. Figures 1 to 3 shown above and understand it. For the sake of saving space, details will not be repeated here.
[0061] It should be noted that, in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including that element.
[0062] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the couplings, direct couplings, or communication connections between the components shown or discussed with each other can be through some interfaces, and the indirect couplings or communication connections of devices or units can be electrical, mechanical or other forms.
[0063] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they can be located in one place or distributed to multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0064] In addition, each functional unit in the embodiments of the present invention can be all integrated into one processing unit, or each unit can be separately regarded as one unit, or two or more units can be integrated into one unit; the above-mentioned integrated unit can be implemented in the form of hardware, or in the form of a hardware plus a software functional unit.
[0065] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including the above method embodiments; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM), magnetic disks or optical disks and other various media that can store program codes.
[0066] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present invention, in essence, or the part that makes a contribution to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of the various embodiments of the present invention. And the foregoing storage medium includes: removable storage devices, ROM, magnetic disks or optical disks and other various media that can store program codes.
[0067] The above is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A data storage and processing method, the method comprising: Storing non-volatile data required to be read during multiple system startup processes of the main board of an electronic device into the EMMC of the main board; When the management module is working properly, reading and writing multiple non-volatile data from and into the EMMC through the management module; When the management module fails and the BIOS is working properly, the BIOS reads and writes multiple non-volatile data from and into the EMMC through the controller of the main board; When the working state of the management module shows that both the management module and the BIOS have failed, reading and writing multiple non-volatile data from and into the EMMC through an external general-purpose read / write device connected to the EMMC.
2. The method according to claim 1, wherein the non-volatile data required to be read during multiple system startup processes includes at least one of the following data: First data, used to describe data of field replaceable units of the main board; Second data, system data of the BIOS; Third data, data that needs to be restored when the FPGA of the main board is powered on; Fourth data, data saved by the main board management module in the EMMC.
3. The method according to claim 2, storing multiple non-volatile data of the main board of an electronic device into the EMMC of the main board, comprising: Partitioning the EMMC to obtain multiple storage areas; Formatting the storage areas into a specified file system; Saving the first data to a first specified storage area among the multiple storage areas, and performing file management on the first data based on the file system of the specified file area.
4. The method according to claim 2, storing multiple non-volatile data of the main board of an electronic device into the EMMC of the main board, comprising: Saving the second data to a second specified storage area among the multiple storage areas, and managing the second data based on the data offset of the second data in the second specified storage area; Saving the third data to a third specified storage area among the multiple storage areas, and managing the third data based on the data offset of the third data in the third specified storage area.
5. A data storage and processing circuit, the data storage and processing circuit comprising: The EMMC of the main board of an electronic device, connected to the controller of the main board through an independent communication line, the EMMC is used to store multiple non-volatile data of the main board, and the electronic device can determine a management strategy for managing the data in the main board EMMC according to the working states of the BIOS and the management module of the electronic device, and perform data management according to the strategy; The management module, used to read and write multiple non-volatile data from and into the EMMC when the management module is working properly; The BIOS is connected to the EMMC through the controller, and is used to read from the EMMC and write multiple non-volatile data into the EMMC when the management module fails and the BIOS works properly; The general-purpose reader / writer is connected to the EMMC through the controller, and is used to read from the EMMC and write multiple non-volatile data into the EMMC when the working state of the management module shows that both the management module and the BIOS have failed.
6. An electronic device, the electronic device comprising at least one processor, and at least one memory and a bus connected to the processor; wherein, The processor and the memory complete communication with each other through the bus; The processor is used to call program instructions in the memory to execute the data storage processing method according to any one of claims 1-4.
Citation Information
Patent Citations
Processing method and electronic equipment
CN111198832A
Method and device for recording information of baseboard management controller, and computer equipment
CN113391961A