CN112488729A - Data verification method and device, computer equipment and readable storage medium - Google Patents

Data verification method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN112488729A
CN112488729A CN202011380764.XA CN202011380764A CN112488729A CN 112488729 A CN112488729 A CN 112488729A CN 202011380764 A CN202011380764 A CN 202011380764A CN 112488729 A CN112488729 A CN 112488729A
Authority
CN
China
Prior art keywords
information
data
verification
terminal
digital
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
Application number
CN202011380764.XA
Other languages
Chinese (zh)
Inventor
彭晓龙
张勇
蒋心武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Commerce Networks Shanghai Co ltd
Original Assignee
China Commerce Networks Shanghai Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Commerce Networks Shanghai Co ltd filed Critical China Commerce Networks Shanghai Co ltd
Priority to CN202011380764.XA priority Critical patent/CN112488729A/en
Publication of CN112488729A publication Critical patent/CN112488729A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a data verification method, data verification equipment, computer equipment and a readable storage medium, wherein the data verification method comprises the following steps: collecting digital data by scanning; judging whether the terminal has network connection; decrypting the digital data under the condition that the terminal has no network connection; and verifying the information to be verified according to the decrypted data. According to the method, when the terminal is not connected with the network, the scanned digital data can be decrypted to obtain the information contained in the scanned digital data, and then the information is verified according to the local database, so that the whole process of scanning and verifying the commodity digital code is independent of an external network and can be performed in the terminal locally and off-line, and the applicability of the one-object one-code system is effectively improved.

Description

