CN108363640A - Data verification method and device, computer readable storage medium - Google Patents
Data verification method and device, computer readable storage medium Download PDFInfo
- Publication number
- CN108363640A CN108363640A CN201810172549.7A CN201810172549A CN108363640A CN 108363640 A CN108363640 A CN 108363640A CN 201810172549 A CN201810172549 A CN 201810172549A CN 108363640 A CN108363640 A CN 108363640A
- Authority
- CN
- China
- Prior art keywords
- data
- byte
- block
- verified
- verification
- 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/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1004—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R35/00—Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R35/04—Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A kind of data verification method of the application offer and device, computer readable storage medium, method include:Determine block to be verified, the block to be verified includes the data address of multiple data, and the data address of the multiple data is continuous;According to the first of block to be verified the verification file, handled according to verification rule, to complete to verify.This programme establishes the correspondence between byte and the data address of data, and demarcate whether its corresponding data is verified by the content of byte, the data that need not be verified can be fast skipped subsequently through the byte of browsing character string, to be perfectly suitable for the scene of electricity meter data verification, realizes and rapidly and accurately complete electricity meter data verification.
Description
Technical field
This application involves unmanned plane field more particularly to a kind of data verification methods and device, computer-readable storage medium
Matter.
Background technology
For popular, voltameter be in measuring circuit by the device of electricity.In unmanned plane field of batteries, electricity
It is counted as being of crucial importance in the statistics of electricity calculates for metering module, therefore has correctly configured each of voltameter
Item parameter, and confirm that parameter is correctly written, voltameter and unmanned plane, which are correctly reliably run, has considerable meaning
Justice.
In order to determine whether the parameters of voltameter are obtained for correct configuration, it is necessary to join to the items of voltameter
Number carries out data check, that is, whether the actual value for detecting the parameters of reading is consistent with the standard value needed to configure.Currently, real
There are many ways to existing data detection, for example, and verification, even-odd check, cyclic redundancy check code (Cyclic Redundancy
Check, abbreviation CRC check) etc..
But although said program can realize data check, since voltameter internal algorithm and related control strategies compare
Complexity, this results in existing data verification scheme that can not be effectively applicable to the scene that electricity meter data verifies.
Invention content
A kind of data verification method of the application offer and device, computer readable storage medium, for solving existing number
The problem of can not being effectively applicable to electricity meter data verification according to verification scheme.
The first aspect of the application is to provide a kind of data verification method, including:Determine block to be verified, it is described to wait for school
The data address that block includes multiple data is tested, and the data address of the multiple data is continuous;According to the of block to be verified
One verification file, is handled according to verification rule, to complete to verify, wherein the first verification file includes the first character
The data address of string, the byte of first character string and the block to be verified corresponds, the in first character string
The content of one byte is preset standard information, and the corresponding data address of first byte is to be not required to school in the multiple data
The data address for the first data tested;Wherein, the verification rule includes:For each byte of first character string, if
The content of the byte is the standard information, then skips the byte, otherwise, to the data of the corresponding data address of the byte into
Row verification.
The second aspect of the application is to provide a kind of data calibration device, including:Initial module, it is to be verified for determining
Block, the block to be verified includes the data address of multiple data, and the data address of the multiple data is continuous;Calibration mode
Block, for according to the first of block to be verified the verification file, being handled according to verification rule, to complete to verify, wherein described
First verification file includes the first character string, and the data address of the byte of first character string and the block to be verified is one by one
Corresponding, the content of the first byte is preset standard information in first character string, the corresponding data of first byte
Location is the data address for the first data that verification is not required in the multiple data;Wherein, the verification rule includes:For described
Each byte of first character string skips the byte, otherwise, to the word if the content of the byte is the standard information
The data for saving corresponding data address are verified.
It is to provide a kind of data calibration device in terms of the third of the application, including:At least one processor and memory;
The memory stores computer program;At least one processor executes the computer program of the memory storage, with
Execute foregoing method.
The 4th aspect of the application is to provide a kind of computer readable storage medium, in the computer readable storage medium
It is stored with computer program, the computer program, which is performed, realizes foregoing method.
Data verification method and device provided by the present application, computer readable storage medium, when needing to voltameter parameter
When being verified, using the continuously distributed block to be verified of data address as process object, the verification file of the block to be verified
The byte of middle character string and the data address of block to be verified correspond, and the data of the data of verification are not required in block to be verified
The corresponding byte content in address is scheduled standard information, traverses all words of character string in the verification file of block to be verified
Section encounters the byte that content is standard information and then directly skips.This programme establishes pair between byte and the data address of data
It should be related to, and demarcate whether its corresponding data is verified by the content of byte, subsequently through browsing character string
Byte can fast skip the data that need not be verified, to be perfectly suitable for electricity meter data verification scene, realize
Rapidly and accurately complete electricity meter data verification.
Description of the drawings
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 technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the application
Some embodiments, for those of ordinary skill in the art, other drawings may also be obtained based on these drawings.
Fig. 1 is the flow diagram for the data verification method that the embodiment of the present application one provides;
Fig. 2A~Fig. 2 B are the flow diagram for the data verification method that the embodiment of the present application two provides;
Fig. 3 is the flow diagram for the data verification method that the embodiment of the present application three provides;
Fig. 4 is the structural schematic diagram for the data calibration device that the embodiment of the present application four provides;
Fig. 5 A~Fig. 5 B are the structural schematic diagram for the data calibration device that the embodiment of the present application five provides;
Fig. 6 is the structural schematic diagram for the data calibration device that the embodiment of the present application six provides.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, technical solutions in the embodiments of the present application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.
In practical application, since voltameter internal algorithm and related control strategies are more complicated, inside need to configure
Register parameters quite as many as, and the type of parameter also compare it is more, in conjunction with a variety of factors of voltameter special scenes, result in
The verification object of electricity meter data verification has the characteristics that distribution is discontinuous.
By taking the configuration data in voltameter as an example, the configuration data in voltameter includes calibration data, battery life cycle
Record data, algorithm configuration data, security strategy configuration data, abnormal log record data etc..The classification of these data is numerous
More, data address distribution is also discontinuous.In addition, in addition to the discontinuous caused data check object point of data address distribution itself
Other than cloth is discontinuous, be even directed to some continuously distributed data, since the battery types of voltameter application are different, accordingly into
The object of row data check also can be different, specifically, may have some calibration data in these data in data check
And record data need not be compared.Therefore, above-mentioned various scene factors are based on, electricity meter data is caused to verify field
Jing Zhong verifies object, that is, needs the data verified, and data address is typically discontinuous.
And current many data verification methods are all to be only applicable to the continuously distributed full wafer data of data address, if adopted
After can only all being verified to full wafer data with conventional data verification method, then therefrom obtain the part number for wherein needing to verify
According to check results.It is appreciated that a large amount of unnecessary processing and resource consumption can be caused in this way.Therefore conventional data check side
Case can not be well suited for the scene of electricity meter data verification.
For the demand, Fig. 1 is a kind of flow diagram for data verification method that the embodiment of the present application one provides;Ginseng
Fig. 1 is examined it is found that present embodiments providing a kind of data verification method, for rapidly and accurately realizing electricity meter data verification.Tool
Body, which includes:
101, block to be verified is determined, the block to be verified includes the data address of multiple data, and the multiple number
According to data address it is continuous;
102, according to the first of block to be verified the verification file, are handled, to complete to verify according to verification rule.
Wherein, the first verification file refers to the verification file of block to be verified.In the present embodiment, block to be verified
Verification file include the first character string, the data address one of the byte of first character string and the block to be verified is a pair of
It answers, the content of the first byte is preset standard information, the corresponding data address of first byte in first character string
To be not required to the data address of the first data verified in the multiple data.Specifically, the verification rule includes:For described
Each byte of first character string skips the byte, otherwise, to the word if the content of the byte is the standard information
Save data (the corresponding data of byte referred in aftermentioned embodiment, the as corresponding data of byte of corresponding data address
The data of location) it is verified.
In practical application, the executive agent of the data verification method can be data calibration device.In practical applications, should
Data calibration device can be realized by software code or software application, and Jie of code can also be executed by being stored with correlation
Matter, for example, the realizations such as USB flash disk, CD;Alternatively, the data calibration device can also be by integrating or being equipped with related execution code
Entity apparatus realize, for example, the various electronic equipments such as chip, smart mobile phone, computer.
Example is carried out in conjunction with actual scene:In practical application, it is related to there are many scene possibility that electricity meter data verifies.Example
Such as, whether under the usage scenario of unmanned plane, it is accurate to need to monitor battery meter parameter at any time, using as considering unmanned electromechanics
The reference data that can pond use safely.For another example under the production scene of voltameter, need by electricity meter data verification come
Can detection voltameter parameter be correctly written in.
In conjunction with this programme, when needing to carry out electricity meter data verification, each block can have been divided in advance, and then determine
Which currently need to verify parameter i.e. data, the data verified as needed determine to be verified where its data address
Block first determines block to be verified, then determined from block to be verified alternatively, can also not consider the data for needing to verify first
Need the data address of verification data.Wherein, the data address that block to be verified includes is continuous, for example, block to be verified can
To include data address 0x44C0 to 0x44CF, the size of block to be verified is 16 data addresses in citing, in practical application,
The size of block to be verified can be not limited thereof herein determines according to actual conditions.In addition, the acquisition of block to be verified
Mode is not also defined, is waited at random for example, one piece of continuous data address can be chosen from all data addresses
Block is verified, universal formulation can also be carried out to all data addresses and obtain multiple areas to be verified according to preset partition strategy
Block, then alternatively, all entire data addresses can also be considered as block to be verified here.
After determining block to be verified, the verification file of the block to be verified is obtained.Optionally, the school of block to be verified is obtained
There are many modes for testing file, for example, the verification file of block to be verified can be generated in advance, or can also wait for school in determination
It is generated in real time after testing module.It, can be with when the verification object (needing the data verified) of electricity meter data verification is relatively fixed
The verification file of block to be verified is generated in advance, and the byte content for treating character string in the verification file of verification block is set
It is fixed.When the verification object of electricity meter data verification needs frequent updating, then the verification text of block to be verified can be only generated in advance
Part, but byte content therein is not set.It is appreciated that the byte for verifying character string in file of certain block to be verified
Sizes of the number depending on (for example being not less than) block to be verified, therefore, can first generate the verification file including character string and
Its byte content is not set, when needing to treat verification block progress data check, further according to the object of this verification
Set the byte content of character string in the verification file of block to be verified.In addition it is also possible to after determining block to be verified, in real time
The verification file of block to be verified is generated, and the byte content of character string in the verification file is set.
The byte content that character string in the verification file of verification block is treated in this programme is set, so as to be verified
The content of the first byte of character string is standard information in the verification file of block.Wherein, standard information is not necessarily to school for characterizing
It tests, that is to say, that in this data check, content is that the data of the corresponding data address of byte of standard information do not need
It is verified, therefore can directly skip the byte, opposite, content is not the number of the corresponding data address of byte of standard information
According to being verified.In practical application, standard information can be the letter except the data area that data check object can be set
Breath, can distinguish with the data that need to be verified, for example, the data type of the configuration parameter of voltameter is numerical value, then mark
Calibration information can be set as symbol " * ".
After determining block to be verified and obtaining the verification file of block to be verified, data school can be carried out according to verification rule
It tests.Specifically, for each byte of character string in the verification file of block to be verified, whether the content for detecting the byte is mark
Calibration information can directly skip the byte, if not, saying accordingly if so, then illustrating that the corresponding data of the byte are not required to verify
The corresponding data of the bright byte need to verify, then are verified accordingly to the corresponding data of the byte.Side based on the application
Case verifies correspondence between the byte of character string and the data address of data in file by foundation, can with flexibly, can
Control and succinct mode realize that electricity meter data verifies, also, the byte content by verifying character string in file to setting,
Can accurately, the data exhaustively verified to needs verify.
Optionally, the method corresponding data of byte verified can there are many.As an example, can pass through
Comparing is carried out to be verified.Specifically, on the basis of any embodiment, the second byte in first character string
Content is the standard value for the second data that verification is needed in the multiple data, and the corresponding data address of second byte is described
The data address of second data;Correspondingly, the data of the corresponding data address of the byte are verified in the verification rule,
Including:
The content of the byte is compared with actual value, the actual value for from the data that voltameter is read with institute
State the data value of the corresponding data address storage of byte;
If comparing unanimously, the verification of the byte passes through, and is otherwise recorded as the corresponding data address of the byte different
Normal address.
It is illustrated in conjunction with actual scene:The process tested according to the verification file of block to be verified is substantially wrapped
It includes, for each byte of character string in verification file, detects whether its content is standard information, if it is, directly skipping
Otherwise the byte, needs to verify the corresponding data of the byte without processing.
The method specifically verified is:When for each byte setting content of character string, it would be desirable to the data of the data of verification
The corresponding byte content in address is set as the standard value of the data.In the present solution, the content of byte refers to the number of byte itself
It is believed that breath, for example, it is assumed that certain hexadecimal character string is " 00FC29**00 ", it is known that the character string has 5 bytes, this 5
The content of byte is followed successively by " 00 ", " FC ", " 29 ", " * * ", " 00 ".In practical application, need to certain voltameter parameter into line number
When according to verification, the standard value to the parameter can will be needed to configure and be set as the content of the corresponding byte of the parameter, in conjunction with aforementioned
For example of illustrating, it is assumed that the data address of the first parameter is corresponding with the first character section of above-mentioned character string, and needs to configure the
The value of one parameter is 00, can be by the first character of above-mentioned character string if it includes first parameter currently to need the data verified
The content setting of section is 00.
It is not the word of standard information for its content after byte content setting in the verification file of block to be verified
It saves (needing the corresponding byte of the data address of the data verified), by the content of the byte and the phase in the real data of reading
It answers data to be compared, judges whether the corresponding data of the byte are abnormal according to comparison result.Specifically, comparing refers to
It will need to configure and be compared with the actual value of the data to the standard value of certain data.Wherein, the actual value of certain data can be from
It is obtained in the electricity meter data of actual read-out, the standard value of data is with being set to the data of the data based on scheme before
The content of the corresponding byte in location.If being appreciated that standard value is consistent with actual value, illustrates data configuration or is written successfully,
Data check passes through, if comparison is inconsistent, illustrates that the configuration of the data or write-in are abnormal.Optionally, data can be prompted
It is abnormal, and abnormal data address is returned, in order to which user carries out data configuration reparation and malfunction elimination.
Present embodiment, when carrying out electricity meter data verification, it would be desirable to be allocated to the standard value for the data for needing to verify
It is set as the content of the corresponding byte of the data, subsequently when being verified based on verification file, for the data for needing to verify
The content of byte is compared corresponding byte with the actual value of corresponding data, quickly and easily realizes and is verified to needs
Data are verified.Since comparison data can be directly acquired based on byte content, data check can be further increased
Efficiency.
Optionally, in order to further increase the efficiency of data check, verification rule can be set according to byte order successively
It is handled.Specifically, on the basis of any embodiment, each byte for first character string, if institute
The content for stating byte is the standard information, then skips the byte, otherwise, is carried out to the data of the corresponding data address of the byte
Verification, including:
Using the first byte in first character string as current pending byte;
Whether the content for detecting the pending byte is the standard information;
When the content of the pending byte is the standard information, next byte of the pending byte is updated
For current pending byte, and whether the content for executing the detection pending byte again is the standard information
Step, until all bytes are by detection;
When the content of the pending byte is not the standard information, to the corresponding data of the pending byte
The data of location are verified, and next byte of the pending byte is updated to current pending byte, are executed again
The step of whether content of the detection pending byte is the standard information, until all bytes are by detection.
Specifically, in present embodiment, according to the byte order of character string, first to the first byte in character string at
Reason, that is, whether the content for detecting first byte is standard information, if standard information, is then jumped directly to at next byte
Reason, otherwise, to the corresponding data of first byte carry out data check after continue to handle next byte, and so on follow
Ring execute, until character string all bytes have been processed it is complete.
Present embodiment, according to the character string in the verification file of block to be verified, according to the byte order time of character string
The each byte for going through character string takes corresponding processing mode to be handled, without applying extra tune according to its byte content
Degree scheme, you can automatic to quickly complete electricity meter data verification.
Data verification method provided in this embodiment connects data address when needing to verify voltameter parameter
The continuous block to be verified being distributed generates for the block to be verified verify file in advance as process object, in the verification file
The byte of character string and the data address of block to be verified correspond, and according to the number for needing to verify in block to be verified
According to, the byte content of character string is set, for be not required in block to be verified verification data, its data address is corresponded to
Byte content be set as scheduled standard information, the character string in follow-up traversal verification file, it is standard information to encounter content
Byte then directly skip, encounter content not be standard information byte side verified.This programme establishes byte and data
Correspondence between data address, and demarcate whether its corresponding data needs to carry out school by setting the content of byte
It tests, the data that need not be verified can be fast skipped subsequently through the byte of browsing character string, to be perfectly suitable for electricity
The scene of verification is counted, realizes and rapidly and accurately completes electricity meter data verification.
In practical application, the data volume of voltameter is usually larger, therefore, in order to further increase electricity meter data verification
Efficiency.Fig. 2A is a kind of flow diagram for data verification method that the embodiment of the present application two provides;With reference to figure 2A it is found that this reality
It applies example and provides a kind of data verification method, be used on the basis of rapidly and accurately realizing electricity meter data verification, further
Improve the efficiency of data check.Specifically, on the basis of embodiment one, before 101, can also include:
201, the data address of all data is divided, to obtain each block, each block includes multiple companies
Continuous data address;
Correspondingly, 101 can specifically include:
1011, the first block where the third data that need to be verified is determined as block to be verified.
Example is carried out in conjunction with actual scene:In present embodiment, if the data address of all data of voltameter is divided into
Dry block.Wherein, the strategy that block divides can be determines according to actual conditions.It optionally, can be according to may need into line number
It is divided according to the frequency of the regularity of distribution combination data check of the data of verification, for example, for some distribution concentrations and often
The data of progress data check are needed, block division can be carried out according to smaller granularity, to reduce in block to be verified not
The data volume that need to be verified further increases verification efficiency.Preferably, in conjunction with the special screne of electricity meter data, it is contemplated that it is counted
It is discontinuous according to distribution, and the uncertain feature of data check object can be according to default in order to ensure the accuracy of data check
Granularity, carry out average division, obtain the big blocks such as several.Wherein, granularity refers to the size of single block, block it is big
It is small i.e. it includes data address quantity.
In conjunction with present embodiment, when needing to carry out electricity meter data verification, first determines and the data verified is needed (to implement
Described third data in example) where block, and using these blocks as block combination aforementioned data method of calibration to be verified
Carry out data check.Specifically, third data can determine as needed, after determining block to be verified according to third data,
According to previously determined third data, each area's data address in the block to be verified can be divided into two classes, one kind is that this is waited for
The data address that is verified in verification block, the second described data in data, that is, embodiment of this kind of data address,
Another kind of is the data address that need not be verified in the block to be verified, described in data, that is, embodiment of this kind of data address
First data.Correspondingly, the byte of character string can be divided into two kinds in the verification file of each block to be verified:One is
The content of the corresponding byte of data address of two data, i.e., the second described byte in embodiment, the second byte is not that standard is believed
Cease and be that the standard value of the corresponding data of the second byte, another kind are the corresponding bytes of data address of the first data, i.e., in fact
The first byte described in example is applied, the content of the first byte is preset standard information.It is appreciated that in present embodiment in advance
Block division is carried out, when needing to carry out data check, the block where the data verified as needed determines area to be verified
Block, that is to say, that if not needing the data of progress data check in certain block, without handling the block, from
And the data volume of processing is reduced, improve the efficiency of electricity meter data verification.
In addition, the verification file of each block can equally be generated in advance in the present embodiment, subsequently need to carry out data check
When, the verification file of block to be verified is found out from the verification file of each block, alternatively, can also block to be verified determined
Afterwards, then in real time the verification file of block to be verified is generated.Correspondingly, as shown in Figure 2 B, in one embodiment, in embodiment
In two on the basis of any embodiment, the data verification method of the application can also include:
202, the verification file of each block is generated, wherein the verification file of each block includes the head of the block
A data address and character string, the data address of byte and the block of character string successively one in the verification file of each block
One corresponds to.
Specifically, in present embodiment, by the data address region division of electricity meter data for multiple blocks, accordingly
, this multiple block is corresponding with respective verification file.In order to indicate block and verify the correspondence between file, this implementation
In mode, the verification file of each block includes the first data address and character string of the block, according in verification file
Data address is that can determine the starting data address of the corresponding block of verification file, be can determine pair according to the byte number of character string
The size of block is answered, so that it is determined that the corresponding block of verification file.In addition, verifying the word of character string in file in present embodiment
It is one-to-one relationship successively between the data address of corresponding with the verification file block of section, specifically, i.e. certain byte
The precedence of precedence data address corresponding with the byte within a block in character string is identical.As an example it is assumed that block A
Including 5 continuous data addresses " 0x44C0 to 0x44C4 ", the verification file of block A includes the first data of block A
(wherein, 0x is used to indicate the form of the data address as hexadecimal, in practical application, can verify text for location " 0x44C0 "
Actual data address, i.e. " 44C0 " are only recorded in part) and include the character strings of 5 bytes, then it is based on byte and data address
One-to-one relationship successively, the first character section corresponding data address " 0x44C0 " of character string, second byte in the citing
Corresponding data address " 0x44C1 ", third byte corresponding data address " 0x44C2 ", and so on, character string the last one
Byte corresponds to the last one data address " 0x44C4 " of block A.
In order to realize data check, on the basis of Fig. 2 B illustrated embodiments, it is also necessary to treat the verification of verification block
The byte content of character string is set in file, correspondingly, the data verification method further includes:
203, right according to setting rule according to the standard value of the data address of the third data and the third data
The content of the byte of character string is set in the verification file of first block.
Wherein, the setting rule includes:Content setting by the corresponding byte of data address of the third data is
The content setting of other bytes is the standard information by the standard value of the third data.
For aforementioned citing example, it is assumed that it is current need to removing data address in block A as " 0x44C3 " in addition to
The corresponding data of other data addresses are verified, and the standard value for being allocated to each data address that need to be verified is followed successively by " 00 ",
" FC ", " 29 " and " 00 ".Then correspondingly, be based on present embodiment, be block A verification file in character string byte content into
After row setting, which is " 00FC29**00 ".
Present embodiment, based on setting rule, the byte based on character string in verification file is with the data of corresponding block
Location one-to-one relationship successively, sets the byte content of character string, to set up byte and data address naturally
Between correspondence, without specially safeguarding the correspondence between byte and data address, and when subsequently carrying out data check, only
The byte of character string need to be traversed successively can complete data to needing verification data in respective block according to the sequence of data address
Verification, improves the convenience of data check.
In practical application, due to needing the data verified that may be distributed more dispersed, the area where these data
Block may have multiple.For it is this need verification data where block have multiple situations, a variety of processing dispatching parties can be passed through
Case realizes the data check to each block.
As a kind of enforceable mode, in embodiment two on the basis of any embodiment, first block
Quantity is multiple;Correspondingly, 101 can specifically include:
Any first block is determined as to current block to be verified;
Correspondingly, after 102, further include:
Any untreated block in first block is determined as current block to be verified, and is executed again
102, until all blocks where the third data are by processing.
As another enforceable mode, in embodiment two on the basis of any embodiment, first block
Quantity be it is multiple;Correspondingly, 101 can specifically include:
According to the sequence of addresses of data address, using in first block near preceding block as current area to be verified
Block;
Correspondingly, after 102, further include:
According to the sequence of addresses of data address, by next area in first block after the block to be verified
Block is determined as current block to be verified, and executes 102 again, until all blocks where the third data are at
Reason.
Specifically, the first embodiment carries out multiple blocks where needing verification data in the way of random process
Processing, second of embodiment is according to the sequencing of block locations successively to needing at multiple blocks where verification data
Reason.It can realize that the data that need to be verified are handled by above two embodiment, to ensure the integrality of data check.
The data address of electricity meter data is divided into multiple blocks by data verification method provided in this embodiment in advance,
Data check is subsequently carried out according to the block where needing the data address of verification data, data processing amount can be effectively reduced, from
And the efficiency of electricity meter data verification is improved, and reduce the resource of data check consuming.
For the scheme for the application being best understood from, illustrate by taking the voltameter chip of model BQ40Z50-R1 as an example
It is bright.As shown in table 1, the object of electricity meter data verification has the characteristics that discontinuously arranged, specifically, dash area is to need in figure
Carry out the parameter of data check.
Table 1
Class | Subclass | Address | Type | Name | Min | Max | Default | Units |
PF Status | AFE Regs | 0x4491 | H1 | AFE SCD1 | 0x0 | 0xff | 0x0 | hex |
PF Status | AFE Regs | 0x4492 | H1 | AFE SCD2 | 0x0 | 0xff | 0x0 | hex |
Gas Gauging | Turbo Cfg | 0x44C0 | I2 | Min Turbo Power | -32768 | 0 | 0 | cW |
Gas Gauging | Turbo Cfg | 0x44C2 | I1 | Max C Rate | -127 | 0 | -4 | C |
Gas Gauging | Turbo Cfg | 0x44C3 | I2 | High Frequency | 0 | 32767 | 36 | mΩ |
Gas Gauging | Turbo Cfg | 0x44C9 | I1 | Reserve Energy% | 0 | 100 | 0 | % |
Settings | Manufacturing | 0x4580 | H2 | Mfg Status init | 0x0 | 0xFFFF | 0x0000 | hex |
Calibration | Internal Temp Model | 0x45C0 | I2 | Int Gain | -32768 | 32767 | -12143 | —— |
Again as shown in table 2, needed in continuously distributed data address carry out data check parameter be also possible to only this
Subregion in continuously distributed data address, such as dash area in figure.
Table 2
Class | Subclass | Address | Type | Name | Min | Max | Default | Units |
Settings | Fuse | 0x47C4 | I2 | Min Blow Fuse | 0 | 65535 | 3500 | mV |
Settings | Fuse | 0x47C6 | U1 | Fuse Blow Timeout | 0 | 255 | 30 | s |
Settings | Configuration | 0x47C7 | H1 | FET Options | 0x0 | 0xff | 0x20 | hex |
Settings | Configuration | 0x47C8 | H1 | Sbs Gauging | 0x0 | 0x0F | 0x04 | hex |
Settings | Configuration | 0x47C9 | H1 | Sbs Configuration | 0x0 | 0xff | 0x20 | hex |
Settings | Configuration | 0x47CB | H1 | Power Config | 0x0 | 0x83 | 0x00 | hex |
Settings | Configuration | 0x47CC | H1 | IO Config | 0x0 | 0x03 | 0x00 | hex |
Settings | BTP | 0x47CD | I2 | Init Discharge Set | 0 | 32767 | 150 | mAh |
Settings | BTP | 0x47CF | I2 | Init Charge Set | 0 | 32767 | 175 | mAh |
Wherein, Class is data category, and Subclass is data time classification, and Address is data address, and Type is number
According to type, Name is the parameter name of data, and Min and Max are respectively the minimum value and maximum value of data area, and Default matches
The data value set, Uint are data unit.
In conjunction with Tables 1 and 2, it is based on scheme provided by the present application, the data address of voltameter can be divided into several wait greatly
Block, for example, the size of each block can be limited as 32 data addresses, correspondingly, generating its character string for each block
Byte number be 32 bytes verification file, as follows:
44C0=0000FC2900********00******************************* * * * * * * * * * * * * *
47A0=************000032********************************* * * * * * * * * * * * * *
47C0=**************1C0520**0000************************* * * * * * * * * * * * * *
It is the exemplary plot for verifying character string in file of each block as shown above.Wherein, in the verification file of each block
The byte number of character string is 32 bytes, and front end is the first data address of block, in the example data address with 16 into
Tabulation show (such as:44C0 indicate 0x44C0), subsequent 32 bytes of equal sign successively with from the first data address of the block
The data address to begin until the last one data address of block corresponds, and is set to byte content in conjunction with aforementioned schemes
After fixed, the part for needing data check is shown in character string with standard value, the portion without verification is shown with " * " symbol
Point.Optionally, each byte equally can be with hexadecimal representation.
Then the data verified as needed verify the byte content of character string in file by setting, in data check
The data without verification are masked in the process, quickly and easily complete data check.
In addition, Fig. 3 is a kind of flow diagram for data verification method that the embodiment of the present application three provides, in a kind of example
In, data verification method provided by the present application may include following flow:
401, into data check state (for example, detecting that user initiates data check request);
402, the configuration data of voltameter is read;
403, first block to be verified is determined;
404, using the first byte in the verification file of block to be verified as pending byte;
405, whether the content for detecting pending byte is " * * ", if so then execute 406, otherwise executes 408;
406, it detects whether all bytes traverse completion, if so then execute 411, otherwise executes 407;
407, it using next byte as pending byte, returns and executes 405;
408, the content of pending byte is compared with the actual value of corresponding data address, and executes 409;
409, whether detection comparison result is consistent, executes 406 if consistent, otherwise executes 410;
410, the data address and its corresponding standard value and actual value are returned;
411, it detects whether all blocks to be verified are disposed, if so then execute 412, otherwise executes 413;
412, data check terminates;
413, it is directed to next block to be verified, returns and executes 404.
In above-mentioned flowchart process, then to exist previously according to needing the data address of verification data to determine block to be verified
To needing the corresponding byte content of the data address of verification data to set in the verification file of block to be verified, to not needing school
The corresponding byte content of data address for the data tested is filled with standard information.Without regard to the block of data check, just do not have to
File is verified with reference to it to be handled, and can improve the efficiency of data check in this way.
The scheme of the application fully takes into account the characteristic of voltameter itself, reaches inspection using more convenient and reliable way
The whether normal purpose of quantometer parameter configuration, reduces the complexity of data check, and improve the efficiency of data check.
Can be accurate using the invention, data check is carried out to exhaustive to the data that needs verify.
Fig. 4 is a kind of structural schematic diagram for data calibration device that the embodiment of the present application four provides;It is found that it should with reference to figure 4
Data calibration device includes:
Initial module 51, for determining that block to be verified, the block to be verified include the data address of multiple data, and
The data address of the multiple data is continuous;
Correction verification module 52, for according to the first of block to be verified the verification file, being handled according to verification rule, with complete
At verification, wherein the first verification file includes the first character string, the byte of first character string and the area to be verified
The data address of block corresponds, and the content of the first byte is preset standard information in first character string, and described first
The corresponding data address of byte is the data address for the first data that verification is not required in the multiple data.
Wherein, the verification rule includes:For each byte of first character string, if the content of the byte is
The standard information then skips the byte, otherwise, is verified to the data of the corresponding data address of the byte.
In practical applications, which can be realized by software code or software application, can also be led to
It crosses and is stored with the related medium for executing code, for example, the realizations such as USB flash disk, CD;Alternatively, the data calibration device can also pass through
Entity apparatus that is integrated or being equipped with related execution code is realized, for example, the various electronics such as chip, smart mobile phone, computer are set
It is standby.
In practical application, the size of block to be verified can be determines according to actual conditions.In addition, the determination of initial module 51 waits for
Check field block mode is not also defined, for example, can be chosen from all data addresses one piece of continuous data address with
Machine obtains block to be verified, it is multiple can also to carry out universal formulation acquisition to all data addresses according to preset partition strategy
Block to be verified, then alternatively, all entire data addresses can also be considered as block to be verified here.
Optionally, the method that correction verification module 52 verifies the corresponding data of byte can there are many.Show as one kind
Example can be verified by carrying out comparing.Specifically, on the basis of any embodiment, first character string
In the second byte content be the second data that verification is needed in the multiple data standard value, the corresponding number of second byte
According to the data address that address is second data;Correspondingly, correction verification module 52, is specifically used for the content and reality of the byte
Actual value is compared, and the actual value is the number of the data address storage corresponding with the byte from the data that voltameter is read
According to value;Correction verification module 52, if consistent also particularly useful for comparing, the verification of the byte passes through, and otherwise corresponds to the byte
Data address be recorded as abnormal address.Optionally, correction verification module 52 can be also used for prompt data exception, and return abnormal
Data address.
Optionally, in order to further increase the efficiency of data check, verification rule can be set according to byte order successively
It is handled.Specifically, on the basis of any embodiment, correction verification module 52 includes:
Start element, for using the first byte in first character string as current pending byte;
Detection unit, whether the content for detecting the pending byte is the standard information;
Processing unit is used for when the content of the pending byte is the standard information, by the pending byte
Next byte be updated to current pending byte, and indicate the detection unit execute again it is described detection it is described pending
The step of whether content of byte is the standard information, until the byte is by detection;
The processing unit is additionally operable to, when the content of the pending byte is not the standard information, wait for described
The data of the corresponding data address of processing byte are verified, and next byte of the pending byte are updated to current
Pending byte indicates whether the content that the detection unit executes the detection pending byte again is the standard
The step of information, until the byte is by detection.
Present embodiment, according to the character string in the verification file of block to be verified, according to the byte order time of character string
The each byte for going through character string takes corresponding processing mode to be handled, without applying extra tune according to its byte content
Degree scheme, you can automatic to quickly complete electricity meter data verification.
Data calibration device provided in this embodiment establishes the correspondence between byte and the data address of data, and
Demarcate whether its corresponding data is verified by setting the content of byte, subsequently through the byte of browsing character string
The data that need not be verified can be fast skipped, to be perfectly suitable for the scene of electricity meter data verification, are realized quickly accurate
Really complete electricity meter data verification.
Fig. 5 A are a kind of structural schematic diagram for data calibration device that the embodiment of the present application five provides;With reference to figure 5A it is found that
On the basis of example IV, described device further includes:
Division module 61 is divided for the data address to all data, and to obtain each block, each block is equal
Including multiple continuous data addresses;
Initial module 51, specifically for the first block where the third data for needing verification is determined as block to be verified.
Wherein, the strategy of the progress of division module 61 block division can be determines according to actual conditions.Preferably, in order to ensure
The accuracy of data check, division module 61 can carry out average division according to preset granularity, obtain the big areas such as several
Block.
As shown in Figure 5 B, in embodiment six on the basis of any embodiment, described device further includes:Generation module
62, the verification file for generating each block, wherein the verification file of each block includes the first data of the block
Address and character string, the data address of byte and the block of character string is one a pair of successively in the verification file of each block
It answers.
In order to realize data check, on the basis of Fig. 5 B illustrated embodiments, it is also necessary to treat the verification of verification block
The byte content of character string is set in file, correspondingly, data calibration device further includes:Setting module 63 is used for basis
The standard value of the data address of the third data and the third data, according to setting rule, to the school of first block
The content for testing the byte of character string in file is set.Wherein, the setting rule includes:By the data of the third data
The content setting of the corresponding byte in address is the standard value of the third data, is the standard by the content setting of other bytes
Information.Present embodiment can improve the convenience of data check.
As a kind of enforceable mode, in embodiment six on the basis of any embodiment, first block
Quantity is multiple;Initial module 51, specifically for any first block to be determined as to current block to be verified;Described device is also
Including:First update module, for verifying file according to the first of block to be verified in the correction verification module, according to verification rule
After being handled, any untreated block in first block is determined as current block to be verified, and indicate
Correction verification module 52 executes described according to the first of block to be verified the verification file, the step handled according to verification rule again
Suddenly, until all blocks where the third data are by processing.
As another enforceable mode, in embodiment six on the basis of any embodiment, first block
Quantity be it is multiple;Initial module 51, is specifically used for according to the sequence of addresses of data address, by first block near preceding
Block as current block to be verified;Described device further includes:Second update module, for the correction verification module according to
First verification file of block to be verified, after being handled according to verification rule, according to the sequence of addresses of data address, by institute
It states next block after being located at the block to be verified in the first block and is determined as current block to be verified, and indicate to verify
Module 52 executes described the step of verifying file according to the first of block to be verified, being handled according to verification rule again, directly
To all blocks where the third data by processing.
It can realize that the data that need to be verified are handled by above two embodiment, to ensure the complete of data check
Whole property.
Data calibration device provided in this embodiment can effectively reduce data processing amount, to improve electricity meter data
The efficiency of verification, and reduce the resource of data check consuming.
Fig. 6 is the structural schematic diagram for the data calibration device that the embodiment of the present application six provides, as shown in fig. 6, the data school
Experiment device 700 is connected by bus 704 including at least one processor 701, memory 702 and communication interface 703;Memory
702 storage computer executed instructions;At least one processor 701 executes the computer executed instructions that memory 702 stores so that
Data calibration device carries out data interaction to execute the side of aforementioned any embodiment by communication interface 703 with external server
Method.
May include different types of processor, or including phase in the processor 701 of above-mentioned data calibration device 700
The processor of same type;Processor can be below any:Central processing unit (Central Processing Unit, letter
Claim CPU), arm processor, field programmable gate array (Field Programmable Gate Array, abbreviation FPGA), specially
There is the device of calculation processing ability with processor etc..A kind of optional embodiment, at least one processor can also be integrated into
Many-core processor.
Memory 702 in above-mentioned data calibration device 700 can be below any or any combination:At random
Access memory (Random Access Memory, abbreviation RAM), read-only memory (read only memory, abbreviation
ROM), nonvolatile memory (non-volatile memory, abbreviation NVM), solid state disk (Solid State Drives,
Abbreviation SSD), mechanical hard disk, disk, the storage mediums such as disk permutation.
Communication interface 703 carries out data interaction for data calibration device 700 and other equipment.Communication interface can be with
Under any or any combination:Network interface (such as Ethernet interface), wireless network card etc. have network access facility
Device.
Bus may include address bus, data/address bus, controlling bus etc., for ease of indicating, with a thick line table in figure
Show the bus.The bus can be below any or any combination:Industry standard architecture (Industry
Standard Architecture, abbreviation ISA) bus, peripheral component interconnection (Peripheral Component
Interconnect, abbreviation PCI) bus, expanding the industrial standard structure (Extended Industry Standard
Architecture, abbreviation EISA) wired data transfers such as bus device.
The application also provides a kind of computer readable storage medium, which has computer journey
Sequence executes the method in above-described embodiment when executing the computer program.
The application also provides a kind of data calibration device, which includes at least one processor and storage
Device;The memory stores computer program;At least one processor executes the computer program of the memory storage,
To realize the method in above-described embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device
Specific work process can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.It should be noted that this
Each embodiment in application can individually be implemented, and can also combine and implement under the premise of not conflicting.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Finally it should be noted that:The above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent
Pipe is described in detail the application with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (16)
1. a kind of data verification method, which is characterized in that including:
Determine block to be verified, the block to be verified includes the data address of multiple data, and the data of the multiple data
Address is continuous;
According to the first of block to be verified the verification file, handled according to verification rule, to complete to verify, wherein described the
One verification file includes the first character string, and the byte of first character string and the data address one of the block to be verified are a pair of
It answers, the content of the first byte is preset standard information, the corresponding data address of first byte in first character string
To be not required to the data address of the first data verified in the multiple data;
Wherein, the verification rule includes:For each byte of first character string, if the content of the byte is described
Standard information then skips the byte, otherwise, is verified to the data of the corresponding data address of the byte.
2. according to the method described in claim 1, it is characterized in that, the content of the second byte is described in first character string
It is second data that the standard value of the second data of verification, the corresponding data address of second byte are needed in multiple data
Data address;
The data of the corresponding data address of the described pair of byte verify, including:
The content of the byte is compared with actual value, the actual value be from the data that voltameter is read with the word
Save the data value of corresponding data address storage;
If comparing unanimously, the verification of the byte passes through, and is otherwise recorded as the corresponding data address of the byte singularly
Location.
3. according to the method described in claim 1, it is characterized in that, before determination block to be verified, further include:
The data address of all data is divided, to obtain each block, each block includes multiple continuous data
Address;
The determination block to be verified, including:
The first block where the third data that need to be verified is determined as block to be verified.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
Generate the verification file of each block, wherein the verification file of each block includes the first data of the block
Location and character string, the byte of character string corresponds successively with the data address of the block in the verification file of each block;
According to the standard value of the data address of the third data and the third data, according to setting rule, to described first
The content of the byte of character string is set in the verification file of block;
Wherein, the setting rule includes:Content setting by the corresponding byte of data address of the third data is described
The content setting of other bytes is the standard information by the standard value of third data.
5. according to the method described in claim 3, it is characterized in that, the quantity of first block is multiple;The determination waits for
Block is verified, including:
Any first block is determined as to current block to be verified;
It is described to further include after being handled according to verification rule according to the first of block to be verified the verification file:
Any untreated block in first block is determined as current block to be verified, and executes described again
The step of verifying file according to the first of block to be verified, handled according to verification rule, until where the third data
All blocks are by processing.
6. according to the method described in claim 3, it is characterized in that, the quantity of first block is multiple;The determination waits for
Block is verified, including:
According to the sequence of addresses of data address, using in first block near preceding block as current block to be verified;
It is described to further include after being handled according to verification rule according to the first of block to be verified the verification file:
It is according to the sequence of addresses of data address, next block in first block after the block to be verified is true
Be set to current block to be verified, and execute again it is described according to the first of block to be verified verification file, according to verification rule
The step of being handled, until all blocks where the third data are by processing.
7. according to the method described in any one of claim 1-6, which is characterized in that described for the every of first character string
A byte skips the byte, otherwise, to the corresponding data of the byte if the content of the byte is the standard information
The data of location are verified, including:
Using the first byte in first character string as current pending byte;
Whether the content for detecting the pending byte is the standard information;
When the content of the pending byte is the standard information, next byte of the pending byte is updated to work as
Preceding pending byte, and execute again the detection pending byte content whether be the standard information step
Suddenly, until all bytes are by detection;
When the content of the pending byte is not the standard information, to the corresponding data address of the pending byte
Data are verified, and next byte of the pending byte is updated to current pending byte, again described in execution
The step of whether content for detecting the pending byte is the standard information, until all bytes are by detection.
8. a kind of data calibration device, which is characterized in that including:
Initial module, for determining that block to be verified, the block to be verified include the data address of multiple data, and it is described more
The data address of a data is continuous;
Correction verification module, for according to the first of block to be verified the verification file, being handled according to verification rule, to complete school
It tests, wherein the first verification file includes the first character string, the byte of first character string and the block to be verified
Data address corresponds, and the content of the first byte is preset standard information, first byte in first character string
Corresponding data address is the data address for the first data that verification is not required in the multiple data;
Wherein, the verification rule includes:For each byte of first character string, if the content of the byte is described
Standard information then skips the byte, otherwise, is verified to the data of the corresponding data address of the byte.
9. device according to claim 8, which is characterized in that the content of the second byte is described in first character string
It is second data that the standard value of the second data of verification, the corresponding data address of second byte are needed in multiple data
Data address;
The correction verification module, specifically for the content of the byte to be compared with actual value, the actual value is from electricity
Count the data value of data address storage corresponding with the byte in the data read;
The correction verification module, if consistent also particularly useful for comparing, the verification of the byte passes through, and otherwise corresponds to the byte
Data address be recorded as abnormal address.
10. device according to claim 8, which is characterized in that described device further includes:
Division module is divided for the data address to all data, and to obtain each block, each block includes more
A continuous data address;
The initial module, specifically for the first block where the third data for needing verification is determined as block to be verified.
11. device according to claim 10, which is characterized in that described device further includes:
Generation module, the verification file for generating each block, wherein the verification file of each block includes the block
First data address and character string, in the verification file of each block the data address of byte and the block of character string according to
Secondary one-to-one correspondence;
Setting module is used for the standard value of the data address and the third data according to the third data, is advised according to setting
Then, the content of the byte of character string in the verification file of first block is set;
Wherein, the setting rule includes:Content setting by the corresponding byte of data address of the third data is described
The content setting of other bytes is the standard information by the standard value of third data.
12. device according to claim 10, which is characterized in that the quantity of first block is multiple;
The initial module, specifically for any first block to be determined as to current block to be verified;
Described device further includes:
First update module, for verifying file according to the first of block to be verified in the correction verification module, according to verification rule
After being handled, any untreated block in first block is determined as current block to be verified, and indicate
The correction verification module executes described according to the first of block to be verified the verification file, the step handled according to verification rule again
Suddenly, until all blocks where the third data are by processing.
13. device according to claim 10, which is characterized in that the quantity of first block is multiple;
The initial module, is specifically used for according to the sequence of addresses of data address, by first block near preceding block
As current block to be verified;
Described device further includes:
Second update module, for verifying file according to the first of block to be verified in the correction verification module, according to verification rule
After being handled, according to the sequence of addresses of data address, it will be located at after the block to be verified in first block
Next block is determined as current block to be verified, and it is described according to block to be verified to indicate that the correction verification module executes again
First verification file, the step of processing according to verification rule, until all blocks where the third data pass through
Processing.
14. according to the device described in any one of claim 8-13, which is characterized in that the correction verification module, including:
Start element, for using the first byte in first character string as current pending byte;
Detection unit, whether the content for detecting the pending byte is the standard information;
Processing unit is used for when the content of the pending byte is the standard information, will be under the pending byte
One byte is updated to current pending byte, and indicates that the detection unit executes the detection pending byte again
Content the step of whether being the standard information, until the byte is by detection;
The processing unit is additionally operable to when the content of the pending byte is not the standard information, to described pending
The data of the corresponding data address of byte are verified, and next byte of the pending byte is updated to current wait locating
Byte is managed, indicates whether the content that the detection unit executes the detection pending byte again is the standard information
The step of, until the byte is by detection.
15. a kind of data calibration device, which is characterized in that including:At least one processor and memory;
The memory stores computer program;At least one processor executes the computer journey of the memory storage
Sequence, to realize the method described in any one of claim 1-7.
16. a kind of computer readable storage medium, which is characterized in that be stored with computer journey in the computer readable storage medium
Sequence, the computer program are performed the method realized described in any one of claim 1-7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810172549.7A CN108363640B (en) | 2018-03-01 | 2018-03-01 | Data verification method and device and computer readable storage medium |
PCT/CN2018/112876 WO2019165794A1 (en) | 2018-03-01 | 2018-10-31 | Data verification method and apparatus and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810172549.7A CN108363640B (en) | 2018-03-01 | 2018-03-01 | Data verification method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108363640A true CN108363640A (en) | 2018-08-03 |
CN108363640B CN108363640B (en) | 2020-10-30 |
Family
ID=63003087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810172549.7A Active CN108363640B (en) | 2018-03-01 | 2018-03-01 | Data verification method and device and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108363640B (en) |
WO (1) | WO2019165794A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019165794A1 (en) * | 2018-03-01 | 2019-09-06 | 深圳市道通智能航空技术有限公司 | Data verification method and apparatus and computer readable storage medium |
CN110733443A (en) * | 2019-10-14 | 2020-01-31 | 广州维思车用部件有限公司 | Vehicle-based instrument data processing method and device |
CN110855748A (en) * | 2019-10-21 | 2020-02-28 | 中国电子科技集团公司第二十九研究所 | Remote sensing image data automatic standardized processing method, device and medium based on FTP |
CN111061772A (en) * | 2019-11-19 | 2020-04-24 | 深圳供电局有限公司 | Equipment ledger data checking method |
CN111159482A (en) * | 2019-12-19 | 2020-05-15 | 贝壳技术有限公司 | Data verification method and system |
CN112306495A (en) * | 2020-10-29 | 2021-02-02 | 完美世界(北京)软件科技发展有限公司 | Picture verification method and device, computer equipment and computer-readable storage medium |
CN113535553A (en) * | 2021-06-30 | 2021-10-22 | 上海联影医疗科技股份有限公司 | Parameter checking method, computer device and storage medium |
CN114460472A (en) * | 2022-04-13 | 2022-05-10 | 深圳市思远半导体有限公司 | Electric meter chip, control method thereof, electronic device and online simulation system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040210755A1 (en) * | 2003-03-14 | 2004-10-21 | Detlef Becker | Method and system to protect electronic data objects from unauthorized access |
CN102967846A (en) * | 2012-12-11 | 2013-03-13 | 江苏卡欧万泓电子有限公司 | Fault self-checking method for intelligent ammeter |
CN203250306U (en) * | 2013-03-26 | 2013-10-23 | 天津瑞能电气有限公司 | Efficient hardware CRC verifying device |
CN106681855A (en) * | 2015-11-10 | 2017-05-17 | 澜起科技(上海)有限公司 | One-time programmable memory device and data verification method thereof |
CN107479823A (en) * | 2016-06-07 | 2017-12-15 | 阿里巴巴集团控股有限公司 | Data verification method and device in the test of random read-write file |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108363640B (en) * | 2018-03-01 | 2020-10-30 | 深圳市道通智能航空技术有限公司 | Data verification method and device and computer readable storage medium |
-
2018
- 2018-03-01 CN CN201810172549.7A patent/CN108363640B/en active Active
- 2018-10-31 WO PCT/CN2018/112876 patent/WO2019165794A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040210755A1 (en) * | 2003-03-14 | 2004-10-21 | Detlef Becker | Method and system to protect electronic data objects from unauthorized access |
CN102967846A (en) * | 2012-12-11 | 2013-03-13 | 江苏卡欧万泓电子有限公司 | Fault self-checking method for intelligent ammeter |
CN203250306U (en) * | 2013-03-26 | 2013-10-23 | 天津瑞能电气有限公司 | Efficient hardware CRC verifying device |
CN106681855A (en) * | 2015-11-10 | 2017-05-17 | 澜起科技(上海)有限公司 | One-time programmable memory device and data verification method thereof |
CN107479823A (en) * | 2016-06-07 | 2017-12-15 | 阿里巴巴集团控股有限公司 | Data verification method and device in the test of random read-write file |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019165794A1 (en) * | 2018-03-01 | 2019-09-06 | 深圳市道通智能航空技术有限公司 | Data verification method and apparatus and computer readable storage medium |
CN110733443A (en) * | 2019-10-14 | 2020-01-31 | 广州维思车用部件有限公司 | Vehicle-based instrument data processing method and device |
CN110733443B (en) * | 2019-10-14 | 2021-08-27 | 广州维思车用部件有限公司 | Vehicle-based instrument data processing method and device |
CN110855748A (en) * | 2019-10-21 | 2020-02-28 | 中国电子科技集团公司第二十九研究所 | Remote sensing image data automatic standardized processing method, device and medium based on FTP |
CN111061772A (en) * | 2019-11-19 | 2020-04-24 | 深圳供电局有限公司 | Equipment ledger data checking method |
CN111159482A (en) * | 2019-12-19 | 2020-05-15 | 贝壳技术有限公司 | Data verification method and system |
CN112306495A (en) * | 2020-10-29 | 2021-02-02 | 完美世界(北京)软件科技发展有限公司 | Picture verification method and device, computer equipment and computer-readable storage medium |
CN113535553A (en) * | 2021-06-30 | 2021-10-22 | 上海联影医疗科技股份有限公司 | Parameter checking method, computer device and storage medium |
CN113535553B (en) * | 2021-06-30 | 2023-02-28 | 上海联影医疗科技股份有限公司 | Parameter checking method, computer device and storage medium |
CN114460472A (en) * | 2022-04-13 | 2022-05-10 | 深圳市思远半导体有限公司 | Electric meter chip, control method thereof, electronic device and online simulation system |
CN114460472B (en) * | 2022-04-13 | 2022-07-22 | 深圳市思远半导体有限公司 | Electric meter chip, control method thereof, electronic device and online simulation system |
Also Published As
Publication number | Publication date |
---|---|
WO2019165794A1 (en) | 2019-09-06 |
CN108363640B (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108363640A (en) | Data verification method and device, computer readable storage medium | |
US8140901B2 (en) | Validation of processors using a self-generating test case framework | |
CN105760292B (en) | A kind of assertion verification method and apparatus for unit testing | |
US9152518B2 (en) | In situ processor re-characterization | |
CN108226748A (en) | For the single particle effect test method of SoC systems on chip | |
CN104579313B (en) | A kind of in-orbit SRAM type FPGA fault detects and restorative procedure based on configuration frame | |
CN110941562B (en) | Verification method and device for test cases and electronic equipment | |
CN105006253B (en) | A kind of flash memory chip data retention inspection method and system | |
CN102841831A (en) | System and method for testing server memory | |
JP2016510498A (en) | Unique and non-clonal platform identifier using data-dependent circuit path response | |
JP2008009721A (en) | Evaluation system and evaluation method thereof | |
CN102147831A (en) | Logic verification method and device | |
US20160293272A1 (en) | Method and apparatus for optimized memory test status detection and debug | |
CN109710510B (en) | Code submitting method, device, equipment and readable storage medium | |
CN107679423A (en) | Partition integrity inspection method and device | |
CN103793032A (en) | Method and device for determining power-on reset | |
WO2024082812A1 (en) | Fpga storage unit failure analysis method and apparatus, electronic device, and storage medium | |
CN110134598B (en) | Batch processing method, device and system | |
CN112395129A (en) | Storage verification method and device, computing chip, computer equipment and storage medium | |
CN106658589A (en) | Method and device for detecting operation flow of software | |
CN111538632B (en) | Inspection method, inspection system, and storage medium | |
CN115470141A (en) | Fault simulation method, device and related equipment | |
CN103294569B (en) | The COS edition correcting methods and calibration equipment of smart card | |
CN107450973A (en) | A kind of detection method and device | |
Sargsyan | Firmware generation architecture for memory BIST |
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 | ||
CP03 | Change of name, title or address |
Address after: 518055 Shenzhen, Guangdong, Nanshan District Xili street, No. 1001, Zhiyuan Road, B1 9. Patentee after: Shenzhen daotong intelligent Aviation Technology Co.,Ltd. Address before: 518055 9th floor, building B1, Zhiyuan, 1001 Xueyuan Avenue, Xili street, Nanshan District, Shenzhen City, Guangdong Province Patentee before: AUTEL ROBOTICS Co.,Ltd. |
|
CP03 | Change of name, title or address |