WO2024000535A1 - 分区表更新方法、装置、电子设备及存储介质 - Google Patents

分区表更新方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2024000535A1
WO2024000535A1 PCT/CN2022/103171 CN2022103171W WO2024000535A1 WO 2024000535 A1 WO2024000535 A1 WO 2024000535A1 CN 2022103171 W CN2022103171 W CN 2022103171W WO 2024000535 A1 WO2024000535 A1 WO 2024000535A1
Authority
WO
WIPO (PCT)
Prior art keywords
partition table
operating system
initial
startup
status information
Prior art date
Application number
PCT/CN2022/103171
Other languages
English (en)
French (fr)
Inventor
董俊杰
杨冬东
王健宇
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to CN202280004583.8A priority Critical patent/CN118302746A/zh
Priority to PCT/CN2022/103171 priority patent/WO2024000535A1/zh
Publication of WO2024000535A1 publication Critical patent/WO2024000535A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present disclosure relates to the field of computer technology, and in particular, to a partition table updating method, device, electronic device and storage medium.
  • the present disclosure aims to solve one of the technical problems in the related art, at least to a certain extent.
  • the purpose of this disclosure is to propose a partition table update method, device, electronic device and storage medium, which can effectively improve the partition table update success rate.
  • the partition table update method proposed by the embodiment of the first aspect of the present disclosure includes: confirming that the electronic device is in system upgrade mode, detecting startup status information of the first operating system; confirming that the startup status information indicates that the first operating system meets the set startup event, and obtaining The initial partition table of the second operating system, wherein the system type of the first operating system is the same as the system type of the second operating system; and starting the second operating system according to the initial partition table, and updating the initial partition table to obtain an updated partition table, The partition indicated by the updated partition table is used to mount the first operating system after startup.
  • the method further includes: restarting the first operating system according to the updated partition table.
  • detecting the startup status information of the first operating system includes: updating the initial partition table to obtain the target partition table; starting the first operating system according to the target partition table; during the process of starting the first operating system , detecting the startup status information of the first operating system.
  • updating the initial partition table to obtain the target partition table includes: obtaining a partition table generation package, wherein the partition table generation package includes: at least two initial partition tables, and a partition table corresponding to the initial partition table.
  • Target partition table updates the initial partition table to the target partition table.
  • obtaining the initial partition table of the second operating system includes: reading the initial partition table from the partition table generation package, and using the read initial partition table as the initial partition table of the second operating system.
  • the partition table generation package further includes: an address offset between the storage address of each initial partition table and the storage address of the target partition table; wherein, the initial partition table is read from the partition table generation package. , and use the read initial partition table as the initial partition table of the second operating system, including: determining the reference storage address according to the storage address and address offset of the target partition table; reading and reference from the partition table generation package The initial partition table corresponding to the storage address is used as the initial partition table of the second operating system.
  • detecting startup status information of the first operating system includes: determining information on modules called by the first operating system during startup; using information on the called modules as startup status information; wherein the method further includes: : If the information of the called module matches at least one candidate module information, it is determined that the startup status information indicates that the first operating system satisfies the set startup event, wherein the candidate module information is preset.
  • detecting the startup status information of the first operating system includes: obtaining a mark recognized by the first operating system during the startup process; using the content of the recognized mark as the startup status information; wherein, the method further includes: if If the content of the identified mark matches at least one candidate mark content, it is determined that the startup status information indicates that the first operating system satisfies the set startup event, wherein the candidate mark content is preset.
  • the partition table update method proposed by the embodiment of the first aspect of the present disclosure by confirming that the electronic device is in the system upgrade mode, detects the startup status information of the first operating system, confirms that the startup status information indicates that the first operating system satisfies the set startup event, and obtains the first The initial partition table of the two operating systems, wherein the system type of the first operating system is the same as the system type of the second operating system, and starting the second operating system according to the initial partition table, and updating the initial partition table to obtain an updated partition table, wherein , the partition indicated by the updated partition table is used to mount the first operating system after startup, which can effectively improve the success rate of partition table update.
  • the partition table updating device proposed by the embodiment of the second aspect of the present disclosure includes: a detection module for confirming that the electronic device is in the system upgrade mode and detecting the startup status information of the first operating system; and an acquisition module for confirming that the startup status information indicates the first operating system.
  • An operating system satisfies the set startup event and obtains the initial partition table of the second operating system, wherein the system type of the first operating system is the same as the system type of the second operating system; and a first processing module is used to obtain the initial partition table according to the initial partition table Start the second operating system, and update the initial partition table to obtain an updated partition table, wherein the partition indicated by the updated partition table is used to mount the first operating system after startup.
  • it also includes:
  • the second processing module is used to restart the first operating system according to the updated partition table.
  • the detection module is specifically used to:
  • the startup status information of the first operating system is detected.
  • the detection module is also used to:
  • partition table generation package where the partition table generation package includes: at least two initial partition tables, and a target partition table corresponding to the initial partition table;
  • the acquisition module is specifically used for:
  • the partition table generation package further includes: an address offset between the storage address of each initial partition table and the storage address of the target partition table;
  • the acquisition module is also used for:
  • the corresponding initial partition table is used as the initial partition table of the second operating system.
  • the detection module is also used to:
  • the detection module is also used for:
  • the startup status information indicates that the first operating system satisfies the set startup event, wherein the candidate module information is preset.
  • the detection module is also used to:
  • the detection module is also used for:
  • the startup status information indicates that the first operating system satisfies the set startup event, wherein the candidate mark content is preset.
  • the partition table update device detects the startup status information of the first operating system by confirming that the electronic device is in the system upgrade mode, confirms that the startup status information indicates that the first operating system satisfies the set startup event, and obtains the second The initial partition table of the two operating systems, wherein the system type of the first operating system is the same as the system type of the second operating system, and starting the second operating system according to the initial partition table, and updating the initial partition table to obtain an updated partition table, wherein , the partition indicated by the updated partition table is used to mount the first operating system after startup, which can effectively improve the success rate of partition table update.
  • the third embodiment of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the program, the third aspect of the present disclosure is implemented.
  • the embodiment proposes a partition table update method.
  • the fourth embodiment of the present disclosure provides a non-transitory computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the partition table updating method as proposed in the first embodiment of the present disclosure is implemented.
  • the fifth embodiment of the present disclosure provides a computer program product.
  • the partition table updating method proposed in the first embodiment of the present disclosure is executed.
  • Figure 1 is a schematic flowchart of a partition table update method proposed by an embodiment of the present disclosure
  • Figure 2 is a schematic flowchart of a partition table update method proposed by another embodiment of the present disclosure.
  • Figure 3 is a schematic diagram of a partition table update scenario in an embodiment of the present disclosure
  • Figure 4 is a schematic structural diagram of a partition table updating device proposed by an embodiment of the present disclosure.
  • Figure 5 is a schematic structural diagram of a partition table updating device proposed by another embodiment of the present disclosure.
  • FIG. 6 illustrates a block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure.
  • FIG. 1 is a schematic flowchart of a partition table updating method proposed by an embodiment of the present disclosure.
  • the execution subject of the partition table update method in this embodiment is a partition table update device.
  • the device can be implemented by software and/or hardware.
  • the device can be configured in an electronic device, and there is no limitation on this.
  • An electronic device is a device that sends data to or receives data from other devices via communication facilities. That is to say, the electronic device can be, for example, a terminal device, a computer device, etc. that are capable of network communication connections. This does not mean limit.
  • the partition table update method includes:
  • S101 Confirm that the electronic device is in system upgrade mode, and detect the startup status information of the first operating system.
  • the system upgrade mode for example, the system upgrade mode based on Over the Air Technology (OTA), can also be called the online upgrade mode.
  • OTA Over the Air Technology
  • the electronic device when the electronic device is in system upgrade mode for system upgrade, there is a risk in updating the partition table. If the partition table fails to be updated successfully, it will affect the startup of the upgraded operating system.
  • the upgraded operation The system can be called the first operating system, and the embodiment of the present disclosure supports dynamic monitoring of the startup status of the upgraded first operating system when the electronic device is in the system upgrade mode, and obtains a description of the startup status of the first operating system.
  • the information is used as the startup status information.
  • the startup status information such as startup time, whether the startup is successful, etc. is not limited.
  • the operating system refers to the computer program that manages computer hardware and software resources.
  • the operating system can handle basic tasks such as managing and configuring memory, determining the priority of system resource supply and demand, controlling input devices and output devices, operating networks, and managing file systems. affairs.
  • the operating system also provides an operation interface for users to interact with the system.
  • the first operating system can be started under control based on the updated partition table, and during the startup process of the first operating system , detect the startup status information of the first operating system. For example, you can obtain the configuration file required for startup, analyze the startup status information based on the configuration file, or you can also obtain the log information of the first operating system startup, and dynamically analyze the startup status information based on the log information. Analyze startup status information without any restrictions.
  • the initial partition table can be updated to obtain the target partition table, the first operating system can be started according to the target partition table, and during the process of starting the first operating system, the first operating system can be detected.
  • the startup status information enables dynamic monitoring of the startup process of the first operating system. If the first operating system can be started normally, the electronic device can be controlled to enter the normal use process. If the first operating system cannot be started normally, the electronic device can be controlled to enter the normal use process. , can trigger execution of subsequent steps.
  • the partition table obtained by updating the initial partition table for the first time can be called the target partition table. Then, the start of the first operating system based on the target partition table can be triggered, and in the process of starting the first operating system, the first operating system is started. The startup process of an operating system is dynamically monitored.
  • S102 Confirm that the startup status information indicates that the first operating system meets the set startup event, and obtain the initial partition table of the second operating system, where the system type of the first operating system and the system type of the second operating system are the same.
  • the startup status information can be analyzed and processed to determine whether a set startup event occurs during the startup process of the first operating system.
  • the set startup event refers to an event that the first operating system fails to start normally.
  • the initial partition table of the second operating system can be obtained, and then the partition table is updated based on the initial partition table of the second operating system to update the partition table based on the obtained partition table. Restart the first operating system.
  • the partition table corresponding to the second operating system can be called the initial partition table, and the partition table refers to dividing the data of the large table into many small subsets called partitions.
  • the main types of partition tables are: Range (range), List (list) and Hash (hash) partitions.
  • the division is mainly based on the internal attributes of the table.
  • a partitioned table can create its own unique partition index. If the hard disk loses its partition table, data cannot be read and written in sequence, rendering it inoperable.
  • the system type of the first operating system is the same as the system type of the second operating system. That is to say, the system type is used to describe the type, model, name, etc. of the operating system.
  • the version of the second operating system can be higher than the version of the second operating system.
  • the first operating system has a lower version.
  • the second operating system can be an old version of the operating system before the system upgrade.
  • the first operating system can be a new version of the operating system after the system upgrade.
  • the initial partition table of the second operating system can be obtained to trigger the subsequent process of re-updating the initial partition table.
  • S103 Start the second operating system according to the initial partition table, and update the initial partition table to obtain an updated partition table, where the partition indicated by the updated partition table is used to mount the first operating system after startup.
  • the second operating system After confirming that the startup status information indicates that the first operating system meets the set startup event and obtaining the initial partition table of the second operating system, the second operating system can be started based on the initial partition table. Since the first operating system fails to start successfully, The old version of the second operating system can be started first so that the initial partition table can be updated again. Then the partition table obtained by updating the initial partition table again can be called an updated partition table. The partition indicated by the updated partition table is used for The first operating system after mounting and startup.
  • the first operating system can also be restarted according to the updated partition table, that is, after the first failure to start the first operating system , the second operating system before the upgrade can be started based on the initial partition table to ensure that the electronic device can be used normally, and then the initial partition table is triggered to be updated again to obtain the updated partition table, and the first operating system is restarted based on the updated partition table.
  • the operating system is the first operating system after startup.
  • partition identification is started based on the updated partition table to normally start the first operating system, ensuring that the initial partition table can be updated correctly, effectively reducing the cost of electronic equipment. maintenance time cost and economic cost.
  • the initial partition table of the second operating system is obtained, Starting the second operating system according to the initial partition table and updating the initial partition table to obtain the updated partition table can effectively improve the partition table update success rate.
  • FIG. 2 is a schematic flowchart of a partition table updating method proposed by another embodiment of the present disclosure.
  • the partition table update method includes:
  • S201 Obtain a partition table generation package, where the partition table generation package includes: at least two initial partition tables and a target partition table corresponding to the initial partition table.
  • each partition table when performing OTA on the operating system, each partition table can be backed up and saved in a designated location each time (for example, at least two copies can be backed up). If the partition table update fails, it is still guaranteed to obtain a complete partition. table, effectively avoiding the risk of abnormal and incomplete partition table updates.
  • the partition table to be updated can be generated in the same partition table as the original partition table (initial partition table). package so that you can quickly obtain a complete partition table later.
  • the obtained partition table generation package is used as a reference when updating the partition table in the electronic device.
  • the partition table generation package can be downloaded from the cloud server, and there is no restriction on this.
  • the target partition table corresponding to the initial partition table can be parsed from the partition table generation package. Then, the steps of updating the initial partition table can be performed to update the initial partition table to the target partition table. .
  • S203 Start the first operating system according to the target partition table.
  • the first operating system After updating the initial partition table to the target partition table, the first operating system can be started directly according to the target partition table, and the startup status information of the first operating system can be dynamically monitored.
  • S204 During the process of starting the first operating system, detect the startup status information of the first operating system.
  • the information of the module called by the first operating system during the startup process can be determined, and the information of the called module is used as the startup status information, then in If the information of the called module matches at least one candidate module information, it is determined that the startup status information indicates that the first operating system satisfies the set startup event, where the candidate module information is preset and can effectively represent the calling status of each module by the operating system. Whether the operating system can start normally. Therefore, when the startup status information is identified based on the situation of the called module, the accuracy of startup status information detection can be improved.
  • the candidate module refers to the module called by the first operating system under abnormal startup conditions, such as module A, module B, and module C.
  • the information used to describe the called module can be called candidate module information, such as the called The name, type, logo, function, etc. of the module.
  • the first operating system calls at least one of module A, module B, and module C during the actual startup process, it can be determined that the first operating system may have an abnormal startup situation, which means that the first operating system meets the set startup requirements. event.
  • the mark recognized by the first operating system during the startup process can also be obtained, and the content of the recognized mark is used as the startup status information, then the If the content of the identification mark matches at least one candidate mark content, it is determined that the startup status information indicates that the first operating system satisfies the set startup event, wherein the candidate mark content is preset, thereby effectively improving whether the first operating system satisfies the set startup event.
  • the flexibility of the judgment can be improved and the practicality of the judgment method can be improved.
  • the candidate mark content refers to the content of the mark accessed by the first operating system in the case of abnormal startup, such as mark 1, mark 2, mark 3, which is used to describe the actual mark content of the accessed mark, and can be called a candidate mark.
  • Content such as the name, type, etc. of the accessed tag.
  • the first operating system accesses the content of at least one of mark 1, mark 2, and mark 3 during the actual startup process, it can be determined that the first operating system may have an abnormal startup situation, which means that the first operating system meets the requirements of the device. Determine the startup event.
  • S205 Confirm that the startup status information indicates that the first operating system meets the set startup event, read the initial partition table from the partition table generation package, and use the read initial partition table as the initial partition table of the second operating system.
  • the system type of the first operating system is the same as the system type of the second operating system. That is to say, the system type is used to describe the type, model, name, etc. of the operating system.
  • the version of the second operating system can be higher than the version of the second operating system.
  • the first operating system has a lower version.
  • the second operating system can be an old version of the operating system before the system upgrade.
  • the first operating system can be a new version of the operating system after the system upgrade.
  • the initial partition table can be read from the partition table generation package, and the read initial partition table can be used as the initial partition table of the second operating system. This can effectively improve the efficiency of obtaining the initial partition table, improve the overall partition table update and recovery efficiency, and ensure the integrity of the obtained initial partition table.
  • the number of initial partition tables in the partition table generation package can be two or more.
  • a storage address can be pre-configured for each initial partition table.
  • the storage address describes the initial partition.
  • the table corresponds to the storage location in the partition table generation package.
  • the address offset between the storage location of the initial partition table and the storage location of the target partition table can also be determined, and different initial partition tables are marked based on the address offset. , in order to quickly read the complete initial partition table.
  • the partition table generation package also includes: an address offset between the storage address of each initial partition table and the storage address of the target partition table, wherein the initial partition table is read from the partition table generation package. partition table, and use the read initial partition table as the initial partition table of the second operating system.
  • the reference storage address can be determined based on the storage address and address offset of the target partition table, and read from the partition table generation package. Obtain the initial partition table corresponding to the reference storage address, and use the corresponding initial partition table as the initial partition table of the second operating system.
  • the storage address determined based on the storage address and address offset of the target partition table may be called a reference storage address, and the reference storage address may be the calculated storage address of the initial partition table in the partition table generation package,
  • the storage address of the target partition table indicates the storage address of the target partition table in the partition table generation package.
  • the reference storage address is determined based on the storage address and address offset of the target partition table.
  • the initial partition table that matches the reference storage address can be determined directly from the partition table generation package as the initial partition table of the second operating system.
  • S206 Start the second operating system according to the initial partition table, and update the initial partition table to obtain an updated partition table, where the partition indicated by the updated partition table is used to mount the first operating system after startup.
  • the second operating system After confirming that the startup status information indicates that the first operating system meets the set startup event and obtaining the initial partition table of the second operating system, the second operating system can be started based on the initial partition table. Since the first operating system fails to start successfully, The old version of the second operating system can be started first so that the initial partition table can be updated again. Then the partition table obtained by updating the initial partition table again can be called an updated partition table. The partition indicated by the updated partition table is used for The first operating system after mounting and startup.
  • the initial partition table of the second operating system is obtained, Starting the second operating system according to the initial partition table and updating the initial partition table to obtain the updated partition table can effectively improve the partition table update success rate.
  • the partition table generation package which includes: at least two initial partition tables and a target partition table corresponding to the initial partition table, the initial partition table is updated to the target partition table, and the third partition table is started based on the target partition table.
  • partition table to be updated target partition table
  • original partition table initial partition table
  • the initial partition table can be read from the partition table generation package, and the read initial partition table can be used as the initial partition table of the second operating system, thereby It can effectively improve the efficiency of obtaining the initial partition table, improve the overall partition table update and recovery efficiency, and also ensure the integrity of the obtained initial partition table.
  • Figure 3 is a schematic diagram of a partition table update scenario in an embodiment of the present disclosure.
  • the target partition table and the initial partition table are produced in the same partition table generation package, and the partition table is The generation is sent to the electronic device to be updated with the partition table.
  • the first operating system of the electronic device detects that it cannot start normally, it indicates that the initial partition table update failed and can trigger a switch to another partition to restart to ensure Successful startup ensures security and allows electronic devices to maintain normal startup. Since the initial partition table is retained, it can be restored to the initial partition table after updating to the target partition table, which can effectively solve the first problem of electronic devices in related technologies.
  • a in Figure 3 is equivalent to Read-Only Memory (ROM) A
  • B is equivalent to read-only memory B.
  • Selecting dtb means selecting the partition table. If the initial partition table is updated, for example, The initial partition table indicates that A and B are the same size, but the target partition table indicates that A and B are not the same size.
  • the first operating system accesses A via the target partition table, or accesses B via the target partition table, and the target partition The table stores the starting address that can access A, or stores the starting address that can access B.
  • the initial partition table and the target partition table are burned into the partition table generation package, and multiple backups of the initial partition table are performed.
  • the target partition table stores the starting address of accessing B.
  • the storage location of each initial partition table differs from the storage location of the target partition table by an address offset. If the path to access B fails, it can be located based on the address offset.
  • the initial partition table backed up in the partition table generation package ensures that the operating system of the electronic device can start normally. After normal startup, the initial partition table can be updated to obtain an updated partition table.
  • Save reserved(dtb) indicates the storage address of the partition table (initial partition table or target partition table). When the operating system (first operating system or second operating system) starts, after the storage address indicated by reserved(dtb), start loading The location of the bootloader, the location of privatization, and the location of operating system (first operating system or second operating system) related files.
  • FIG. 4 is a schematic structural diagram of a partition table updating device proposed by an embodiment of the present disclosure.
  • the partition table updating device 40 includes:
  • the detection module 401 is used to confirm that the electronic device is in the system upgrade mode and detect the startup status information of the first operating system;
  • the acquisition module 402 is used to confirm that the startup status information indicates that the first operating system satisfies the set startup event, and obtains the initial partition table of the second operating system, where the system type of the first operating system and the system type of the second operating system are the same; as well as
  • the first processing module 403 is configured to start the second operating system according to the initial partition table, and update the initial partition table to obtain an updated partition table, where the partition indicated by the updated partition table is used to mount the first operating system after startup.
  • it also includes:
  • the second processing module 404 is used to restart the first operating system according to the updated partition table.
  • the detection module 401 is specifically used for:
  • the startup status information of the first operating system is detected.
  • the detection module 401 is also used for:
  • partition table generation package where the partition table generation package includes: at least two initial partition tables, and a target partition table corresponding to the initial partition table;
  • the acquisition module 402 is specifically used for:
  • the partition table generation package further includes: an address offset between the storage address of each initial partition table and the storage address of the target partition table;
  • the acquisition module 402 is also used for:
  • the corresponding initial partition table is used as the initial partition table of the second operating system.
  • the detection module 401 is also used for:
  • the detection module is also used for:
  • the startup status information indicates that the first operating system satisfies the set startup event, wherein the candidate module information is preset.
  • the detection module 401 is also used for:
  • the detection module 401 is also used for:
  • the startup status information indicates that the first operating system satisfies the set startup event, wherein the candidate mark content is preset.
  • the present disclosure also provides a partition table update device.
  • the implementation of the partition table update method is also applicable to the partition table update device provided in the embodiment of the present disclosure, and will not be described in detail in the embodiment of the present disclosure.
  • the electronic device by confirming that the electronic device is in the system upgrade mode, detecting the startup status information of the first operating system, confirming that the startup status information indicates that the first operating system meets the set startup event, and obtaining the initial partition table of the second operating system, where , the system type of the first operating system is the same as the system type of the second operating system, and the second operating system is started according to the initial partition table, and the initial partition table is updated to obtain an updated partition table, wherein the partition indicated by the updated partition table is used Mounting the first operating system after startup can effectively improve the success rate of partition table update.
  • the present disclosure also proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the program, the aforementioned embodiments of the present disclosure are implemented. Proposed partition table update method.
  • the present disclosure also proposes a non-transitory computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the partition table updating method as proposed in the previous embodiments of the present disclosure is implemented.
  • the present disclosure also proposes a computer program product.
  • the instruction processor in the computer program product is executed, the partition table updating method proposed in the previous embodiments of the present disclosure is executed.
  • FIG. 6 illustrates a block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure.
  • the electronic device 12 shown in FIG. 6 is only an example and should not bring any limitations to the functions and scope of use of the embodiments of the present disclosure.
  • electronic device 12 is embodied in the form of a general computing device.
  • Components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and a bus 18 connecting various system components (including system memory 28 and processing unit 16).
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics accelerated port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include but are not limited to Industry Standard Architecture (hereinafter referred to as: ISA) bus, Micro Channel Architecture (Micro Channel Architecture; hereafter referred to as: MAC) bus, enhanced ISA bus, video electronics Standards Association (Video Electronics Standards Association; hereinafter referred to as: VESA) local bus and Peripheral Component Interconnection (hereinafter referred to as: PCI) bus.
  • ISA Industry Standard Architecture
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI Peripheral Component Interconnection
  • Electronic device 12 typically includes a variety of computer system readable media. These media may be any available media that can be accessed by electronic device 12, including volatile and nonvolatile media, removable and non-removable media.
  • the memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter referred to as: RAM) 30 and/or cache memory 32.
  • Electronic device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in Figure 6, commonly referred to as a "hard drive").
  • a disk drive may be provided for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and a disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disk read-only memory).
  • Disc Read Only Memory hereinafter referred to as: CD-ROM
  • DVD-ROM Digital Video Disc Read Only Memory
  • each drive may be connected to bus 18 through one or more data media interfaces.
  • Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of embodiments of the present disclosure.
  • a program/utility 40 having a set of (at least one) program modules 42 may be stored, for example, in memory 28 , each of these examples or some combination may include the implementation of a network environment.
  • Program modules 42 generally perform functions and/or methods in the embodiments described in this disclosure.
  • Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with electronic device 12, and/or with Any device (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. This communication may occur through input/output (I/O) interface 22.
  • the electronic device 12 can also communicate with one or more networks (such as a local area network (Local Area Network; hereinafter referred to as: LAN), a wide area network (Wide Area Network; hereinafter referred to as: WAN)) and/or a public network, such as the Internet, through the network adapter 20 ) communication.
  • networks such as a local area network (Local Area Network; hereinafter referred to as: LAN), a wide area network (Wide Area Network; hereinafter referred to as: WAN)
  • a public network such as the Internet
  • network adapter 20 communicates with other modules of electronic device 12 via bus 18 .
  • other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the processing unit 16 executes programs stored in the system memory 28 to perform various functional applications and data processing, such as implementing the partition table update method mentioned in the previous embodiment.
  • various parts of the present disclosure may be implemented in hardware, software, firmware, or combinations thereof.
  • various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a logic gate circuit with a logic gate circuit for implementing a logic function on a data signal.
  • Discrete logic circuits application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
  • the program can be stored in a computer-readable storage medium.
  • the program can be stored in a computer-readable storage medium.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing module, each unit may exist physically alone, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
  • the storage media mentioned above can be read-only memory, magnetic disks or optical disks, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

