CN114647546A - Case abnormity processing method and device, electronic equipment and storage medium - Google Patents

Case abnormity processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114647546A
CN114647546A CN202210331401.XA CN202210331401A CN114647546A CN 114647546 A CN114647546 A CN 114647546A CN 202210331401 A CN202210331401 A CN 202210331401A CN 114647546 A CN114647546 A CN 114647546A
Authority
CN
China
Prior art keywords
chassis
address offset
register
case
detection result
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.)
Pending
Application number
CN202210331401.XA
Other languages
Chinese (zh)
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 CN202210331401.XA priority Critical patent/CN114647546A/en
Publication of CN114647546A publication Critical patent/CN114647546A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a case abnormity processing method and device, electronic equipment and a storage medium. The method comprises the following steps: receiving an access request from an access terminal; responding to the access request, and determining the address offset of a target register of the case in the current access cycle; under the condition that the data abnormity of the chassis is determined according to the address offset, detecting whether a call instruction acting on target data exists in the current access period to obtain a detection result; and executing exception handling operation corresponding to the detection result. According to the method, after the case receives an external access request, the address offset of the register in the case is automatically detected, whether the data in the case is normal or not can be determined by detecting the address offset of the register, and self-checking operation is performed before the data are fed back to the outside. Meanwhile, whether data call exists in the current period or not is detected to obtain a detection result, corresponding processing operation is executed according to the detection result, and relocation is not needed after abnormality occurs.

Description

