Startup control method and device based on storage chip, equipment and medium

By setting the power-on control pin on the memory chip and selecting a logical partition according to its status, the problem of power-on failure during the OTA upgrade of the vehicle system is solved, and remediation in the event of failure and system reliability are improved.

CN119718435APending Publication Date: 2025-03-28BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311279682.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

During the OTA upgrade process, the vehicle system is susceptible to interference such as network impact and power instability, resulting in damage to the startup partition data and unable to boot normally. The programs of SOCs for automotive on the market cannot be edited, and there is a lack of remedial methods, which reduces the reliability and user experience of the vehicle system.

Method used

Set the power-on control pin on the memory chip, select the logical partition according to its status, and control the target partition to output the corresponding vehicle system boot data, so that the host central processor can be successfully booted.

Benefits of technology

After the vehicle system fails to start up, the reliability and user experience of the vehicle system are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718435A_ABST
    Figure CN119718435A_ABST
Patent Text Reader

Abstract

The invention relates to a start-up control method, device and equipment based on a storage chip and a medium, the storage chip comprises a first logic partition and a second logic partition, the first logic partition stores normal vehicle system start-up data, the second logic partition stores backup vehicle system start-up data, and the backup vehicle system start-up data is stored in the first logic partition. And setting a startup control pin on the memory chip. The method comprises the following steps: acquiring the state of the startup control pin; selecting a target partition from the first logic partition and the second logic partition according to the state of the startup control pin; and controlling the target partition to output corresponding vehicle system startup data, so that a host central processing unit is started. Therefore, according to the method, the logic partition is selected according to the state of the startup control pin, so that remedy can be performed through the standby partition after the startup of the vehicle system fails, and the reliability of the vehicle system and the user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of memory chips, and in particular to a memory chip-based startup control method, device, equipment and medium. Background Art

[0002] In order to improve the security of vehicle systems (such as vehicle embedded systems), vehicle systems need to perform OTA (Over-the-Air Technology) upgrades regularly to prevent related vulnerabilities. However, in addition to being easily affected by the network, OTA upgrades are also prone to instability when the power supply is unstable or there is related interference. Once a problem occurs in the OTA upgrade, the vehicle system startup data in the boot partition will be damaged, resulting in the vehicle system being unable to boot. In addition, since the programs in the automotive SOC (System-on-a-Chip) on the market are not editable for security reasons, users can only return to the factory and use SOC special tools to re-download them. There is no other remedy, which reduces the reliability of the vehicle system and user experience. Summary of the invention

[0003] The present disclosure provides a power-on control method based on a storage chip. The method selects a logic partition according to the state of a power-on control pin, so that after a vehicle system fails to start up, a backup partition can be used for remedy, thereby improving the reliability of the vehicle system and user experience.

[0004] According to a first aspect of an embodiment of the present disclosure, a power-on control method based on a storage chip is proposed, wherein the storage chip includes a first logical partition and a second logical partition, wherein the first logical partition stores normal vehicle system power-on data, and the second logical partition stores backup vehicle system power-on data, and a power-on control pin is set on the storage chip, wherein the method includes:

[0005] Obtaining the state of the power-on control pin;

[0006] Selecting a target partition from the first logical partition and the second logical partition according to the state of the power-on control pin;

[0007] The target partition is controlled to output corresponding vehicle system startup data so that the host central processing unit is started.

[0008] In one embodiment of the present disclosure, when the power-on control pin is connected to a button, selecting a target partition from the first logical partition and the second logical partition according to a state of the power-on control pin includes:

[0009] When the level signal on the power-on control pin is a first level signal, selecting the first logical partition as the target partition;

[0010] Alternatively, when a second level signal is generated on the power-on control pin, the second logic partition is selected as the target partition.

[0011] In one embodiment of the present disclosure, when the power-on control pin is connected to a selection tool, selecting a target partition from the first logical partition and the second logical partition according to a state of the power-on control pin includes:

[0012] When the power-on control pin receives a first selection signal sent by the selection tool, taking the first logical partition as the target partition;

[0013] Alternatively, when the power-on control pin receives the second selection signal sent by the selection tool, the second logical partition is used as the target partition.

[0014] In one embodiment of the present disclosure, the method further includes:

[0015] Obtaining the boot time of the host central processing unit;

[0016] According to the time length, it is determined whether the host central processing unit is successfully powered on.

[0017] In one embodiment of the present disclosure, judging whether the host central processing unit is successfully powered on according to the duration includes:

[0018] When the duration is greater than the set duration, determining that the host central processing unit fails to start up;