Data verification method and device, computer equipment and readable storage medium
Technical Field
Embodiments of the present invention relate to computer technologies, and in particular, to a data verification method and apparatus, a computer device, and a storage medium.
Background
With the rise of industry 4.0, concepts such as one object and one code and one product and one code are gradually applied to the link of actual production work, and the monitoring of the whole process link of commodities is realized by endowing commodities with independent and unique numbers containing various commodity information. However, in the process of scanning the commodity digital code to obtain data, data confusion is easy to occur due to factors such as human, accident or ineffectiveness, and therefore, in order to ensure the data accuracy, real-time data verification is required to be performed when the commodity digital code is scanned.
However, in the conventional method for checking the digital data of the commodity, generally, a terminal only performs code scanning operation, the checking process depends on remote operation of a server, the checking operation cannot be completed when the terminal does not have a network, the application scene is limited, and the applicability is poor.
Disclosure of Invention
Based on this, the present invention provides a data verification method, apparatus, computer device and readable storage medium, which can verify information in commodity numbers without a network.
In a first aspect, an embodiment of the present invention provides a data verification method, including:
collecting digital data by scanning;
judging whether the terminal has network connection;
decrypting the digital data under the condition that the terminal has no network connection;
and verifying the information to be verified according to the decrypted data.
According to the data verification method, when the terminal is not connected with the network, the scanned digital data can be decrypted to obtain the information contained in the scanned digital data, and then the information is verified according to the local database, so that the whole process of scanning and verifying the commodity digital code is independent of an external network and can be performed in a local off-line mode at the terminal, and the applicability of the one-object one-code system is effectively improved.
In one embodiment, the step of verifying the information to be verified according to the decrypted data includes:
intercepting a part of digital codes at a preset position from the decrypted complete digital codes;
and matching corresponding information in a local database according to the partial numbers for verification.
In one embodiment, before the step of determining whether the terminal has a network connection, the method further includes:
and carrying out format verification on the digital data.
In one embodiment, the method further comprises:
and uploading the digital data to a cloud for verification under the condition that the terminal has network connection.
In one embodiment, after the step of verifying the information to be verified according to the decrypted data, the method further includes:
and generating corresponding prompt information according to the verification result.
In one embodiment, the information to be verified includes at least one of commodity information, brand information, factory information, batch information, packaging information, and logistics information.
In a second aspect, an embodiment of the present invention further provides a data verification apparatus, including:
the acquisition module is used for acquiring digital data through scanning;
the judging module is used for judging whether the terminal has network connection;
the decryption module is used for decrypting the digital data under the condition that the terminal has no network connection;
and the verification module is used for verifying the information to be verified according to the decrypted data.
According to the data verification device, when the terminal is not connected with the network, the scanned digital data can be decrypted to obtain the information contained in the scanned digital data, and then the information is verified according to the local database, so that the whole process of scanning and verifying the commodity digital code does not depend on the external network and can be performed in the local offline of the terminal, and the applicability of the one-object one-code system is effectively improved.
In one embodiment, the data verification apparatus further includes:
and the uploading module is used for uploading the digital data to a cloud for verification under the condition that the terminal has network connection.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the data verification method as described above.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the data verification method as described above.
Drawings
FIG. 1 is a flow chart illustrating a data verification method according to an embodiment;
FIG. 2 is a flowchart illustrating steps of verifying information to be verified according to decrypted data according to an embodiment;
FIG. 3 is a flow chart illustrating a data verification method according to another embodiment;
FIG. 4 is a schematic diagram of an embodiment of a data verification device;
fig. 5 is a schematic structural diagram of a data verification apparatus in another embodiment.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a schematic flow chart of a data verification method in an embodiment, as shown in fig. 1, in an embodiment, a data verification method includes:
step S120: digital data is collected by scanning.
Specifically, in an one-object-one-code system, each commodity has a unique commodity number, the commodity number generally can be a bar code, a two-dimensional code or other digital patterns, the commodity number includes set commodity information, and the commodity information included in the number can be determined according to actual situation requirements, for example, the commodity information can specifically include production information, transportation information and the like of a user on an ascending slope. In the process of delivering and stringing goods, the user needs to check the information contained in the digital code of the goods to ensure the correctness of the goods. When checking the digital information, the digital data of the commodity needs to be acquired first. Generally, a user may scan a Digital pattern set on a surface or a package of a commodity through a camera of a handheld mobile terminal such as a pda (personal Digital assistant), so as to collect Digital data of the commodity for subsequent verification of information.
Step S140: and judging whether the terminal has network connection.
Step S160: and decrypting the digital data under the condition that the terminal has no network connection.
Specifically, after the commodity digital data is collected, the network state of the terminal can be judged, if the terminal is in a disconnected network state and no external network connection exists, the commodity digital data needs to be locally checked, and a built-in data checking mechanism of the terminal is started. The digital codes of the commodities are generally encrypted data, decryption algorithms matched with the commodity digital codes and provided by commodity manufacturers and the like are stored in the terminal, the terminal can select the corresponding decryption algorithm according to the commodities and decrypt the scanned digital data according to the decryption algorithm, and therefore complete digital internal information is obtained.
Step S180: and verifying the information to be verified according to the decrypted data.
Specifically, after the digital data is decrypted to obtain complete digital internal information, information to be verified can be selected from the digital internal information for verification. The type of information to be verified may be determined according to actual requirements, and may be, for example, production information and transportation information of a commodity. After the information to be verified is found in the decrypted data, the terminal can compare the information in the digital code with corresponding information prestored in the local database, if the information to be verified in the digital code is matched with the information in the local database, the commodity digital code is judged to pass verification, if the information to be verified in the digital code is not matched with the information in the local database, the commodity digital code is judged not to pass verification, and the subsequent terminal can execute corresponding operation according to the verification result, so that the user can distinguish the commodities which are not verified to ensure the commodity to be correct.
Further, the information to be verified includes at least one of commodity information, brand information, factory information, batch information, packaging information, and logistics information. In various information contained in the digital code, the information to be verified generally may include production information and transportation information of the commodity according to an application scenario that needs to be verified, such as shipment or serial shipment. The production information can specifically include commodity information, brand information, factory information, batch information and the like, and the type, the fortunate, the batch and the like of the commodity can be distinguished by checking the production information, so that the condition of wrong selection of the commodity is prevented. The transportation information can specifically comprise packaging information, logistics information and the like, and the transportation condition of the commodity can be distinguished by checking the transportation information, so that the condition of wrong transportation of the commodity is prevented.
According to the data verification method, when the terminal is not connected with the network, the scanned digital data can be decrypted to obtain the information contained in the scanned digital data, and then the information is verified according to the local database, so that the whole process of scanning and verifying the commodity digital code is independent of an external network and can be performed in a local off-line mode at the terminal, and the applicability of the one-object one-code system is effectively improved.
Fig. 2 is a schematic flow chart of a step of verifying information to be verified according to decrypted data in an embodiment, as shown in fig. 2, in an embodiment, step S180 of the data verification method may specifically include:
step S182: and intercepting a part of the digital code at a preset position from the decrypted complete digital code.
Specifically, after the commodity number is decrypted according to a preset decryption algorithm, complete number data of the commodity can be obtained, and the data may generally be data in a url (uniform Resource locator) format or the like. In this complete URL number, the number of digits of the number is generally fixed, and each digit represents specific information. The information to be verified can be generally represented by a continuous segment of numbers. Therefore, after the commodity digital code is decrypted, a part of digital code for verification can be intercepted from the complete digital code according to the preset position of the information to be verified in the complete digital code.
Step S184: and matching corresponding information in the local database according to the partial numbers for verification.
Specifically, after the partial number for verification is acquired, data matching the information represented by the partial number is found in the terminal local database and compared with the partial number. If the comparison result passes, the commodity digital verification is successful, and the information of the production, the transportation and the like of the commodity meets the requirements, and if the comparison result does not pass, the commodity digital verification fails, and the information of the production, the transportation and the like of the commodity does not meet the requirements. It can be understood that according to different actual demands on the commodity, when the verification is performed, the verification can be passed when the partial number is completely consistent with the data in the local database, or the verification can be passed when the partial number is within the threshold range of the data in the local database.
Fig. 3 is a schematic flow chart of a data verification method in another embodiment, as shown in fig. 3, in an embodiment, the data verification method includes steps S220, S240, S260, and S280, which may be respectively the same as corresponding steps in the foregoing embodiment, and in this embodiment, before step S240, the data verification method further includes:
step S230: and carrying out format check on the digital data.
Specifically, when the commodity digital code is acquired, in order to prevent the situation that normal local verification cannot be performed subsequently due to scanning of a wrong digital code and the like, the digital format and the standard scanned by the terminal can be preliminarily verified before the internal information of the digital code is verified, so that the correctness of the acquired data format is ensured. For example, the first digits of the commodity digital code are set as check digits, after the commodity digital code is scanned, whether the check digits are correct is judged, subsequent commodity information and the like are checked under the condition that the check digits are correct, and if the check digits are incorrect, a user can be reminded to check whether wrong digital codes are scanned, so that subsequent decryption and check processes on the wrong digital codes are prevented, and the accuracy and efficiency of commodity digital code checking are effectively improved.
In an embodiment, on the basis of the above embodiment, the data verification method may further include:
step S250: and under the condition that the terminal is in network connection, uploading the digital data to the cloud for verification.
Specifically, after the acquired digital code format is determined to be correct, if the terminal is in an external network connection state, the commodity digital code can be subjected to network verification. The terminal can upload the digital data that the scanning obtained to the high in the clouds server, and the high in the clouds server obtains the check-up result after carrying out processes such as deciphering and database matching to this digital data, and the high in the clouds server returns the check-up result that obtains to the terminal, and the terminal shows this check-up result for the user to accomplish the check-up process of commodity digit.
Further, when the terminal is in a networking state, network verification and local verification can be simultaneously performed, if the results of the network verification and the local verification are consistent, it is indicated that the local verification is not problematic, and if the results of the network verification and the local verification are inconsistent, it is indicated that conditions such as error in verification results possibly occur due to untimely updating of a local database are likely to occur, a request for updating the local database or fault detection and the like can be provided to the cloud server, so that updating and optimization of a local verification mode are realized, and the terminal can accurately verify commodity digital codes when no network connection exists.
In an embodiment, on the basis of the above embodiment, after step S280, the data verification method may further include:
step S290: and generating corresponding prompt information according to the verification result.
Specifically, after performing local verification or networking verification, the terminal may display a verification result to the user, and may also generate corresponding prompt information, so that the user may perform inspection or processing. For example, when the verification result is that the verification result is passed, the terminal can prompt the user to normally perform subsequent operations and automatically input various information of the commodity, so that the correct commodity can enter the processes of delivery and the like. When the verification result is passed, the terminal can prompt the user to check the type and the model of the commodity, the factory batch, the package logistics and the like according to the unmatched specific information in the information with the verification, so that the user can find out the specific problems of the commodity more quickly, and the processing efficiency of the abnormal commodity is improved.
Fig. 4 is a schematic structural diagram of a data verification apparatus in an embodiment, and as shown in fig. 4, in an embodiment, a data verification apparatus includes: an acquisition module 520 for acquiring digital data by scanning; a judging module 540, configured to judge whether the terminal has network connection; a decryption module 560, configured to decrypt the digital data when the terminal has no network connection; the verifying module 580 is configured to verify the information to be verified according to the decrypted data.
Specifically, the acquisition module 520 may scan the commodity digital code through a camera of a handheld mobile terminal or other device, so as to obtain digital data, and the acquisition module 520 sends the obtained digital data to the determination module 540. After receiving the digital data, the determining module 540 determines the network status of the terminal, and if it is determined that the terminal has no external network connection, the determining module 540 controls the terminal to enter a local verification mode, and then sends the digital data to the decrypting module 560. After receiving the digital data, the decryption module 560 selects a decryption algorithm matching with the commodity digital, and decrypts the digital data according to the decryption algorithm, so as to obtain complete digital internal information, and the decryption module 560 sends the decrypted data to the verification module 580.
The verification module 580 selects information to be verified for verification according to the received decrypted data, where the type of the information to be verified may specifically include commodity information, brand information, factory information, batch information, packaging information, logistics information, and the like. The checking module 580 may compare the information to be checked with corresponding information pre-stored in the terminal local database, if the information to be checked in the digital code matches with the information in the local database, the checking module 580 determines that the commodity digital code check is passed, and if the information to be checked in the digital code does not match with the information in the local database, the checking module 580 determines that the commodity digital code check is not passed. The user can perform subsequent operations on the goods according to the verification result judged by the verification module 580.
The data verification device 500 can decrypt scanned digital data when the terminal is not connected with a network, so as to obtain information contained in the scanned digital data, and then verify the information according to a local database, so that the whole process of scanning and verifying the commodity digital code is independent of an external network and can be performed in a local off-line manner at the terminal, and therefore the applicability of the one-object one-code system is effectively improved.
Fig. 5 is a schematic flowchart of a data verification apparatus in another embodiment, as shown in fig. 5, in an embodiment, a data verification apparatus 600 includes an acquisition module 620, a judgment module 640, a decryption module 660, and a verification module 680, which may be respectively the same as corresponding structures in the foregoing embodiments, and the data verification apparatus 600 in this embodiment may further include: and the uploading module 650 is configured to upload the digital data to the cloud for verification in the case that the terminal has network connection.
Specifically, if the determining module 640 determines that the terminal is in the state of external network connection, the determining module 640 controls the terminal to enter the network verification mode, and sends the digital data to the uploading module 650. The uploading module 650 can upload the received digital data to the cloud server, and the cloud server checks the digital data and returns the check result to the uploading module 650, thereby completing the check process of the commodity digital code. It can be understood that, when the determining module 640 determines that the terminal has external network connection, the uploading module 650, the decrypting module 660, and the verifying module 680 may also work simultaneously, the uploading module 650 performs network verification, the decrypting module 660 performs local verification with the verifying module 680, and if the results of the network verification and the local verification are inconsistent, a request for updating a local database or detecting a fault, etc., may be provided to the cloud server, so as to update and optimize the local verification mode.
Further, in an embodiment, on the basis of the above embodiment, the data verification apparatus 600 may further include a format module and a prompt module. The format module is configured to perform format check on the digital data acquired by the acquisition module 620, so as to ensure correctness of the digital format acquired by the acquisition module 620. The prompt module is used for generating corresponding prompt information according to the verification result obtained by the uploading module 650 or the verifying module 680, so that the user can conveniently check or process the prompt information, and the processing efficiency of the commodity is improved.
In one embodiment, on the basis of the above embodiments, the checking module 680 may specifically include a truncation unit and a matching unit. The intercepting unit is used for intercepting a part of the digital codes at a preset position from the complete digital codes decrypted by the decryption module 660, and the matching unit is used for matching corresponding information in the local database according to the part of the digital codes intercepted by the intercepting unit for verification.
It can be understood that the data verification apparatus provided in the embodiment of the present invention can execute the data verification method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Each unit and module included in the data checking device in the above embodiment are only divided according to functional logic, but are not limited to the above division as long as corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In one embodiment, a computer device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor, when running the program, may perform the steps of: collecting digital data by scanning; judging whether the terminal has network connection; decrypting the digital data under the condition that the terminal has no network connection; and verifying the information to be verified according to the decrypted data.
It is to be understood that the computer device provided by the embodiments of the present invention, the processor of which executes the program stored in the memory, is not limited to the method operations described above, and may also execute the relevant operations in the data verification method provided by any embodiments of the present invention.
Further, the number of processors in the computer may be one or more, and the processors and the memory may be connected by a bus or other means. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, which may be connected to the device/terminal/server via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
In one embodiment, the present invention also provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, causes the processor to perform the steps of: collecting digital data by scanning; judging whether the terminal has network connection; decrypting the digital data under the condition that the terminal has no network connection; and verifying the information to be verified according to the decrypted data.
It is to be understood that the computer-readable storage medium containing the computer program according to the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the data verification method according to any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present invention.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above embodiments only represent the preferred embodiments of the present invention and the applied technical principles, and the description thereof is specific and detailed, but not construed as limiting the scope of the invention. Numerous variations, changes and substitutions will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in more detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for data verification, comprising:
collecting digital data by scanning;
judging whether the terminal has network connection;
decrypting the digital data under the condition that the terminal has no network connection;
and verifying the information to be verified according to the decrypted data.
2. The method of claim 1, wherein the step of verifying the information to be verified based on the decrypted data comprises:
intercepting a part of digital codes at a preset position from the decrypted complete digital codes;
and matching corresponding information in a local database according to the partial numbers for verification.
3. The method of claim 1, wherein before the step of determining whether the terminal has a network connection, the method further comprises:
and carrying out format verification on the digital data.
4. The method of claim 1, further comprising:
and uploading the digital data to a cloud for verification under the condition that the terminal has network connection.
5. The method of claim 1, wherein after the step of verifying the information to be verified based on the decrypted data, the method further comprises:
and generating corresponding prompt information according to the verification result.
6. The method according to any one of claims 1 to 5, wherein the information to be verified includes at least one of commodity information, brand information, factory information, lot information, packaging information, and logistics information.
7. A data verification apparatus, comprising:
the acquisition module is used for acquiring digital data through scanning;
the judging module is used for judging whether the terminal has network connection;
the decryption module is used for decrypting the digital data under the condition that the terminal has no network connection;
and the verification module is used for verifying the information to be verified according to the decrypted data.
8. The data verification apparatus of claim 7, further comprising:
and the uploading module is used for uploading the digital data to a cloud for verification under the condition that the terminal has network connection.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the data verification method as claimed in any one of claims 1 to 6 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the data verification method of any one of claims 1 to 6.
CN202011380764.XA 2020-11-30 2020-11-30 Data verification method and device, computer equipment and readable storage medium Pending CN112488729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011380764.XA CN112488729A (en) 2020-11-30 2020-11-30 Data verification method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011380764.XA CN112488729A (en) 2020-11-30 2020-11-30 Data verification method and device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112488729A true CN112488729A (en) 2021-03-12

Family

ID=74937907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011380764.XA Pending CN112488729A (en) 2020-11-30 2020-11-30 Data verification method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112488729A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113379431A (en) * 2021-06-29 2021-09-10 上海中商网络股份有限公司 Method and system for real-time verification of collected data

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102496115A (en) * 2011-11-24 2012-06-13 上海拉手信息技术有限公司 Group-buying coupon offline verification method, verification terminal and verification system
CN103325042A (en) * 2013-05-17 2013-09-25 包晗 Tracing anti-fake market interaction integration system and method
CN103761660A (en) * 2014-02-24 2014-04-30 *** Method and device for verifying authenticity of product
CN104281955A (en) * 2014-05-26 2015-01-14 重庆炬野科技发展有限公司 Commodity information tracing method and equipment system
CN105589885A (en) * 2014-10-24 2016-05-18 阿里巴巴集团控股有限公司 Method and system for checking data consistency
CN106067121A (en) * 2016-06-15 2016-11-02 华中科技大学 A kind of product off-line false distinguishing method based on NFC technique
CN106960351A (en) * 2016-01-11 2017-07-18 深圳市安普盛科技有限公司 A kind of commodity counterfeit prevention, verification method and system and bar code scanner
CN107133807A (en) * 2017-03-06 2017-09-05 郑州新华方数字信息有限公司 A kind of digital anti-fake system do not networked, method and device
CN108846081A (en) * 2018-06-08 2018-11-20 四川科库科技有限公司 A kind of commodity tracing information query method and system
CN110471912A (en) * 2019-07-23 2019-11-19 中国平安人寿保险股份有限公司 A kind of employee's attribute information method of calibration, device and terminal device
US20200082426A1 (en) * 2018-09-07 2020-03-12 Sap Se Encryption-based validation of coupons
CN111919215A (en) * 2018-05-29 2020-11-10 国际商业机器公司 Authentication of packaged products

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102496115A (en) * 2011-11-24 2012-06-13 上海拉手信息技术有限公司 Group-buying coupon offline verification method, verification terminal and verification system
CN103325042A (en) * 2013-05-17 2013-09-25 包晗 Tracing anti-fake market interaction integration system and method
CN103761660A (en) * 2014-02-24 2014-04-30 *** Method and device for verifying authenticity of product
CN104281955A (en) * 2014-05-26 2015-01-14 重庆炬野科技发展有限公司 Commodity information tracing method and equipment system
CN105589885A (en) * 2014-10-24 2016-05-18 阿里巴巴集团控股有限公司 Method and system for checking data consistency
CN106960351A (en) * 2016-01-11 2017-07-18 深圳市安普盛科技有限公司 A kind of commodity counterfeit prevention, verification method and system and bar code scanner
CN106067121A (en) * 2016-06-15 2016-11-02 华中科技大学 A kind of product off-line false distinguishing method based on NFC technique
CN107133807A (en) * 2017-03-06 2017-09-05 郑州新华方数字信息有限公司 A kind of digital anti-fake system do not networked, method and device
CN207068044U (en) * 2017-03-06 2018-03-02 郑州新华方数字信息有限公司 A kind of digital anti-fake system do not networked
CN111919215A (en) * 2018-05-29 2020-11-10 国际商业机器公司 Authentication of packaged products
CN108846081A (en) * 2018-06-08 2018-11-20 四川科库科技有限公司 A kind of commodity tracing information query method and system
US20200082426A1 (en) * 2018-09-07 2020-03-12 Sap Se Encryption-based validation of coupons
CN110471912A (en) * 2019-07-23 2019-11-19 中国平安人寿保险股份有限公司 A kind of employee's attribute information method of calibration, device and terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113379431A (en) * 2021-06-29 2021-09-10 上海中商网络股份有限公司 Method and system for real-time verification of collected data

