CN109491665A - A kind of data analysis method and relevant apparatus - Google Patents
A kind of data analysis method and relevant apparatus Download PDFInfo
- Publication number
- CN109491665A CN109491665A CN201811340050.9A CN201811340050A CN109491665A CN 109491665 A CN109491665 A CN 109491665A CN 201811340050 A CN201811340050 A CN 201811340050A CN 109491665 A CN109491665 A CN 109491665A
- Authority
- CN
- China
- Prior art keywords
- data
- resolved
- analytic method
- version information
- parsing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/42—Syntactic analysis
- G06F8/427—Parsing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The invention discloses a kind of data analysis methods, version information is added in data, and CSM preserves the analytic method of each version, when being parsed to data to be resolved, data to be resolved are got first, and the default version information carried using it determines target analytic method corresponding with default version information in the analytic method of the CSM all versions saved, completes parsing operation using the target analytic method.Since data to be resolved carry version information, and CSM preserves the analytic method of all versions, therefore determines analytic method corresponding with data to be resolved using version information, to can avoid the problem of parsing mistake in resolving.Present invention also provides a kind of data analyzing system, device and computer readable storage mediums, and above-mentioned technical effect equally may be implemented.
Description
Technical field
The present invention relates to data storage technologies, more specifically to a kind of data analysis method, system, device and meter
Calculation machine readable storage medium storing program for executing.
Background technique
It stores equipment during use, is frequently encountered that version is old, performance, function are without using newly-increased business etc.
Problem, to need the version new to storage equipment replacement.
The method of currently most used replacement version is on-line operation upgrade method (ConCurrent software
Upgrade, CCU), when upgrading to all storage equipment of cluster, the I O process of node will not be interrupted.
In storage equipment, including two nodes are deployed with the CSM for completing CCU operation in each node
(control state machine, state of a control machine) and agent (agency).CSM is responsible for generating and saving data, and agent is negative
Duty uses these data.
During CCU, it will usually the problem of failing is parsed to available data after there is CSM update, although to cause
CCU process is completed, but the data in CSM are really incorrect.
Therefore, how to avoid the problem that parsing failure to available data after CSM updates, be that those skilled in the art need to solve
Certainly the problem of.
Summary of the invention
The purpose of the present invention is to provide a kind of data analysis method, system, device and computer readable storage medium, with
Solve the problems, such as failure is parsed to available data after how avoiding CSM from updating.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A kind of data analysis method, comprising:
Obtain the data to be resolved for carrying default version information;
It is determined and the default version in the analytic method of the CSM all versions saved using the default version information
The corresponding target analytic method of information;
The data to be resolved, which are parsed, using the target analytic method obtains parsing result.
Wherein, after the data to be resolved using target analytic method parsing, further includes:
The data to be resolved are updated to latest edition data using parsing result.
It is wherein, described that the data to be resolved are updated to after latest edition data using parsing result, further includes:
The data to be resolved are deleted in the CSM.
It is wherein, described that the data to be resolved are updated to after latest edition data using parsing result, further includes:
Version information is added for the latest edition data.
Wherein, the CSM preserves the analytic method of current version and the analytic method of last revision.
Present invention also provides a kind of data analyzing systems, comprising:
Module is obtained, for obtaining the data to be resolved for carrying default version information;
Determining module, for being determined in the analytic method of the CSM all versions saved using the default version information
Target analytic method corresponding with the default version information;
Parsing module obtains parsing result for parsing the data to be resolved using the target analytic method.
Wherein, further includes:
Update module utilizes parsing result after parsing the data to be resolved using the target analytic method
The data to be resolved are updated to latest edition data.
Wherein, further includes:
Removing module, after the data to be resolved are updated to latest edition data using parsing result, in institute
It states and deletes the data to be resolved in CSM.
Present invention also provides a kind of data analysis devices, comprising:
Memory, for storing computer program;
Processor is realized when for executing the computer program such as the step of the data analysis method.
Present invention also provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium
Calculation machine program is realized when the computer program is executed by processor such as the step of the data analysis method.
By above scheme it is found that a kind of data analysis method provided by the invention, comprising: obtain and carry default version letter
The data to be resolved of breath;Using the default version information in the analytic method of the CSM all versions saved determine with it is described
The default corresponding target analytic method of version information;The data to be resolved are parsed using the target analytic method to be parsed
As a result.
It can be seen that a kind of data analysis method provided by the present application, adds version information, and CSM is saved in data
There is the analytic method of each version, when parsing to data to be resolved, gets data to be resolved first, and take using it
The default version information of band determines target solution corresponding with default version information in the analytic method of the CSM all versions saved
Analysis method completes parsing operation using the target analytic method.Since data to be resolved carry version information, and CSM is saved
There is the analytic method of all versions, therefore determine analytic method corresponding with data to be resolved using version information, thus solving
It can avoid the problem of parsing mistake during analysis.Present invention also provides a kind of data analyzing system, device and computers can
Storage medium is read, above-mentioned technical effect equally may be implemented.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, 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
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of data analysis method flow chart disclosed by the embodiments of the present invention;
Fig. 2 is a kind of specific data analysis method flow chart disclosed by the embodiments of the present invention;
Fig. 3 is a kind of data analyzing system structural schematic diagram disclosed by the embodiments of the present invention;
Fig. 4 is a kind of data analysis device structural schematic diagram disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of data analysis method, system, device and computer readable storage mediums, with solution
Certainly how to avoid the problem that parsing failure to available data after CSM updates.
Referring to Fig. 1, a kind of data analysis method provided in an embodiment of the present invention is specifically included:
S101 obtains the data to be resolved for carrying default version information.
In the present solution, adding the field for being used to describe version information for each data to be resolved.
During CCU, CSM can carry out parsing operation to the data wherein saved.Specifically, it gets and carries first
The data to be resolved of default version information.
S102, using the default version information in the analytic method of the CSM all versions saved determine with it is described pre-
If the corresponding target analytic method of version information.
It should be noted that wherein the analytic method of corresponding data can also upgrade after CSM upgrading, when analytic method upgrades
And data just will appear data to be resolved and corresponding analytic method unmatched problem when not upgrading, thus using new
Analytic method parses old data, and parsing result will malfunction.
Therefore, it is not deleted after the completion of in the present solution, the data analysis method of each version is in upgrading, but according to
Version information is saved, i.e., preserves the analytic method of current version in CSM, also preserve the parsing side of old version
Method, and version information preservation corresponding with analytic method.
Specifically, after getting data to be resolved, owned according to the default version information wherein carried what CSM was saved
In analytic method, determines and preset the corresponding target analytic method of version information with this.
In one preferred embodiment, CSM only saves the analytic method of current version and the parsing side of last revision
Method.
It should be noted that being usually the upgrading for being related to a version to another version due in CCU process
Process, and two versions that two versions that this escalation process is related to are i.e. adjacent.Therefore, in order to save memory space, at this
In scheme, it is only necessary to the analytic method of a upper version and the analytic method of current version are saved in CSM, if number to be resolved
According to having updated for current version, then parsed in normal fashion with the analytic method of current version, and such as
Fruit data to be resolved are updated not yet, then are parsed using the analytic method of last revision.
S103 parses the data to be resolved using the target analytic method and obtains parsing result.
Specifically, after target analytic method has been determined, i.e., data to be resolved are solved using target analytic method
Analysis, to obtain parsing result.
It can be seen that a kind of data analysis method provided by the embodiments of the present application, adds version information in data, and
CSM preserves the analytic method of each version, when parsing to data to be resolved, gets data to be resolved first, and
The default version information carried using it determination in the analytic method of the CSM all versions saved is corresponding with default version information
Target analytic method, utilize the target analytic method complete parsing operation.Since data to be resolved carry version information, and
CSM preserves the analytic method of all versions, therefore determines analytic method corresponding with data to be resolved using version information, from
And it can avoid the problem of parsing mistake in resolving.
A kind of specific data analysis method provided by the embodiments of the present application is introduced below, one kind described below
Specific data analysis method, can be cross-referenced with above-described embodiment.
Referring to fig. 2, a kind of specific data analysis method provided by the embodiments of the present application, specifically includes:
S201 obtains the data to be resolved for carrying default version information.
S202, using the default version information in the analytic method of the CSM all versions saved determine with it is described pre-
If the corresponding target analytic method of version information.
S203 parses the data to be resolved using the target analytic method and obtains parsing result.
The data to be resolved are updated to latest edition data using parsing result by S204.
In the present solution, if data to be resolved are not the data of current version, in order to make data be maintained at latest edition yet
This will also complete data to be resolved using parsing result to update operation, become newest data after parsing data,
Facilitate the subsequent processing to data.
S205 deletes the data to be resolved in the CSM.
In a specific embodiment, after data to be resolved have been updated to the data of latest edition, in order to save
Data to be resolved can be deleted from CSM, CSM is made only to save the data of current version by memory space.
S206 adds version information for the latest edition data.
In another particular embodiment of the invention, in order to which CSM equally avoids data solution to be resolved when CCU next time is operated
The problem of analysis mistake also adds version information in the data that this has updated, thus after updating the analytic method in CSM,
Current data can also be parsed using the analytic method of old version corresponding with the version information.
A kind of data analyzing system provided by the embodiments of the present application is introduced below, it is described below a kind of specific
Data analyzing system can be cross-referenced with any of the above-described embodiment.
Referring to Fig. 3, a kind of data analyzing system provided by the embodiments of the present application is specifically included:
Module 301 is obtained, for obtaining the data to be resolved for carrying default version information.
Determining module 302, for true in the analytic method of the CSM all versions saved using the default version information
Fixed target analytic method corresponding with the default version information.
Parsing module 303 obtains parsing result for parsing the data to be resolved using the target analytic method.
In one preferred embodiment, the system also includes:
Update module utilizes parsing result after parsing the data to be resolved using the target analytic method
The data to be resolved are updated to latest edition data.
Removing module, after the data to be resolved are updated to latest edition data using parsing result, in institute
It states and deletes the data to be resolved in CSM.
The data analyzing system of the present embodiment is for realizing data analysis method above-mentioned, therefore in data analyzing system
The embodiment part of the visible data analysis method hereinbefore of specific embodiment, for example, obtaining module 301, determining module
302, parsing module 303 is respectively used to realize step S101, S102, S103 in above-mentioned data analysis method, so, it is specific
Embodiment is referred to the description of corresponding various pieces embodiment, and details are not described herein.
A kind of data analysis device provided by the embodiments of the present application is introduced below, a kind of data solution described below
Analysis apparatus can be cross-referenced with any of the above-described embodiment.
Referring to fig. 4, a kind of data analysis device provided by the embodiments of the present application, specifically includes:
Memory 100, for storing computer program;
Processor 200 realizes the data parsing side as described in above-mentioned any embodiment when for executing the computer program
The step of method.
Specifically, memory 100 includes non-volatile memory medium, built-in storage.Non-volatile memory medium storage
There are operating system and computer-readable instruction, which is that the operating system and computer in non-volatile memory medium can
The operation of reading instruction provides environment.Processor 200 provides calculating and control ability for data analysis device, may be implemented above-mentioned
Step provided by one data analysis method embodiment.
On the basis of the above embodiments, preferably, the data analysis device further include:
Input interface 300 is controlled through processor and is saved for obtaining computer program, parameter and the instruction of external importing
Into memory.The input interface 300 can be connected with input unit, receive parameter or instruction that user is manually entered.This is defeated
Entering device can be the touch layer covered on display screen, be also possible to the key being arranged in terminal enclosure, trace ball or Trackpad,
It is also possible to keyboard, Trackpad or mouse etc..
Display unit 400, the data sent for video-stream processor.The display unit 400 can be the display in PC machine
Screen, liquid crystal display or electric ink display screen etc..Specifically, in this example it is shown that unit 400 can show CSM
The result etc. of upgrading.
The network port 500, for being communicatively coupled with external each terminal device.Skill is communicated used by the communication connection
Art can be cable communicating technology or wireless communication technique, as mobile high definition chained technology (MHL), universal serial bus (USB),
High-definition media interface (HDMI), Bluetooth Communication Technology, the low-power consumption bluetooth communication technology, is based on adopting wireless fidelity technology (WiFi)
The communication technology etc. of IEEE802.11s.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer
Step provided by above-described embodiment may be implemented when program is executed by processor.The storage medium may include: USB flash disk, movement
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.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of data analysis method characterized by comprising
Obtain the data to be resolved for carrying default version information;
It is determined and the default version information in the analytic method of the CSM all versions saved using the default version information
Corresponding target analytic method;
The data to be resolved, which are parsed, using the target analytic method obtains parsing result.
2. the method according to claim 1, wherein described described wait solve using target analytic method parsing
After analysis data, further includes:
The data to be resolved are updated to latest edition data using parsing result.
3. according to the method described in claim 2, it is characterized in that, described updated the data to be resolved using parsing result
After latest edition data, further includes:
The data to be resolved are deleted in the CSM.
4. according to the method described in claim 2, it is characterized in that, described updated the data to be resolved using parsing result
After latest edition data, further includes:
Version information is added for the latest edition data.
5. method according to any one of claims 1 to 4, which is characterized in that the CSM preserves the parsing of current version
The analytic method of method and last revision.
6. a kind of data analyzing system characterized by comprising
Module is obtained, for obtaining the data to be resolved for carrying default version information;
Determining module, for utilizing the default version information determining and institute in the analytic method of the CSM all versions saved
State the corresponding target analytic method of default version information;
Parsing module obtains parsing result for parsing the data to be resolved using the target analytic method.
7. system according to claim 6, which is characterized in that further include:
Update module, after parsing the data to be resolved using the target analytic method, using parsing result by institute
It states data to be resolved and is updated to latest edition data.
8. system according to claim 7, which is characterized in that further include:
Removing module, after the data to be resolved are updated to latest edition data using parsing result, in the CSM
It is middle to delete the data to be resolved.
9. a kind of data analysis device characterized by comprising
Memory, for storing computer program;
Processor, realizing the data analysis method as described in any one of claim 1 to 5 when for executing the computer program
Step.
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 the step of the data analysis method as described in any one of claim 1 to 5 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811340050.9A CN109491665A (en) | 2018-11-12 | 2018-11-12 | A kind of data analysis method and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811340050.9A CN109491665A (en) | 2018-11-12 | 2018-11-12 | A kind of data analysis method and relevant apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109491665A true CN109491665A (en) | 2019-03-19 |
Family
ID=65695645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811340050.9A Pending CN109491665A (en) | 2018-11-12 | 2018-11-12 | A kind of data analysis method and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109491665A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101533356A (en) * | 2009-04-21 | 2009-09-16 | 华为技术有限公司 | A method, a device and a system for realizing software online upgrade |
US20160313924A1 (en) * | 2004-10-01 | 2016-10-27 | International Business Machines Corporation | Tracking ownership of memory in a data processing system through use of a memory monitor |
CN107273169A (en) * | 2017-06-30 | 2017-10-20 | 郑州云海信息技术有限公司 | The on-line software updating method and system of a kind of storage control cluster |
CN107301058A (en) * | 2017-08-28 | 2017-10-27 | 四川长虹电器股份有限公司 | Implement the method for television system OTA upgradings based on version number's Discrete control |
-
2018
- 2018-11-12 CN CN201811340050.9A patent/CN109491665A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160313924A1 (en) * | 2004-10-01 | 2016-10-27 | International Business Machines Corporation | Tracking ownership of memory in a data processing system through use of a memory monitor |
CN101533356A (en) * | 2009-04-21 | 2009-09-16 | 华为技术有限公司 | A method, a device and a system for realizing software online upgrade |
CN107273169A (en) * | 2017-06-30 | 2017-10-20 | 郑州云海信息技术有限公司 | The on-line software updating method and system of a kind of storage control cluster |
CN107301058A (en) * | 2017-08-28 | 2017-10-27 | 四川长虹电器股份有限公司 | Implement the method for television system OTA upgradings based on version number's Discrete control |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109062512A (en) | A kind of distributed storage cluster, data read-write method, system and relevant apparatus | |
US9223564B2 (en) | Update systems responsive to ongoing processing at a storage system | |
US9043776B2 (en) | Transferring files to a baseboard management controller (‘BMC’) in a computing system | |
JP6011479B2 (en) | Application management apparatus, application management system, and program | |
US20140380295A1 (en) | Method and system for updating application, and computer storage medium thereof | |
JP2014130388A (en) | Information processor, and information processing method | |
CN104461631B (en) | A kind of system OTA upgrade methods and device | |
CN104424068A (en) | System and method for pressure testing of firmware update | |
CN108989482A (en) | One kind being based on DHCP protocol network deployment method, system and client and storage medium | |
WO2014153311A1 (en) | Automatic version management | |
CN109271255A (en) | Resource regulating method, system and electronic equipment and storage medium | |
CN102740279B (en) | Wireless network access terminal and run method thereof | |
CN104461621A (en) | Attribute information updating method and device | |
CN108733370A (en) | Patterned display methods, device, terminal and the storage medium of primary APP | |
CN112083971B (en) | Component processing method, device and storage medium | |
US20150121125A1 (en) | Providing bus resiliency in a hybrid memory system | |
CN107239303B (en) | Application program update package generation method and device and application program update method and device | |
CN109491665A (en) | A kind of data analysis method and relevant apparatus | |
US11340882B2 (en) | Systems and methods for enforcing update policies while applying updates from bootable image file | |
CN114995770B (en) | Data processing method, device, equipment, system and readable storage medium | |
CN106126303A (en) | The installation method of (SuSE) Linux OS, Apparatus and system | |
CN109408192A (en) | A kind of Linux server management method and relevant apparatus | |
CN109343886A (en) | A kind of method, apparatus and equipment of upgrading BIOS | |
CN114968386A (en) | Equipment information management method, device and equipment of electronic equipment | |
CN110045929B (en) | Mounting point management method and related device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190319 |