[0019] Alternatively, when the duration is less than or equal to the set duration, it is determined that the host central processing unit is successfully powered on.

[0020] In one embodiment of the present disclosure, after determining that the host central processing unit fails to start up, the method further includes:

[0021] Issue a prompt message to prompt the user to switch logical partitions.

[0022] In one embodiment of the present disclosure, the issuing of prompt information includes:

[0023] The prompt information is issued by sound and / or light.

[0024] According to a second aspect of an embodiment of the present disclosure, a power-on control device based on a storage chip is provided, wherein the storage chip includes a first logical partition and a second logical partition, wherein the first logical partition stores normal vehicle system power-on data, and the second logical partition stores backup vehicle system power-on data, and a power-on control pin is set on the storage chip, wherein the device includes:

[0025] An acquisition module, used for acquiring the state of the power-on control pin;

[0026] A selection module, configured to select a target partition from the first logical partition and the second logical partition according to a state of the power-on control pin;

[0027] The control module is used to control the target partition to output corresponding vehicle system startup data so that the host central processing unit can be started.

[0028] In one embodiment of the present disclosure, when the power-on control pin is connected to a key, the selection module is used to select a target partition from the first logical partition and the second logical partition according to the state of the power-on control pin, including:

[0029] When the level signal on the power-on control pin is a first level signal, selecting the first logical partition as the target partition;

[0030] Alternatively, when a second level signal is generated on the power-on control pin, the second logic partition is selected as the target partition.

[0031] In one embodiment of the present disclosure, when the power-on control pin is connected to the selection tool, the selection module is used to select a target partition from the first logical partition and the second logical partition according to the state of the power-on control pin, including:

[0032] When the power-on control pin receives a first selection signal sent by the selection tool, taking the first logical partition as the target partition;

[0033] Alternatively, when the power-on control pin receives the second selection signal sent by the selection tool, the second logical partition is used as the target partition.

[0034] In one embodiment of the present disclosure, the device further includes:

[0035] The judgment module is used to obtain the duration of the host central processing unit starting up, and judge whether the host central processing unit is successfully started up according to the duration.

[0036] In one embodiment of the present disclosure, the judging module is used to judge whether the host central processing unit is successfully powered on according to the duration, including:

[0037] When the duration is greater than the set duration, determining that the host central processing unit fails to start up;

[0038] Alternatively, when the duration is less than or equal to the set duration, it is determined that the host central processing unit is successfully powered on.

[0039] In one embodiment of the present disclosure, the above-mentioned device further includes:

[0040] The prompt module is used to send a prompt message to prompt the user to switch the logical partition after determining that the host central processing unit fails to start.

[0041] In one embodiment of the present disclosure, when the prompt module is used to issue a prompt message, it includes:

[0042] The prompt information is issued by sound and / or light.

[0043] According to the third aspect of an embodiment of the present disclosure, an electronic device is proposed, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the power-on control method based on the memory chip as described above.

[0044] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is proposed. When instructions in the storage medium are executed by a processor, the processor is enabled to execute the above-mentioned power-on control method based on a memory chip.

[0045] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is proposed, including a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned power-on control method based on the storage chip.

[0046] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0047] The storage chip disclosed in the present invention includes a first logical partition and a second logical partition, the first logical partition stores normal vehicle system startup data, the second logical partition stores backup vehicle system startup data, and a startup control pin is set on the storage chip. The startup control method based on the storage chip disclosed in the present invention first obtains the state of the startup control pin, and then selects a target partition from the first logical partition and the second logical partition according to the state of the startup control pin, and controls the target partition to output the corresponding vehicle system startup data, so that the host central processing unit can be started. Therefore, the method selects the logical partition according to the state of the startup control pin, so that after the vehicle system fails to start, it can be remedied through the backup partition, thereby improving the reliability of the vehicle system and the user experience.

[0048] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0050] Figure 1 It is an application scenario diagram of a power-on control method based on a storage chip in the related art;

[0051] Figure 2 is a flow chart of a power-on control method based on a memory chip according to an embodiment of the present disclosure;

[0052] Figure 3 This is an application scenario diagram of a power-on control method based on a storage chip according to an embodiment of the present disclosure;

[0053] Figure 4 It is a block diagram of a power-on control device based on a storage chip according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0054] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0055] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0056] The following describes a memory chip-based power-on control method, device, equipment, and medium according to an embodiment of the present disclosure with reference to the accompanying drawings.

[0057] Before introducing the power-on control method based on a memory chip according to the embodiment of the present disclosure, the power-on control method based on a memory chip in the related art is first introduced.