Similar Documents

Publication Publication Date Title
CN110971656B (en) Secure storage of data in a blockchain
CN108237994B (en) Log information processing method, log information processing unit and Micro Control Unit (MCU)
WO2023245892A1 (en) Order processing method and system based on handheld terminals, computer device, and medium
CN112488729A (en) Data verification method and device, computer equipment and readable storage medium
CN111651358B (en) Method for generating test case, software test method, device and server
CN110826606B (en) Element matching method, device, server and readable storage medium
CN110796060B (en) High-speed driving route determining method, device, equipment and storage medium
CN110874691A (en) General assembly offline control method and system
KR102170930B1 (en) Car damage picture angle correction method, electronic device and readable storage medium
CN117336326A (en) Data acquisition and analysis method, device and equipment of industrial Internet of things and storage medium
CN110733443A (en) Vehicle-based instrument data processing method and device
CN112819799A (en) Target defect detection method, device, system, electronic equipment and storage medium
CN112184127A (en) Supply chain asset life cycle management system based on block chain technology
CN111611465A (en) Product detection system, method, device, computer equipment and storage medium
CN111752819B (en) Abnormality monitoring method, device, system, equipment and storage medium
CN103577964A (en) Method and system for acquiring product circulation regional information and verifying authenticity of product
CN113904955B (en) Detection method, device and system of data transmission link
CN113065914B (en) Delivery control method based on unmanned vending machine
CN110968841A (en) Activation method, device and system of programmable logic controller
CN112232295B (en) Method and device for confirming newly-added target ship and electronic equipment
CN114036008A (en) Equipment information detection method and device, computer equipment and storage medium
CN113901502A (en) Data processing method and device, electronic equipment and storage medium
CN111475400A (en) Verification method of service platform and related equipment
CN111242410A (en) House construction quality data processing method and device and storage medium
CN111176700B (en) Method and system for downloading and updating smart card COS (class of service) after operation

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