Case abnormity processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a chassis exception, an electronic device, and a storage medium.
Background
The platform manages the chassis, most of the chassis need to be forwarded layer by layer, and layers participating in forwarding need to be checked as long as the result is abnormal, so that the cost of the positioning problem is increased; since the instruction generally maps the bar space of the register of the target device, and the target device is managed by reading and writing the bar space, in some extreme cases, an exception is not considered as an exception.
In the case management of the platform, generally, the platform needs to be driven to find the case, then the platform issues a management instruction to the case through the driving, the instruction of the platform is transmitted layer by layer and finally issued to the case, the case returns to the platform after completing the instruction and is also transmitted layer by layer, once an abnormality occurs, all layers through which data passes need to be suspected, and thus the difficulty of abnormality processing is increased.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the application provides a method and a device for handling case exception, an electronic device and a storage medium.
According to an aspect of the embodiments of the present application, there is provided a method for handling a chassis exception, including:
receiving an access request from an access terminal, wherein the access request is used for inquiring target data required by the access terminal from a chassis in a current access cycle;
in response to the access request, determining an address offset of a target register of the chassis in the current access cycle;
under the condition that the chassis is determined to have data abnormality according to the address offset, detecting whether a call instruction acting on the target data exists in the current access period or not to obtain a detection result;
and executing the exception handling operation corresponding to the detection result.
Further, the determining an address offset of a target register of the chassis in the current access cycle includes:
acquiring a first register address corresponding to the target register and a second register address of the target register in the current access cycle;
and calculating the address offset of the target register in the current access cycle based on the first register address and the second register address.
Further, after determining the address offset of the target register of the chassis in the current access cycle, the method further includes:
comparing the address offset with a preset address offset range;
and under the condition that the address offset does not fall into the preset address offset range, determining that data abnormality exists in the case, and determining the abnormal information of the case.
Further, the executing the exception handling operation corresponding to the detection result includes:
and under the condition that the detection result is that a calling instruction acting on the target data exists in the current access period, feeding back abnormal information of the case to the access terminal so that the access terminal cannot call the target data according to the calling instruction.
Further, the executing the exception handling operation corresponding to the detection result includes:
and ignoring the abnormal information under the condition that the detection result is that the calling instruction acting on the target data does not exist in the current access cycle.
Further, the method further comprises:
under the condition that the chassis is determined to have no data abnormality according to the address offset, collecting current operation information of the chassis;
performing health detection on the case according to the operation information to determine the health state of the case;
and reporting the health state and the operation information under the condition that the health state is a fault state.
Further, in the case that the health status is a normal status, the method includes:
detecting whether a calling instruction acting on the target data exists in the current access period;
and under the condition that a calling instruction acting on the target data exists in the current access period, feeding the target data back to the access terminal.
According to another aspect of the embodiments of the present application, there is also provided a device for handling a chassis exception, including:
the access module is used for receiving an access request from an access terminal, wherein the access request is used for inquiring target data required by the access terminal from a chassis in a current access cycle;
a determining module, configured to determine, in response to the access request, an address offset of a target register of the chassis in the current access cycle;
the detection module is used for detecting whether a call instruction acting on the target data exists in the current access cycle or not under the condition that the data abnormity exists in the case according to the address offset, so as to obtain a detection result;
and the execution module is used for executing the exception handling operation corresponding to the detection result.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that executes the above steps when the program is executed.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; a processor for executing the program stored in the memory to execute the steps of the method.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, after the case receives an external access request, the address offset of the register in the case can be automatically detected, whether the data in the case is normal can be determined by detecting the address offset of the register, and self-checking operation is performed before the data is fed back to the outside. Meanwhile, whether data call exists in the current period or not is detected to obtain a detection result, corresponding processing operation is executed according to the detection result, and the positioning is carried out again after abnormality does not occur any more.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application 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 for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a flowchart of a method for handling an exception of a chassis according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for handling a chassis exception according to another embodiment of the present application;
fig. 3 is a block diagram of a device for handling an exception of a chassis according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer and more fully described below with reference to the accompanying drawings in the embodiments of the present application, it is obvious that the described embodiments are some, but not all, embodiments of the present application, and the exemplary embodiments and descriptions thereof in the present application are used for explaining the present application and do not constitute an undue limitation on the present application. 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 application.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides a case abnormity processing method and device, electronic equipment and a storage medium. The method provided by the embodiment of the invention can be applied to any required electronic equipment, for example, the electronic equipment can be electronic equipment such as a server and a terminal, and the method is not particularly limited herein, and is hereinafter simply referred to as electronic equipment for convenience in description.
According to an aspect of the embodiments of the present application, a method embodiment of a method for handling a chassis exception is provided. Fig. 1 is a flowchart of a method for handling an exception of a chassis according to an embodiment of the present application, and as shown in fig. 1, the method includes:
and step S11, receiving an access request from the access terminal, wherein the access request is used for inquiring target data required by the access terminal from the chassis in the current access cycle.
The method provided by the embodiment of the application is applied to the out-of-band chassis, the out-of-band chassis receives the access request from the access terminal, the access terminal can be a control terminal of the out-of-band chassis, and after the out-of-band chassis receives the access request, the out-of-band chassis can inquire target data required by the access terminal in the current access period based on the access request. It should be noted that the out-of-band chassis can periodically process the access request issued by the access terminal by setting the access period, for example: and when the number of the access requests in the period exceeds the preset number, automatically putting the access requests exceeding the preset number into the next access period for processing.
Step S12, in response to the access request, determines the address offset of the target register of the chassis in the current access cycle.
In the embodiment of the present application, determining the address offset of the target register of the chassis in the current access cycle includes the following steps a1-a 2:
step a1, obtain a first register address corresponding to the target register, and a second register address of the target register in the current access cycle.
Step A2, based on the first register address and the second register address, calculates the address offset of the target register in the current access cycle.
In an embodiment of the application, in response to an access request, the out-of-band enclosure may determine whether a register address of a target register is offset. And the acquired first register address corresponding to the target register is the base address of the target register, and the second register address is the address of the target register in the current access cycle. And then comparing the first register address with the second register address, so that whether the register address of the target register is offset or not can be directly determined, and the address offset in the current access cycle can be determined.
In this embodiment of the present application, after determining an address offset of a target register of a chassis in a current access cycle, the method further includes: comparing the address offset with a preset address offset range; and under the condition that the address offset does not fall into the preset address offset range, determining that the case has data exception, and determining exception information of the case.
In the embodiment of the application, after the address offset of the target register in the current access cycle is obtained, the address offset is compared with the preset address offset range, so that whether the address offset falls into the preset address offset range is determined. And if the address offset does not fall into the preset address offset range, determining that the out-of-band case has an abnormal condition in the current access cycle, and determining the abnormal information of the out-of-band case at the moment. The exception information may be a loss of data or a tampering of data within the out-of-band chassis. And if the address offset falls into a preset address offset range, determining that the out-of-band chassis does not have abnormal conditions in the current access period.
Step S13, when it is determined that the chassis has data abnormality according to the address offset, detecting whether a call instruction acting on the target data exists in the current access cycle, and obtaining a detection result.
In the embodiment of the application, under the condition that the chassis is determined to have data exception according to the address offset, the out-of-band chassis actively detects whether the call instruction acting on the target data exists in the current access cycle, and obtains the detection result. It should be noted that, the out-of-band chassis detects whether there is a call instruction in the current access cycle, so as to prevent the data from being called under an abnormal condition, and effectively ensure reliability of data call.
In step S14, an exception handling operation corresponding to the detection result is performed.
In this embodiment of the present application, in step S14, the executing the exception handling operation corresponding to the detection result includes: and under the condition that the detection result is that the calling instruction acting on the target data exists in the current access period, feeding back the abnormal information of the case to the access terminal so that the access terminal cannot call the target data according to the calling instruction.
In the embodiment of the application, when the detection result is that a call instruction acting on the target data exists in the current access period, it is determined that the access terminal needs to apply the target data. Therefore, the out-of-band chassis actively feeds back the abnormal information of the chassis to the access terminal, and simultaneously the out-of-band chassis marks the state of the target data as an unavailable state in the current access period, so that the access terminal cannot call the target data according to the call instruction.
According to the method and the device, when the detection result is that the calling instruction acting on the target data exists in the current access period, the abnormal information can be actively fed back to the access terminal, the state of the target data is automatically marked to be the unavailable state, and the data in the out-of-band chassis is prevented from being called under the abnormal condition.
In this embodiment of the present application, in step S14, the executing an exception handling operation corresponding to the detection result includes: and ignoring the abnormal information under the condition that the detection result is that the calling instruction acting on the target data does not exist in the current access cycle.
In the embodiment of the application, when the detection result is that no call instruction acting on the target data exists in the current access period, it is determined that no access terminal has an application requirement on the target data, and the out-of-band chassis can automatically ignore the abnormal information at this time. It should be noted that, if there is no call instruction in the current access cycle, the exception information is ignored at this time, and the next access cycle is automatically entered.
According to the method provided by the embodiment of the application, after the case receives an external access request, the address offset of the register in the case can be automatically detected, whether the data in the case is normal can be determined by detecting the address offset of the register, and self-checking operation is performed before the data is fed back to the outside. Meanwhile, whether data calling exists in the current period or not is detected to obtain a detection result, corresponding processing operation is executed according to the detection result, and the positioning is not needed to be carried out again after abnormity occurs.
Fig. 2 is a flowchart of a method for handling an exception of a chassis according to an embodiment of the present application, and as shown in fig. 2, the method further includes:
step S21, collecting the current operation information of the chassis when it is determined that there is no data abnormality in the chassis according to the address offset.
In this embodiment of the present application, when it is determined that there is no data exception in the chassis according to the address offset, the current operation information of the chassis may be automatically collected, where the operation information includes: bit information, and working data, etc. Taking the obtained operation information as the operation data of the fan as an example, the operation information may include: the fan is in place; the operation is normal; the rotating speed is Cr/s; the temperature was T ℃. The memory is in place, the operation is normal, the residual storage capacity U and the utilization rate K are obtained. The operational data for different components contains different types of data.
And step S22, performing health detection on the case according to the operation information, and determining the health state of the case.
In the embodiment of the application, the running information is analyzed to determine the matching degree between the running information and the preset running information, and the health state of the chassis is determined according to the numerical range of the matching degree, wherein the preset running information is the running information of the chassis in normal running.
As an example, when the matching degree between the operation information and the preset operation information falls within a first numerical range, the health state is normal. And when the matching degree between the operation information and the preset operation information falls into a second numerical value range, the health state is general. When the matching degree between the operation information and the preset operation information falls within a third numerical range, the health state is poor. Wherein the first numerical range is greater than the second numerical range, and the second numerical range is greater than the third numerical range.
And step S23, reporting the health state and the running information under the condition that the health state is the fault state.
In the embodiment of the application, in the case that the health state is a normal state, the method comprises the following steps B1-B2:
step B1, whether there is a call instruction acting on the target data in the current access cycle is detected.
And step B2, feeding back the target data to the access terminal under the condition that the calling instruction acting on the target data exists in the current access period.
In the embodiment of the application, under the condition that it is determined that the chassis has no data abnormality according to the address offset and the health state is the normal state, if it is detected that a call instruction acting on the target data exists in the current access cycle, the target data is fed back to the access terminal.
It should be noted that, in the embodiment of the present application, after it is determined that there is no data abnormality in the chassis, the health state of the chassis needs to be further determined, so that it is ensured that data is not affected in the calling process, and the security and efficiency of data calling are ensured.
Fig. 3 is a block diagram of a device for handling an exception of a chassis according to an embodiment of the present application, where the device may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 3, the apparatus includes:
a receiving module 31, configured to receive an access request from an access terminal, where the access request is used to query target data required by the access terminal from a chassis in a current access cycle;
a determining module 32, configured to determine, in response to the access request, an address offset of a target register of the chassis in a current access cycle;
the detection module 33 is configured to detect whether a call instruction acting on the target data exists in the current access cycle to obtain a detection result when it is determined that the data abnormality exists in the chassis according to the address offset.
And the execution module 34 is configured to execute an exception handling operation corresponding to the detection result.
In this embodiment of the present application, the determining module 32 is configured to obtain a first register address corresponding to a target register, and a second register address of the target register in a current access cycle; and calculating the address offset of the target register in the current access cycle based on the first register address and the second register address.
In this embodiment of the present application, the apparatus for processing a chassis exception further includes: the comparison module is used for comparing the address offset with a preset address offset range; and under the condition that the address offset does not fall into the preset address offset range, determining that the case has data exception, and determining exception information of the case.
In this embodiment of the application, the execution module 34 is configured to, when the detection result is that a call instruction acting on the target data exists in the current access cycle, feed back the abnormal information of the chassis to the access terminal, so that the access terminal cannot call the target data according to the call instruction.
In this embodiment of the present application, the execution module 34 is configured to ignore exception information when the detection result is that there is no call instruction acting on the target data in the current access cycle.
In this embodiment of the present application, the apparatus for processing a chassis exception further includes: the collecting module is used for collecting the current operation information of the case under the condition that the case is determined to have no data abnormality according to the address offset; performing health detection on the case according to the operation information to determine the health state of the case; and reporting the health state and the running information under the condition that the health state is a fault state.
In this embodiment of the present application, the apparatus for processing a chassis exception further includes: the detection module is used for detecting whether a call instruction acting on the target data exists in the current access cycle under the condition that the health state is a normal state; and under the condition that a calling instruction acting on the target data exists in the current access period, feeding the target data back to the access terminal.
According to the method and the device, after the case receives an external access request, the detection module can automatically detect the address offset of the register in the case, whether the data in the case are normal or not can be determined by detecting the address offset of the register, and self-checking operation is performed before the data are fed back to the outside. Meanwhile, whether data calling exists in the current period or not is detected to obtain a detection result, the execution module executes corresponding processing operation according to the detection result, and the positioning is carried out again after abnormality does not occur.
An embodiment of the present application further provides an electronic device, as shown in fig. 4, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the foregoing embodiments when executing the computer program stored in the memory 1503.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment provided by the present application, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to perform a method for handling a chassis exception, the method including:
receiving an access request from an access terminal, wherein the access request is used for inquiring target data required by the access terminal from a chassis in a current access cycle;
responding to the access request, and determining the address offset of a target register of the chassis in the current access cycle;
under the condition that the data abnormity of the chassis is determined according to the address offset, detecting whether a call instruction acting on target data exists in the current access period to obtain a detection result;
and executing the exception handling operation corresponding to the detection result.
Further, determining an address offset of a target register of the chassis in the current access cycle includes:
acquiring a first register address corresponding to a target register and a second register address of the target register in a current access cycle;
and calculating the address offset of the target register in the current access cycle based on the first register address and the second register address.
Further, after determining the address offset of the target register of the chassis in the current access cycle, the method further includes:
comparing the address offset with a preset address offset range;
and under the condition that the address offset does not fall into the preset address offset range, determining that the case has data exception, and determining exception information of the case.
Further, executing an exception handling operation corresponding to the detection result, including:
and under the condition that the detection result is that the calling instruction acting on the target data exists in the current access period, feeding back the abnormal information of the case to the access terminal so that the access terminal cannot call the target data according to the calling instruction.
Further, executing an exception handling operation corresponding to the detection result, including:
and ignoring the abnormal information under the condition that the detection result is that the calling instruction acting on the target data does not exist in the current access cycle.
Further, the method further comprises:
under the condition that the chassis is determined to have no data exception according to the address offset, collecting current operation information of the chassis;
performing health detection on the case according to the operation information to determine the health state of the case;
and reporting the health state and the running information under the condition that the health state is a fault state.
Further, in the case that the health status is a normal status, the method includes:
detecting whether a call instruction acting on target data exists in a current access period;
and under the condition that a calling instruction acting on the target data exists in the current access period, feeding the target data back to the access terminal. .
In another embodiment provided by the present application, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for handling a chassis exception according to any one of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for processing case exception is characterized by comprising the following steps:
receiving an access request from an access terminal, wherein the access request is used for inquiring target data required by the access terminal from a chassis in a current access cycle;
in response to the access request, determining an address offset of a target register of the chassis in the current access cycle;
under the condition that the chassis is determined to have data abnormality according to the address offset, detecting whether a call instruction acting on the target data exists in the current access period or not to obtain a detection result;
and executing the exception handling operation corresponding to the detection result.
2. The method of claim 1, wherein determining the address offset of the destination register of the chassis in the current access cycle comprises:
acquiring a first register address corresponding to the target register and a second register address of the target register in the current access cycle;
and calculating the address offset of the target register in the current access cycle based on the first register address and the second register address.
3. The method of claim 1, wherein after determining the address offset of the destination register of the chassis within the current access cycle, the method further comprises:
comparing the address offset with a preset address offset range;
and under the condition that the address offset does not fall into the preset address offset range, determining that data abnormality exists in the case, and determining abnormal information of the case.
4. The method according to claim 3, wherein the performing of the exception handling operation corresponding to the detection result comprises:
and under the condition that the detection result is that a calling instruction acting on the target data exists in the current access cycle, feeding back the abnormal information of the case to the access terminal so that the access terminal cannot call the target data according to the calling instruction.
5. The method according to claim 3, wherein the performing of the exception handling operation corresponding to the detection result comprises:
and ignoring the abnormal information under the condition that the detection result is that the calling instruction acting on the target data does not exist in the current access cycle.
6. The method of claim 1, further comprising:
under the condition that the chassis is determined to have no data abnormality according to the address offset, collecting current operation information of the chassis;
performing health detection on the case according to the operation information to determine the health state of the case;
and reporting the health state and the operation information under the condition that the health state is a fault state.
7. The method according to claim 6, wherein in the case where the health state is a normal state, the method comprises:
detecting whether a calling instruction acting on the target data exists in the current access period;
and under the condition that a calling instruction acting on the target data exists in the current access cycle, feeding the target data back to the access terminal.
8. An apparatus for handling an exception in a chassis, comprising:
the access module is used for receiving an access request from an access terminal, wherein the access request is used for inquiring target data required by the access terminal from a chassis in a current access cycle;
a determining module, configured to determine, in response to the access request, an address offset of a target register of the chassis in the current access cycle;
the detection module is used for detecting whether a calling instruction acting on the target data exists in the current access cycle or not under the condition that the data abnormity exists in the case according to the address offset, so as to obtain a detection result;
and the execution module is used for executing the exception handling operation corresponding to the detection result.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is operative to perform the method steps of any of the preceding claims 1 to 7.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus; wherein:
a memory for storing a computer program;
a processor for performing the method steps of any of claims 1-7 by executing a program stored on a memory.
CN202210331401.XA 2022-03-30 2022-03-30 Case abnormity processing method and device, electronic equipment and storage medium Pending CN114647546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210331401.XA CN114647546A (en) 2022-03-30 2022-03-30 Case abnormity processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210331401.XA CN114647546A (en) 2022-03-30 2022-03-30 Case abnormity processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114647546A true CN114647546A (en) 2022-06-21

Family

ID=81996143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210331401.XA Pending CN114647546A (en) 2022-03-30 2022-03-30 Case abnormity processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114647546A (en)

Similar Documents

Publication Publication Date Title
CN110213068B (en) Message middleware monitoring method and related equipment
JP4786218B2 (en) Information processing apparatus, information processing apparatus control method, and program
CN110262918B (en) Process crash analysis method and device, distributed equipment and storage medium
WO2020233066A1 (en) Abnormity processing method based on data computation link, and related device
CN113259183B (en) Network relay control method and device, electronic equipment and storage medium
JP2007323193A (en) System, method and program for detecting abnormality of performance load
CN110633977A (en) Payment exception processing method and device and terminal equipment
CN113645085B (en) Method and device for detecting abnormality of intelligent network card, electronic equipment and storage medium
CN110069217B (en) Data storage method and device
CN110955581A (en) Online software abnormity warning method and device, electronic equipment and storage medium
CN112988439B (en) Server fault discovery method and device, electronic equipment and storage medium
CN115037653B (en) Service flow monitoring method, device, electronic equipment and storage medium
CN114647546A (en) Case abnormity processing method and device, electronic equipment and storage medium
CN114500249B (en) Root cause positioning method and device
CN110955587A (en) Method and device for determining equipment to be replaced
CN114584454B (en) Processing method and device of server information, electronic equipment and storage medium
CN114721909A (en) Server information processing method and device, electronic equipment and storage medium
CN114356211A (en) Storage space processing method and device, electronic equipment and storage medium
CN114564349A (en) Server monitoring method and device, electronic equipment and storage medium
CN112214437B (en) Storage device, communication method and device and computer readable storage medium
CN110083509B (en) Method and device for arranging log data
CN114860432A (en) Method and device for determining information of memory fault
CN114328080A (en) Firmware state detection method and device and electronic equipment
CN114265741A (en) Task monitoring method and device
CN114090293A (en) Service providing method and electronic equipment

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