CN109491882A - A kind of chassis data processing method, system, equipment cabinets and readable storage medium storing program for executing - Google Patents
A kind of chassis data processing method, system, equipment cabinets and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109491882A CN109491882A CN201811312829.XA CN201811312829A CN109491882A CN 109491882 A CN109491882 A CN 109491882A CN 201811312829 A CN201811312829 A CN 201811312829A CN 109491882 A CN109491882 A CN 109491882A
- Authority
- CN
- China
- Prior art keywords
- chassis data
- chassis
- value
- data
- variable name
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring 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
This application discloses a kind of chassis data processing methods, corresponding chassis data is represented using different variable names in order to quickly position by way of variable name, foundation simultaneously includes the chassis data Maintenance Table of corresponding relationship between variable name and variate-value by every kind of chassis data, it can be when receiving chassis data access request, corresponding chassis data is directly checked in table according to target variable name, and since the chassis data Maintenance Table is relatively independent, the generation of various chassis datas is not influenced, for chassis data Maintenance Table operation without modification program code, therefore the design parameter of target chassis data can be read from table at any time, not only facilitate debugging, subsequent O&M difficulty is also minimized.The application further simultaneously discloses a kind of chassis data processing system, equipment cabinets and computer readable storage medium, has above-mentioned beneficial effect.
Description
Technical field
This application involves chassis data processing technology field, in particular to a kind of chassis data processing method, system, equipment
Cabinet and computer readable storage medium.
Background technique
With the development of automatic technology, the perception and collection of data are widely used for sensor to realize, in various object
In the cabinet for managing terminal, in order to precisely monitor operating status locating for terminal, the component of the various functions of equipment in the chassis is understood
Carry out the various parameter of acquisition terminal with sensor, and determines the current operating status of terminal jointly by these parameters.
In order to determine current operating conditions and adjustment operating status, existing two kinds of parameter adjustment methods: GDB single-step debug and
Printf prints Serial Port Information, wherein a kind of GDB (debugging tool applied under linux system) debugging is not suitable for non-
The low-speed processing task of linux system;Printf prints the rate that the mode of Serial Port Information can be not only 115200 in baud rate
The execution of choke system other tasks when lower printing bulk information, and printf can only print preset write-in in advance serial ports
Log information prints the log information of the serial ports of non-predetermined write-in if necessary, it is necessary to function code is rewritten, it is very numerous
It is trivial.And reproduction will be led to the problem of to the data of debugging, destroy the appearance that former function code will interfere former problem.
Therefore, how to overcome existing items technical problem under existing debugging chassis data mode, one kind is provided and at any time may be used
It is that those skilled in the art are urgently to be resolved to read, debug target chassis data, positioning more easily chassis data processing method
The problem of.
Summary of the invention
The purpose of the application is to provide a kind of chassis data processing method, and corresponding machine is represented using different variable names
Case data by way of variable name in order to quickly be positioned, while establishing includes by the variable name and variable of every kind of chassis data
The chassis data Maintenance Table of corresponding relationship between value, can be when receiving chassis data access request, directly according to target variable name
Corresponding chassis data is checked in table, and since the chassis data Maintenance Table is relatively independent, does not influence various chassis datas
Generate, for chassis data Maintenance Table operation without modification program code, therefore can at any time from table read target cabinet
The design parameter of data, not only facilitates debugging, and subsequent O&M difficulty is also minimized.
The another object of the application is the provision of a kind of chassis data processing system, equipment cabinets and computer-readable deposits
Storage media.
To achieve the above object, the application provides a kind of chassis data processing method, which includes:
Receiver case data access request, and parse and obtain target variable name and operational order;Wherein, the operational order
Including read operation and write operation;
Target variable value is checked in chassis data Maintenance Table according to the target variable name;Wherein, the chassis data
Include in Maintenance Table every kind of chassis data variable name and variate-value between corresponding relationship;
Corresponding read operation or write operation are executed to the target variable value according to the operational order.
Optionally, the chassis data processing method further include:
Respectively every kind of chassis data assigns variable name by preset rules in advance;
The variable name of every kind of chassis data and variate-value are established into corresponding relationship in the form of key-value pair;
The chassis data Maintenance Table is established according to each corresponding relationship.
Optionally, corresponding read operation or write operation are executed to the target variable value according to the operational order, comprising:
When the operational order is specially reading instruction, reads and return to the target variable value;
When the operational order is specially write command, the manual tune-up data of input is received, and by the target variable
Value is revised as the manual tune-up data, modification is synchronized to cabinet operating system after the target variable value is modified
In.
Optionally, the chassis data processing method further include:
All variables for possessing identical variable keyword are inquired in the chassis data Maintenance Table using variable keyword
Name.
Optionally, the chassis data processing method further include:
It detects in the chassis data Maintenance Table with the presence or absence of abnormal chassis data;
The abnormal chassis data if it exists, then report the variable for carrying the abnormal chassis data by preset path
The exception information of name.
To achieve the above object, present invention also provides a kind of chassis data processing system, the chassis data processing systems
Include:
Request receives and resolution unit, is used for receiver case data access request, and parse and obtain target variable name and behaviour
It instructs;Wherein, the operational order includes read operation and write operation;
Target variable value is tabled look-up determination unit, for checking in mesh in chassis data Maintenance Table according to the target variable name
Mark variate-value;Wherein, include in the chassis data Maintenance Table every kind of chassis data variable name and variate-value between corresponding close
System;
Operational order execution unit, for executing corresponding read operation to the target variable value according to the operational order
Or write operation.
Optionally, the chassis data processing system further include:
Variable name given unit assigns variable name by preset rules for the respectively every kind chassis data in advance;
Correspondence relationship establishing unit, for by the variable name of every kind of chassis data and variate-value in the form of key-value pair
Establish corresponding relationship;
Chassis data Maintenance Table establishes unit, for establishing the chassis data Maintenance Table according to each corresponding relationship.
Optionally, the operational order execution unit includes:
Reading instruction executes subelement, for reading and returning to the target when the operational order is specially reading instruction
Variate-value;
Write command executes subelement, for receiving the manual debugging of input when the operational order is specially write command
Data, and the target variable value is revised as the manual tune-up data, will be repaired after the target variable value is modified
Change and is synchronized in cabinet operating system.
Optionally, the chassis data processing system further include:
Keyword lookup unit all possesses phase for inquiring in the chassis data Maintenance Table using variable keyword
With the variable name of variable keyword.
Optionally, the chassis data processing system further include:
Anomaly data detection unit, for detecting in the chassis data Maintenance Table with the presence or absence of abnormal chassis data;
Exception information reporting unit, for being reported and being carried by preset path when there are the abnormal chassis data
The exception information of the variable name of the exception chassis data.
To achieve the above object, present invention also provides a kind of equipment cabinets, which includes:
Memory, for storing computer program;
Processor realizes the chassis data processing method as described in above content when for executing the computer program
The step of.
To achieve the above object, described computer-readable to deposit present invention also provides a kind of computer readable storage medium
It is stored with computer program on storage media, the machine as described in above content is realized when the computer program is executed by processor
The step of case data processing method.
Obviously, a kind of chassis data processing method provided herein is represented corresponding using different variable names
Chassis data by way of variable name in order to quickly be positioned, while establishing includes variable name and change by every kind of chassis data
The chassis data Maintenance Table of corresponding relationship between magnitude, can be when receiving chassis data access request, directly according to target variable
Name checks in corresponding chassis data in table, and since the chassis data Maintenance Table is relatively independent, does not influence various chassis datas
Generation, for chassis data Maintenance Table operation without modification program code, therefore target machine can be read from table at any time
The design parameter of case data, not only facilitates debugging, and subsequent O&M difficulty is also minimized.The application additionally provides a kind of machine simultaneously
Case data processing system, equipment cabinets and computer readable storage medium have above-mentioned beneficial effect, and details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of chassis data processing method provided by the embodiments of the present application;
Fig. 2 is the flow chart of another chassis data processing method provided by the embodiments of the present application;
Fig. 3 is a kind of process that various cabinet quantity are defined by reading data management thread provided by the embodiments of the present application
Figure;
Fig. 4 is that a kind of debugger thread that passes through provided by the embodiments of the present application utilizes chassis data Maintenance Table to target cabinet number
According to the flow chart debugged;
Fig. 5 is a kind of flow chart that reading instruction is executed by debugger thread provided by the embodiments of the present application;
Fig. 6 is another flow chart that reading instruction is executed by debugger thread provided by the embodiments of the present application;
Fig. 7 is a kind of flow chart that write command is executed by debugger thread provided by the embodiments of the present application;
Fig. 8 is a kind of structural block diagram of chassis data processing system provided by the embodiments of the present application.
Specific embodiment
The core of the application is to provide a kind of chassis data processing method, system, equipment cabinets and computer-readable storage
Medium represents corresponding chassis data using different variable names in order to quickly position by way of variable name, simultaneously
Foundation includes the chassis data Maintenance Table of corresponding relationship between variable name and variate-value by every kind of chassis data, can work as and receive machine
When case data access request, corresponding chassis data is directly checked in table according to target variable name, and due to the chassis data
Maintenance Table is relatively independent, does not influence the generation of various chassis datas, for chassis data Maintenance Table operation without modification journey
Sequence code, therefore the design parameter of target chassis data can be read from table at any time, not only facilitate debugging, subsequent O&M difficulty
It is minimized.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Embodiment one
Referring to Figure 1, Fig. 1 is a kind of flow chart of chassis data processing method provided by the embodiments of the present application comprising
Following steps:
S101: receiver case data access request, and parse and obtain target variable name and operational order;
This step is intended to receiver case data access request, and parsing obtains target machine from the chassis data access request
The variable name (target variable name) of case data and to the design parameter of the corresponding chassis data of target variable name execute which kind of behaviour
The operational order of work.Wherein, operational order specifically includes the reading instruction for reading design parameter and using the design parameter newly inputted
Cover the write command of former design parameter.
It should be noted that the present embodiment is established under the scene for being represented different chassis datas using different variable names,
Corresponding variable name is assigned for every kind of chassis data according to certain rules in advance, directly to facilitate positioning by variable name
Target chassis data, corresponding with variable name is exactly variate-value, refers to the design parameter of corresponding type chassis data.In order to just
In inquiry, the variable name of the chassis data of care and variate-value can be mapped, and establish a chassis data Maintenance Table,
Directly to inquire various target chassis datas in summarizing the chassis data Maintenance Table for having various parameters, since the chassis data is tieed up
Shield table is an information summary sheet, has no effect on the generation of each chassis data, can inquire or modify at any time, more just
Just it debugs.
S102: target variable value is checked in chassis data Maintenance Table according to target variable name;
On the basis of S101, this step is intended to utilize the target variable name parsed from cabinet data access request
Target variable value is checked in chassis data Maintenance Table, because in the chassis data Maintenance Table including the variable of every kind of chassis data
Corresponding relationship between name and every kind of variate-value, therefore, according to the corresponding relationship, it will be able to according to the corresponding cabinet number of target variable name
According to variate-value.
S103: corresponding read operation or write operation are executed to target variable value according to operational order.
On the basis of S102, the operational order that this step is intended to be obtained according to parsing executes target variable value corresponding
Read operation or write operation.It reads target variable value specifically, read operation refers to and is back to upper layer;Write operation is usually to need
It at this time can also include manual debugging data in access request using artificial tune-up data come use when carrying out manual debugging, such as
By the real-time voltage data of commissioning device, it is assumed that the voltage value of its real-time variable serial ports output is 2.5V, and needs to be adjusted
It is whole to 3.0V, just need the parameter for going to cover former " 2.5V " using " 3.0V " this manual debugging parameter at this time.
It should be noted that in order to enable modification chassis data Maintenance Table in chassis data after, manual debugging data
Former target variable value can really be substituted to operate under case system, it is also necessary to which data are by manual debugging data in detecting table
After modification, synchronization modifies it under case system.
It should be noted that the chassis data of some types is not support manual debugging, such as be attached with read-only mark
Chassis data, write operation can not be executed for such data, the signal that can not be executed can be returned, can also as read
Operation is to execute.
Further, it when summarizing and safeguarding the chassis data being concerned about, is gone back by way of constructing chassis data Maintenance Table
Abnormal chassis data monitoring threshold can be further set, when the design parameter of some chassis datas is more than preset threshold value
When, that is, abnormal notification information is reported, so that can also provide one kind outside the mechanism of active inquiry and passively report mechanism.
Based on the above-mentioned technical proposal, chassis data processing method provided by the embodiments of the present application, uses different variable names
Corresponding chassis data is represented in order to quickly position by way of variable name, while establishing includes by every kind of chassis data
Variable name and variate-value between corresponding relationship chassis data Maintenance Table, can be when receiving chassis data access request, directly
Corresponding chassis data is checked in table according to target variable name, and since the chassis data Maintenance Table is relatively independent, is not influenced
The generation of various chassis datas, for chassis data Maintenance Table operation without modification program code, therefore can be at any time from table
The middle design parameter for reading target chassis data, not only facilitates debugging, subsequent O&M difficulty is also minimized.
Embodiment two
Fig. 2 is referred to, Fig. 2 is the flow chart of another chassis data processing method provided by the embodiments of the present application, is compared
In embodiment one, the present embodiment provides a kind of side for how establishing chassis data Maintenance Table by S201, S202 and S203
Method specifically provides a kind of method for how executing write command and reading instruction by S206 and S207, it should be noted that this two
Part can individually form individual embodiment on the basis of example 1, and the present embodiment is only as while including this two
The embodiment of preferred embodiment is divided to exist, the present embodiment real time steps are as follows:
S201: respectively every kind of chassis data assigns variable name by preset rules in advance;
Wherein, the difference of preset rules terminal device according to applied by reality and be adjusted flexibly, such as can be with
The mode to sort in sequence is respectively that every kind of chassis data assigns variable name, can shaped like 01,02,03, can also shaped like 1-,
The forms such as 2-, 3-;Variable name can also be assigned according to the kind class name of every kind of chassis data, though such as belong to voltage data,
It might have the voltage of component 1, the voltage of component 2, the mode of VOLTAGE-01, VOLTAGE-02 can be used at this time
As the variable name of the two voltage datas, the same keyword that can also be possessed according to homogeneous data under such mode is real
Existing similar fuzzy query, and then a kind of chassis data can be checked in by an access request.
S202: the variable name of every kind of chassis data and variate-value are established into corresponding relationship in the form of key-value pair;
The mode that this step is based primarily upon key-value pair establishes the corresponding pass between the variable name and variate-value of every kind of chassis data
System, i.e. variable name is as " key " in key-value pair, and for variate-value as " value " in key-value pair, a key assignments is collectively formed in the two
It is right, corresponding " value " can be checked in by " key " of input based on this chassis data Maintenance Table set up.
S203: chassis data Maintenance Table is established according to each corresponding relationship;
S204: receiver case data access request, and parse and obtain target variable name and operational order;
S205: target variable value is checked in chassis data Maintenance Table according to target variable name;
S206: when operational order is specially write command, the manual tune-up data of input is received, and target variable value is repaired
It is changed to manual tune-up data, modification to be synchronized in cabinet operating system after the target variable value is modified;
S207: it when operational order is specially reading instruction, reads and returns to target variable value.
Embodiment three
To deepen the understanding to the present application point, the present embodiment will provide a kind of specific reality in conjunction with concrete application scene
Existing mode, the purpose to be realized of the application will be realized by a newly created shelf management program in the present embodiment:
It include management thread manage_thread, debugger thread debug_thread and resource in the shelf management program
Array debug_data, wherein management thread manage_thread will be respectively every kind of chassis data defined variable name
(variable), corresponding variable name can be selected to define method, the design parameter of output according to the purposes of the chassis data
The way of output can be selected according to practical use, workflow can be found in Fig. 3;Debugger thread debug_thread counting user
The chassis data of care, that is, the value of real-time detection is needed, and then the variable name by inputting extracts to obtain accordingly specifically
Parameter, such as each information such as temperature, voltage, phy, slot, psu, workflow can be found in Fig. 4;Resource array debug_
It include the variable name (rource_name) and variate-value resource_value of every kind of chassis data in data, wherein the variable
Name is also referred to as resource name.
It manages thread manage_thread and monitors various chassis datas, when there is chassis data update, just instant update
Into resource array debug_data, that is to say, that resource array debug_data will be used as a tables of data, maintain various
The latest value of chassis data.
Definition reading instruction is " read resource_name ", write command is " write resource_value ", herein
There is provided the reading manner of independent chassis data and the reading manner of a kind of chassis data, wherein can order by input
" readresource_name " come check in should " resource_name " corresponding variate-value, such as when wanting to check some first device
When the threshold value of part temperature, so that it may directly input order: " read TEMP_OVER_WARNING_THRES ", TEMP_OVER_
WARNING_THRES is as a resource_name, reference can be made to Fig. 5;In order to facilitate remembering and inquire, the machine of the same category
Case data can include roughly the same keyword in its resource name;Such as: the temperature data of various components will include shape
It is equal that keyword (keyboard), the voltage data of such as " _ TEMP_ " will include keyword, threshold data shaped like " VOLTAGE "
Will include the keyword shaped like " THRES ", status data will include the keyword shaped like " STATUS ", therefore can be by defeated
Enter read resource_keyword to inquire all variable names (resource name) including " keyword ", and by each variable name
Variate-value all return, convenient for checking a kind of data, reference can be made to Fig. 6.
For not being the data for reading actual hardware, can be named by input: the side of write resource_name
Formula changes its logical value, to change code and then observe the influence generated after merging new parameter, what not only be can be convenient is checked
Whether code logic normal and a kind of mode of manual direct fault location test, reference can be made to Fig. 7.
Since the read-write operation executed in thread is all fairly simple, and the number executed compared to read operation, write operation
It less, is mostly the variate-value for reading existing variable name, code is low to cpu resource occupancy, is more applicable for chassis data pipe
Manage this field.And by way of chassis data Maintenance Table, it can realize at any time, in a manner of extremely convenient to variate-value
Debugging, convenient for knowing the change procedure of operating status, is easier the positioning of the situation repeatedly occurred in the process.
It is provided in this embodiment that the method handled chassis data is realized based on chassis data Maintenance Table, it is only necessary to
Chassis data of concern is added in the table, it can be without passing through simple read write command in the case where changing code
The corresponding variate-value of variable name is written and read.And identified using the mode of variable name every kind of chassis data be also convenient for user into
Row inquiry and memory.
Facilitate program debugging in the early stage of the project, do not need to add the content additionally printed in advance as printf mode,
Can easily verify driver whether adjust it is logical;Addition type information word by word and sentence by sentence is not needed, the weight to code is reduced yet
Multiple modification, improves development efficiency;Phase in the project modifies certain logical variables by write command, changes normal logic, mould
Quasi- abnormal working conditions are a convenient test verifying links as a kind of mode of direct fault location;In the project later period, also
Can be by read operation and default alarming mechanism, very easily locating hardware faults;Even in producing line or curstomer's site, lead to
It crosses this mode and easily positions many problems, save oscillograph and measure investigation one by one, reduce the range of hardware investigation, improve
Detection efficiency.
Because situation is complicated, it can not enumerate and be illustrated, those skilled in the art should be able to recognize according to the application
The basic skills principle combination actual conditions of offer may exist many examples, in the case where not paying enough creative works,
It should within the scope of protection of this application.
Fig. 8 is referred to below, Fig. 8 is a kind of structural block diagram of chassis data processing system provided by the embodiments of the present application,
The chassis data processing system may include:
Request receive and resolution unit 100, be used for receiver case data access request, and parse obtain target variable name and
Operational order;Wherein, operational order includes read operation and write operation;
Target variable value is tabled look-up determination unit 200, for checking in mesh in chassis data Maintenance Table according to target variable name
Mark variate-value;Wherein, include in chassis data Maintenance Table every kind of chassis data variable name and variate-value between corresponding relationship;
Operational order execution unit 300, for executing corresponding read operation to target variable value according to operational order or writing
Operation.
Further, which can also include:
Variable name given unit assigns variable name by preset rules for respectively every kind of chassis data in advance;
Correspondence relationship establishing unit, for establishing the variable name of every kind of chassis data and variate-value in the form of key-value pair
Corresponding relationship;
Chassis data Maintenance Table establishes unit, for establishing chassis data Maintenance Table according to each corresponding relationship.
Wherein, operational order execution unit 300 may include:
Reading instruction executes subelement, for when operational order is specially reading instruction, reading and returning to target variable value;
Write command executes subelement, for when operational order is specially write command, receiving the manual tune-up data of input,
And target variable value is revised as manual tune-up data, modification is synchronized to cabinet operation system when target variable value is modified
In system.
Further, which can also include:
Keyword lookup unit all possesses identical change for inquiring in chassis data Maintenance Table using variable keyword
Measure the variable name of keyword;
Anomaly data detection unit, for detecting in cabinet data maintenance table with the presence or absence of abnormal chassis data;
Exception information reporting unit, for being reported by preset path and carrying exception when there is abnormal chassis data
The exception information of the variable name of chassis data.
Based on the above embodiment, present invention also provides a kind of equipment cabinets, the equipment cabinets may include memory and
Processor, wherein there is computer program in the memory, it, can when which calls the computer program in the memory
To realize step provided by above-described embodiment.Certainly, which can also include various necessary network interfaces, power supply
And other components etc..
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program
Step provided by above-described embodiment may be implemented when being performed terminal or processor execution.The storage medium may include: U
Disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access
Memory, RAM), the various media that can store program code such as magnetic or disk.
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and between each embodiment
For progressive relationship, each embodiment focuses on the differences from other embodiments, identical between each embodiment
Similar portion may refer to each other.For the device disclosed in the embodiment, reference can be made to corresponding method part illustration.The above reality
The explanation for applying example is merely used to help understand the present processes and its core concept.For the ordinary skill people of the art
Member for, under the premise of not departing from the application principle, can also to the application, some improvement and modification can also be carried out, these improve and
Modification is also fallen into the protection scope of the claim of this application.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also other elements including being not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or equipment for including element.
Claims (10)
1. a kind of chassis data processing method characterized by comprising
Receiver case data access request, and parse and obtain target variable name and operational order;Wherein, the operational order includes
Read operation and write operation;
Target variable value is checked in chassis data Maintenance Table according to the target variable name;Wherein, the chassis data maintenance
Include in table every kind of chassis data variable name and variate-value between corresponding relationship;
Corresponding read operation or write operation are executed to the target variable value according to the operational order.
2. chassis data processing method according to claim 1, which is characterized in that further include:
Respectively every kind of chassis data assigns variable name by preset rules in advance;
The variable name of every kind of chassis data and variate-value are established into corresponding relationship in the form of key-value pair;
The chassis data Maintenance Table is established according to each corresponding relationship.
3. chassis data processing method according to claim 1, which is characterized in that according to the operational order to the mesh
It marks variate-value and executes corresponding read operation or write operation, comprising:
When the operational order is specially reading instruction, reads and return to the target variable value;
When the operational order is specially write command, the manual tune-up data of input is received, and the target variable value is repaired
It is changed to the manual tune-up data, modification to be synchronized in cabinet operating system after the target variable value is modified.
4. chassis data processing method according to any one of claims 1 to 3, which is characterized in that further include:
All variable names for possessing identical variable keyword are inquired in the chassis data Maintenance Table using variable keyword.
5. chassis data processing method according to claim 4, which is characterized in that further include:
It detects in the chassis data Maintenance Table with the presence or absence of abnormal chassis data;
The abnormal chassis data if it exists then reports the variable name for carrying the abnormal chassis data by preset path
Exception information.
6. a kind of chassis data processing system characterized by comprising
Request receives and resolution unit, is used for receiver case data access request, and parsing obtains target variable name and operation refers to
It enables;Wherein, the operational order includes read operation and write operation;
Target variable value is tabled look-up determination unit, is become for checking in target in chassis data Maintenance Table according to the target variable name
Magnitude;It wherein, include the variable name of every kind of chassis data and the change for exporting every kind of chassis data in the chassis data Maintenance Table
Corresponding relationship between magnitude;
Operational order execution unit, for executing corresponding read operation to the target variable value according to the operational order or writing
Operation.
7. chassis data processing system according to claim 6, which is characterized in that further include:
Variable name given unit assigns variable name by preset rules for the respectively every kind chassis data in advance;
Correspondence relationship establishing unit, for establishing the variable name of every kind of chassis data and variate-value in the form of key-value pair
Corresponding relationship;
Chassis data Maintenance Table establishes unit, for establishing the chassis data Maintenance Table according to each corresponding relationship.
8. chassis data processing system according to claim 6, which is characterized in that the operational order execution unit packet
It includes:
Reading instruction executes subelement, for reading and returning to the target variable when the operational order is specially reading instruction
Value;
Write command executes subelement, for receiving the manual tune-up data of input when the operational order is specially write command,
And the target variable value is revised as the manual tune-up data, modification to be synchronized after the target variable value is modified
Into cabinet operating system.
9. a kind of chassis data processing unit characterized by comprising
Memory, for storing computer program;
Processor realizes that chassis data described in any one of claim 1 to 5 such as is handled when for executing the computer program
The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes such as chassis data processing side described in any one of claim 1 to 5 when the computer program is executed by processor
The step of method.
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 true CN109491882A (en) | 2019-03-19 |
CN109491882B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111309253A (en) * | 2020-01-21 | 2020-06-19 | 苏州浪潮智能科技有限公司 | 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 (9)
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 |
US20150074468A1 (en) * | 2013-09-11 | 2015-03-12 | Dell Produts, LP | SAN Vulnerability Assessment Tool |
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 |
US20180285391A1 (en) * | 2017-04-02 | 2018-10-04 | Sas Institute Inc. | Methods, Mediums, and Systems for Data Harmonization and Data Mapping in Specified Domains |
-
2018
- 2018-11-06 CN CN201811312829.XA patent/CN109491882B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150074468A1 (en) * | 2013-09-11 | 2015-03-12 | Dell Produts, LP | SAN Vulnerability Assessment Tool |
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 |
US20180285391A1 (en) * | 2017-04-02 | 2018-10-04 | Sas Institute Inc. | Methods, Mediums, and Systems for Data Harmonization and Data Mapping in Specified Domains |
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 (3)
Title |
---|
LIN GAN ET AL: "A highly-efficient and green data flow engine for solving euler atmospheric equations", 《2014 24TH INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS (FPL)》 * |
付丽梅等: "《Android移动应用开发项目教程》", 31 January 2017, 东软电子出版社 * |
梅飞等: "SSDKV:一种SSD友好的键值对存储系统", 《计算机工程与科学》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111309253A (en) * | 2020-01-21 | 2020-06-19 | 苏州浪潮智能科技有限公司 | Method, device, equipment and storage medium for converting state of machine case port |
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 |
CN111625330B (en) * | 2020-05-18 | 2024-08-06 | 北京达佳互联信息技术有限公司 | Cross-thread task processing method and device, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109491882B (en) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100589418C (en) | The generation method and the generation system of alarm correlation rule | |
CN103729361A (en) | Method and device for testing performance of database | |
CN104375928A (en) | Abnormal log management method and system | |
CN109471845A (en) | Blog management method, server and computer readable storage medium | |
CN110427307A (en) | Log analytic method, device, computer equipment and storage medium | |
CN103746831A (en) | Alarm analysis method, device and system | |
CN107766448A (en) | Rule-based satellite telemetering data analysis system | |
CN112817857A (en) | Method for automatically monitoring website abnormity based on JMeter and Jenkins and computer equipment | |
CN104932979A (en) | Software fault locating method and device | |
CN109491882A (en) | A kind of chassis data processing method, system, equipment cabinets and readable storage medium storing program for executing | |
CN109660407A (en) | Distributed system monitoring system and method | |
CN109240917A (en) | A kind of blog management method and relevant apparatus | |
CN111581232A (en) | ELK-based slow SQL real-time analysis method and system | |
CN112615737B (en) | Method and system for automatically monitoring service system | |
CN103970663A (en) | Method for simulating physical devices | |
CN109753490A (en) | Database optimizing method, system, equipment and medium based on loophole reparation | |
CN106547670A (en) | The method and device of long-range reading and writing built-in Linux application program memory variable value | |
CN102855297B (en) | A kind of method of control data transmission and connector | |
CN105763371B (en) | A kind of alert processing method and device | |
CA3062465A1 (en) | Method for a computer-aided automated verification of requirements | |
CN113849328B (en) | Management method and device of disaster recovery system | |
CN101794150A (en) | Data management method and system of fieldbus instrument management system | |
CN115225470A (en) | Business abnormity monitoring method and device, electronic equipment and storage medium | |
CN110096486A (en) | A kind of log monitoring method, device, equipment and computer readable storage medium | |
CN113626288A (en) | Fault processing method, system, device, storage medium 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |