CN109491882B - Case data processing method and system, equipment case and readable storage medium - Google Patents

Case data processing method and system, equipment case and readable storage medium Download PDF

Info

Publication number
CN109491882B
CN109491882B CN201811312829.XA CN201811312829A CN109491882B CN 109491882 B CN109491882 B CN 109491882B CN 201811312829 A CN201811312829 A CN 201811312829A CN 109491882 B CN109491882 B CN 109491882B
Authority
CN
China
Prior art keywords
case data
data
chassis
variable
variable value
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
CN201811312829.XA
Other languages
Chinese (zh)
Other versions
CN109491882A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811312829.XA priority Critical patent/CN109491882B/en
Publication of CN109491882A publication Critical patent/CN109491882A/en
Application granted granted Critical
Publication of CN109491882B publication Critical patent/CN109491882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available

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)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a case data processing method, which uses different variable names to represent corresponding case data so as to be positioned quickly by means of the variable names, and simultaneously establishes a case data maintenance table comprising the corresponding relation between the variable names and the variable values of each case data, namely, when a case data access request is received, corresponding case data can be directly searched in the table according to the target variable names. The application also discloses a case data processing system, an equipment case and a computer readable storage medium, which have the beneficial effects.

Description

Case data processing method and system, equipment case and readable storage medium
Technical Field
The present application relates to the field of enclosure data processing technologies, and in particular, to an enclosure data processing method, an enclosure data processing system, an equipment enclosure, and a computer-readable storage medium.
Background
With the development of automation technology, data sensing and collection are widely realized by using sensors, in a case of each physical terminal, in order to accurately monitor the operation state of the terminal, various functional components and sensors are arranged in the case to acquire various parameters of the terminal, and the current operation state of the terminal is determined through the parameters.
In order to determine the current operating state and to adjust the operating state, two parameter debugging methods exist: GDB single step debugging and printf serial port information printing, wherein GDB (a debugging tool applied to a Linux system) debugging is not suitable for low-speed processing tasks of a non-Linux system; the mode of printf printing serial port information can not only block the execution of other tasks of the system when a large amount of information is printed at the baud rate of 115200, but also the printf can only print the log information of the preset written serial port in advance, and if the log information of the non-preset serial port needs to be printed, the function code needs to be rewritten, which is very tedious. And if the data to be debugged generates a recurring problem, destroying the original function code will interfere the occurrence of the original problem.
Therefore, a need exists in the art for a method for processing chassis data that can read and debug target chassis data at any time and is more convenient to locate, so as to overcome various technical problems existing in the conventional manner of debugging chassis data.
Disclosure of Invention
The invention aims to provide a case data processing method, which uses different variable names to represent corresponding case data so as to be conveniently and quickly positioned in a variable name mode, and simultaneously establishes a case data maintenance table comprising the corresponding relation between the variable name and the variable value of each case data, namely when a case data access request is received, corresponding case data can be directly searched in the table according to a target variable name.
It is another object of the present application to provide a chassis data processing system, an equipment chassis, and a computer readable storage medium.
In order to achieve the above object, the present application provides a method for processing data of a chassis, including:
receiving a case data access request, and analyzing to obtain a target variable name and an operation instruction; wherein the operation instruction comprises a read operation and a write operation;
searching a target variable value in a case data maintenance table according to the target variable name; the case data maintenance table comprises the corresponding relation between the variable name and the variable value of each case data;
and executing corresponding read operation or write operation on the target variable value according to the operation instruction.
Optionally, the data processing method of the chassis further includes:
respectively endowing variable names to each type of the chassis data in advance according to preset rules;
establishing a corresponding relation between the variable name and the variable value of each type of the case data in a key value pair mode;
and establishing the case data maintenance table according to the corresponding relations.
Optionally, executing a corresponding read operation or write operation on the target variable value according to the operation instruction includes:
when the operation instruction is a read instruction, reading and returning the target variable value;
and when the operation instruction is a write instruction, receiving input manual debugging data, and modifying the target variable value into the manual debugging data so as to synchronize modification into a chassis operation system after the target variable value is modified.
Optionally, the data processing method of the chassis further includes:
and querying all variable names with the same variable keywords in the case data maintenance table by using the variable keywords.
Optionally, the data processing method of the chassis further includes:
detecting whether abnormal case data exist in the case data maintenance table;
and if the abnormal case data exists, reporting abnormal information carrying the variable name of the abnormal case data through a preset path.
To achieve the above object, the present application also provides a chassis data processing system, including:
the request receiving and analyzing unit is used for receiving a case data access request and analyzing the case data access request to obtain a target variable name and an operation instruction; wherein the operation instruction comprises a read operation and a write operation;
the target variable value look-up table determining unit is used for looking up a target variable value in a case data maintenance table according to the target variable name; the case data maintenance table comprises the corresponding relation between the variable name and the variable value of each case data;
and the operation instruction execution unit is used for executing corresponding read operation or write operation on the target variable value according to the operation instruction.
Optionally, the data processing system of the chassis further includes:
the variable name endowing unit is used for endowing variable names to each type of the chassis data in advance according to preset rules;
the corresponding relation establishing unit is used for establishing corresponding relation between the variable name and the variable value of each type of the case data in a key value pair mode;
and the case data maintenance table establishing unit is used for establishing the case data maintenance table according to each corresponding relation.
Optionally, the operation instruction execution unit includes:
the read instruction execution subunit is used for reading and returning the target variable value when the operation instruction is a read instruction;
and the write instruction execution subunit is used for receiving input manual debugging data and modifying the target variable value into the manual debugging data when the operation instruction is a write instruction, so that the modification is synchronized into the chassis operating system after the target variable value is modified.
Optionally, the data processing system of the chassis further includes:
and the keyword table look-up unit is used for inquiring all variable names with the same variable keywords in the case data maintenance table by using the variable keywords.
Optionally, the data processing system of the chassis further includes:
the abnormal data detection unit is used for detecting whether abnormal case data exist in the case data maintenance table;
and the abnormal information reporting unit is used for reporting the abnormal information carrying the variable name of the abnormal case data through a preset path when the abnormal case data exists.
In order to achieve the above object, the present application further provides an equipment enclosure, including:
a memory for storing a computer program;
a processor for implementing the steps of the chassis data processing method as described above when executing the computer program.
To achieve the above object, the present application also provides a computer readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the cabinet data processing method as described in the above.
Obviously, according to the case data processing method provided by the application, different variable names are used for representing corresponding case data so as to facilitate quick positioning in a variable name mode, and meanwhile, a case data maintenance table comprising the corresponding relation between the variable name and the variable value of each case data is established, so that when a case data access request is received, the corresponding case data can be directly searched in the table according to the target variable name. The application also provides a case data processing system, an equipment case and a computer readable storage medium, which have the beneficial effects and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing data of a chassis according to an embodiment of the present application;
fig. 2 is a flowchart of another enclosure data processing method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating defining various chassis numbers by a data read management thread according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating debugging of target enclosure data by a debugging thread using an enclosure data maintenance table according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating execution of a read instruction by a debug thread according to an embodiment of the present disclosure;
FIG. 6 is a flowchart illustrating another example of executing a read instruction by a debug thread according to an embodiment of the present disclosure;
FIG. 7 is a flowchart illustrating execution of a write instruction by a debug thread according to an embodiment of the present disclosure;
fig. 8 is a block diagram of a data processing system of a chassis according to an embodiment of the present disclosure.
Detailed Description
The core of the application is to provide a case data processing method, a system, an equipment case and a computer readable storage medium, wherein different variable names are used for representing corresponding case data so as to be conveniently and quickly positioned in a variable name mode, and a case data maintenance table comprising the corresponding relation between the variable name and the variable value of each case data is simultaneously established, so that when a case data access request is received, the corresponding case data can be directly searched in the table according to the target variable name.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. 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.
Example one
Referring to fig. 1, fig. 1 is a flowchart of a method for processing data in a chassis according to an embodiment of the present application, including the following steps:
s101: receiving a case data access request, and analyzing to obtain a target variable name and an operation instruction;
the step is to receive a case data access request, and analyze the case data access request to obtain a variable name (target variable name) of target case data and an operation instruction for executing any operation on specific parameters of the case data corresponding to the target variable name. The operation instruction specifically comprises a reading instruction for reading the specific parameter and a writing instruction for overwriting the original specific parameter by using the newly input specific parameter.
It should be noted that, in this embodiment, a scenario in which different variable names represent different enclosure data is established, that is, each enclosure data is given a corresponding variable name in advance according to a certain rule, so as to conveniently locate target enclosure data directly through the variable name, and what corresponds to the variable name is a variable value, which is a specific parameter of the corresponding type of enclosure data. In order to facilitate the query, the variable name and the variable value of the concerned case data can be corresponded, and a case data maintenance table is established to directly query various target case data in the case data maintenance table summarizing various parameters.
S102: searching a target variable value in a case data maintenance table according to the target variable name;
in addition to S101, this step is intended to search the box data maintenance table for the target variable value using the target variable name obtained by analyzing the box data access request, and since the box data maintenance table includes the correspondence between the variable name of each piece of box data and each variable value, the variable value of the box data corresponding to the target variable name can be obtained according to the correspondence.
S103: and executing corresponding read operation or write operation on the target variable value according to the operation instruction.
On the basis of S102, this step is intended to perform a corresponding read operation or write operation on the target variable value according to the parsed operation instruction. Specifically, the read operation refers to reading a target variable value and returning to an upper layer; the write operation is usually used when manual debugging needs to be performed by using manual debugging data, and the access request also includes the manual debugging data, for example, real-time voltage data of the debugging device is to be assumed that a voltage value output by a real-time variable serial port is 2.5V, and needs to be adjusted to 3.0V, and at this time, the manual debugging parameter of "3.0V" needs to be used to cover the original parameter of "2.5V".
It should be noted that, in order to enable the manual debugging data to truly replace the original target variable value to run under the chassis system after modifying the chassis data in the chassis data maintenance table, it is also necessary to modify the data in the table under the chassis system synchronously after detecting that the data is modified by the manual debugging data.
It should be noted that some kinds of chassis data do not support manual debugging, for example, chassis data with a read-only identifier attached thereto may not perform a write operation for such data, may return an unexecutable signal, and may also be performed as a read operation.
Furthermore, when the concerned case data is summarized and maintained by constructing a case data maintenance table, an abnormal case data monitoring threshold value can be further set, and when the specific parameters of some case data exceed the preset threshold value, abnormal notification information is reported, so that besides an active query mechanism, a passive reporting mechanism can be provided.
Based on the above technical solution, in the case data processing method provided in the embodiments of the present application, different variable names are used to represent corresponding case data, so as to facilitate quick positioning by means of the variable names, and at the same time, a case data maintenance table including a correspondence between the variable names and the variable values of each case data is established, that is, when a case data access request is received, corresponding case data is directly searched in the table according to a target variable name.
Example two
Referring to fig. 2, fig. 2 is a flowchart of another chassis data processing method provided in this embodiment of the present application, and compared with the first embodiment, the present embodiment provides a method how to establish a chassis data maintenance table through S201, S202, and S203, and specifically provides a method how to execute a write instruction and a read instruction through S206 and S207, it should be noted that both of the two parts may form a separate embodiment on the basis of the first embodiment, the present embodiment exists only as an embodiment that includes the two parts in a preferred manner at the same time, and the real-time steps of the present embodiment are as follows:
s201: respectively giving variable names to each case data in advance according to preset rules;
the preset rule can be flexibly adjusted according to different terminal devices actually applied, for example, variable names can be respectively given to each case data in a sequential sorting mode, and the variable names can be in the forms of 01, 02 and 03, and can also be in the forms of 1-, 2-, 3-and the like; variable names can be given according to the type names of all kinds of cabinet data, for example, although the same type of cabinet data belongs to VOLTAGE data, the VOLTAGE of the component 1 and the VOLTAGE of the component 2 may exist, at this time, the variable names of the two kinds of VOLTAGE data can be used in a way of VOLTAGE-01 and VOLTAGE-02, in this way, the same type of fuzzy query can be realized according to the same key words owned by the same type of data, and then the same kind of cabinet data can be searched through one-time access request.
S202: establishing a corresponding relation between the variable name and the variable value of each case data in a key value pair mode;
the method mainly comprises the steps of establishing a corresponding relation between a variable name and a variable value of each case data based on a key value pair mode, namely, the variable name is used as a key in a key value pair, the variable value is used as a value in the key value pair, the variable name and the variable value form a key value pair together, and the case data maintenance table established based on the method can be used for searching the corresponding value through the input key.
S203: establishing a case data maintenance table according to each corresponding relation;
s204: receiving a case data access request, and analyzing to obtain a target variable name and an operation instruction;
s205: searching a target variable value in a case data maintenance table according to the target variable name;
s206: when the operation instruction is a write instruction, receiving input manual debugging data, and modifying a target variable value into the manual debugging data so as to synchronize modification into a chassis operation system after the target variable value is modified;
s207: when the operation instruction is embodied as a read instruction, the target variable value is read and returned.
EXAMPLE III
In order to deepen understanding of the invention of the present application, the present embodiment will provide a specific implementation manner in combination with a specific application scenario, and the purpose to be achieved by the present application will be achieved by a newly created chassis management program in the present embodiment:
the case management program comprises a management thread _ thread, a debugging thread debug _ thread and a resource array debug _ data, wherein the management thread _ thread defines a variable name (variable) for each case data respectively, a corresponding variable name definition method can be selected according to the use of the case data, specific output parameters can also be selected according to the actual use, and the working process can refer to fig. 3; the debugging thread debug _ thread counts the case data concerned by the user, namely the value needing real-time detection, and then extracts corresponding specific parameters such as temperature, voltage, phy, slot, psu and other information through the input variable name, and the working process can be seen in fig. 4; the resource array debug _ data includes a variable name (source _ name) and a variable value resource _ value of each piece of chassis data, where the variable name may also be referred to as a resource name.
The management thread manager _ thread monitors various chassis data, and when the chassis data is updated, the chassis data is immediately updated into the resource array debug _ data, that is to say, the resource array debug _ data is used as a data table to maintain the latest values of various chassis data.
Defining a read instruction as "read resource _ name" and a write instruction as "write resource _ value", where a reading mode of individual chassis data and a reading mode of a type of chassis data are provided, where a variable value corresponding to "resource _ name" can be found by inputting a command "read resource _ name", for example, when a threshold of a temperature of a certain component is to be checked, a command "read TEMP _ OVER _ WARNING _ THRES" can be directly input, and the command "TEMP _ OVER _ WARNING _ THRES" is used as a resource _ name, as shown in fig. 5; for convenience of memory and query, the chassis data of the same category can contain approximately the same keywords in the resource names; such as: the temperature data of various components and devices includes a keyword (key board) shaped like 'TEMP _', the VOLTAGE data includes a keyword shaped like 'VOLTAGE', the threshold data includes a keyword shaped like 'THRES', the STATUS data includes a keyword shaped like 'STATUS', therefore, all variable names (resource names) including 'key' can be inquired by inputting read resource _ key, and the variable value of each variable name is returned, which is convenient for looking up a kind of data, as shown in fig. 6.
For data that is not read from the actual hardware, the nomenclature can be entered: the logic value of the code is changed by the way of the write resource _ name, so that the code is changed, and the influence generated after the new parameter is placed is observed, so that whether the code logic is normal can be conveniently checked, and the method is also a way of manual fault injection test, and can be seen in fig. 7.
Because the read-write operation executed in the thread is simpler, and compared with the read operation, the number of times of executing the write operation is less, the variable value of the existing variable name is mostly read, the CPU resource occupancy rate of the code is low, and the method is more suitable for the field of chassis data management. And through the mode of quick-witted case data maintenance table, can realize the debugging to the variable value at any time, with extremely convenient mode, be convenient for know running state's change process, it is easier to the location of the recurrence condition that appears in-process.
In the method for processing the chassis data based on the chassis data maintenance table provided by this embodiment, only the concerned chassis data needs to be added to the table, and the variable value corresponding to the variable name can be read and written by a simple read-write instruction without changing the code. And the variable name is used for identifying each type of case data, so that the user can conveniently inquire and memorize the case data.
The program debugging is facilitated at the early stage of the project, extra printed contents do not need to be added in advance like a printf mode, and whether the driver is called up or not can be verified conveniently; the printing information does not need to be added word by word and sentence by sentence, the repeated modification of the code is reduced, and the development efficiency is improved; in the middle stage of a project, some logic variables are modified through writing instructions, normal logic is changed, abnormal working conditions are simulated, and the method is used as a fault injection mode and is a convenient test and verification link; in the later stage of the project, hardware faults can be conveniently positioned through reading operation and a preset alarm mechanism; even on the production line or the client site, many problems are conveniently positioned by the method, so that the measurement and troubleshooting of the oscilloscopes one by one are omitted, the hardware troubleshooting range is reduced, and the detection efficiency is improved.
Because the situation is complicated and cannot be illustrated by a list, a person skilled in the art can realize that many examples exist according to the basic method principle provided by the application and the practical situation, and the protection scope of the application should be protected without enough inventive work.
Referring to fig. 8, fig. 8 is a block diagram of a chassis data processing system according to an embodiment of the present disclosure, where the chassis data processing system may include:
the request receiving and analyzing unit 100 is configured to receive a chassis data access request and analyze the data access request to obtain a target variable name and an operation instruction; wherein the operation instruction comprises a read operation and a write operation;
a target variable value look-up table determining unit 200 for looking up a target variable value in the machine case data maintenance table according to the target variable name; the case data maintenance table comprises the corresponding relation between the variable name and the variable value of each case data;
and an operation instruction execution unit 300 for executing a corresponding read operation or write operation on the target variable value according to the operation instruction.
Further, the chassis data processing system may further include:
the variable name endowing unit is used for endowing variable names to each case data in advance according to preset rules;
the corresponding relation establishing unit is used for establishing corresponding relation between the variable name and the variable value of each case data in a key value pair mode;
and the case data maintenance table establishing unit is used for establishing a case data maintenance table according to each corresponding relation.
The operation instruction execution unit 300 may include:
the read instruction execution subunit is used for reading and returning the target variable value when the operation instruction is a read instruction;
and the write instruction execution subunit is used for receiving the input manual debugging data and modifying the target variable value into the manual debugging data when the operation instruction is specifically the write instruction, so that the modification is synchronized into the chassis running system when the target variable value is modified.
Furthermore, the chassis data processing system may further include:
the key word table look-up unit is used for inquiring all variable names with the same variable key words in the case data maintenance table by using the variable key words;
the abnormal data detection unit is used for detecting whether abnormal case data exist in the case data maintenance table;
and the abnormal information reporting unit is used for reporting the abnormal information carrying the variable name of the abnormal case data through a preset path when the abnormal case data exists.
Based on the foregoing embodiments, the present application further provides an apparatus enclosure, where the apparatus enclosure may include a memory and a processor, where the memory stores a computer program, and when the processor calls the computer program in the memory, the steps provided in the foregoing embodiments may be implemented. Of course, the equipment cabinet may also include various necessary network interfaces, power supplies, other components, and the like.
The present application also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by an execution terminal or processor, can implement the steps provided by the above-mentioned embodiments. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The principle and the implementation of the present application are described herein by applying specific examples, and in order to make the various embodiments have a progressive relationship, each embodiment focuses on the differences from the other embodiments, and the same and similar parts among the various embodiments may be referred to each other. For the apparatus disclosed in the embodiments, reference is made to the corresponding method section. The above description of the embodiments is only intended to help understand the method of the present application and its core ideas. It will be apparent to those skilled in the art that various changes and modifications can be made in the present invention without departing from the principles of the invention, and these changes and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another 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.

