Summary of the invention
In order to solve in the prior art, do not carry out the problem of data integrity checking in the digital printing flow system, the embodiment of the invention provides a kind of method and device of data integrity verifying.
In realizing process of the present invention, the method for a kind of data integrity verifying that the embodiment of the invention provides, this method comprises:
Obtain the file destination that carries integrity check information;
According to described integrity check information, judge the integrality of file destination;
If verification is passed through, described file destination is carried out respective handling;
If the verification failure makes mistakes to the described file destination integrality of reporting of user.
Wherein, the described step of obtaining the file destination that carries integrity check information further comprises:
Reception carries the file destination of integrity check information;
Whether the digitizing flow system of judging described receiving target file has the verification authority;
If described digitizing flow system has the verification authority, then obtain the integrity check information of described file destination.
If verification is passed through, described file destination is carried out the step of respective handling, further comprise:
According to described integrity check information, judge that described file destination is complete;
Obtain file destination by completeness check;
With the described file layout that can discern by the file destination system of being converted into of completeness check.
If the verification failure, the step to the described file destination integrality of reporting of user is made mistakes further comprises:
According to described integrity check information, judge that described file destination is imperfect;
With described incomplete file destination, report the user.
Further, above-described integrity check information comprises at least: the hardware store Media ID of described file destination.
Further, the verification authority of above-described digitizing flow system is provided with change by the keeper.The described file layout that carries the file destination of integrity check information is special specified format.
In realizing process of the present invention, the device of a kind of data integrity verifying that the embodiment of the invention provides, this device comprises:
Information acquisition unit is used to obtain the file destination that carries integrity check information;
The integrality judging unit is used for according to described integrity check information, judges the integrality of file destination;
Information process unit passes through if be used for verification, and described file destination is carried out respective handling;
Information reports the unit, if be used for the verification failure, makes mistakes to the described file destination integrality of reporting of user.
Wherein, described information acquisition unit further comprises:
The message pick-up subelement is used to receive the file destination that carries integrity check information;
The authority judgment sub-unit is used to judge whether the digitizing flow system of described receiving target file has the verification authority;
Information is obtained subelement, has the verification authority if be used for described digitizing flow system, then obtains the integrity check information of described file destination.
Described information process unit further comprises:
File obtains subelement, is used for according to described integrity check information, judges that described file destination is complete; Obtain file destination by completeness check;
File layout transformant unit is used for the file layout that can discern by the file destination system of being converted into of completeness check described.
Further, this device can also comprise:
Information setting unit, the verification authority that is used for described digitizing flow system is provided with change by the keeper.
The method and the device of data integrity verifying in the digital printing flow process that the embodiment of the invention provides, by obtaining the file destination that carries integrity check information, according to described integrity check information, judge the integrality of file destination, if verification is passed through, described file destination is carried out respective handling; If the verification failure makes mistakes to the described file destination integrality of reporting of user.Thereby solved the problem of not carrying out the data integrity checking in the prior art in the digital printing flow system, thereby make described file destination in Network Transmission or deposit in the process, if described file destination generation loss of data or by malicious sabotage, when the data integrity of file destination is damaged, not only can come out by quick and convenient checking by integrity verification, improve work efficiency, also saved great deal of labor.
Embodiment
In order to solve in the prior art, do not carry out the problem of data integrity checking in the digital printing flow system, embodiments of the invention provide a kind of method and device of data integrity verifying, below in conjunction with drawings and Examples the present invention are elaborated.
As shown in Figure 1, the method for a kind of data integrity verifying that provides for the embodiment of the invention; This method comprises:
101: obtain the file destination that carries integrity check information;
102:, judge the integrality of file destination according to described integrity check information;
103:, described file destination is carried out respective handling if verification is passed through;
104: if the verification failure makes mistakes to the described file destination integrality of reporting of user.
As shown in Figure 2, the realization flow of step 101 in the method for a kind of data integrity verifying that provides for the embodiment of the invention; This step further comprises:
201: receive the file destination that carries integrity check information;
202: whether the digitizing flow system of judging described receiving target file has the verification authority;
203:, then obtain the integrity check information of described file destination if described digitizing flow system has the verification authority.
As shown in Figure 3, the realization flow of step 103 in the method for a kind of data integrity verifying that provides for the embodiment of the invention; This step further comprises:
301:, judge that described file destination is complete according to described integrity check information;
302: obtain file destination by completeness check;
303: with the described file layout that can discern by the file destination system of being converted into of completeness check.
As shown in Figure 4, the realization flow of step 104 in the method for a kind of data integrity verifying that provides for the embodiment of the invention; This step further comprises:
401:, judge that described file destination is imperfect according to described integrity check information;
402:, report the user with described incomplete file destination.
By the description of above-described embodiment, it should be noted that described integrity check information comprises at least: the hardware store Media ID of described file destination; The verification authority of described digitizing flow system is provided with change by the keeper; The described file layout that carries the file destination of integrity check information is special specified format.
As shown in Figure 5, the device of a kind of data integrity verifying that provides for the embodiment of the invention, this device comprises:
Information acquisition unit 501 is used to obtain the file destination that carries integrity check information;
Integrality judging unit 502 is used for according to described integrity check information, judges the integrality of file destination;
Information process unit 503 passes through if be used for verification, and described file destination is carried out respective handling;
Information reports unit 504, if be used for the verification failure, makes mistakes to the described file destination integrality of reporting of user.
Wherein, described information acquisition unit 501 further comprises:
The message pick-up subelement is used to receive the file destination that carries integrity check information;
The authority judgment sub-unit is used to judge whether the digitizing flow system of described receiving target file has the verification authority;
Information is obtained subelement, has the verification authority if be used for described digitizing flow system, then obtains the integrity check information of described file destination.
Described information process unit 503 further comprises:
File obtains subelement, is used for according to described integrity check information, judges that described file destination is complete; Obtain file destination by completeness check;
File layout transformant unit is used for the file layout that can discern by the file destination system of being converted into of completeness check described.
It should be noted that this device, also comprise:
Information setting unit, the verification authority that is used for described digitizing flow system is provided with change by the keeper.Just when the digital printing flow process is employed when being used for depositing the numbered sequence information-change that the hardware store medium of identify label writes down, notify described authority judgment sub-unit to entering the file destination of described digital printing flow system, redefine and whether allow this file destination to enter into this digital printing flow system further to handle.
In order more clearly to set forth the present invention, the method for carrying out data integrity verifying in the digital printing flow process provided by the invention is elaborated below in conjunction with specific embodiment:
Present embodiment is an example with the digital printing flow process of 3 parent page description document a, b, c, in the present embodiment, has the 3 cover digitizing printing-flow D1 of system, D2 and D3 collaborative work.The hardware store medium of system D3 comprises the hardware store Media ID of the D1 of system through mandate.To parent page description document a, when b, c carry out digital printing, its concrete steps are as follows:
At first, in digital printing flow system D1, file a, b are converted into pdf document a_001, b_001 through pre-service respectively.In digital printing flow system D2, file c is converted into pdf document c_001 through pre-service.
Secondly, before pdf document a_001, b_001, c_001 are transferred to the D3 of system, file a_001 selects to generate according to the hardware store Media ID of the D1 of system the a_001_D1 of needs checking data integrity according to user instruction, file b_001 is according to the b_001_D2 of user instruction selection according to the hardware store Media ID generation needs checking data integrity of the D2 of system, and file c_001 selects to be directly output as c_001_D1 according to user instruction;
Then, the file destination a_001_D1 that reception is modified or damages, c_001_D1, in the D3 of system, receive file a_001_D1, b_001_D2, behind the c_001_D1, system discovery a_001_D1 and b_001_D2 belong to the file that needs verification of data integrity, find that the integrality of a_001_D1 file is destroyed and send immediately the destroyed and file b_001_D2 of alarm user data integrality because the D3 of system does not have the verification authority of the file that needs checking data integrity that the D2 of system is generated and alarm user right deficiency through data integrity verifying, but but though file c_001_D1 is not owing to needing destroyed not being found of check data integrity file to enter into the D3 of system, thus the file destination c_001_D1 that D3 receives may cause industrial accident.
At last, through user's the detection authority that authoring system D3 has had the file that needs checking data integrity that the D2 of system is generated of appending, file b_001_D2 enters into the D3 of system by data integrity checking deciphering generation pdf document and is for further processing.
The method and the device of data integrity verifying in the digital printing flow process that the embodiment of the invention provides, by obtaining the file destination that carries integrity check information, according to described integrity check information, judge the integrality of file destination, if verification is passed through, described file destination is carried out respective handling; If the verification failure makes mistakes to the described file destination integrality of reporting of user.Thereby solved the problem of not carrying out the data integrity checking in the prior art in the digital printing flow system, thereby make described file destination in Network Transmission or deposit in the process, if described file destination generation loss of data or by malicious sabotage, when the data integrity of file destination is damaged, not only can come out by quick and convenient checking by integrity verification, improve work efficiency, also saved great deal of labor.
Through the above description of the embodiments, one of ordinary skill in the art will appreciate that: realize that all or part of step in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, this program is when carrying out, comprise step as above-mentioned method embodiment, described storage medium, as: ROM/RAM, magnetic disc, CD etc.
The above; it only is the embodiment of the embodiment of the invention; but the protection domain of the embodiment of the invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, the protection domain of the embodiment of the invention should be as the criterion with the protection domain of claim.