CN110737319B - Operation control method and device of server and storage medium - Google Patents

Operation control method and device of server and storage medium Download PDF

Info

Publication number
CN110737319B
CN110737319B CN201910916860.2A CN201910916860A CN110737319B CN 110737319 B CN110737319 B CN 110737319B CN 201910916860 A CN201910916860 A CN 201910916860A CN 110737319 B CN110737319 B CN 110737319B
Authority
CN
China
Prior art keywords
electric quantity
power supply
standby power
server
supply set
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
CN201910916860.2A
Other languages
Chinese (zh)
Other versions
CN110737319A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201910916860.2A priority Critical patent/CN110737319B/en
Publication of CN110737319A publication Critical patent/CN110737319A/en
Application granted granted Critical
Publication of CN110737319B publication Critical patent/CN110737319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/263Arrangements for using multiple switchable power supplies, e.g. battery and AC
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision

Abstract

The invention discloses an operation control method of a server, which comprises the following steps: detecting the electric quantity of the standby power supply set in response to the received starting instruction; judging whether the electric quantity of the standby power supply pack is larger than a first preset electric quantity or not; responding to the fact that the electric quantity of the standby power supply pack is larger than the first preset electric quantity, and judging whether the electric quantity of the standby power supply pack is larger than a second preset electric quantity; and controlling the server to execute read-only service in response to the fact that the electric quantity of the standby power supply set is smaller than the second preset electric quantity. The invention also discloses a computer device and a readable storage medium. The method disclosed by the invention judges whether the server needs to carry out no service or only read service by detecting whether the electric quantity of the BBU power supply meets the threshold value after starting up, thereby ensuring that no data loss occurs after sudden power failure occurs when the BBU power supply does not meet the preset electric quantity.

Description