Claims (10)

1. A case data processing method is characterized by comprising the following steps:
receiving a case data access request, and analyzing to obtain a target variable name and an operation instruction; wherein the operation instruction comprises a read operation and a write operation;
searching a target variable value in a case data maintenance table according to the target variable name; the case data maintenance table comprises the corresponding relation between the variable name and the variable value of each case data;
executing corresponding read operation or write operation on the target variable value according to the operation instruction;
in the middle stage of a project, a target logic variable is modified through a write instruction, normal logic is changed, and an abnormal working condition is simulated, so that the method is a fault injection mode and is a convenient test and verification link; and at the later stage of the project, positioning hardware faults through reading operation and a preset alarm mechanism.
2. The chassis data processing method of claim 1, further comprising:
respectively endowing variable names to each type of the chassis data in advance according to preset rules;
establishing a corresponding relation between the variable name and the variable value of each type of the case data in a key value pair mode;
and establishing the case data maintenance table according to the corresponding relations.
3. The chassis data processing method of claim 1, wherein performing a corresponding read operation or write operation on the target variable value according to the operation instruction comprises:
when the operation instruction is a read instruction, reading and returning the target variable value;
and when the operation instruction is a write instruction, receiving input manual debugging data, and modifying the target variable value into the manual debugging data so as to synchronize modification into a chassis operation system after the target variable value is modified.
4. The chassis data processing method of any of claims 1 to 3, further comprising:
and querying all variable names with the same variable keywords in the case data maintenance table by using the variable keywords.
5. The chassis data processing method of claim 4, further comprising:
detecting whether abnormal case data exist in the case data maintenance table;
and if the abnormal case data exists, reporting abnormal information carrying the variable name of the abnormal case data through a preset path.
6. A chassis data processing system, comprising:
the request receiving and analyzing unit is used for receiving a case data access request and analyzing the case data access request to obtain a target variable name and an operation instruction; wherein the operation instruction comprises a read operation and a write operation;
the target variable value look-up table determining unit is used for looking up a target variable value in a case data maintenance table according to the target variable name; the case data maintenance table comprises a corresponding relation between the variable name of each case data and the variable value of each case data output;
the operation instruction execution unit is used for executing corresponding read operation or write operation on the target variable value according to the operation instruction; in the middle stage of a project, a target logic variable is modified through a write instruction, normal logic is changed, and an abnormal working condition is simulated, so that the method is a fault injection mode and is a convenient test and verification link; and at the later stage of the project, positioning hardware faults through reading operation and a preset alarm mechanism.
7. The chassis data processing system of claim 6, further comprising:
the variable name endowing unit is used for endowing variable names to each type of the chassis data in advance according to preset rules;
the corresponding relation establishing unit is used for establishing corresponding relation between the variable name and the variable value of each type of the case data in a key value pair mode;
and the case data maintenance table establishing unit is used for establishing the case data maintenance table according to each corresponding relation.
8. The chassis data processing system of claim 6, wherein the operational instruction execution unit comprises:
the read instruction execution subunit is used for reading and returning the target variable value when the operation instruction is a read instruction;
and the write instruction execution subunit is used for receiving input manual debugging data and modifying the target variable value into the manual debugging data when the operation instruction is a write instruction, so that the modification is synchronized into the chassis operating system after the target variable value is modified.
9. A cabinet data processing apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the chassis data processing method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the cabinet data processing method according to any one of claims 1 to 5.
CN201811312829.XA 2018-11-06 2018-11-06 Case data processing method and system, equipment case and readable storage medium Active CN109491882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811312829.XA CN109491882B (en) 2018-11-06 2018-11-06 Case data processing method and system, equipment case and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811312829.XA CN109491882B (en) 2018-11-06 2018-11-06 Case data processing method and system, equipment case and readable storage medium