[0058] like Figure 1 As shown, in the related art, the program of the general host central processing unit does not support the startup of other partitions, and there is no partition inside the storage chip for backing up the vehicle system startup data. Once a problem occurs with the vehicle system startup data in the startup partition, it can only be re-downloaded using the platform tool. There is no other remedy, and the reliability and user experience are poor.

[0059] To this end, the present disclosure proposes a new power-on control method based on a storage chip, which selects a logical partition according to the state of a power-on control pin, so that when the vehicle system fails to start up, it can be remedied through a spare partition, thereby improving the reliability of the vehicle system and user experience.

[0060] Figure 2 It is a flow chart of a power-on control method based on a memory chip according to an embodiment of the present disclosure.

[0061] It should be noted that the power-on control method based on the memory chip of the embodiment of the present disclosure is executed by the controller in the memory chip of the embodiment of the present disclosure, or by the software in the controller in the memory chip. The following description is made by taking the controller in the memory chip as an example.

[0062] It should also be noted that if Figure 3 As shown, the memory chip of the embodiment of the present disclosure includes a first logic partition and a second logic partition, the first logic partition stores normal vehicle system startup data, the second logic partition stores backup vehicle system startup data, and a startup control pin is set on the memory chip. Among them, the startup control pin can be selected from the pins with special functions in the memory chip, such as G5, E6, J10, and P10. Of course, a pin can also be added separately as the startup control pin. The specific setting method is not limited in the present disclosure.

[0063] like Figure 2 As shown, the power-on control method based on the storage chip of the embodiment of the present disclosure includes:

[0064] S1, get the status of the power-on control pin.

[0065] The state of the power-on control pin is related to a key or selection tool connected to the power-on control pin.

[0066] For example, when the power-on control pin is connected to a button, the controller identifies whether the button is pressed, wherein if the button is not pressed, the power-on control pin maintains a low-level signal; if the button is pressed, the power-on control pin generates a high-level signal.

[0067] S2, selecting a target partition from the first logical partition and the second logical partition according to the state of the power-on control pin.

[0068] As an implementable manner, when the power-on control pin is connected to the button, the target partition is selected from the first logic partition and the second logic partition according to the state of the power-on control pin, including: when the level signal on the power-on control pin is a first level signal such as a low level signal, the first logic partition is selected as the target partition; or when a second level signal such as a high level signal is generated on the power-on control pin, the second logic partition is selected as the target partition. That is, when the button is not pressed, the first logic partition is used as the target partition, and when the button is pressed, the second logic partition is used as the target partition.

[0069] It should be noted that the button in this embodiment is used as an emergency switch.

[0070] As another achievable manner, when the power-on control pin is connected to a selection tool such as a selector, a target partition is selected from the first logical partition and the second logical partition according to the state of the power-on control pin, including: when the power-on control pin receives a first selection signal sent by the selection tool, the first logical partition is used as the target partition; or when the power-on control pin receives a second selection signal sent by the selection tool, the second logical partition is used as the target partition. That is, a selection tool can be set on the power-on control pin, and the user can select the first logical partition or the second logical partition as the target partition through the selection tool.

[0071] S3, controlling the target partition to output corresponding vehicle system startup data so that the host central processor can start up.

[0072] When the controller determines that the target partition is the first logical partition, the controller outputs the normal vehicle system startup data stored in the first logical partition, so that the host central processing unit starts up according to the normal vehicle system startup data read; when the controller determines that the target partition is the second logical partition, the controller outputs the backup vehicle system startup data stored in the second logical partition, so that the host central processing unit starts up according to the backup vehicle system startup data read.

[0073] Therefore, the power-on control method based on the memory chip of the embodiment of the present disclosure sets a power-on control pin on the memory chip, so that the user can control the signal of the power-on control pin by pressing a button or selecting a tool, so that the memory chip selects a logical partition according to the signal of the power-on control pin, thereby achieving the dynamic selection of the first stage software. Figure 3From the entire process shown, it can be seen that the first logical partition can be used for normal vehicle system updates. Once the update fails or other reasons cause the data in the first logical partition to be damaged and the host CPU cannot be booted, the second logical partition can be selected by pressing buttons or selecting tools for rescue booting, thereby improving the reliability of the vehicle system and improving the user experience.

[0074] In one embodiment of the present disclosure, after the controller controls the target partition to output the corresponding vehicle system startup data so that the host central processor can be started up, it can also obtain the startup time of the host central processor, and determine whether the host central processor is successfully started up based on the time. Wherein, when the time is greater than the set time, it is determined that the host central processor fails to start up, and then a prompt message can be issued by sound and / or light to prompt the user to switch the logical partition; or, when the time is less than or equal to the set time, it is determined that the host central processor is successfully started up.