Operation control method and device of server and storage medium
Technical Field
The invention relates to the field of servers, in particular to a method, equipment and a storage medium for controlling the operation of a server.
Background
The storage server is very high to the requirement of stability, considers that the customer site probably has power failure, therefore BBU is one of the indispensable unit of storage server, and when power failure appears in the aspect of the customer, storage server launches the BBU power supply, and at BBU power supply device, storage server can carry out the data and fall the dish and handle, prevents that the data loss after the system falls the power loss and causes the loss for the customer.
Generally, the maximum time that the storage server starts the power supply of the BBU at the power failure to stop the power supply of the BBU at the end of the data drop becomes the maximum standby time of the BBU. Generally speaking, the capacity requirement of the BBU of the storage server is greater than two times of maximum power backup time, and mainly aims to ensure that when the BBU with the first power failure consumes the electric quantity of the one time of maximum power backup time, the BBU still has sufficient electric quantity to ensure the second power backup when the system encounters the second power failure within a short time after power-on operation.
Generally, BBU is one of the bottlenecks in storage server design, and first, the probability of sudden power failure occurring without advance notification by the customer environment is low, in other words, the probability of BBU use is extremely low; secondly, BBUs are generally rechargeable batteries, which have a short life due to their chemical structure, generally one BBU has a life of about three years. Therefore, on one hand, the capacity of BBU must be large enough in consideration of reliability, and the BBU is a vulnerable and consumable material and has higher cost; on the other hand, the frequency used by BBU is very low. Therefore, the two are contradictory from the viewpoint of cost reduction.
Disclosure of Invention
In view of the above, in order to overcome at least one aspect of the above problems, an embodiment of the present invention provides an operation control method for a server, including:
detecting the electric quantity of the standby power supply set in response to the received starting instruction;
judging whether the electric quantity of the standby power supply pack is larger than a first preset electric quantity or not;
responding to the fact that the electric quantity of the standby power supply pack is larger than the first preset electric quantity, and judging whether the electric quantity of the standby power supply pack is larger than a second preset electric quantity;
and controlling the server to execute read-only service in response to the fact that the electric quantity of the standby power supply set is smaller than the second preset electric quantity.
In some embodiments, further comprising the step of:
and charging the standby power supply set and continuously detecting the electric quantity of the standby power supply set until the electric quantity of the standby power supply set is larger than the second preset electric quantity.
In some embodiments, further comprising the step of:
responding to the fact that the electric quantity of the standby power supply pack is larger than a second preset electric quantity, and judging whether the electric quantity of the standby power supply pack is larger than a third preset electric quantity;
and in response to the fact that the electric quantity of the standby power supply set is smaller than the third preset electric quantity, controlling the server to execute read-only service and write service by using a first cache technology.
In some embodiments, further comprising the step of:
and charging the standby power supply set and continuously detecting the electric quantity of the standby power supply set until the electric quantity of the standby power supply set is larger than the third preset electric quantity.
In some embodiments, further comprising the step of:
and in response to the electric quantity of the standby power supply set being larger than the third preset electric quantity, controlling the server to execute read-only service and write service by using a second cache technology.
In some embodiments, further comprising the step of:
controlling the server not to execute any service in response to the electric quantity of the standby power supply set being less than the first preset electric quantity;
and charging the standby power supply set and continuously detecting the electric quantity of the standby power supply set until the electric quantity of the standby power supply set is larger than the first preset electric quantity.
In some embodiments, controlling the server to perform the write transaction in the first caching technique further comprises:
and controlling the server to execute the write-in service in a write-through cache mode.
In some embodiments, controlling the server to perform the write transaction in the second caching technique further comprises:
and controlling the server to execute the writing business in a way of writing back and caching.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer apparatus, including:
at least one processor; and
a memory storing a computer program executable on the processor, wherein the processor executes the program to perform the steps of any of the server operation control methods described above.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of any one of the operation control methods of the server described above.
The invention has one of the following beneficial technical effects: the method disclosed by the invention judges whether the server needs to carry out no service or only read service by detecting whether the electric quantity of the BBU power supply meets the threshold value after starting up, thereby ensuring that no data loss occurs after sudden power failure occurs when the BBU power supply does not meet the preset electric quantity.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an operation control method of a server according to an embodiment of the present invention;
fig. 2 is a flowchart of an operation control method of a server according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer device provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
It should be noted that, in the embodiment of the present invention, bbu (backup Battery unit) refers to a backup power pack. Write-back caching refers to a caching technique in which a write request complete signal is sent once data is written to a cache, and the actual writing of the data to a non-volatile storage medium is delayed. Write-through caching refers to another caching technique in which a write request complete signal is only issued after data has been securely written to a non-volatile storage medium.
According to an aspect of the present invention, an embodiment of the present invention provides an operation control method of a server, as shown in fig. 1, which may include the steps of: s1, responding to the received starting instruction, detecting the electric quantity of the standby power pack; s2, judging whether the electric quantity of the standby power pack is larger than a first preset electric quantity; s3, responding to the fact that the electric quantity of the standby power supply pack is larger than the first preset electric quantity, and judging whether the electric quantity of the standby power supply pack is larger than a second preset electric quantity; and S4, responding to the electric quantity of the standby power pack being smaller than the second preset electric quantity, and controlling the server to execute read-only service.
The method disclosed by the invention judges whether the server needs to carry out no service or only read service by detecting whether the electric quantity of the BBU power supply meets the threshold value after starting up, thereby ensuring that no data loss occurs after sudden power failure occurs when the BBU power supply does not meet the preset electric quantity.
The following is described in detail with reference to a flow chart of an operation control method of the server shown in fig. 2.
Firstly, in response to receiving a starting instruction, detecting the electric quantity of the standby power supply set, and then judging whether the electric quantity of the BBU is larger than a first preset electric quantity before the server executes each service so as to determine whether the server can carry out the service according to the electric quantity of the BBU.
In some embodiments, as shown in fig. 2, if the power amount of the BBU is less than a first preset power amount, the server is controlled not to perform any service, charge the standby power supply set and continue to detect the power amount of the standby power supply set until the power amount of the standby power supply set is greater than the first preset power amount.
In some embodiments, the first preset amount of power may be 50% of the amount of power required for one maximum power-on time.
It should be noted that the power backup time of the BBU mainly depends on the traffic of the server when the power fails, and if the server has no traffic, when the power fails and the BBU power backup needs to be adopted, the data to be processed is very little, so the time for utilizing the BBU power backup is relatively short, and the requirement on the electric quantity of the BBU is relatively low; if the service volume of the server is large, even under the condition of full pressure, when the electric power fails and BBU standby power is needed, the system needs to process a lot of data, so the standby power time is long, and each device is in a full pressure state and has large power consumption, and at the moment, the power consumption of the BBU standby power per se is large, so the requirement on the electric quantity of the BBU is high. That is, the electric quantity required by the one-time maximum standby power time refers to the maximum electric quantity which can be consumed by the server once when the BBU standby power is adopted.
In some embodiments, in response to the power amount of the standby power supply set being greater than the first preset power amount, it is determined whether the power amount of the standby power supply set is greater than a second preset power amount, so as to determine which services the server performs according to the power amount of the BBU.
In some embodiments, the second preset amount of power may be 80% of the amount of power required for one maximum power-on time.
In some embodiments, as shown in fig. 2, when the power of the standby power supply set is less than a second preset power, the server is controlled to perform a read-only service, and charge the standby power supply set and continue to detect the power of the standby power supply set until the power of the standby power supply set is greater than the second preset power.
It should be noted that, the control server executing the read-only service may control the server to execute all the read-only services, or may execute only part of the read-only services. Preferably, part of the read-only service is executed to reduce the pressure of the CPU and improve the data security when the BBU does not meet the standby power condition.
Next, as shown in fig. 2, in response to that the electric quantity of the standby power supply set is greater than a second preset electric quantity, it is determined whether the electric quantity of the standby power supply set is greater than a third preset electric quantity, so as to determine whether the server performs all services according to the electric quantity of the BBU.
In some embodiments, the third preset amount of power may be an amount of power required for a maximum power-on time.
In some embodiments, in response to the power level of the standby power pack being less than the third preset power level, the server is controlled to perform a read-only service and a write service in a first caching technology. And simultaneously charging the standby power supply set and continuously detecting the electric quantity of the standby power supply set until the electric quantity of the standby power supply set is larger than the third preset electric quantity.
In some embodiments, the first caching technique may be a write-through caching technique. Because the BBU electric quantity does not meet the electric quantity required by the primary maximum standby power time, the server writes data in a transparent writing mode, the server can confirm that the data is written after writing the data into the hard disk, the server can know that the data is lost even if the power is abnormally cut off, and the data can be written again after being electrified again, so that the data safety is ensured.
It should be noted that, the control server executing the read-only service may control the server to execute all the read-only services, or may execute only part of the read-only services. The control server performing the write transaction in the first caching technique may control the server to perform a portion of the write transaction. Preferably, all read-only services and part of write services are executed to reduce the pressure of the CPU, so that the pressure of the server is lower than 50%, and the data security is improved when the BBU does not meet the standby power condition.
In some embodiments, when the power of the standby power pack is greater than the third preset power, the server is controlled to execute a read-only service and a write service in a second cache technology.
In some embodiments, the second caching technique may be a write-back caching technique. When the BBU is charged to the state that the BBU can support the maximum standby power time once, the server is switched to the write-back cache, the server is informed that the data is written in after the BBU is written in the cache (the cache), and when the power failure occurs, the BBU can support the data of the cache to be completely dropped, so that the data loss can be avoided.
It should be noted that, when the electric quantity of the standby power supply set is greater than the third preset electric quantity, the server may be controlled to execute all services, that is, execute all read-only services and all write-in services.
Therefore, data are written in a more reliable mode by a mode of not developing services, reducing the pressure of a CPU or using a write-through cache under the condition that the BBU does not meet the standby power condition, and the data are written in a more efficient mode after the BBU is charged to the state that the BBU can support the maximum standby power once.
By the method disclosed by the invention, after the server is powered on, the electric quantity of the BBU is detected in advance, whether the electric quantity of the BBU is larger than that of the primary maximum standby power time or not is judged, and if the electric quantity is sufficient, normal business action can be carried out; if the electric quantity is not enough to maintain the primary maximum standby power time, normal service is not carried out, the BBU is charged firstly, and the system carries out service again after the electric quantity of the BBU is more than the primary maximum standby power time. Therefore, even if the server encounters two power failures in a short period, the server carries out related services before the second power failure due to the fact that the BBU needs to be charged firstly and the electric quantity of the BBU meets the condition, and even if the second power failure occurs, the loss caused by data loss can be avoided.
Under the control method, the capacity of the BBU can be reduced to 1.2-1.5 times of the maximum power-standby time electric quantity, namely the capacity of the BBU can be reduced by about 40%, so that the requirement of the storage server on the capacity of the BBU is reduced, and the cost is reduced. So that the time requirements are not very high and the purchase and maintenance budget is not a particularly sufficient customer is a good choice.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 3, an embodiment of the present invention further provides a computer apparatus 501, comprising:
at least one processor 520; and
the memory 510, the memory 510 stores a computer program 511 that can be executed on the processor, and the processor 520 executes the program to execute the steps of the operation control method of any of the servers as described above.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 4, an embodiment of the present invention further provides a computer-readable storage medium 601, where the computer-readable storage medium 601 stores computer program instructions 610, and the computer program instructions 610, when executed by a processor, perform the steps of the operation control method of any one of the servers as above.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program to instruct related hardware to implement the methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
In addition, the apparatuses, devices, and the like disclosed in the embodiments of the present invention may be various electronic terminal devices, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television, and the like, or may be a large terminal device, such as a server, and the like, and therefore the scope of protection disclosed in the embodiments of the present invention should not be limited to a specific type of apparatus, device. The client disclosed by the embodiment of the invention can be applied to any one of the electronic terminal devices in the form of electronic hardware, computer software or a combination of the electronic hardware and the computer software.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. 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 disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (9)

1. An operation control method of a server, comprising the steps of:
detecting the electric quantity of the standby power supply set in response to the received starting instruction;
judging whether the electric quantity of the standby power supply pack is larger than a first preset electric quantity or not;
responding to the fact that the electric quantity of the standby power supply pack is larger than the first preset electric quantity, and judging whether the electric quantity of the standby power supply pack is larger than a second preset electric quantity;
controlling the server to execute read-only service in response to the fact that the electric quantity of the standby power supply set is smaller than the second preset electric quantity;
controlling the server not to execute any service in response to the electric quantity of the standby power supply set being less than the first preset electric quantity;
and charging the standby power supply set and continuously detecting the electric quantity of the standby power supply set until the electric quantity of the standby power supply set is larger than the first preset electric quantity.
2. The method of claim 1, further comprising the step of:
and charging the standby power supply set and continuously detecting the electric quantity of the standby power supply set until the electric quantity of the standby power supply set is larger than the second preset electric quantity.
3. The method of claim 1, further comprising the step of:
responding to the fact that the electric quantity of the standby power supply pack is larger than a second preset electric quantity, and judging whether the electric quantity of the standby power supply pack is larger than a third preset electric quantity;
and in response to the fact that the electric quantity of the standby power supply set is smaller than the third preset electric quantity, controlling the server to execute read-only service and write service by using a first cache technology.
4. The method of claim 3, further comprising the step of:
and charging the standby power supply set and continuously detecting the electric quantity of the standby power supply set until the electric quantity of the standby power supply set is larger than the third preset electric quantity.
5. The method of claim 3, further comprising the step of:
and in response to the electric quantity of the standby power supply set being larger than the third preset electric quantity, controlling the server to execute read-only service and write service by using a second cache technology.
6. The method of claim 3, wherein controlling the server to perform write transactions in a first caching technique further comprises:
and controlling the server to execute the write-in service in a write-through cache mode.
7. The method of claim 5, wherein controlling the server to perform write transactions in a second caching technique further comprises:
and controlling the server to execute the writing business in a way of writing back and caching.
8. A computer device, comprising:
at least one processor; and
memory storing a computer program operable on the processor, wherein the processor executes the program to perform the steps of the method according to any of claims 1-7.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method of any one of claims 1 to 7.
CN201910916860.2A 2019-09-26 2019-09-26 Operation control method and device of server and storage medium Active CN110737319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910916860.2A CN110737319B (en) 2019-09-26 2019-09-26 Operation control method and device of server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910916860.2A CN110737319B (en) 2019-09-26 2019-09-26 Operation control method and device of server and storage medium

Publications (2)

Publication Number Publication Date
CN110737319A CN110737319A (en) 2020-01-31
CN110737319B true CN110737319B (en) 2021-06-29

Family

ID=69269617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910916860.2A Active CN110737319B (en) 2019-09-26 2019-09-26 Operation control method and device of server and storage medium

Country Status (1)

Country Link
CN (1) CN110737319B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114442778A (en) * 2020-11-02 2022-05-06 微盟电子(昆山)有限公司 Power supply access method, power supply switching method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424970A (en) * 2007-11-01 2009-05-06 Lg电子株式会社 Portable computer and method of controlling power saving mode of portable computer
CN104199620A (en) * 2014-08-22 2014-12-10 华为技术有限公司 Data storage method and device
CN107135537A (en) * 2017-05-09 2017-09-05 深圳市万普拉斯科技有限公司 Control method, device and the terminal device of carrier aggregation
CN107506016A (en) * 2016-06-14 2017-12-22 伊姆西公司 Storage device and the method to storage device power supply
CN109388221A (en) * 2018-10-09 2019-02-26 郑州云海信息技术有限公司 A kind of storage system and its standby fulgurite reason method, apparatus and equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI473099B (en) * 2011-12-23 2015-02-11 Phison Electronics Corp Memory storage device, memory controller and controlling method
US9471129B2 (en) * 2014-08-07 2016-10-18 Empire Technology Development Llc Determining a write operation
US9665451B2 (en) * 2014-10-07 2017-05-30 Sandisk Technologies Llc Method and device for distributing holdup energy to memory arrays

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424970A (en) * 2007-11-01 2009-05-06 Lg电子株式会社 Portable computer and method of controlling power saving mode of portable computer
CN104199620A (en) * 2014-08-22 2014-12-10 华为技术有限公司 Data storage method and device
CN107506016A (en) * 2016-06-14 2017-12-22 伊姆西公司 Storage device and the method to storage device power supply
CN107135537A (en) * 2017-05-09 2017-09-05 深圳市万普拉斯科技有限公司 Control method, device and the terminal device of carrier aggregation
CN109388221A (en) * 2018-10-09 2019-02-26 郑州云海信息技术有限公司 A kind of storage system and its standby fulgurite reason method, apparatus and equipment