Publications (2)

Publication Number Publication Date
CN109491882A CN109491882A (en) 2019-03-19
CN109491882B true CN109491882B (en) 2021-10-29

Family

ID=65695213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811312829.XA Active CN109491882B (en) 2018-11-06 2018-11-06 Case data processing method and system, equipment case and readable storage medium

Country Status (1)

Country Link
CN (1) CN109491882B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309253B (en) * 2020-01-21 2023-01-10 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for converting state of machine case port
CN111625330A (en) * 2020-05-18 2020-09-04 北京达佳互联信息技术有限公司 Cross-thread task processing method and device, server and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532737A (en) * 2013-09-18 2014-01-22 瑞斯康达科技发展股份有限公司 Method, device and system for processing various types of alarms
WO2016133880A1 (en) * 2015-02-18 2016-08-25 Ab Initio Technology Llc Querying a data source on a network
CN107391087A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of method and device of hardware information read-write
CN107479895A (en) * 2017-08-22 2017-12-15 郑州云海信息技术有限公司 A kind of method for parameter configuration and device of same platform project
CN107832455A (en) * 2017-11-24 2018-03-23 郑州云海信息技术有限公司 A kind of data capture method of storage object, system, equipment and storage medium
CN107992372A (en) * 2017-12-13 2018-05-04 郑州云海信息技术有限公司 A kind of chassis information exchange method, system, equipment and computer-readable storage medium
CN108170583A (en) * 2018-01-26 2018-06-15 郑州云海信息技术有限公司 Machine box for server management method, device, system and readable storage medium storing program for executing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9317349B2 (en) * 2013-09-11 2016-04-19 Dell Products, Lp SAN vulnerability assessment tool
US10095716B1 (en) * 2017-04-02 2018-10-09 Sas Institute Inc. Methods, mediums, and systems for data harmonization and data harmonization and data mapping in specified domains

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532737A (en) * 2013-09-18 2014-01-22 瑞斯康达科技发展股份有限公司 Method, device and system for processing various types of alarms
WO2016133880A1 (en) * 2015-02-18 2016-08-25 Ab Initio Technology Llc Querying a data source on a network
CN107391087A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of method and device of hardware information read-write
CN107479895A (en) * 2017-08-22 2017-12-15 郑州云海信息技术有限公司 A kind of method for parameter configuration and device of same platform project
CN107832455A (en) * 2017-11-24 2018-03-23 郑州云海信息技术有限公司 A kind of data capture method of storage object, system, equipment and storage medium
CN107992372A (en) * 2017-12-13 2018-05-04 郑州云海信息技术有限公司 A kind of chassis information exchange method, system, equipment and computer-readable storage medium
CN108170583A (en) * 2018-01-26 2018-06-15 郑州云海信息技术有限公司 Machine box for server management method, device, system and readable storage medium storing program for executing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A highly-efficient and green data flow engine for solving euler atmospheric equations;Lin Gan ET AL;《2014 24th International Conference on Field Programmable Logic and Applications (FPL)》;20141020;全文 *
SSDKV:一种SSD友好的键值对存储系统;梅飞等;《计算机工程与科学》;20160731;第38卷(第7期);全文 *

Also Published As

Publication number Publication date
CN109491882A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
US8140911B2 (en) Dynamic software tracing
US11550628B2 (en) Performing runbook operations for an application based on a runbook definition
Jayathilake Towards structured log analysis
US10528456B2 (en) Determining idle testing periods
CN111108481B (en) Fault analysis method and related equipment
CN110224874A (en) A kind of processing method and processing device of equipment fault
CN109491882B (en) Case data processing method and system, equipment case and readable storage medium
EP3470988A1 (en) Method for replicating production behaviours in a development environment
CN108768790A (en) Distributed search cluster monitoring method and device, computing device, storage medium
Salfner et al. Comprehensive logfiles for autonomic systems
Chen et al. Invariants based failure diagnosis in distributed computing systems
CN115686961A (en) Processor testing method and device and electronic equipment
CN112068979A (en) Service fault determination method and device
CN115225470A (en) Business abnormity monitoring method and device, electronic equipment and storage medium
CN115576831A (en) Test case recommendation method, device, equipment and storage medium
CN115481025A (en) Script recording method and device for automatic test, computer equipment and medium
CN111435327A (en) Log record processing method, device and system
CN116164945A (en) Reliability evaluation method and device for equipment state monitoring system
CN113626288A (en) Fault processing method, system, device, storage medium and electronic equipment
CN111722951B (en) Exception handling method and device and storage medium
CN110858170A (en) Sandbox component, data abnormity monitoring method, equipment and storage medium
CN115658551B (en) Code testing method, storage medium, electronic device and apparatus
CN116414610B (en) Method, device, equipment and storage medium for acquiring abnormal log fragments
CN117573565B (en) Debug history information reproduction method, device and storage medium
Jayapal et al. Automation of Trace Analysis

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