[0075] In summary, the storage chip disclosed in the present invention includes a first logical partition and a second logical partition, the first logical partition stores normal vehicle system startup data, the second logical partition stores backup vehicle system startup data, and a startup control pin is set on the storage chip. The startup control method based on the storage chip disclosed in the present invention first obtains the state of the startup control pin, and then selects the target partition from the first logical partition and the second logical partition according to the state of the startup control pin, and controls the target partition to output the corresponding vehicle system startup data, so that the host central processing unit can be started. Therefore, the method selects the logical partition according to the state of the startup control pin, so that after the vehicle system fails to start, it can be remedied through the backup partition, thereby improving the reliability of the vehicle system and the user experience.

[0076] Figure 4 It is a block diagram of a power-on control device based on a storage chip according to an embodiment of the present disclosure.

[0077] It should be noted that the storage chip includes a first logical partition and a second logical partition, the first logical partition stores normal vehicle system startup data, the second logical partition stores backup vehicle system startup data, and a startup control pin is set on the storage chip.

[0078] like Figure 4 As shown, the power-on control device 400 based on the storage chip of the embodiment of the present disclosure includes:

[0079] An acquisition module 410 is used to acquire the status of a power-on control pin;

[0080] A selection module 420, configured to select a target partition from the first logical partition and the second logical partition according to the state of the power-on control pin;

[0081] The control module 430 is used to control the target partition to output corresponding vehicle system startup data so that the host central processor can start up.

[0082] In one embodiment of the present disclosure, when the power-on control pin is connected to the button, the selection module 420 is used to select the target partition from the first logical partition and the second logical partition according to the state of the power-on control pin, including:

[0083] When the level signal on the power-on control pin is a first level signal, selecting the first logic partition as the target partition;

[0084] Alternatively, when a second level signal is generated on the power-on control pin, the second logic partition is selected as the target partition.

[0085] In one embodiment of the present disclosure, when the power-on control pin is connected to the selection tool, the selection module 420 is used to select a target partition from the first logical partition and the second logical partition according to the state of the power-on control pin, including:

[0086] When the power-on control pin receives a first selection signal sent by a selection tool, the first logical partition is used as a target partition;

[0087] Alternatively, when the power-on control pin receives the second selection signal sent by the selection tool, the second logical partition is used as the target partition.

[0088] In one embodiment of the present disclosure, the above-mentioned device further includes:

[0089] The judgment module is used to obtain the time length of the host central processing unit startup, and judge whether the host central processing unit is successfully started according to the time length.

[0090] In one embodiment of the present disclosure, the judging module is used to judge whether the host central processing unit is successfully started according to the time, including:

[0091] When the duration is longer than the set duration, it is determined that the host CPU fails to start up;

[0092] Alternatively, when the duration is less than or equal to the set duration, it is determined that the host central processing unit is successfully powered on.

[0093] In one embodiment of the present disclosure, the above-mentioned device further includes:

[0094] The prompt module is used to send a prompt message to prompt the user to switch the logical partition after determining that the host central processing unit fails to start up.

[0095] In one embodiment of the present disclosure, when the prompt module is used to issue a prompt message, it includes:

[0096] Prompt information is issued through sound and / or light.

[0097] It should be noted that for details not disclosed in the power-on control device based on a memory chip in the embodiment of the present disclosure, please refer to the details disclosed in the power-on control method based on a memory chip in the embodiment of the present disclosure, and the details will not be repeated here.

[0098] According to the embodiment of the present disclosure, the storage chip includes a first logical partition and a second logical partition, the first logical partition stores normal vehicle system startup data, the second logical partition stores backup vehicle system startup data, and a startup control pin is set on the storage chip. The startup control device based on the storage chip of the present disclosure obtains the state of the startup control pin through the acquisition module, selects the target partition from the first logical partition and the second logical partition according to the state of the startup control pin through the selection module, and controls the target partition to output the corresponding vehicle system startup data through the control module, so that the host central processing unit is started. Therefore, the device selects the logical partition according to the state of the startup control pin, so that after the vehicle system fails to start, it can be remedied through the backup partition, thereby improving the reliability of the vehicle system and the user experience.

[0099] Based on the above embodiments, the present disclosure also proposes an electronic device.

[0100] The electronic device of the embodiment of the present disclosure includes: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute instructions to implement the power-on control method based on the memory chip as described above.

[0101] The electronic device of the disclosed embodiment can select a logical partition according to the state of the power-on control pin by executing the above-mentioned power-on control method based on the memory chip, so that the backup partition can be used to remedy the failure of the vehicle system to start up, thereby improving the reliability of the vehicle system and the user experience.

[0102] Based on the above embodiments, the present disclosure also proposes a computer-readable storage medium.

[0103] When the instructions in the readable storage medium of the embodiment of the present disclosure are executed by a processor, the processor is enabled to execute the above-mentioned power-on control method based on the memory chip.

[0104] The computer-readable storage medium of the disclosed embodiment can select a logical partition according to the state of the power-on control pin by executing the above-mentioned power-on control method based on the storage chip, so that the backup partition can be used to remedy the failure of the vehicle system to start up, thereby improving the reliability of the vehicle system and the user experience.

[0105] Based on the above embodiments, the present disclosure also proposes a computer program product.

[0106] The computer program product of the embodiment of the present disclosure includes a computer program, and when the computer program is executed by a processor, the above-mentioned power-on control method based on the storage chip is implemented.

[0107] The computer program product of the disclosed embodiment can select a logical partition according to the state of the power-on control pin by executing the above-mentioned power-on control method based on the storage chip, so that the backup partition can be used to remedy the failure of the vehicle system to start up, thereby improving the reliability of the vehicle system and the user experience.

[0108] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0109] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0110] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present disclosure belong.

[0111] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0112] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0113] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0114] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0115] The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present disclosure. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present disclosure.

Claims

1. A power-on control method based on a memory chip, characterized in that: The storage chip includes a first logical partition and a second logical partition, the first logical partition stores normal vehicle system startup data, the second logical partition stores backup vehicle system startup data, and a startup control pin is set on the storage chip, the method includes: Obtaining the state of the power-on control pin; Selecting a target partition from the first logical partition and the second logical partition according to the state of the power-on control pin; The target partition is controlled to output corresponding vehicle system startup data so that the host central processing unit is started.

2. The method according to claim 1, characterized in that When the power-on control pin is connected to a button, selecting a target partition from the first logical partition and the second logical partition according to a state of the power-on control pin includes: When the level signal on the power-on control pin is a first level signal, selecting the first logical partition as the target partition; Alternatively, when a second level signal is generated on the power-on control pin, the second logic partition is selected as the target partition.

3. The method according to claim 3, characterized in that: When the power-on control pin is connected to the selection tool, selecting a target partition from the first logical partition and the second logical partition according to the state of the power-on control pin includes: When the power-on control pin receives a first selection signal sent by the selection tool, taking the first logical partition as the target partition; Alternatively, when the power-on control pin receives the second selection signal sent by the selection tool, the second logical partition is used as the target partition.

4. The method according to claim 1, characterized in that: The method further comprises: Obtaining the boot time of the host central processing unit; According to the time length, it is determined whether the host central processing unit is successfully powered on.

5. The method according to claim 4, characterized in that The step of judging whether the host central processing unit is successfully powered on according to the duration includes: When the duration is greater than the set duration, determining that the host central processing unit fails to start up; Alternatively, when the duration is less than or equal to the set duration, it is determined that the host central processing unit is successfully powered on.

6. The method according to claim 5, after determining that the host CPU fails to start, further comprising: Issue a prompt message to prompt the user to switch logical partitions.

7. The method according to claim 6, wherein the issuing of the prompt information comprises: The prompt information is issued by sound and / or light.

8. A power-on control device based on a storage chip, characterized in that: The storage chip includes a first logic partition and a second logic partition, the first logic partition stores normal vehicle system startup data, the second logic partition stores backup vehicle system startup data, and a startup control pin is set on the storage chip, the device includes: An acquisition module, used for acquiring the state of the power-on control pin; A selection module, configured to select a target partition from the first logical partition and the second logical partition according to a state of the power-on control pin; The control module is used to control the target partition to output corresponding vehicle system startup data so that the host central processing unit can be started.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instruction to implement the power-on control method based on a memory chip as described in any one of claims 1 to 7.

10. A computer-readable storage medium, when instructions in the storage medium are executed by a processor, enables the processor to execute the power-on control method based on a memory chip as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Recovery method for power-on failure of terminal device, and terminal device

    CN108432219A

  • Set top box emergency backup recovery upgrading method and set top box emergency backup recovery upgrading system

    CN112948182A

  • Memory device and secure boot memory management method

    CN113495808A

  • Partition switching starting method, array server and computer readable storage medium

    CN116185510A