Also Published As

Publication number Publication date
CN110737319A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
US11914441B2 (en) Systems and methods for power outage protection of storage device
EP3667504B1 (en) Storage medium management method, device and readable storage medium
EP2093673A1 (en) A system and method with multi-level buffer
CN109062600B (en) Method and system for realizing online upgrade of firmware in solid state disk
US20200035299A1 (en) Method and system for power loss protection
CN110737319B (en) Operation control method and device of server and storage medium
US11921588B2 (en) System and method for data protection during power loss of a storage system
US20220334733A1 (en) Data restoration method and related device
CN110837444B (en) Memory fault processing method and device
CN113722364A (en) Redis use control method and device
CN114138838A (en) Data processing method and device, equipment and medium
CN111538536B (en) Method for formatting intelligent terminal, intelligent terminal and storage medium
CN105159846A (en) Method for supporting dual-control switching of virtualized disk and storage system
EP2618259B1 (en) Data erasable method of memory in smart card and smart card thereof
CN113412480B (en) Mounting processing method, mounting processing device, electronic equipment and computer readable storage medium
JP2009500771A (en) Power management during recording medium operation
CN113075992B (en) Memory power-on method, device, equipment and computer readable storage medium
CN110794945B (en) Storage server power supply method, device, equipment and storage medium
CN104113631A (en) Data transmission method and electronic apparatus
CN112506686A (en) Method and device for realizing log system of DCS (distributed control system) controller
CN101778359A (en) Method, device and communication terminal for receiving short message
KR101064834B1 (en) Instant bootable computing system and method using non-volatile random access memory
CN107910034A (en) The power-down protection circuit of flash storage
US20240036948A1 (en) Policy-driven alert management
KR101050623B1 (en) Error recovery method of NAD flash memory block

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