[go: up one dir, main page]

CN109947463B - Particle configuration method and device for solid state disk, computer equipment and storage medium - Google Patents

Particle configuration method and device for solid state disk, computer equipment and storage medium Download PDF

Info

Publication number
CN109947463B
CN109947463B CN201910218043.XA CN201910218043A CN109947463B CN 109947463 B CN109947463 B CN 109947463B CN 201910218043 A CN201910218043 A CN 201910218043A CN 109947463 B CN109947463 B CN 109947463B
Authority
CN
China
Prior art keywords
solid state
particles
mode
state disk
default
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910218043.XA
Other languages
Chinese (zh)
Other versions
CN109947463A (en
Inventor
刘坚
冯元元
臧鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Union Memory Information System Co Ltd
Original Assignee
Shenzhen Union Memory Information System Co Ltd
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 Shenzhen Union Memory Information System Co Ltd filed Critical Shenzhen Union Memory Information System Co Ltd
Priority to CN201910218043.XA priority Critical patent/CN109947463B/en
Publication of CN109947463A publication Critical patent/CN109947463A/en
Application granted granted Critical
Publication of CN109947463B publication Critical patent/CN109947463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a particle configuration method and device of a solid state disk, computer equipment and a storage medium, wherein the method comprises the steps of processing the solid state disk to finish the preparation of particles; acquiring a default working mode of the particles; judging whether the default working mode of the particles is a switching mode or not; if yes, configuring the solid state hard disk controller/physical layer into a switching mode; if not, the particles are forcibly switched to the switching mode through a setting function, and the solid state hard disk controller/physical layer is configured to be in the switching mode. According to the method, the state of the particles is judged by reading the ID of the particles, the configuration of the solid state disk controller/physical layer is carried out according to the particles in two different modes, the particles in the default mode state and the switching mode state are compatible, the compatibility of a chip is improved, the cost is saved, and the multi-core loading robustness of the solid state disk is ensured.

Description

Particle configuration method and device for solid state disk, computer equipment and storage medium
Technical Field
The invention relates to a solid state disk, in particular to a particle configuration method and device of the solid state disk, computer equipment and a storage medium.
Background
The chip has wide application in the solid state disk by using flash memory multi-core loading starting, the starting speed is high, and the cost of the solid state disk is reduced. At present, chips of solid state disks are mainly classified into two categories, which follow an Open NAND Flash Interface (ONFI) protocol and a Toggle protocol. The ONFI protocol is a standard of a Flash memory interface, and the Toggle protocol is a Flash memory interface standard established based on a DDR (Double Data Rate).
Since the particles of the solid state disk following the Toggle protocol have two states, namely a default mode and a switch mode, after the particles are reset, the configuration of NFC (solid state disk Controller)/PHY (Physical Layer) is different in the two different states. The traditional flash memory multi-core loading method can only support particles in one default mode, so that the compatibility of flash memory multi-core loading is greatly reduced, and the particles of various switching types cannot be better compatible.
The current particle configuration method has two types, namely default mode configuration and switching mode configuration. The default mode configuration method, namely the flow that the working mode is the default mode after the particles are reset, is as follows: (ii) a The chip starts multi-core loading of the solid state disk, and the particles are powered on in a default mode; the NFC/PHY is configured to be in a default mode, and an instruction is sent to reset the particles; sending a command, and inquiring the particle state; after the preparation of the particle state is finished, the particles are switched to a default mode through a setting function, and the master control NFC and the PHY are also switched to the default mode; and completing initialization, and loading the multi-core loading codes of the solid state disk.
When the working mode is the switching mode after the particles are reset, the chip starts the multi-core loading of the solid state disk, and the particles are powered on and in the default mode; the NFC/PHY is configured to be in a default mode, an instruction is sent to reset the particles, and the particles are automatically switched to be in a switching mode; after the preparation of the particle state is finished, the master control NFC and the PHY are switched to a switching mode; and completing initialization, and loading the multi-core loading codes of the solid state disk.
If the state after the particle reset is the switching mode, but if the flow of the default mode configuration mode is used, the particle conversion mode is forced by adopting a command of sending a setting function, which may cause the particle to work abnormally. Because, when the set function command is sent, the NFC and PHY are still in default mode, while the granule is already in switch mode; two incompatible modes are used, so that errors are caused, and the robustness of multi-core loading of the solid state disk is influenced.
Therefore, a new method is needed to be designed, so that particles in a default mode state and a switching mode state are compatible, chip compatibility is improved, cost is saved, and robustness of multi-core loading of the solid state disk is guaranteed.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a particle configuration method and device of a solid state disk, computer equipment and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme: the particle configuration method of the solid state disk comprises the following steps:
processing the solid state disk to finish the preparation of the particles;
acquiring a default working mode of the particles;
judging whether the default working mode of the particles is a switching mode or not;
if yes, configuring the solid state hard disk controller/physical layer into a switching mode;
if not, the particles are forcibly switched to the switching mode through a setting function, and the solid state hard disk controller/physical layer is configured to be in the switching mode.
The further technical scheme is as follows: after the configuring the solid state hard disk controller/physical layer into the switching mode, the method further comprises:
and starting to load the code in the solid state disk.
The further technical scheme is as follows: the processing of the solid state disk to finish the particle preparation comprises:
starting a multi-core loading project;
electrifying the particles of the solid state disk;
configuring a solid state hard disk controller/physical layer to a default mode;
and sending a reset command to the particles of the solid state disk to prepare the particles.
The further technical scheme is as follows: the default operating mode for acquiring particles comprises:
and acquiring the ID of the particle to obtain the default working mode of the particle.
The further technical scheme is as follows: the determining whether the default operating mode of the particles is a switching mode includes:
determining whether the last byte of the ID of the particle is 0x 01;
if so, the default working mode of the particles is not a switching mode;
if not, the default working mode of the particles is a switching mode.
The invention also provides a particle configuration device of the solid state disk, which comprises:
the processing unit is used for processing the solid state disk so as to finish the preparation of the particles;
a mode acquisition unit for acquiring a default operating mode of the particles;
a mode judging unit for judging whether a default operation mode of the particles is a switching mode;
the configuration unit is used for configuring the solid state hard disk controller/the physical layer into a switching mode if the switching mode is yes;
and the switching unit is used for forcibly switching the particles to the switching mode through a setting function if the particles are not in the switching mode, and configuring the solid state hard disk controller/physical layer to be in the switching mode.
The further technical scheme is as follows: the device further comprises:
and the loading unit is used for starting and loading the codes in the solid state disk.
The further technical scheme is as follows: the processing unit includes:
the promoter unit is used for starting the multi-core loading engineering;
the power-on processing electronic unit is used for performing power-on processing on the particles of the solid state disk;
a default mode configuration subunit, configured to configure the solid state hard disk controller/physical layer to a default mode;
and the command sending subunit is used for sending a reset command to the granules of the solid state disk so as to finish the preparation of the granules.
The invention also provides computer equipment which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the method when executing the computer program.
The invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, is operable to carry out the method as described above.
Compared with the prior art, the invention has the beneficial effects that: according to the method, the state of the particles is judged by reading the ID of the particles, if the last byte of the ID of the particles is not 0x01, the default working mode is in the default mode after the particles are reset, if the last byte of the ID of the particles is 0x01, the default working mode is in the switching mode after the particles are reset, the solid state disk controller/physical layer is configured according to the particles in two different modes, the particles in the state of the default mode and the state of the switching mode are compatible, the compatibility of a chip is improved, the cost is saved, and the robustness of multi-core loading of the solid state disk is ensured.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for configuring particles in a solid state disk according to an embodiment of the present invention;
fig. 2 is a schematic sub-flow chart of a method for configuring particles in a solid state disk according to an embodiment of the present invention;
fig. 3 is a schematic sub-flow chart of a method for configuring particles in a solid state disk according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a method for configuring particles in a solid state disk according to another embodiment of the present invention;
fig. 5 is a schematic block diagram of a particle configuration apparatus of a solid state disk according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a processing unit of a particle configuration apparatus of a solid state disk according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of a particle configuration apparatus of a solid state disk according to another embodiment of the present invention;
FIG. 8 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for configuring granules of a solid state disk according to an embodiment of the present invention. The particle configuration method of the solid state disk is applied to equipment with the solid state disk.
Fig. 1 is a schematic flowchart of a method for configuring particles in a solid state disk according to an embodiment of the present invention. As shown in fig. 1, the method includes the following steps S110 to S150.
And S110, processing the solid state disk to finish the particle preparation.
In an embodiment, referring to fig. 2, the step S110 may include steps S111 to S114.
S111, starting a multi-core loading project;
the multi-core loading engineering is suitable for loading multi-core processing codes of the solid state disk.
And S112, electrifying the particles of the solid state disk.
When the particles of the solid state disk are configured, the particles need to be powered on.
S113, configuring the solid state hard disk controller/physical layer into a default mode;
and S114, sending a reset command to the particles of the solid state disk so as to finish the preparation of the particles.
According to the rule of the Toggle protocol, the default operation mode of the solid state disk supporting the protocol can be distinguished, so that the solid state disk controller/physical layer needs to be configured into a default mode so as to more accurately acquire the default operation mode of the particles.
And S120, acquiring a default working mode of the particles.
In this embodiment, the default operating mode of the particle is obtained by specifically acquiring the ID of the particle. According to the Toggle protocol and the chip manual, for the solid state disk particles under the Toggle protocol, the ID (i.e. 0x40 address) of the particles can be read to determine the state of the particles, so as to obtain the default operating mode of the particles.
S130, judging whether the default working mode of the particles is a switching mode.
In an embodiment, referring to fig. 3, the step S130 may include steps S131 to S133.
S131, judging whether the last byte of the ID of the particle is 0x 01;
s132, if so, the default working mode of the particles is not a switching mode;
s133, if not, the default working mode of the particles is a switching mode.
If the last byte of the ID of the particle is not 0x01, it means that the default mode of operation is in the default mode after the particle is reset, and if the last byte of the ID of the particle is 0x01, it means that the default mode of operation is in the switch mode after the particle is reset.
S140, if yes, the solid state hard disk controller/physical layer is configured to be in a switching mode.
When the default working mode of the particles is the switching mode, the consistency of the working modes of the solid state disk controller and the solid state disk controller can be met only by configuring the solid state disk controller/the physical layer into the switching mode, so that solid state disk particles which can be compatible with various Toggle protocols are loaded on the solid state disk with multiple cores, the compatibility of a chip is increased, and the cost is saved.
S150, if not, forcibly switching the particles to a switching mode through a setting function, and entering the step S140.
If the default operating mode of the current granule is not the switching mode but the conventional default mode, the granule needs to be forcibly switched to the switching mode first, and corresponding configuration is performed on the solid state disk controller/physical layer. Two different particle states are integrated in the same scheme for configuration, so that the influence on the multi-core loading robustness of the solid state disk is avoided.
According to the particle configuration method of the solid state disk, the state of the particles is judged by reading the ID of the particles, if the last byte of the ID of the particles is not 0x01, the default working mode is in the default mode after the particles are reset, if the last byte of the ID of the particles is 0x01, the default working mode is in the switching mode after the particles are reset, the solid state disk controller/physical layer is configured according to the particles in two different modes, the particles in the state compatible with the default mode and the switching mode are achieved, the compatibility of chips is improved, the cost is saved, and the robustness of multi-core loading of the solid state disk is guaranteed.
Fig. 4 is a flowchart illustrating a method for configuring granules in a solid state disk according to another embodiment of the present invention. As shown in fig. 4, the method for configuring granules of a solid state disk of the present embodiment includes steps S210 to S260. Steps S210 to S240 are similar to steps S110 to S140 in the above embodiment, and step S260 is similar to step S150 in the above embodiment, and are not repeated here. The added step S250 in the present embodiment is explained in detail below.
And S250, starting and loading codes in the solid state disk.
After the configuration of the particles and the solid state hard disk controller/physical layer is completed, the code can be started, and the code is operated to carry out multi-core loading.
Fig. 5 is a schematic block diagram of a particle configuration apparatus 300 of a solid state disk according to an embodiment of the present invention. As shown in fig. 5, the present invention further provides a solid state disk particle configuration apparatus 300 corresponding to the above solid state disk particle configuration method. The solid state disk particle configuration device 300 comprises a unit for executing the particle configuration method of the solid state disk, and the device can be configured in equipment with the solid state disk.
Specifically, referring to fig. 5, the apparatus 300 for configuring particles on a solid state disk includes:
the processing unit 301 is configured to process the solid state disk so as to complete particle preparation;
a mode acquiring unit 302 for acquiring a default operating mode of the particles;
a mode judging unit 303 for judging whether a default operation mode of the particles is a switching mode;
a configuration unit 304, configured to configure the solid state hard disk controller/physical layer to a switching mode if yes;
and a switching unit 305, configured to, if not, forcibly switch the granules to the switching mode through the setting function, and enter the configuration of the solid state disk controller/physical layer to the switching mode.
In one embodiment, as shown in fig. 6, the processing unit 301 includes:
a promoter unit 3011 for initiating a multi-core loading project;
a power-on processing electronic unit 3012, configured to perform power-on processing on the particles of the solid state disk;
a default mode configuration subunit 3013, configured to configure the solid state hard disk controller/physical layer to a default mode;
and the command sending subunit 3014 is configured to send a reset command to the granules of the solid-state disk, so that the granules are ready.
Fig. 7 is a schematic block diagram of a particle configuration apparatus 300 for a solid state disk according to another embodiment of the present invention. As shown in fig. 7, the particle configuration apparatus 300 of the solid state disk of the present embodiment is added with a loading unit 306 on the basis of the above embodiment.
And the loading unit 306 is used for starting and loading the codes in the solid state disk.
It should be noted that, as will be clear to those skilled in the art, the specific implementation process of the particle configuration apparatus 300 and each unit of the solid state disk described above may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The particle configuration apparatus 300 of the solid state disk may be implemented in the form of a computer program, which can be run on a computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a server.
Referring to fig. 8, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform a method for particle placement on a solid state disk.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be enabled to execute a method for configuring particles in a solid state disk.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 8 is a block diagram of only a portion of the configuration relevant to the present teachings and does not constitute a limitation on the computer device 500 to which the present teachings may be applied, and that a particular computer device 500 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
processing the solid state disk to finish the preparation of the particles;
acquiring a default working mode of the particles;
judging whether the default working mode of the particles is a switching mode or not;
if yes, configuring the solid state hard disk controller/physical layer into a switching mode;
if not, the particles are forcibly switched to the switching mode through a setting function, and the solid state hard disk controller/physical layer is configured to be in the switching mode.
In an embodiment, after implementing the step of configuring the solid state hard disk controller/physical layer to switch mode, the processor 502 further implements the steps of:
and starting to load the code in the solid state disk.
In an embodiment, when the processor 502 implements the step of processing the solid state disk so as to complete the particle preparation, the following steps are specifically implemented:
starting a multi-core loading project;
electrifying the particles of the solid state disk;
configuring a solid state hard disk controller/physical layer to a default mode;
and sending a reset command to the particles of the solid state disk to prepare the particles.
In an embodiment, when the processor 502 implements the step of obtaining the default operating mode of the particles, the following steps are specifically implemented:
and acquiring the ID of the particle to obtain the default working mode of the particle.
In an embodiment, when the processor 502 determines whether the default operating mode of the granule is the step of switching the mode, the following steps are specifically implemented:
determining whether the last byte of the ID of the particle is 0x 01;
if so, the default working mode of the particles is not a switching mode;
if not, the default working mode of the particles is a switching mode.
It should be understood that in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the steps of:
processing the solid state disk to finish the preparation of the particles;
acquiring a default working mode of the particles;
judging whether the default working mode of the particles is a switching mode or not;
if yes, configuring the solid state hard disk controller/physical layer into a switching mode;
if not, the particles are forcibly switched to the switching mode through a setting function, and the solid state hard disk controller/physical layer is configured to be in the switching mode.
In an embodiment, after the step of configuring the solid state hard disk controller/physical layer to the switching mode is implemented by the processor executing the computer program, the following steps are further implemented:
and starting to load the code in the solid state disk.
In an embodiment, when the processor executes the computer program to implement the processing on the solid state disk, so that the particle preparation step is completed, the following steps are specifically implemented:
starting a multi-core loading project;
electrifying the particles of the solid state disk;
configuring a solid state hard disk controller/physical layer to a default mode;
and sending a reset command to the particles of the solid state disk to prepare the particles.
In an embodiment, when the processor executes the computer program to implement the step of obtaining the default operating mode of the particles, the following steps are specifically implemented:
and acquiring the ID of the particle to obtain the default working mode of the particle.
In an embodiment, when the processor executes the computer program to determine whether the default operating mode of the granule is the switching mode step, the following steps are specifically implemented:
determining whether the last byte of the ID of the particle is 0x 01;
if so, the default working mode of the particles is not a switching mode;
if not, the default working mode of the particles is a switching mode.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. The particle configuration method of the solid state disk is characterized by comprising the following steps:
processing the solid state disk to finish the preparation of the particles;
acquiring a default working mode of the particles;
judging whether the default working mode of the particles is a switching mode or not;
if yes, configuring the solid state hard disk controller/physical layer into a switching mode;
if not, the particles are forcibly switched to a switching mode through a setting function, and the solid state hard disk controller/physical layer is configured to be in the switching mode;
the default operating mode for acquiring particles comprises:
acquiring the ID of the particle to obtain a default working mode of the particle;
the determining whether the default operating mode of the particles is a switching mode includes:
determining whether the last byte of the ID of the particle is 0x 01;
if so, the default working mode of the particles is not a switching mode;
if not, the default working mode of the particles is a switching mode;
the processing of the solid state disk to finish the particle preparation comprises:
starting a multi-core loading project;
electrifying the particles of the solid state disk;
configuring a solid state hard disk controller/physical layer to a default mode;
and sending a reset command to the particles of the solid state disk to prepare the particles.
2. The method of claim 1, wherein after configuring the solid state disk controller/physical layer to the switching mode, the method further comprises:
and starting to load the code in the solid state disk.
3. Particle configuration device of solid state hard disk, characterized by, includes:
the processing unit is used for processing the solid state disk so as to finish the preparation of the particles;
a mode acquisition unit for acquiring a default operating mode of the particles; obtaining the ID of the particle to obtain the default working mode of the particle;
a mode judging unit for judging whether a default operation mode of the particles is a switching mode; determining whether the last byte of the ID of the particle is 0x 01; if so, the default working mode of the particles is not a switching mode; if not, the default working mode of the particles is a switching mode;
the configuration unit is used for configuring the solid state hard disk controller/the physical layer into a switching mode if the switching mode is yes;
the switching unit is used for forcibly switching the particles to a switching mode through a setting function if the particles are not in the switching mode, and configuring the solid state hard disk controller/physical layer to be in the switching mode;
the processing unit includes:
the promoter unit is used for starting the multi-core loading engineering;
the power-on processing electronic unit is used for performing power-on processing on the particles of the solid state disk;
a default mode configuration subunit, configured to configure the solid state hard disk controller/physical layer to a default mode;
and the command sending subunit is used for sending a reset command to the granules of the solid state disk so as to finish the preparation of the granules.
4. The solid state disk particle configuration device of claim 3, further comprising:
and the loading unit is used for starting and loading the codes in the solid state disk.
5. A computer device, characterized in that the computer device comprises a memory, on which a computer program is stored, and a processor, which when executing the computer program implements the method according to any of claims 1-2.
6. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 2.
CN201910218043.XA 2019-03-21 2019-03-21 Particle configuration method and device for solid state disk, computer equipment and storage medium Active CN109947463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910218043.XA CN109947463B (en) 2019-03-21 2019-03-21 Particle configuration method and device for solid state disk, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910218043.XA CN109947463B (en) 2019-03-21 2019-03-21 Particle configuration method and device for solid state disk, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109947463A CN109947463A (en) 2019-06-28
CN109947463B true CN109947463B (en) 2022-03-29

Family

ID=67010578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910218043.XA Active CN109947463B (en) 2019-03-21 2019-03-21 Particle configuration method and device for solid state disk, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109947463B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475213B (en) * 2020-04-03 2023-04-28 深圳忆联信息系统有限公司 Power consumption reduction method and device for solid state disk with multi-core structure and computer equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104781801A (en) * 2012-12-21 2015-07-15 英特尔公司 Techniques to Configure a Solid State Drive to Operate in a Storage Mode or a Memory Mode
CN109144420A (en) * 2018-08-22 2019-01-04 深圳忆联信息系统有限公司 More particle self-adaptive initial method, apparatus, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7941803B2 (en) * 2007-01-15 2011-05-10 International Business Machines Corporation Controlling an operational mode for a logical partition on a computing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104781801A (en) * 2012-12-21 2015-07-15 英特尔公司 Techniques to Configure a Solid State Drive to Operate in a Storage Mode or a Memory Mode
CN109144420A (en) * 2018-08-22 2019-01-04 深圳忆联信息系统有限公司 More particle self-adaptive initial method, apparatus, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于SOPC的固态硬盘控制器的系统设计";吴尚儒;《中国优秀硕士论文电子期刊》;20180815;第1-4,23-33页 *

Also Published As

Publication number Publication date
CN109947463A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN109144420B (en) Multi-particle self-adaptive initialization method and device, computer equipment and storage medium
CN102945173B (en) User program online upgrade system and upgrade method
US8230211B2 (en) Method for setting basic input/output system
US20100064036A1 (en) Peripheral device operation method, peripheral device and host
CN109947463B (en) Particle configuration method and device for solid state disk, computer equipment and storage medium
CN114019817B (en) Control method and control device of intelligent household equipment and Internet of things system
CN107770299A (en) A kind of MAC Address writes with a brush dipped in Chinese ink method, system, device and storage medium
CN110830334B (en) Household appliance control method, device, system, server and household appliance
CN107395955A (en) Method for determining power-on time sequence of camera module and user terminal
US10169281B2 (en) Switch system and operation method thereof
US20190163595A1 (en) System and method for providing network access in the event of a computer system failure
WO2021155551A1 (en) Firmware download method for chip, and chip
CN106658471B (en) User identification module configuration method and device
CN110888680B (en) Starting method and system of embedded processor
CN111913666B (en) Method and device compatible with Nand particles with different protocols, computer equipment and storage medium
CN117608622A (en) Bluetooth module upgrading method and system, bluetooth device and storage medium
CN110910945B (en) Method and device for testing robustness of SSD (solid State disk) signal, computer equipment and storage medium
CN111061659A (en) A kind of bus switching method and related device
CN113190386B (en) Chip and using method thereof
CN109725939A (en) A chip booting method, chip and computer readable storage medium
CN109347474B (en) Signal time sequence configuration method and device, computer equipment and storage medium
US9336011B2 (en) Server and booting method
CN112035071A (en) Disk data reading method and device, computer equipment and storage medium
CN111915475A (en) Drawing command processing method, GPU, host, terminal and medium
TWI612424B (en) Switch system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant