CN112883751A - Material scanning method and device, terminal equipment and storage medium - Google Patents

Material scanning method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112883751A
CN112883751A CN202110078652.7A CN202110078652A CN112883751A CN 112883751 A CN112883751 A CN 112883751A CN 202110078652 A CN202110078652 A CN 202110078652A CN 112883751 A CN112883751 A CN 112883751A
Authority
CN
China
Prior art keywords
scanning
information
server
scanned
tool
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
CN202110078652.7A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110078652.7A priority Critical patent/CN112883751A/en
Publication of CN112883751A publication Critical patent/CN112883751A/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
    • 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/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D 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
    • G06K7/1473Methods for optical code recognition the method including quality enhancement steps error correction

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a material scanning method, a material scanning device, terminal equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps that scanning information of a scanned object is obtained from a server according to a scanning instruction triggered on a scanning tool through a response; scanning and checking the scanning object according to the scanning information; and after the scanning is completed and the verification is successful, uploading the scanning result to the server. Therefore, by uniformly acquiring the scanning information from the server, the possibility that the scanning data is only stored in the local scanning tool and is easy to lose is avoided, and the problem that the scanning information is different due to the fact that the same scanning object exists on different scanning tools is also avoided; the scanning object is scanned and checked based on the scanning information acquired from the server, the problem that the system cannot identify different scanning objects in the same product system due to replacement scanning, and the scanned material is mistaken is solved, and the accuracy and the efficiency of the material scanning information can be ensured by the scheme.

Description

Material scanning method and device, terminal equipment and storage medium
Technical Field
The present application relates to the field of material scanning technologies, and in particular, to a material scanning method and apparatus, a terminal device, and a storage medium.
Background
In the production and manufacturing process, the binding relationship between the material and the product is realized by scanning the two-dimensional code or the bar code on the material, and the binding between the material and the product is convenient to trace the production information of the material and lock the production time, the pull wire and the station-crossing record and test result of the material; on the other hand, after the material and the main product are bound, the two-dimensional code of the material can be known by directly scanning the product under the condition that disassembly is not needed, and then relevant production information is judged. The traditional material binding method uses a scanning gun and manually scans, the method has low requirement on operators and low efficiency, and when a plurality of materials need to be scanned, the problems of wrong scanning and missing scanning exist. In order to improve the production efficiency, an automatic scanning tool is introduced in the related scheme, the data are stored in the local computer by adjusting the position coordinates and the sequence of the scanning tool, and the data of the local scanning tool are directly called when the scanning tool is started next time, so that the basic binding requirement is realized.
However, the scanning method proposed by the related scheme has the following defects: the position and sequence information of the scanning tool are stored in a local computer, and the possibility of losing the scanning tool exists, and if the scanning tool is lost, the recorded coordinate values need to be manually adjusted again. For the same scanning object, the positions and sequences stored in different scanning tools are different, and data cannot be updated in time. In addition, if the situation of alternative scanning occurs to different scanning objects in the same product system, the system cannot identify the scanning objects, so that errors in scanning materials are caused. Therefore, the related scheme cannot guarantee the accuracy and efficiency of the scanning information.
Disclosure of Invention
The application mainly aims to provide a material scanning method, a material scanning device, a terminal device and a storage medium, aiming at improving the accuracy and efficiency of material scanning information and avoiding material scanning errors.
In order to achieve the above object, an embodiment of the present application provides a material scanning method applied to a scanning tool, where the method includes the following steps:
responding to a scanning instruction triggered on a scanning tool, and acquiring scanning information of a scanned object from a server according to the scanning instruction;
scanning and checking the scanning object according to the scanning information;
and after the scanning is completed and the verification is successful, uploading the scanning result to the server.
In addition, this application embodiment still provides a material scanning device, material scanning device includes:
the acquisition module is used for responding to a scanning instruction triggered on a scanning tool and acquiring scanning information of a scanned object from a server according to the scanning instruction;
the scanning and checking module is used for scanning and checking the scanning object according to the scanning information;
and the uploading module is used for uploading the scanning result to the server after the scanning is completed and the verification is successful.
In addition, an embodiment of the present application further provides a terminal device, where the terminal device includes a memory, a processor, and a material scanning program that is stored on the memory and is executable on the processor, and when the material scanning program is executed by the processor, the method implements the steps of the material scanning method described above.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a material scanning program is stored on the computer-readable storage medium, and when executed by a processor, the method for scanning a material scanning is implemented.
According to the material scanning method, the material scanning device, the terminal equipment and the storage medium, scanning information of a scanned object is obtained from a server according to a scanning instruction triggered on a scanning tool through a response; scanning and checking the scanning object according to the scanning information; and after the scanning is completed and the verification is successful, uploading the scanning result to the server. Therefore, by uniformly acquiring the scanning information from the server, the possibility that the scanning data is only stored in the local scanning tool and is easy to lose is avoided, and the problem that the scanning information is different due to the fact that the same scanning object exists on different scanning tools can also be avoided; the scanning object is scanned and checked based on the scanning information acquired from the server, the problem that the scanning material is wrong due to the fact that different scanning objects in the same product system cannot be identified due to replacement scanning of the different scanning objects is solved, the accuracy and the efficiency of the material scanning information can be guaranteed, and the situation that the scanning material is wrong is avoided from the whole product system.
Drawings
Fig. 1 is a schematic view of functional modules of a terminal device to which a material scanning device belongs;
FIG. 2 is a schematic flow chart diagram illustrating an exemplary embodiment of a material scanning method of the present application;
FIG. 3 is a schematic flow chart diagram illustrating another exemplary embodiment of a material scanning method of the present application;
FIG. 4 is a schematic flow chart diagram illustrating yet another exemplary embodiment of a material scanning method of the present application;
FIG. 5 is a schematic flow chart diagram illustrating a further exemplary embodiment of a method for material scanning according to the present application;
FIG. 6 is a schematic diagram illustrating an embodiment of a material scanning method according to the present application;
fig. 7 is a schematic detailed flow chart of an embodiment of a material scanning method according to the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: the method comprises the steps that scanning information of a scanned object is obtained from a server according to a scanning instruction triggered on a scanning tool through a response; scanning and checking the scanning object according to the scanning information; and after the scanning is completed and the verification is successful, uploading the scanning result to the server. Therefore, by uniformly acquiring the scanning information from the server, the possibility that the scanning data is only stored in the local scanning tool and is easy to lose is avoided, and the problem that the scanning information is different due to the fact that the same scanning object exists on different scanning tools can also be avoided; the scanning object is scanned and checked based on the scanning information acquired from the server, the problem that the scanning material is wrong due to the fact that different scanning objects in the same product system cannot be identified due to replacement scanning of the different scanning objects is solved, the accuracy and the efficiency of the material scanning information can be guaranteed, and the situation that the scanning material is wrong is avoided from the whole product system.
The technical terms related to the embodiments of the present application are:
the scanning platform is a server for storing information such as coordinate positions, sequences, material codes, material descriptions and the like of scanning objects, and the server is used for example in the embodiment of the application;
the scanning tool is a scanning device, and a scanning head of the scanning device is used for identifying a two-dimensional code of a scanned object;
the scanned object, the material that is scanned, self-bring two-dimensional code can be discerned by the scanning tool through the two-dimensional code.
In the embodiment of the application, it is considered that, in the related scheme, when the automatic scanning tool is adopted for scanning, the data are stored in the local computer by adjusting the position coordinates and the sequence of the scanning tool, and the data of the local scanning tool are directly called when the automatic scanning tool is started next time, so that the basic binding requirement is realized. However, the scanning method proposed by the related scheme has the following defects: the position and sequence information of the scanning tool are stored in a local computer, and the possibility of loss exists; once lost, manual readjustment of the recorded coordinate values is required. The positions and sequences stored in different scanning tools of the same scanning object are different, and data cannot be updated in time. If the scanning objects A and B in the same system are contained under the system C, when the scanning objects A are used for scanning instead of the scanning objects B, the system cannot identify the scanning objects A and B, and therefore errors are caused in material scanning.
Therefore, the embodiment of the application provides a solution, which can ensure the accuracy and efficiency of the scanning information and avoid errors in the scanning of materials from the system.
Specifically, referring to fig. 1, fig. 1 is a schematic diagram of functional modules of a terminal device to which the material scanning apparatus belongs. The material scanning device can be a device which is independent of the terminal equipment and can realize the scanning function, and the material scanning device can be borne on the terminal equipment in a hardware or software mode. The terminal device can be an intelligent mobile terminal such as a mobile phone and a tablet personal computer, and can also be a network device such as a server.
In this embodiment, the terminal device to which the material scanning apparatus belongs at least includes an output module 110, a processor 120, a memory 130, and a communication module 140.
The memory 130 stores an operating system and a material scanning program, and the material scanning apparatus can store information such as a scanning instruction triggered by a scanning tool, scanning information of a scanning object, a scanning result and the like in the memory 130; the output module 110 may be a display screen, a speaker, etc. The communication module 140 may include a WIFI module, a mobile communication module, a bluetooth module, and the like, and communicates with an external device or a server through the communication module 140.
As an embodiment, the material scanning program in the memory 130 implements the following steps when executed by the processor:
responding to a scanning instruction triggered on a scanning tool, and acquiring scanning information of a scanned object from a server according to the scanning instruction;
scanning and checking the scanning object according to the scanning information;
and after the scanning is completed and the verification is successful, uploading the scanning result to the server.
Further, the material scanning program in the memory 130 when executed by the processor further implements the steps of:
and acquiring the coordinate position, the sequence and the material code of the scanning object pre-stored on the server from the server according to the scanning instruction.
Further, the material scanning program in the memory 130 when executed by the processor further implements the steps of:
scanning the scanning object to acquire real object information of the scanning object;
comparing the real object information of the scanned object with the scanned information of the scanned object;
if the physical information is consistent with the scanning information, judging that the scanning and checking are successful; otherwise, judging that the scanning verification fails.
Further, the material scanning program in the memory 130 when executed by the processor further implements the steps of:
comparing one or more of material codes, coordinate positions and sequences in the material object information of the scanning object with one or more of material codes, coordinate positions and sequences in the scanning information, and if the material object information is inconsistent with the scanning information, judging that the material object information is inconsistent with the scanning information; otherwise
And if the material code, the coordinate position and the sequence in the real object information of the scanning object are correspondingly consistent with the material code, the coordinate position and the sequence in the scanning information, judging that the real object information is consistent with the scanning information.
Further, the material scanning program in the memory 130 when executed by the processor further implements the steps of:
scanning the scanning object according to the coordinate position and the sequence in the scanning information to obtain a scanned object material code;
comparing the material object code with the material code in the scanning information;
if the two are consistent, judging that the scanning verification is successful; otherwise, judging that the scanning verification fails.
Further, the material scanning program in the memory 130 when executed by the processor further implements the steps of:
and if the scanning verification fails, performing error reporting locally on the scanning tool, and uploading error reporting information to the server.
Further, the material scanning program in the memory 130 when executed by the processor further implements the steps of:
downloading a scanning configuration file from the server after the scanning verification fails, wherein the scanning configuration file comprises a material code, a coordinate position and a sequence of a scanning object;
and loading the scanning configuration file to material debugging equipment of the scanning object, and adjusting the coordinate position and/or the sequence of the scanning object by the material debugging equipment according to the scanning configuration file.
Further, the material scanning program in the memory 130 when executed by the processor further implements the steps of:
when the scanning object is scanned for the first time, receiving scanning information of the scanning object input by a user through the scanning tool;
and uploading the scanning information of the scanning object to the server.
Further, the material scanning program in the memory 130 when executed by the processor further implements the steps of:
adjusting the scanning information of the scanning object, and scanning the scanning object for the first time based on the adjusted scanning information;
and uploading the adjusted scanning information to the server.
According to the scheme, the scanning information of the scanning object is acquired from the server according to the scanning instruction by responding to the scanning instruction triggered on the scanning tool; scanning and checking the scanning object according to the scanning information; and after the scanning is completed and the verification is successful, uploading the scanning result to the server. Therefore, by uniformly acquiring the scanning information from the server, the possibility that the scanning data is only stored in the local scanning tool and is easy to lose is avoided, and the problem that the scanning information is different due to the fact that the same scanning object exists on different scanning tools can also be avoided; the scanning object is scanned and checked based on the scanning information acquired from the server, the problem that the scanning material is wrong due to the fact that different scanning objects in the same product system cannot be identified due to replacement scanning of the different scanning objects is solved, the accuracy and the efficiency of the material scanning information can be guaranteed, and the situation that the scanning material is wrong is avoided from the whole product system.
Based on the above terminal device architecture but not limited to the above architecture, embodiments of the method of the present application are provided.
The main execution body of the method of this embodiment may be a material scanning device installed on the terminal device, and the material scanning device may be a device that is independent of the terminal device and can implement a scanning function, and may be carried on the terminal device in the form of hardware or software. The terminal device can be an intelligent mobile terminal such as a mobile phone and a tablet personal computer, and can also be a network device such as a fixed terminal and a server. This embodiment is exemplified by a fixed terminal.
Specifically, referring to fig. 2, fig. 2 is a schematic flow chart diagram of an exemplary embodiment of the material scanning method of the present application. The material scanning method is applied to a scanning tool, and comprises the following steps:
step S101, responding to a scanning instruction triggered on a scanning tool, and acquiring scanning information of a scanned object from a server according to the scanning instruction;
the scanning tool may be an automatic scanning tool, and specifically may be a terminal device equipped with a scanning program and having a scanning function, and the scanning tool is provided with a scanning head and can identify a two-dimensional code of a scanned object (a scanned object). A user (e.g., a physical scanning operator of a product) may operate on the scanning tool to trigger a scan command for a scanned object.
The scanning instruction may carry identification information of the scanned object, where the identification information may be ID information of a product system to which the scanned object belongs, for example, a product system includes a plurality of materials, and each material may be a scanned object.
Therefore, the scanning object is the scanned material, wherein the scanning object is provided with a two-dimensional code and can be identified by a scanning tool through the two-dimensional code.
The scanning tool responds to a scanning instruction triggered on the scanning tool, and scanning information of a scanned object is acquired from the server according to the scanning instruction.
In specific implementation, according to the scan instruction, scan information such as coordinate positions, orders, material codes and the like of scan objects pre-stored in the server can be acquired from the server. As a product system, the scanning information of all the materials can be correspondingly stored on the server, and the scanning information is correspondingly stored on the server through the product ID information.
In this embodiment, scan information of different scan targets is stored in a scan platform server (hereinafter, referred to as a server) in advance.
The scanning information may include coordinate position of the scanning object, scanning order, material code, material description, and other information.
As an embodiment, when a scanning object is scanned for the first time, scanning information such as a coordinate position, a scanning sequence, a material code, a material description and the like of the scanning object, which is input by a user, may be received through a scanning tool; then, these scanning information of the scanned object are uploaded to the server.
Specifically, when the scanning tool is produced for the first time, an operator can input scanning information such as the sequence and the position of a scanning object on the scanning tool, and can manually adjust the scanning information such as the coordinate position and the sequence of the scanning object to ensure the accuracy of the scanning information of the scanning object, after the adjustment is completed, the operator can click a one-key uploading function on the scanning tool, and the scanning tool can locally store the scanning information of the scanning object input by the operator.
Meanwhile, the scanning tool can synchronize the scanning information to the server for storage according to the uploading instruction. The method has the advantages that the possibility of data loss caused by the fact that the previous data are stored in the local computer is replaced, meanwhile, the data can be updated in time, the new data on the server can cover the previous old data only after the data are uploaded to the server, the current data obtained from the server are guaranteed to be in the latest state all the time, and the function of uploading by one key can also fundamentally avoid errors caused by human factors in the previous data copying process.
And then, when the scanning object is scanned again, the scanning tool directly acquires the latest coordinate position, sequence, material code and other scanning information of the scanning object, which is stored in the server in advance, from the server according to the received scanning instruction so as to conveniently perform matching verification on the real object of the scanning object and the scanning information in the system on the server.
Step S102, scanning and checking the scanning object according to the scanning information;
specifically, as an embodiment, the scanning and verifying the scan object according to the scan information may adopt the following scheme:
scanning the scanning object through a scanning tool to acquire the real object information of the scanning object; comparing the real object information of the scanned object with the scanned information of the scanned object; if the physical information is consistent with the scanning information, judging that the scanning and checking are successful; otherwise, judging that the scanning verification fails.
When comparing the real object information of the scanned object with the scanned information of the scanned object, the following scheme may be adopted:
comparing one or more of material codes, coordinate positions and sequences in the material object information of the scanning object with one or more of material codes, coordinate positions and sequences in the scanning information, and if the material object information is not consistent with the scanning information, judging that the material object information is not consistent with the scanning information.
Otherwise, if the material code, the coordinate position and the sequence in the real object information of the scanning object are correspondingly consistent with the material code, the coordinate position and the sequence in the scanning information, the real object information is judged to be consistent with the scanning information.
As another embodiment, the following scheme may be adopted for scanning and verifying the scanning object according to the scanning information:
scanning the scanning object according to the coordinate position and the sequence in the scanning information to obtain a scanned object material code; comparing the material object code with the material code in the scanning information; if the two are consistent, judging that the scanning verification is successful; otherwise, judging that the scanning verification fails.
That is to say, after the scanning information of the scanning object is obtained by the scanning tool, the scanning object is scanned one by one according to the established sequence and the coordinate position information, and meanwhile, the scanning accuracy is ensured according to the matching check of the material codes of the server and the material codes in the real object of the scanning object one by one. By the method, the problem that materials are scanned wrongly because the system cannot identify when the A replaces the B to scan if the scanning objects A and B in the same system are contained under the C system is solved.
And step S103, after the scanning is completed and the verification is successful, uploading the scanning result to the server.
And when all the material codes are successfully scanned, matched and checked, and the scanning sequence and the coordinate position are matched and consistent, the scanning is successful, and the scanning tool uploads the result after the scanning is successful to the server for storage.
According to the scheme, the scanning information of the scanning object is acquired from the server according to the scanning instruction by responding to the scanning instruction triggered on the scanning tool; scanning and checking the scanning object according to the scanning information; and after the scanning is completed and the verification is successful, uploading the scanning result to the server. Therefore, by uniformly acquiring the scanning information from the server, the possibility that the scanning data is only stored in the local scanning tool and is easy to lose is avoided, and the problem that the scanning information is different due to the fact that the same scanning object exists on different scanning tools can also be avoided; the scanning object is scanned and checked based on the scanning information acquired from the server, the problem that the scanning material is wrong due to the fact that different scanning objects in the same product system cannot be identified due to replacement scanning of the different scanning objects is solved, the accuracy and the efficiency of the material scanning information can be guaranteed, and the situation that the scanning material is wrong is avoided from the whole product system.
Compared with the prior art, in the prior art, although the material codes of the scanning objects A and B in the same product system are different, the prior art has no error correction capability, and the scanning objects and the system have no one-to-one correspondence.
In the scheme, the scanning object and the system have one-to-one correspondence, when A replaces B for scanning, the system performs matching verification through scanning information, and can identify the difference between the scanning object and the system, so that the scanning error phenomenon can be corrected, and the accuracy of the scanning information is ensured.
In addition, in the scheme, during scanning, because the scanned real object information currently scanned and the scanned data stored in the server are verified, actually the same set of scanned data (data such as coordinate position and sequence) is taken in each scanning, that is, all scanned objects must be scanned according to the coordinate position and sequence set by the server, so that the problem that the stored coordinate position and sequence are different due to the fact that the same scanned object exists in different scanning tools can be avoided.
Referring to fig. 3, fig. 3 is a schematic flow chart diagram of another exemplary embodiment of the material scanning method of the present application. Based on the embodiment shown in fig. 2, in step S102, after scanning and verifying the scan object according to the scan information, the method further includes:
and step S104, when the scanning verification fails, carrying out error reporting on the scanning tool locally, and uploading error reporting information to the server.
Compared with the embodiment shown in fig. 2, the embodiment further includes a processing scheme for failure of scan check.
Specifically, when the scanning verification fails, once the scanning tool finds that a certain material code is not matched with a system code, or the sequence of the scanned material code is not matched with the established sequence of the server, or the coordinate position of the scanned material is not matched with the established coordinate position of the server, the scanning tool can report errors locally, and can also synchronize error report information to the server, so that complete fool-proofing is performed from the flow through the function, material scanning errors are avoided, and the accuracy of scanning information is ensured.
According to the scheme, the scanning information of the scanning object is acquired from the server according to the scanning instruction by responding to the scanning instruction triggered on the scanning tool; scanning and checking the scanning object according to the scanning information; after the scanning is completed and the verification is successful, uploading a scanning result to the server; and when the scanning verification fails, carrying out error reporting locally on the scanning tool, and uploading error reporting information to the server. Therefore, by uniformly acquiring the scanning information from the server, the possibility that the scanning data is only stored in the local scanning tool and is easy to lose is avoided, and the problem that the scanning information is different due to the fact that the same scanning object exists on different scanning tools can also be avoided; the scanning object is scanned and checked based on the scanning information acquired from the server, the problem that the scanning material is wrong due to the fact that different scanning objects in the same product system cannot be identified due to replacement scanning of the different scanning objects is solved, the accuracy and the efficiency of the material scanning information can be guaranteed, and the situation that the scanning material is wrong is avoided from the whole product system.
Referring to fig. 4, fig. 4 is a schematic flow chart diagram of a material scanning method according to another exemplary embodiment of the present application. Based on the embodiment shown in fig. 2, in step S102, after scanning and verifying the scan object according to the scan information, the method further includes:
step S105, downloading a scanning configuration file from the server after the scanning verification fails, wherein the scanning configuration file comprises a material code, a coordinate position and a sequence of a scanning object;
step S106, the scanning configuration file is loaded to the material debugging equipment of the scanning object, and the material debugging equipment adjusts the coordinate position and/or the sequence of the scanning object according to the scanning configuration file.
Compared with the embodiment shown in fig. 2, the present embodiment further includes another processing scheme after the scan check fails.
Specifically, after the scanning verification fails, the scanning tool may download a scanning configuration file from the server, where the scanning configuration file includes information such as a material code, a coordinate position and order, and a material description of a scanned object;
and the scanning tool loads the downloaded scanning configuration file to the material debugging equipment of the scanning object, and the material debugging equipment adjusts the coordinate position and/or the sequence of the scanning object according to the scanning configuration file, so that the coordinate position and the sequence of the current material are correct, and the one-to-one correspondence between the real object information and the system information of the scanning object is ensured.
According to the scheme, the scanning information of the scanning object is acquired from the server according to the scanning instruction by responding to the scanning instruction triggered on the scanning tool; scanning and checking the scanning object according to the scanning information; after the scanning is completed and the verification is successful, uploading a scanning result to the server; when the scanning verification fails, downloading a scanning configuration file from the server after the scanning verification fails, wherein the scanning configuration file comprises a material code, a coordinate position and a sequence of a scanning object; and loading the scanning configuration file to material debugging equipment of the scanning object, and adjusting the coordinate position and/or the sequence of the scanning object by the material debugging equipment according to the scanning configuration file. Therefore, by uniformly acquiring the scanning information from the server, the possibility that the scanning data is only stored in the local scanning tool and is easy to lose is avoided, and the problem that the scanning information is different due to the fact that the same scanning object exists on different scanning tools can also be avoided; the scanning object is scanned and checked based on the scanning information acquired from the server, the problem that the scanning material is wrong due to the fact that different scanning objects in the same product system cannot be identified due to replacement scanning of the different scanning objects is solved, the accuracy and the efficiency of the material scanning information can be guaranteed, and the situation that the scanning material is wrong is avoided from the whole product system. In addition, a scanning configuration file is downloaded from a server through a scanning tool, the downloaded scanning configuration file is loaded to the material debugging equipment of the scanning object, and the material debugging equipment adjusts the coordinate position and/or the sequence of the scanning object according to the scanning configuration file, so that the coordinate position and the sequence of the current material are correct, the one-to-one correspondence between the real object information and the system information of the scanning object is ensured, and the accuracy and the efficiency of the material scanning information are further ensured.
Referring to fig. 5, fig. 5 is a schematic flow chart diagram of a material scanning method according to another exemplary embodiment of the present application. Based on the embodiment shown in fig. 2, in step S101, in response to a scan instruction triggered on the scan tool, before acquiring the scan information of the scan object from the server according to the scan instruction, the method further includes:
step S1001, when the scanning object is scanned for the first time, receiving scanning information of the scanning object input by a user through the scanning tool;
step S1002, upload the scanning information of the scanning object to the server.
Compared with the embodiment shown in fig. 2, the present embodiment further includes a scheme of scanning the scanning object for the first time.
Specifically, as an implementation manner, when a scanning object is scanned for the first time, scanning information such as a coordinate position, a scanning order, a material code, a material description, and the like of the scanning object, which is input by a user, may be received through a scanning tool; then, these scanning information of the scanned object are uploaded to the server.
Specifically, when the scanning tool is produced for the first time, an operator can input scanning information such as the sequence and the position of a scanning object on the scanning tool, and can manually adjust the scanning information such as the coordinate position and the sequence of the scanning object to ensure the accuracy of the scanning information of the scanning object, after the adjustment is completed, the operator can click a one-key uploading function on the scanning tool, and the scanning tool can locally store the scanning information of the scanning object input by the operator.
Meanwhile, the scanning tool can synchronize the scanning information to the server for storage according to the uploading instruction. The method has the advantages that the possibility of data loss caused by the fact that the previous data are stored in the local computer is replaced, meanwhile, the data can be updated in time, the new data on the server can cover the previous old data only after the data are uploaded to the server, the current data obtained from the server are guaranteed to be in the latest state all the time, and the function of uploading by one key can also fundamentally avoid errors caused by human factors in the previous data copying process.
And then, when the scanning object is scanned again, the scanning tool directly acquires the latest coordinate position, sequence, material code and other scanning information of the scanning object, which is stored in the server in advance, from the server according to the received scanning instruction so as to conveniently perform matching verification on the real object of the scanning object and the scanning information in the system on the server.
The principle of implementing material scanning in this embodiment may be shown in fig. 6, a scanning refinement process may be shown in fig. 7, and the MES server in fig. 7 is a server in this embodiment of the present application.
According to the scheme, when the scanning object is scanned for the first time, the scanning information of the scanning object input by a user is received through the scanning tool; uploading the scanning information of the scanning object to the server, responding to a scanning instruction triggered on a scanning tool, and acquiring the scanning information of the scanning object from the server according to the scanning instruction; scanning and checking the scanning object according to the scanning information; and after the scanning is completed and the verification is successful, uploading the scanning result to the server. Therefore, by uniformly acquiring the scanning information from the server, the possibility that the scanning data is only stored in the local scanning tool and is easy to lose is avoided, and the problem that the scanning information is different due to the fact that the same scanning object exists on different scanning tools can also be avoided; the scanning object is scanned and checked based on the scanning information acquired from the server, the problem that the scanning material is wrong due to the fact that different scanning objects in the same product system cannot be identified due to replacement scanning of the different scanning objects is solved, the accuracy and the efficiency of the material scanning information can be guaranteed, and the situation that the scanning material is wrong is avoided from the whole product system.
It should be noted that the above embodiments can be implemented in a reasonable combination according to the circumstances.
Compared with the prior art, the process shown in fig. 7 is taken as an example, and after the scheme of the embodiment of the application is adopted, in the aspect of scanning accuracy, all scanning information is uploaded to the MES server to replace local computer data storage, so that the possibility of data loss is avoided. Moreover, the scanning data is required to be loaded from the server in the subsequent calling process, so that the problem that the stored positions and sequences are different due to the fact that the same scanning object exists in different scanning tools is solved. In addition, a material code checking function is added, all scanning objects must be scanned according to the positions and the sequence set by the MES server, and meanwhile, the material codes of the scanning objects must be kept consistent with those of the MES server, so that the problems that the A and B in the same system are replaced, the system cannot identify and the materials are wrong are solved. In the aspect of scanning efficiency, the scheme supports the function of uploading scanning information such as coordinate positions and sequences by one key, reduces errors caused by manpower, and avoids the problem that a scanning tool needs to be debugged for many times due to data loss from the source. By the method, the possibility of scanning errors, missing scanning and data loss can be reduced, and the accuracy and the efficiency of production are improved.
In addition, this application embodiment still provides a material scanning device, material scanning device includes:
the acquisition module is used for responding to a scanning instruction triggered on a scanning tool and acquiring scanning information of a scanned object from a server according to the scanning instruction;
the scanning and checking module is used for scanning and checking the scanning object according to the scanning information;
and the uploading module is used for uploading the scanning result to the server after the scanning is completed and the verification is successful.
For the principle and implementation process of implementing material scanning in this embodiment, please refer to the above embodiments, which are not described herein again.
In addition, the embodiment of the present application further provides a terminal device, where the terminal device includes a memory, a processor, and a material scanning program that is stored on the memory and is executable on the processor, and when the material scanning program is executed by the processor, the material scanning method according to the above embodiment is implemented.
Since the material scanning program is executed by the processor, all technical solutions of all the foregoing embodiments are adopted, so that at least all the beneficial effects brought by all the technical solutions of all the foregoing embodiments are achieved, and details are not repeated herein.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a material scanning program is stored on the computer-readable storage medium, and when the material scanning program is executed by a processor, the material scanning method according to the embodiment is implemented.
Since the material scanning program is executed by the processor, all technical solutions of all the foregoing embodiments are adopted, so that at least all the beneficial effects brought by all the technical solutions of all the foregoing embodiments are achieved, and details are not repeated herein.
Compared with the prior art, the material scanning method, the material scanning device, the terminal equipment and the storage medium provided by the embodiment of the application respond to the scanning instruction triggered on the scanning tool, and acquire the scanning information of the scanned object from the server according to the scanning instruction; scanning and checking the scanning object according to the scanning information; and after the scanning is completed and the verification is successful, uploading the scanning result to the server. Therefore, by uniformly acquiring the scanning information from the server, the possibility that the scanning data is only stored in the local scanning tool and is easy to lose is avoided, and the problem that the scanning information is different due to the fact that the same scanning object exists on different scanning tools can also be avoided; the scanning object is scanned and checked based on the scanning information acquired from the server, the problem that the scanning material is wrong due to the fact that different scanning objects in the same product system cannot be identified due to replacement scanning of the different scanning objects is solved, the accuracy and the efficiency of the material scanning information can be guaranteed, and the situation that the scanning material is wrong is avoided from the whole product system.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (12)

1. A method of scanning a material, for use with a scanning tool, the method comprising the steps of:
responding to a scanning instruction triggered on a scanning tool, and acquiring scanning information of a scanned object from a server according to the scanning instruction;
scanning and checking the scanning object according to the scanning information;
and after the scanning is completed and the verification is successful, uploading the scanning result to the server.
2. The material scanning method according to claim 1, wherein the step of obtaining the scanning information of the scanned object from the server according to the scanning instruction comprises:
and acquiring the coordinate position, the sequence and the material code of the scanning object pre-stored on the server from the server according to the scanning instruction.
3. The method as claimed in claim 2, wherein the step of scanning and verifying the scanned object according to the scanning information comprises:
scanning the scanning object to acquire real object information of the scanning object;
comparing the real object information of the scanned object with the scanned information of the scanned object;
if the physical information is consistent with the scanning information, judging that the scanning and checking are successful; otherwise, judging that the scanning verification fails.
4. The material scanning method according to claim 3, wherein the step of comparing the physical information of the scanned object with the scanning information of the scanned object comprises:
comparing one or more of material codes, coordinate positions and sequences in the material object information of the scanning object with one or more of material codes, coordinate positions and sequences in the scanning information, and if the material object information is inconsistent with the scanning information, judging that the material object information is inconsistent with the scanning information; otherwise
And if the material code, the coordinate position and the sequence in the real object information of the scanning object are correspondingly consistent with the material code, the coordinate position and the sequence in the scanning information, judging that the real object information is consistent with the scanning information.
5. The method as claimed in claim 2, wherein the step of scanning and verifying the scanned object according to the scanning information comprises:
scanning the scanning object according to the coordinate position and the sequence in the scanning information to obtain a scanned object material code;
comparing the material object code with the material code in the scanning information;
if the two are consistent, judging that the scanning verification is successful; otherwise, judging that the scanning verification fails.
6. The material scanning method according to any one of claims 1-5, wherein the step of scanning and verifying the scanned object according to the scanning information further comprises:
and when the scanning verification fails, carrying out error reporting locally on the scanning tool, and uploading error reporting information to the server.
7. The item scanning method of claim 6, further comprising:
downloading a scanning configuration file from the server after the scanning verification fails, wherein the scanning configuration file comprises a material code, a coordinate position and a sequence of a scanning object;
and loading the scanning configuration file to material debugging equipment of the scanning object, and adjusting the coordinate position and/or the sequence of the scanning object by the material debugging equipment according to the scanning configuration file.
8. The method for scanning materials according to claim 1, wherein the step of obtaining the scanning information of the scanned object from the server according to the scanning instruction triggered by the scanning tool further comprises:
when the scanning object is scanned for the first time, receiving scanning information of the scanning object input by a user through the scanning tool;
and uploading the scanning information of the scanning object to the server.
9. The method for scanning materials as claimed in claim 8, wherein the step of uploading the scanning information of the scanned object to the server further comprises:
adjusting the scanning information of the scanning object, and scanning the scanning object for the first time based on the adjusted scanning information;
the uploading of the scanning information of the scanned object to the server comprises:
and uploading the adjusted scanning information to the server.
10. An article scanning device, comprising:
the acquisition module is used for responding to a scanning instruction triggered on a scanning tool and acquiring scanning information of a scanned object from a server according to the scanning instruction;
the scanning and checking module is used for scanning and checking the scanning object according to the scanning information;
and the uploading module is used for uploading the scanning result to the server after the scanning is completed and the verification is successful.
11. A terminal device, characterized in that the terminal device comprises a memory, a processor and a material scanning program stored on the memory and executable on the processor, the material scanning program, when executed by the processor, implementing the material scanning method according to any one of claims 1-9.
12. A computer-readable storage medium, having stored thereon a material scanning program which, when executed by a processor, implements a material scanning method as claimed in any one of claims 1-9.
CN202110078652.7A 2021-01-20 2021-01-20 Material scanning method and device, terminal equipment and storage medium Pending CN112883751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110078652.7A CN112883751A (en) 2021-01-20 2021-01-20 Material scanning method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110078652.7A CN112883751A (en) 2021-01-20 2021-01-20 Material scanning method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112883751A true CN112883751A (en) 2021-06-01

Family

ID=76051024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110078652.7A Pending CN112883751A (en) 2021-01-20 2021-01-20 Material scanning method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112883751A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116501727A (en) * 2023-06-29 2023-07-28 深圳市华磊迅拓科技有限公司 Equipment data verification method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463545A (en) * 2014-12-16 2015-03-25 合肥鑫晟光电科技有限公司 Warehouse data processing system
KR101562534B1 (en) * 2015-02-04 2015-10-23 주식회사로시스정보기술 Method for mobile inspection of MRO material using QR code and Logistics Management System using the same
US20170032382A1 (en) * 2014-04-14 2017-02-02 Jenda Tag, LLC System and Method for Product Authentication
CN107169718A (en) * 2017-07-03 2017-09-15 上海杳雾网络科技有限公司 Factory's material allocation method and system
CN108416404A (en) * 2018-03-09 2018-08-17 合肥鑫晟光电科技有限公司 Material logistics system and method
CN111079878A (en) * 2019-12-27 2020-04-28 龙岩烟草工业有限责任公司 Processing system and processing method for tobacco flakes and tobacco making device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170032382A1 (en) * 2014-04-14 2017-02-02 Jenda Tag, LLC System and Method for Product Authentication
CN104463545A (en) * 2014-12-16 2015-03-25 合肥鑫晟光电科技有限公司 Warehouse data processing system
KR101562534B1 (en) * 2015-02-04 2015-10-23 주식회사로시스정보기술 Method for mobile inspection of MRO material using QR code and Logistics Management System using the same
CN107169718A (en) * 2017-07-03 2017-09-15 上海杳雾网络科技有限公司 Factory's material allocation method and system
CN108416404A (en) * 2018-03-09 2018-08-17 合肥鑫晟光电科技有限公司 Material logistics system and method
CN111079878A (en) * 2019-12-27 2020-04-28 龙岩烟草工业有限责任公司 Processing system and processing method for tobacco flakes and tobacco making device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
康建红等主编: "《新型干法水泥工艺设计计算及实用技术》", 31 October 2011 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116501727A (en) * 2023-06-29 2023-07-28 深圳市华磊迅拓科技有限公司 Equipment data verification method, device, equipment and storage medium
CN116501727B (en) * 2023-06-29 2023-09-19 深圳市华磊迅拓科技有限公司 Equipment data verification method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20120117557A1 (en) Method and system for upgrading wireless data card
CN101088071B (en) Method and device for secure parameterization of electronic devices
CN106559388B (en) Method and device for binding equipment
CN109992283B (en) Method and system for synchronously downloading and upgrading test firmware in batch
CN105718268A (en) Method and device for verifying OTA multi-pack upgrading
CN108196878A (en) Method and device for generating application program installation package, electronic equipment and storage medium
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
CN110908702B (en) Version switching method, version switching device, computer equipment and storage medium
CN105898290A (en) Method and device for controlling intelligent device to enter factory test mode
CN112883751A (en) Material scanning method and device, terminal equipment and storage medium
CN112104738B (en) Automatic upgrading method, server and system for electronic price tag system software
CN111866149A (en) Cluster deployment method and device, computer equipment and storage medium
CN105068829A (en) Feature data burning method, apparatus and system
CN110569053A (en) method for upgrading application chip in electronic equipment and electronic equipment
CN106897166A (en) A kind of mobile terminal and its restorative procedure
CN110780917A (en) Method and system for automatically packaging and releasing read Native application
CN114860613A (en) Automatic testing method and device
WO2018161370A1 (en) Automatic testing method, device, and system for bluetooth pos terminal
CN105872106A (en) Over-the-air upgrade method, over-the-air server and terminal
CN112558981B (en) Custom compiling and deploying method and system based on jenkinsfile
CN115774881A (en) Code auditing method, device, equipment and medium
CN113504928A (en) Automatic application deployment method and device
CN113986298A (en) Method and device for processing system vulnerability
CN107820129B (en) Method for automatically maintaining application data packet of intelligent equipment
CN110750266A (en) Program compiling method, program compiling device, computer equipment and storage medium

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: 20210601