提出一种分区表更新方法、装置、电子设备及存储介质,方法包括::确认电子设备处于***升级模式,检测第一操作***的启动状态信息(S101),确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表,其中,第一操作***的***类型和第二操作***的***类型相同(S102),以及根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,其中,更新分区表所指示分区用于挂载启动后第一操作***(S103),能够有效提升分区表更新成功率。

Description

分区表更新方法、装置、电子设备及存储介质 技术领域
本公开涉及计算机技术领域,尤其涉及一种分区表更新方法、装置、电子设备及存储介质。
背景技术
电子设备通常搭载操作***,在操作***升级过程中,分区表的更新存在风险,而在实际应用中,存在诸多可能会导致分区表更新失败的情况,例如,停电、电子设备中的存储空间异常等等。
相关技术中,容易导致分区表更新失败。
发明内容
本公开旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本公开的目的在于提出一种分区表更新方法、装置、电子设备及存储介质,能够有效提升分区表更新成功率。
本公开第一方面实施例提出的分区表更新方法,包括:确认电子设备处于***升级模式,检测第一操作***的启动状态信息;确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表,其中,第一操作***的***类型和第二操作***的***类型相同;以及根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,其中,更新分区表所指示分区用于挂载启动后第一操作***。
在一种实施方式中,还包括:根据更新分区表重启第一操作***。
在一种实施方式中,检测第一操作***的启动状态信息,包括:对初始分区表进行更新,得到目标分区表;根据目标分区表启动第一操作***;在启动第一操作***的过程中,检测第一操作***的启动状态信息。
在一种实施方式中,对初始分区表进行更新,得到目标分区表,包括:获取分区表生成包,其中,分区表生成包中包括:至少两份初始分区表,和与初始分区表对应的目标分区表;将初始分区表更新为目标分区表。
在一种实施方式中,获取第二操作***的初始分区表,包括:从分区表生成包中读取初始分区表,并将所读取的初始分区表作为第二操作***的初始分区表。
在一种实施方式中,分区表生成包还包括:每一个初始分区表的存储地址与目标分区表的存储地址之间的地址偏移量;其中,从分区表生成包中读取初始分区表,并将所读取的初始分区表作为第二操作***的初始分区表,包括:根据目标分区表的存储地址和地址偏移量,确定参考存储地址;从分区表生成包中读取与参考存储地址所对应初始分区表;将所对应初始分区表作为第二操作***的初始分区表。
在一种实施方式中,检测第一操作***的启动状态信息,包括:确定第一操作***在启动过程中所调用模块的信息;将所调用模块的信息作为启动状态信息;其中,方法还包括:如果所调用模块的信息匹配至少一个候选模块信息,则确定启动状态信息指示第一操作***满足设定启动事件,其中,候选模块信息是预先设置。
在一种实施方式中,检测第一操作***的启动状态信息,包括:获取第一操作***在启动过程中所 识别标记;将所识别标记的内容作为启动状态信息;其中,方法还包括:如果所识别标记的内容匹配至少一个候选标记内容,则确定启动状态信息指示第一操作***满足设定启动事件,其中,候选标记内容是预先设置。
本公开第一方面实施例提出的分区表更新方法,通过确认电子设备处于***升级模式,检测第一操作***的启动状态信息,确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表,其中,第一操作***的***类型和第二操作***的***类型相同,以及根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,其中,更新分区表所指示分区用于挂载启动后第一操作***,能够有效提升分区表更新成功率。
本公开第二方面实施例提出的分区表更新装置,包括:检测模块,用于确认电子设备处于***升级模式,检测第一操作***的启动状态信息;获取模块,用于确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表,其中,第一操作***的***类型和第二操作***的***类型相同;以及第一处理模块,用于根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,其中,更新分区表所指示分区用于挂载启动后第一操作***。
在一种实施方式中,还包括:
第二处理模块,用于根据更新分区表重启第一操作***。
在一种实施方式中,检测模块,具体用于:
对初始分区表进行更新,得到目标分区表;
根据目标分区表启动第一操作***;
在启动第一操作***的过程中,检测第一操作***的启动状态信息。
在一种实施方式中,检测模块,还用于:
获取分区表生成包,其中,分区表生成包中包括:至少两份初始分区表,和与初始分区表对应的目标分区表;
将初始分区表更新为目标分区表。
在一种实施方式中,获取模块,具体用于:
从分区表生成包中读取初始分区表,并将所读取的初始分区表作为第二操作***的初始分区表。
在一种实施方式中,分区表生成包还包括:每一个初始分区表的存储地址与目标分区表的存储地址之间的地址偏移量;
其中,获取模块,还用于:
根据目标分区表的存储地址和地址偏移量,确定参考存储地址;
从分区表生成包中读取与参考存储地址所对应初始分区表;
将所对应初始分区表作为第二操作***的初始分区表。
在一种实施方式中,检测模块,还用于:
确定第一操作***在启动过程中所调用模块的信息;
将所调用模块的信息作为启动状态信息;
其中,检测模块还用于:
如果所调用模块的信息匹配至少一个候选模块信息,则确定启动状态信息指示第一操作***满足设 定启动事件,其中,候选模块信息是预先设置。
在一种实施方式中,检测模块,还用于:
获取第一操作***在启动过程中所识别标记;
将所识别标记的内容作为启动状态信息;
其中,检测模块,还用于:
如果所识别标记的内容匹配至少一个候选标记内容,则确定启动状态信息指示第一操作***满足设定启动事件,其中,候选标记内容是预先设置。
本公开第二方面实施例提出的分区表更新装置,通过确认电子设备处于***升级模式,检测第一操作***的启动状态信息,确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表,其中,第一操作***的***类型和第二操作***的***类型相同,以及根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,其中,更新分区表所指示分区用于挂载启动后第一操作***,能够有效提升分区表更新成功率。
本公开第三方面实施例提出了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本公开第一方面实施例提出的分区表更新方法。
本公开第四方面实施例提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开第一方面实施例提出的分区表更新方法。
本公开第五方面实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,执行如本公开第一方面实施例提出的分区表更新方法。
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。
附图说明
本公开上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1是本公开一实施例提出的分区表更新方法的流程示意图;
图2是本公开另一实施例提出的分区表更新方法的流程示意图;
图3是本公开实施例中分区表更新场景示意图;
图4是本公开一实施例提出的分区表更新装置的结构示意图;
图5是本公开另一实施例提出的分区表更新装置的结构示意图;
图6示出了适于用来实现本公开实施方式的示例性电子设备的框图。
具体实施方式
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本公开,而不能理解为对本公开的限制。相反,本公开的实施例包括落入所附加权利要求书的 精神和内涵范围内的所有变化、修改和等同物。
图1是本公开一实施例提出的分区表更新方法的流程示意图。
需要说明的是,本实施例的分区表更新方法的执行主体为分区表更新装置,该装置可以由软件和/或硬件的方式实现,该装置可以配置在电子设备中,对此不做限制。
电子设备,是一种经由通信设施向其他设备发送数据或接收其他设备数据的设备,也即是说,该电子设备可以例如为能够进行网络通信连接的终端设备、计算机设备等,对此不做限制。
如图1所示,该分区表更新方法,包括:
S101:确认电子设备处于***升级模式,检测第一操作***的启动状态信息。
其中,***升级模式,例如,基于空中下载技术(Over the Air Technology,OTA)的***升级模式,也可以被称为在线升级模式。
可以理解的是,在电子设备处于***升级模式进行***升级时,分区表的更新存在风险,而如果分区表未能成功更新,则会影响所升级的操作***的启动,其中,所升级的操作***,可以被称为第一操作***,则本公开实施例中支持在电子设备处于***升级模式时,对所升级的第一操作***的启动状态进行动态监测,得到描述第一操作***启动状态的信息作为启动状态信息,启动状态信息例如,启动耗时、启动是否成功等等,对此不做限制。
其中,操作***,是指管理计算机硬件与软件资源的计算机程序,操作***可以处理如管理与配置内存、决定***资源供需的优先次序、控制输入设备与输出设备、操作网络与管理文件***等基本事务。同时操作***也提供一个供用户与***交互的操作界面。
举例而言,如果检测到电子设备处于***升级模式,则可以在对***升级得到第一操作***之后,基于所更新分区表对第一操作***进行启动控制,并在第一操作***启动的过程中,检测第一操作***的启动状态信息,比如,可以获取启动所需配置文件,基于该配置文件分析启动状态信息,或者,还可以获取第一操作***启动的日志信息,基于该日志信息动态分析启动状态信息,对此不做限制。
可选地,一些实施例中,可以对初始分区表进行更新,得到目标分区表,并根据目标分区表启动第一操作***,以及在启动第一操作***的过程中,检测第一操作***的启动状态信息,由此,实现对第一操作***的启动过程进行动态监测,如果第一操作***能够正常启动,则可以控制电子设备进入正常的使用流程,而如果第一操作***不能够正常启动,可以触发执行后续步骤。
其中,第一次对初始分区表进行更新所得分区表,可以被称为目标分区表,而后,可以触发基于目标分区表启动第一操作***,并在启动第一操作***的过程中,对第一操作***的启动过程进行动态监测。
S102:确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表,其中,第一操作***的***类型和第二操作***的***类型相同。
本公开实施例在确认电子设备处于***升级模式,检测第一操作***的启动状态信息之后,可以对启动状态信息进行分析处理,以确定第一操作***在启动过程中是否发生设定启动事件,该设定启动事件,是指第一操作***未能正常启动的事件。
当确定启动状态信息指示第一操作***满足设定启动事件时,可以获取第二操作***的初始分区表,而后,基于第二操作***的初始分区表重新进行分区表更新,以基于所得分区表重启第一操作***。
其中,与第二操作***对应的分区表,可以被称为初始分区表,而分区表,是指将大表的数据分成称为分区的许多小的子集。另外,分区表的种类划分主要有:Range(范围)、List(列表)和Hash(散列)分区。划分依据主要是根据其表内部属性。同时,分区表可以创建其独特的分区索引。倘若硬盘丢失了分区表,数据就无法按顺序读取和写入,导致无法操作。
其中,第一操作***的***类型和第二操作***的***类型相同,也即是说,***类型,用于描述该操作***的类型、型号、名称等,第二操作***的版本可以比第一操作***的版本低,比如,第二操作***,可以是***升级之前旧版本的操作***,相应的,第一操作***是***升级后新版本的操作***。
也即是说,本公开实施例中,如果确定第一操作***满足设定启动事件,即表明升级所得第一操作***未能正常启动,此时,为了有效弥补分区表未能成功更新所引入的启动损失,可以获取第二操作***的初始分区表,以触发后续重新更新初始分区表的过程。
S103:根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,其中,更新分区表所指示分区用于挂载启动后第一操作***。
上述在确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表之后,可以基于初始分区表启动第二操作***,由于第一操作***未能成功启动,则可以先启动旧版本的第二操作***,以便于重新对初始分区表进行更新,则再次对初始分区表进行更新所得分区表,可以被称为更新分区表,该更新分区表所指示分区用于挂载启动后第一操作***。
可选地,一些实施例中,在对初始分区表更新得到更新分区表之后,还可以根据更新分区表重启第一操作***,也即是说,在第一次对第一操作***启动失败之后,可以基于初始分区表启动升级之前的第二操作***,以保证电子设备能够被正常使用,而后,再一次触发对初始分区表进行更新,得到更新分区表,并基于该更新分区表重启第一操作***,以挂载启动后第一操作***。
由此,有效地保证初始分区表的升级成功率,在升级成功后,根据更新分区表启动分区的识别,以正常启动第一操作***,保证初始分区表能正确地被更新,有效降低电子设备的维修时间成本和经济成本。
本实施例中,通过确认电子设备处于***升级模式,检测第一操作***的启动状态信息,并确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表,根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,能够有效提升分区表更新成功率。
图2是本公开另一实施例提出的分区表更新方法的流程示意图。
如图2所示,该分区表更新方法,包括:
S201:获取分区表生成包,其中,分区表生成包中包括:至少两份初始分区表,和与初始分区表对应的目标分区表。
其中,通过在对操作***进行OTA时,可以每次将每份分区表在指定位置备份保存(比如,可以至少备份两份),如果分区表更新失败,则仍然能够保证获得一份完整的分区表,有效避免分区表更新异常而不完整的风险,另外,在制作分区表时可以将要更新至的分区表(目标分区表),和原分区表(初始分区表)制作在同一个分区表生成包中,以便于后续快速获取到一份完整的分区表。
其中,所获取分区表生成包,被用于在更新电子设备中的分区表时作为参考,该分区表生成包,可 以是从云端服务器下载得到的,对此不做限制。
S202:将初始分区表更新为目标分区表。
上述在获取分区表生成包后,可以从分区表生成包中解析出与初始分区表对应的目标分区表,而后,可以执行对初始分区表进行更新的步骤,将初始分区表更新为目标分区表。
S203:根据目标分区表启动第一操作***。
上述在将初始分区表更新为目标分区表之后,可以直接根据目标分区表启动第一操作***,并动态地对第一操作***的启动状态信息进行监测。
S204:在启动第一操作***的过程中,检测第一操作***的启动状态信息。
可选地,一些实施例中,在检测第一操作***的启动状态信息时,可以确定第一操作***在启动过程中所调用模块的信息,将所调用模块的信息作为启动状态信息,则在所调用模块的信息匹配至少一个候选模块信息,则确定启动状态信息指示第一操作***满足设定启动事件,其中,候选模块信息是预先设置,由于操作***对各个模块的调用情况,能够有效代表操作***是否能够正常启动,因此,当基于所调用模块的情况来识别启动状态信息时,能够提升启动状态信息检测的准确率。
其中,候选模块是指第一操作***在异常启动情况下所调用模块,例如模块A、模块B、模块C,则用于描述所调用模块的信息,可以被称为候选模块信息,例如所调用模块的名称、类型、标识、功能等。
如果第一操作***在实际启动过程中,调用了模块A、模块B、模块C中的至少一个模块,则可以确定第一操作***可能存在异常启动情况,即表明第一操作***满足设定启动事件。
可选地,另一些实施例中,在检测第一操作***的启动状态信息,还可以获取第一操作***在启动过程中所识别标记,将所识别标记的内容作为启动状态信息,则在所识别标记的内容匹配至少一个候选标记内容,则确定启动状态信息指示第一操作***满足设定启动事件,其中,候选标记内容是预先设置,从而能够有效提升第一操作***是否满足设定启动事件的判定的灵活性,提升判定方法的实用性。
其中,候选标记内容是指第一操作***在异常启动情况下所访问标记的内容,例如标记1、标记2、标记3,则用于描述所访问标记实际的标记内容,可以被称为候选标记内容,例如所访问标记的名称、类型等。
如果第一操作***在实际启动过程中,访问了标记1、标记2、标记3中的至少一个标记的内容,则可以确定第一操作***可能存在异常启动情况,即表明第一操作***满足设定启动事件。
S205:确认启动状态信息指示第一操作***满足设定启动事件,从分区表生成包中读取初始分区表,并将所读取的初始分区表作为第二操作***的初始分区表。
其中,第一操作***的***类型和第二操作***的***类型相同,也即是说,***类型,用于描述该操作***的类型、型号、名称等,第二操作***的版本可以比第一操作***的版本低,比如,第二操作***,可以是***升级之前旧版本的操作***,相应的,第一操作***是***升级后新版本的操作***。
上述在确认启动状态信息指示第一操作***满足设定启动事件时,可以从分区表生成包中读取初始分区表,并将所读取的初始分区表作为第二操作***的初始分区表,从而能够有效提升初始分区表的获取效率,提升整体的分区表更新恢复效率,还能够保证所获得初始分区表的完整性。
其中,分区表生成包中的初始分区表的数量可以是两份或者多份,对于至少两份初始分区表的存储,可以针对每份初始分区表预先配置存储地址,该存储地址,描述初始分区表对应于分区表生成包中的存储位置,还可以确定初始分区表的存储位置与目标分区表的存储位置之间的地址偏移量,并基于地址偏移量对不同初始分区表进行标记处理,以便于快速地读取到完整的初始分区表。
可选地,一些实施例中,分区表生成包还包括:每一个初始分区表的存储地址与目标分区表的存储地址之间的地址偏移量,其中,从分区表生成包中读取初始分区表,并将所读取的初始分区表作为第二操作***的初始分区表,可以是根据目标分区表的存储地址和地址偏移量,确定参考存储地址,并从分区表生成包中读取与参考存储地址所对应初始分区表,以及将所对应初始分区表作为第二操作***的初始分区表。
其中,基于目标分区表的存储地址和地址偏移量所确定的存储地址,可以被称为参考存储地址,该参考存储地址可以是计算所得的初始分区表在分区表生成包中的存储地址,而目标分区表的存储地址,指示目标分区表在分区表生成包中的存储地址。
上述在根据目标分区表的存储地址和地址偏移量,确定参考存储地址,可以直接从分区表生成包中确定与参考存储地址所匹配初始分区表作为第二操作***的初始分区表。
S206:根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,其中,更新分区表所指示分区用于挂载启动后第一操作***。
上述在确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表之后,可以基于初始分区表启动第二操作***,由于第一操作***未能成功启动,则可以先启动旧版本的第二操作***,以便于重新对初始分区表进行更新,则再次对初始分区表进行更新所得分区表,可以被称为更新分区表,该更新分区表所指示分区用于挂载启动后第一操作***。
本实施例中,通过确认电子设备处于***升级模式,检测第一操作***的启动状态信息,并确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表,根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,能够有效提升分区表更新成功率。通过获取分区表生成包,其中,分区表生成包中包括:至少两份初始分区表,和与初始分区表对应的目标分区表,将初始分区表更新为目标分区表,根据目标分区表启动第一操作***,由于将要更新至的分区表(目标分区表),和原分区表(初始分区表)制作在同一个分区表生成包中,以便于后续快速获取到一份完整的分区表,还可以实现对第一操作***的启动过程进行动态监测,不会对第一操作***的正常启动过程带入影响,提升第一操作***过程和分区表更新修复过程的连贯性。在确认启动状态信息指示第一操作***满足设定启动事件时,可以从分区表生成包中读取初始分区表,并将所读取的初始分区表作为第二操作***的初始分区表,从而能够有效提升初始分区表的获取效率,提升整体的分区表更新恢复效率,还能够保证所获得初始分区表的完整性。
如图3所示,图3是本公开实施例中分区表更新场景示意图,在对操作***进行OTA时,将目标分区表和初始分区表制作在同一个分区表生成包中,并将分区表生成发送至待更新分区表的电子设备,电子设备的第一操作***在启动过程中,如果检测到无法正常启动,则表明初始分区表更新失败,可以触发切换至另一个分区重新启动,以保证成功启动,保障安全性,使得电子设备可以维持正常启动,由于保留了初始分区表,使得在更新为目标分区表之后,还能够恢复至初始分区表,可以有效解决相关技 术中电子设备的第一操作***启动时,由于分区表更新不成功导致***找不到引导启动逻辑而启动失败的技术问题。图3中的A相当于只读存储器(Read-Only Memory,ROM)A,B相当于只读存储器B,选择dtb(分区表),即表示选择分区表,如果更新了初始分区表,比如,初始分区表中指示A和B大小相同,而目标分区表指示A和B大小不相同,第一操作***在启动过程中时,经由目标分区表访问A,或者经由目标分区表访问B,目标分区表存放能够访问A的起始地址,或者存放能够访问B的起始地址,本公开实施例中把初始分区表和目标分区表烧录在分区表生成包中,对初始分区表进行多份备份保存,目标分区表存放访问B的起始地址,每份初始分区表的存储位置与目标分区表的存储位置相差一个地址偏移量,如果访问B的路径失败,则可以根据地址偏移量定位分区表生成包中所备份的初始分区表,以此保证电子设备的操作***能够正常启动,正常启动之后,可以重新更新初始分区表得到更新分区表。保存reserved(dtb)表示分区表(初始分区表或者目标分区表)的存储地址,在操作***(第一操作***或者第二操作***)启动时,经过reserved(dtb)指示的存储地址、启动装载bootloader的位置,私有化private的位置、操作***(第一操作***或者第二操作***)相关文件的位置。
图4是本公开一实施例提出的分区表更新装置的结构示意图。
如图4,该分区表更新装置40,包括:
检测模块401,用于确认电子设备处于***升级模式,检测第一操作***的启动状态信息;
获取模块402,用于确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表,其中,第一操作***的***类型和第二操作***的***类型相同;以及
第一处理模块403,用于根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,其中,更新分区表所指示分区用于挂载启动后第一操作***。
在本公开的一些实施例中,还包括:
第二处理模块404,用于根据更新分区表重启第一操作***。
在本公开的一些实施例中,其中,检测模块401,具体用于:
对初始分区表进行更新,得到目标分区表;
根据目标分区表启动第一操作***;
在启动第一操作***的过程中,检测第一操作***的启动状态信息。
在本公开的一些实施例中,其中,检测模块401,还用于:
获取分区表生成包,其中,分区表生成包中包括:至少两份初始分区表,和与初始分区表对应的目标分区表;
将初始分区表更新为目标分区表。
在本公开的一些实施例中,其中,获取模块402,具体用于:
从分区表生成包中读取初始分区表,并将所读取的初始分区表作为第二操作***的初始分区表。
在本公开的一些实施例中,其中,分区表生成包还包括:每一个初始分区表的存储地址与目标分区表的存储地址之间的地址偏移量;
其中,获取模块402,还用于:
根据目标分区表的存储地址和地址偏移量,确定参考存储地址;
从分区表生成包中读取与参考存储地址所对应初始分区表;
将所对应初始分区表作为第二操作***的初始分区表。
在本公开的一些实施例中,其中,检测模块401,还用于:
确定第一操作***在启动过程中所调用模块的信息;
将所调用模块的信息作为启动状态信息;
其中,检测模块还用于:
如果所调用模块的信息匹配至少一个候选模块信息,则确定启动状态信息指示第一操作***满足设定启动事件,其中,候选模块信息是预先设置。
在本公开的一些实施例中,其中,检测模块401,还用于:
获取第一操作***在启动过程中所识别标记;
将所识别标记的内容作为启动状态信息;
其中,检测模块401,还用于:
如果所识别标记的内容匹配至少一个候选标记内容,则确定启动状态信息指示第一操作***满足设定启动事件,其中,候选标记内容是预先设置。
与上述图1至图3实施例提供的分区表更新方法相对应,本公开还提供一种分区表更新装置,由于本公开实施例提供的分区表更新装置与上述图1至图3实施例提供的分区表更新方法相对应,因此在分区表更新方法的实施方式也适用于本公开实施例提供的分区表更新装置,在本公开实施例中不再详细描述。
本实施例中,通过确认电子设备处于***升级模式,检测第一操作***的启动状态信息,确认启动状态信息指示第一操作***满足设定启动事件,获取第二操作***的初始分区表,其中,第一操作***的***类型和第二操作***的***类型相同,以及根据初始分区表启动第二操作***,并对初始分区表更新得到更新分区表,其中,更新分区表所指示分区用于挂载启动后第一操作***,能够有效提升分区表更新成功率。
为了实现上述实施例,本公开还提出一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时,实现如本公开前述实施例提出的分区表更新方法。
为了实现上述实施例,本公开还提出一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开前述实施例提出的分区表更新方法。
为了实现上述实施例,本公开还提出一种计算机程序产品,当计算机程序产品中的指令处理器执行时,执行如本公开前述实施例提出的分区表更新方法。
图6示出了适于用来实现本公开实施方式的示例性电子设备的框图。图6显示的电子设备12仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图6所示,电子设备12以通用计算设备的形式表现。电子设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,***存储器28,连接不同***组件(包括***存储器28和处理单元16)的总线18。
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,***总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry Standard Architecture;以下简称:ISA)总线,微通道体系结构(Micro  Channel Architecture;以下简称:MAC)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association;以下简称:VESA)局域总线以及***组件互连(Peripheral Component Interconnection;以下简称:PCI)总线。
电子设备12典型地包括多种计算机***可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。
存储器28可以包括易失性存储器形式的计算机***可读介质,例如随机存取存储器(Random Access Memory;以下简称:RAM)30和/或高速缓存存储器32。电子设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机***存储介质。仅作为举例,存储***34可以用于读写不可移动的、非易失性磁介质(图6未显示,通常称为“硬盘驱动器”)。
尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如:光盘只读存储器(Compact Disc Read Only Memory;以下简称:CD-ROM)、数字多功能只读光盘(Digital Video Disc Read Only Memory;以下简称:DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本公开各实施例的功能。
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作***、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本公开所描述的实施例中的功能和/或方法。
电子设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该电子设备12交互的设备通信,和/或与使得该电子设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,电子设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network;以下简称:LAN),广域网(Wide Area Network;以下简称:WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与电子设备12的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID***、磁带驱动器以及数据备份存储***等。
处理单元16通过运行存储在***存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现前述实施例中提及的分区表更新方法。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。
需要说明的是,在本公开的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本公开的描述中,除非另有说明,“多个”的含义是两个或两个以上。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行***执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (18)

  1. 一种分区表更新方法,其特征在于,包括:
    确认电子设备处于***升级模式,检测第一操作***的启动状态信息;
    确认所述启动状态信息指示所述第一操作***满足设定启动事件,获取第二操作***的初始分区表,其中,所述第一操作***的***类型和所述第二操作***的***类型相同;以及
    根据所述初始分区表启动所述第二操作***,并对所述初始分区表更新得到更新分区表,其中,所述更新分区表所指示分区用于挂载启动后所述第一操作***。
  2. 如权利要求1所述的方法,其特征在于,还包括:
    根据所述更新分区表重启所述第一操作***。
  3. 如权利要求1所述的方法,其特征在于,所述检测第一操作***的启动状态信息,包括:
    对所述初始分区表进行更新,得到目标分区表;
    根据所述目标分区表启动所述第一操作***;
    在启动所述第一操作***的过程中,检测所述第一操作***的启动状态信息。
  4. 如权利要求3所述的方法,其特征在于,所述对所述初始分区表进行更新,得到目标分区表,包括:
    获取分区表生成包,其中,所述分区表生成包中包括:至少两份初始分区表,和与所述初始分区表对应的目标分区表;
    将所述初始分区表更新为所述目标分区表。
  5. 如权利要求4所述的方法,其特征在于,所述获取第二操作***的初始分区表,包括:
    从所述分区表生成包中读取所述初始分区表,并将所读取的初始分区表作为所述第二操作***的初始分区表。
  6. 如权利要求5所述的方法,其特征在于,所述分区表生成包还包括:每一个所述初始分区表的存储地址与所述目标分区表的存储地址之间的地址偏移量;
    其中,所述从所述分区表生成包中读取所述初始分区表,并将所读取的初始分区表作为所述第二操作***的初始分区表,包括:
    根据所述目标分区表的存储地址和所述地址偏移量,确定参考存储地址;
    从所述分区表生成包中读取与所述参考存储地址所对应初始分区表;
    将所述所对应初始分区表作为所述第二操作***的初始分区表。
  7. 如权利要求1或3所述的方法,其特征在于,所述检测第一操作***的启动状态信息,包括:
    确定所述第一操作***在启动过程中所调用模块的信息;
    将所述所调用模块的信息作为所述启动状态信息;
    其中,所述方法还包括:
    如果所述所调用模块的信息匹配至少一个候选模块信息,则确定所述启动状态信息指示所述第一操作***满足所述设定启动事件,其中,所述候选模块信息是预先设置。
  8. 如权利要求1或3所述的方法,其特征在于,所述检测第一操作***的启动状态信息,包括:
    获取所述第一操作***在启动过程中所识别标记;
    将所述所识别标记的内容作为所述启动状态信息;
    其中,所述方法还包括:
    如果所述所识别标记的内容匹配至少一个候选标记内容,则确定所述启动状态信息指示所述第一操作***满足所述设定启动事件,其中,所述候选标记内容是预先设置。
  9. 一种分区表更新装置,其特征在于,包括:
    检测模块,用于确认电子设备处于***升级模式,检测第一操作***的启动状态信息;
    获取模块,用于确认所述启动状态信息指示所述第一操作***满足设定启动事件,获取第二操作***的初始分区表,其中,所述第一操作***的***类型和所述第二操作***的***类型相同;以及
    第一处理模块,用于根据所述初始分区表启动所述第二操作***,并对所述初始分区表更新得到更新分区表,其中,所述更新分区表所指示分区用于挂载启动后所述第一操作***。
  10. 如权利要求9所述的装置,其特征在于,还包括:
    第二处理模块,用于根据所述更新分区表重启所述第一操作***。
  11. 如权利要求9所述的装置,其特征在于,所述检测模块,具体用于:
    对所述初始分区表进行更新,得到目标分区表;
    根据所述目标分区表启动所述第一操作***;
    在启动所述第一操作***的过程中,检测所述第一操作***的启动状态信息。
  12. 如权利要求11所述的装置,其特征在于,所述检测模块,还用于:
    获取分区表生成包,其中,所述分区表生成包中包括:至少两份初始分区表,和与所述初始分区表对应的目标分区表;
    将所述初始分区表更新为所述目标分区表。
  13. 如权利要求12所述的装置,其特征在于,所述获取模块,具体用于:
    从所述分区表生成包中读取所述初始分区表,并将所读取的初始分区表作为所述第二操作***的初始分区表。
  14. 如权利要求13所述的装置,其特征在于,所述分区表生成包还包括:每一个所述初始分区表的存储地址与所述目标分区表的存储地址之间的地址偏移量;
    其中,所述获取模块,还用于:
    根据所述目标分区表的存储地址和所述地址偏移量,确定参考存储地址;
    从所述分区表生成包中读取与所述参考存储地址所对应初始分区表;
    将所述所对应初始分区表作为所述第二操作***的初始分区表。
  15. 如权利要求9或11所述的装置,其特征在于,所述检测模块,还用于:
    确定所述第一操作***在启动过程中所调用模块的信息;
    将所述所调用模块的信息作为所述启动状态信息;
    其中,所述检测模块还用于:
    如果所述所调用模块的信息匹配至少一个候选模块信息,则确定所述启动状态信息指示所述第一操作***满足所述设定启动事件,其中,所述候选模块信息是预先设置。
  16. 如权利要求9或11所述的装置,其特征在于,所述检测模块,还用于:
    获取所述第一操作***在启动过程中所识别标记;
    将所述所识别标记的内容作为所述启动状态信息;
    其中,所述检测模块,还用于:
    如果所述所识别标记的内容匹配至少一个候选标记内容,则确定所述启动状态信息指示所述第一操作***满足所述设定启动事件,其中,所述候选标记内容是预先设置。
  17. 一种电子设备,其特征在于,包括:
    至少一个处理器;以及
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-8中任一项所述的分区表更新方法。
  18. 一种存储有计算机指令的非瞬时计算机可读存储介质,其特征在于,其中,所述计算机指令用于使所述计算机执行权利要求1-8中任一项所述的分区表更新方法。
PCT/CN2022/103171 2022-06-30 2022-06-30 分区表更新方法、装置、电子设备及存储介质 WO2024000535A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202280004583.8A CN118302746A (zh) 2022-06-30 2022-06-30 分区表更新方法、装置、电子设备及存储介质
PCT/CN2022/103171 WO2024000535A1 (zh) 2022-06-30 2022-06-30 分区表更新方法、装置、电子设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/103171 WO2024000535A1 (zh) 2022-06-30 2022-06-30 分区表更新方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2024000535A1 true WO2024000535A1 (zh) 2024-01-04

Family

ID=89383881

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/103171 WO2024000535A1 (zh) 2022-06-30 2022-06-30 分区表更新方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN118302746A (zh)
WO (1) WO2024000535A1 (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622280A (zh) * 2011-01-06 2012-08-01 苏州科达科技有限公司 一种基于双文件***的软件版本升级的控制方法及装置
US20150277933A1 (en) * 2014-03-31 2015-10-01 Quanta Computer Inc. Method of operating multiple operating systems and the electronic device thereof
US20160321063A1 (en) * 2013-12-13 2016-11-03 Zte Corporation Method and Device for Making Differential Upgrade Package, and Method and Device for System Differential Upgrading
CN106708543A (zh) * 2015-07-22 2017-05-24 Tcl集团股份有限公司 一种操作***的ota升级方法及装置
CN107341074A (zh) * 2017-07-25 2017-11-10 广东欧珀移动通信有限公司 一种升级异常修复方法、升级异常修复装置及智能终端
CN107967141A (zh) * 2017-11-27 2018-04-27 北京小米移动软件有限公司 操作***升级方法、装置及终端
US20190347164A1 (en) * 2018-05-09 2019-11-14 Microsoft Technology Licensing, Llc Fault tolerant device upgrade
WO2022095758A1 (zh) * 2020-11-04 2022-05-12 华为技术有限公司 终端升级的方法及终端

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622280A (zh) * 2011-01-06 2012-08-01 苏州科达科技有限公司 一种基于双文件***的软件版本升级的控制方法及装置
US20160321063A1 (en) * 2013-12-13 2016-11-03 Zte Corporation Method and Device for Making Differential Upgrade Package, and Method and Device for System Differential Upgrading
US20150277933A1 (en) * 2014-03-31 2015-10-01 Quanta Computer Inc. Method of operating multiple operating systems and the electronic device thereof
CN106708543A (zh) * 2015-07-22 2017-05-24 Tcl集团股份有限公司 一种操作***的ota升级方法及装置
CN107341074A (zh) * 2017-07-25 2017-11-10 广东欧珀移动通信有限公司 一种升级异常修复方法、升级异常修复装置及智能终端
CN107967141A (zh) * 2017-11-27 2018-04-27 北京小米移动软件有限公司 操作***升级方法、装置及终端
US20190347164A1 (en) * 2018-05-09 2019-11-14 Microsoft Technology Licensing, Llc Fault tolerant device upgrade
WO2022095758A1 (zh) * 2020-11-04 2022-05-12 华为技术有限公司 终端升级的方法及终端

Also Published As

Publication number Publication date
CN118302746A (zh) 2024-07-05

Similar Documents

Publication Publication Date Title
US20170046152A1 (en) Firmware update
JP4467624B2 (ja) ソフトウェアアップデート管理プログラム、ソフトウェアアップデート管理装置、およびソフトウェアアップデート管理方法
US7197634B2 (en) System and method for updating device firmware
TWI225215B (en) Method and system for maintaining firmware versions in a data processing system
US8245077B2 (en) Failover method and computer system
US10068015B2 (en) Monitoring a monitoring-target process
JP5768277B2 (ja) 記憶ボリュームのディスマウント
US10430082B2 (en) Server management method and server for backup of a baseband management controller
US12001285B2 (en) System booting method and apparatus, node device, and computer-readable storage medium
US10048978B2 (en) Apparatus and method for identifying a virtual machine having changeable settings
US11314665B2 (en) Information processing system, information processing device, BIOS updating method for information processing device, and BIOS updating program for information processing device
WO2021004256A1 (zh) 一种节点故障时进行节点切换的方法及相关设备
JP2007133544A (ja) 障害情報解析方法及びその実施装置
US11281550B2 (en) Disaster recovery specific configurations, management, and application
CN111090546A (zh) 一种操作***重启方法、装置、设备及可读存储介质
TWI496086B (zh) 伺服器的基本輸入輸出系統更新方法
JP2017078998A (ja) 情報処理装置およびログ管理方法、並びにコンピュータ・プログラム
WO2024000535A1 (zh) 分区表更新方法、装置、电子设备及存储介质
US11734133B2 (en) Cluster system and fail-over control method of cluster system
US11226875B2 (en) System halt event recovery
US20160004607A1 (en) Information processing apparatus and information processing method
JP2017041110A (ja) マルチコンピュータシステム,管理装置および管理プログラム
WO2018135298A1 (ja) 情報処理装置および管理プログラム
JP6682897B2 (ja) 通信設定方法、通信設定プログラム、情報処理装置および情報処理システム
US12032944B2 (en) State machine operation for non-disruptive update of a data management system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22948637

Country of ref document: EP

Kind code of ref document: A1