CN111178794A - Method for checking bill of material information - Google Patents
Method for checking bill of material information Download PDFInfo
- Publication number
- CN111178794A CN111178794A CN201911306306.9A CN201911306306A CN111178794A CN 111178794 A CN111178794 A CN 111178794A CN 201911306306 A CN201911306306 A CN 201911306306A CN 111178794 A CN111178794 A CN 111178794A
- Authority
- CN
- China
- Prior art keywords
- bill
- check code
- materials
- steps
- summation value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 239000000463 material Substances 0.000 title claims abstract description 89
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000012545 processing Methods 0.000 claims abstract description 18
- 238000007689 inspection Methods 0.000 claims abstract description 10
- 238000012795 verification Methods 0.000 claims description 25
- 238000000605 extraction Methods 0.000 claims description 3
- 238000012790 confirmation Methods 0.000 abstract description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012552 review Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
- G06Q10/0875—Itemisation or classification of parts, supplies or services, e.g. bill of materials
-
- 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/14—Error detection or correction of the data by redundancy in operation
- G06F11/1479—Generic software techniques for error detection or fault masking
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- General Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Inspection Of Paper Currency And Valuable Securities (AREA)
Abstract
The invention provides a method for checking bill of material information, which specifically comprises the following steps: extracting key information of each material in the bill of materials as a check characteristic value; carrying out digital processing on the inspection characteristic value to obtain a corresponding digital string, and arranging the digital string to form a digital file; generating a first check code corresponding to the digital file; and transmitting the bill of material and the corresponding first check code, processing the bill of material again by the receiver according to the steps S1-S3 to obtain a second check code, and judging whether the bill of material is wrong or not according to the first check code and the second check code. The method provided by the invention can effectively improve the working efficiency of workers in information confirmation, greatly reduce the human resources and cost consumed by manual information confirmation, and improve the accuracy of information confirmation.
Description
Technical Field
The invention relates to the technical field of information management, in particular to a method for checking bill of material information.
Background
In the conventional technology, a worker verifies the uniqueness of a file by using a version number and checksum, but the bill of material file can only be verified to determine whether the file has the uniqueness or not by verifying the version number, and this way of draft may cause a great error.
Disclosure of Invention
The invention provides a method for checking bill of material information, which solves the technical problems that a worker can quickly find that the bill of material has errors in the information of the bill of material in transmission and quickly find that the materials used for design are changed in design review.
In order to solve the technical problems, the invention provides a method for checking bill of material information, which specifically comprises the following steps:
s1, extracting key information of each material in the bill of materials as a check characteristic value;
s2, carrying out digital processing on the inspection characteristic values to obtain corresponding digit strings, and arranging the digit strings to form a digit file;
s3, generating a first check code corresponding to the digital file;
and S4, transmitting the bill of material and the corresponding first check code, processing the bill of material again by the receiver according to the steps S1-S3 to obtain a second check code, and judging whether the bill of material is wrong or not according to the first check code and the second check code.
Further, the key information in step S1 includes at least two of a part number, a usage quantity, a usage number, a price, and a material model, and the key information categories of each material extraction are the same.
Preferably, the verification feature value in step S1 includes the part number and the usage number.
Further, the step S2 specifically includes the steps of:
s21, carrying out binary processing on the inspection characteristic value to obtain a binary inspection characteristic value;
s22, filling the binary check characteristic value into a fixed byte length to obtain the digital string;
and S23, splicing the digital strings according to the arrangement sequence of the materials in the bill of materials to form the digital file.
Preferably, in step S23, the splicing is performed by splicing the digit strings end to end, or by splicing the digit strings with a predetermined separator.
Further, the step S3 specifically includes the steps of:
s31, summing the digital files to obtain a binary summation value;
and S32, solving the inverse code of the binary summation value as the first check code.
Further, the step S4 specifically includes the steps of:
s41, receiving the bill of materials and the corresponding first check code, and processing the bill of materials again according to the steps S1-S31 to obtain a new binary summation value as the second check code;
s42, adding the second check code and the first check code to obtain a summation value;
and S43, judging whether the received bill of materials is consistent with the sent bill of materials or not according to the summation value, if so, ending the verification, otherwise, broadcasting a verification result and ending the verification.
Alternatively, the step S3 specifically includes the steps of:
s31, summing the digital files to obtain a binary summation value;
and S32, solving the binary summation value as the first check code.
Further, the step S4 specifically includes the steps of:
s41, receiving the bill of materials and the corresponding first check code, and processing the bill of materials again according to the steps S1-S31 to obtain a new binary summation value;
s42, solving the inverse code of the new binary summation value as the second check code;
s43, adding the second check code and the first check code to obtain a summation value;
and S44, judging whether the received bill of materials is consistent with the sent bill of materials or not according to the summation value, if so, ending the verification, otherwise, broadcasting a verification result and ending the verification.
Further, the determining, according to the summation value, whether the received bill of materials is consistent with the sent bill of materials specifically includes:
it is determined whether the sum values are all 1.
The invention provides a method for checking bill of material information, a sender forms a digital file by extracting key information in a bill of material as a checking characteristic value, then obtains a first check code according to a rule, a receiver obtains a second check code by a similar process, and knows whether the bill of material information is wrong or changed by carrying out operation processing on the two check codes, thereby effectively improving the working efficiency of workers when confirming the information, greatly reducing human resources and cost consumed by manual confirmation of the information, and improving the accuracy of information confirmation.
Drawings
FIG. 1 is a diagram illustrating the steps of a method for verifying bill of material information according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for checking bill of material information according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in detail below with reference to the accompanying drawings, which are given solely for the purpose of illustration and are not to be construed as limitations of the invention, including the drawings which are incorporated herein by reference and for illustration only and are not to be construed as limitations of the invention, since many variations thereof are possible without departing from the spirit and scope of the invention.
The embodiment of the invention provides a method for checking bill of material information, which specifically comprises the following steps as shown in figure 1:
s1, extracting key information of each material in the bill of materials as a check characteristic value;
s2, carrying out digital processing on the inspection characteristic values to obtain corresponding digit strings, and arranging the digit strings to form a digit file;
s3, generating a first check code corresponding to the digital file;
and S4, transmitting the bill of material and the corresponding first check code, processing the bill of material again by the receiver according to the steps S1-S3 to obtain a second check code, and judging whether the bill of material is wrong or not according to the first check code and the second check code.
Further, the key information in step S1 includes at least two of a part number, a usage quantity, a usage number, a price, and a material model, and the key information categories of each material extraction are the same.
Preferably, the verification feature value in step S1 includes the part number and the usage number.
Further, the step S2 specifically includes the steps of:
s21, carrying out binary processing on the inspection characteristic value to obtain a binary inspection characteristic value;
s22, filling the binary check characteristic value into a fixed byte length to obtain the digital string;
and S23, splicing the digital strings according to the arrangement sequence of the materials in the bill of materials to form the digital file, wherein the information content of the digital file is not limited in size.
Preferably, in step S23, the splicing is performed by splicing the strings of numbers end to end, or by splicing the strings of numbers with a predetermined separator, where the predetermined separator includes numbers, letters, and symbols.
Further, the determination method is only one implementation, and as shown in fig. 2, this example lists 2 determination methods.
The method comprises the following steps:
s31, summing the digital files to obtain a binary summation value;
and S32, solving the inverse code of the binary summation value as the first check code.
Further, the step S4 specifically includes the steps of:
s41, receiving the bill of materials and the corresponding first check code, and processing the bill of materials again according to the steps S1-S31 to obtain a new binary summation value as the second check code;
s42, adding the second check code and the first check code to obtain a summation value;
and S43, judging whether the received bill of materials is consistent with the sent bill of materials or not according to the summation value, if so, ending the verification, otherwise, broadcasting a verification result and ending the verification.
The method 2 comprises the following steps:
the step S3 specifically includes the steps of:
s31, summing the digital files to obtain a binary summation value;
and S32, solving the binary summation value as the first check code.
Further, the step S4 specifically includes the steps of:
s41, receiving the bill of materials and the corresponding first check code, and processing the bill of materials again according to the steps S1-S31 to obtain a new binary summation value;
s42, solving the inverse code of the new binary summation value as the second check code;
s43, adding the second check code and the first check code to obtain a summation value;
and S44, judging whether the received bill of materials is consistent with the sent bill of materials or not according to the summation value, if so, ending the verification, otherwise, broadcasting a verification result and ending the verification.
In either method 1 or method 2, the determining whether the received bill of materials is consistent with the transmitted bill of materials according to the summation value is:
it is determined whether the sum values are all 1. Because the first verification code and the second verification code are mutually inverse codes, if data transmission is correct, all digits of a summation value of the first verification code and the second verification code should be 1, and if the digits are not 1, the fact that the bill of materials before and after transmission is inconsistent is proved, and a transmitter can request to retransmit. It should be noted that the first check code, the second check code, and the sum are only numerical values obtained in calculation by two methods listed in the embodiment of the present invention, and the present invention does not limit the determination method uniquely.
According to the method for checking the bill of material information provided by the embodiment of the invention, a sender extracts key information in a bill of material as a checking characteristic value to form a digital file, then obtains a first check code according to a rule, and a receiver obtains a second check code according to a similar process.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.
Claims (10)
1. A method for checking bill of material information is characterized by comprising the following steps:
s1, extracting key information of each material in the bill of materials as a check characteristic value;
s2, carrying out digital processing on the inspection characteristic values to obtain corresponding digit strings, and arranging the digit strings to form a digit file;
s3, generating a first check code corresponding to the digital file;
and S4, transmitting the bill of material and the corresponding first check code, processing the bill of material again by the receiver according to the steps S1-S3 to obtain a second check code, and judging whether the bill of material is wrong or not according to the first check code and the second check code.
2. The method of claim 1, wherein the key information in step S1 includes at least two of part number, usage amount, usage times, price, and material model, and the key information category of each material extraction is the same.
3. The method for verifying bill of material information as claimed in claim 2, wherein said verification feature value in said step S1 includes said part number and said usage number.
4. The method for verifying bill of material information as claimed in claim 1, wherein said step S2 specifically comprises the steps of:
s21, carrying out binary processing on the inspection characteristic value to obtain a binary inspection characteristic value;
s22, filling the binary check characteristic value into a fixed byte length to obtain the digital string;
and S23, splicing the digital strings according to the arrangement sequence of the materials in the bill of materials to form the digital file.
5. The method for verifying bill of material information as claimed in claim 4 wherein in said step S23, said splicing is performed by splicing said digit strings end to end or by splicing said digit strings with a predetermined separator.
6. The method for verifying bill of material information as claimed in claim 3, wherein said step S3 specifically comprises the steps of:
s31, summing the digital files to obtain a binary summation value;
and S32, solving the inverse code of the binary summation value as the first check code.
7. The method for verifying bill of material information as claimed in claim 6, wherein said step S4 specifically includes the steps of:
s41, receiving the bill of materials and the corresponding first check code, and processing the bill of materials again according to the steps S1-S31 to obtain a new binary summation value as the second check code;
s42, adding the second check code and the first check code to obtain a summation value;
and S43, judging whether the received bill of materials is consistent with the sent bill of materials or not according to the summation value, if so, ending the verification, otherwise, broadcasting a verification result and ending the verification.
8. The method for verifying bill of material information as claimed in claim 3, wherein said step S3 specifically comprises the steps of:
s31, summing the digital files to obtain a binary summation value;
and S32, solving the binary summation value as the first check code.
9. The method for verifying the bill of material information as claimed in claim 8, wherein said step S4 specifically includes the steps of:
s41, receiving the bill of materials and the corresponding first check code, and processing the bill of materials again according to the steps S1-S31 to obtain a new binary summation value;
s42, solving the inverse code of the new binary summation value as the second check code;
s43, adding the second check code and the first check code to obtain a summation value;
and S44, judging whether the received bill of materials is consistent with the sent bill of materials or not according to the summation value, if so, ending the verification, otherwise, broadcasting a verification result and ending the verification.
10. The method according to claim 7 or 9, wherein the determining whether the received bill of materials is consistent with the transmitted bill of materials according to the summation value specifically includes:
it is determined whether the sum values are all 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911306306.9A CN111178794A (en) | 2019-12-18 | 2019-12-18 | Method for checking bill of material information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911306306.9A CN111178794A (en) | 2019-12-18 | 2019-12-18 | Method for checking bill of material information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111178794A true CN111178794A (en) | 2020-05-19 |
Family
ID=70653846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911306306.9A Pending CN111178794A (en) | 2019-12-18 | 2019-12-18 | Method for checking bill of material information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111178794A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101482887A (en) * | 2009-02-18 | 2009-07-15 | 北京数码视讯科技股份有限公司 | Anti-tamper verification method for key data in database |
CN102722737A (en) * | 2012-05-13 | 2012-10-10 | 河南大学 | Temper-proofing method of paper document |
CN107220141A (en) * | 2017-05-26 | 2017-09-29 | 青岛海信电器股份有限公司 | Data file method of calibration and device |
CN107248244A (en) * | 2017-05-23 | 2017-10-13 | 深圳怡化电脑股份有限公司 | The acquisition methods and system of financial terminal transaction voucher |
-
2019
- 2019-12-18 CN CN201911306306.9A patent/CN111178794A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101482887A (en) * | 2009-02-18 | 2009-07-15 | 北京数码视讯科技股份有限公司 | Anti-tamper verification method for key data in database |
CN102722737A (en) * | 2012-05-13 | 2012-10-10 | 河南大学 | Temper-proofing method of paper document |
CN107248244A (en) * | 2017-05-23 | 2017-10-13 | 深圳怡化电脑股份有限公司 | The acquisition methods and system of financial terminal transaction voucher |
CN107220141A (en) * | 2017-05-26 | 2017-09-29 | 青岛海信电器股份有限公司 | Data file method of calibration and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111262876B (en) | Data processing method, device and equipment based on block chain and storage medium | |
CN105677686B (en) | A kind of road codes method and device | |
CN102160315A (en) | Iterative decoding of blocks with cyclic redundancy checks | |
CN105491010A (en) | Cross validation method and system for verification codes | |
CN102611531A (en) | One-way data transmission method | |
Wong et al. | Error detection in arithmetic coding with artificial markers | |
CN115695051B (en) | Data center transmission management system based on remote network platform architecture | |
CN1913531B (en) | Transmission method, compression method and device of TCP/IP packet | |
CN105094959B (en) | It is a kind of that the method and apparatus of reconciliation file are provided | |
US12014440B1 (en) | Watermarking method for high-definition map based on invisible characters | |
CN104424010A (en) | Method and system for detecting and repairing text document messy codes | |
CN110020864A (en) | Recognition methods, device and the equipment traded extremely under weak net environment | |
CN111178794A (en) | Method for checking bill of material information | |
CN111464267A (en) | Communication data checking method and device, computer equipment and storage medium | |
CN105808549B (en) | Client method for automatically framing and analyzing frames based on mapping file | |
CN109361629B (en) | Kafka-based large message reliable transmission method | |
CN103138881B (en) | Decoding method and equipment | |
CN108011693B (en) | General data coding method based on ARINC429 bus communication | |
CN107994970B (en) | General data decoding method based on ARINC429 bus communication | |
CN112559546A (en) | Database synchronization method and device, computer equipment and readable storage medium | |
CN113438226A (en) | Message generating and analyzing method, device and system based on hybrid transmission protocol | |
CN1964200A (en) | A method for coding and decoding of linear code expansion and data transmission method and device | |
CN101645886A (en) | Automatic unpacking and check method for message data | |
CN111324914A (en) | File transmission method, device, server, equipment and medium | |
CN108243172B (en) | Method and system for sending verification information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200519 |