CN111401491A - Component control method and device, storage medium and terminal - Google Patents

Component control method and device, storage medium and terminal Download PDF

Info

Publication number
CN111401491A
CN111401491A CN202010151632.3A CN202010151632A CN111401491A CN 111401491 A CN111401491 A CN 111401491A CN 202010151632 A CN202010151632 A CN 202010151632A CN 111401491 A CN111401491 A CN 111401491A
Authority
CN
China
Prior art keywords
identification code
component
code
label
dimensional
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
CN202010151632.3A
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010151632.3A priority Critical patent/CN111401491A/en
Publication of CN111401491A publication Critical patent/CN111401491A/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/0029Methods 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 being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • 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
    • 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The embodiment of the application discloses a component management and control method, a device, a storage medium and a terminal, and belongs to the technical field of computers. The method is applied to a terminal of a scanning assembly, the terminal scans a first two-dimensional code label on the scanning assembly through a lens to obtain a first identification code, and a second identification code is obtained by scanning a second two-dimensional code label on the assembly through the lens, the assembly comprises a first component and a second component, the first two-dimensional code label is adhered to the first component, the second two-dimensional code label is adhered to the second component, the first identification code and/or the second identification code is queried in the set of identification codes and, based on the query result, the corresponding prompt message is displayed through the display unit, the prompt message indicates that the first component is the repeated code component, the second component is the repeated code component or both the first component and the second component are the repeated code components, through the mode that shows the concrete part of coincident code, the suggestion user in time changes the two-dimensional code label on the coincident code part promptly, improves the production efficiency of subassembly to and shorten the production cycle of subassembly.

Description

Component control method and device, storage medium and terminal
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for managing and controlling a component, a storage medium, and a terminal.
Background
With the development of the internet, the two-dimensional code application field is more and more extensive, for example: identity recognition, product traceability, electronic ticketing and the like, and the two-dimensional code brings immeasurable effects on the development of daily life, industrial production and commercial promotion. When the two-dimensional code is applied to industrial production, particularly in a component production process, components on the component can be identified by the two-dimensional code, so that relevant information of the component can be recorded by a factory. In the related art, after finding the component with the coincident code by scanning the two-dimensional code on the component, the component needs to be disassembled into raw materials and put into production again, so that the problems of low production efficiency and long production period of the component occur.
Disclosure of Invention
The embodiment of the application provides a component management and control method, a device, a storage medium and a terminal, and can solve the problems of low production efficiency and long production period of components in industrial production. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a component management and control method, where the method includes:
scanning a first two-dimensional code label on a component through a lens to obtain a first identification code, and scanning a second two-dimensional code label on the component through the lens to obtain a second identification code; the assembly comprises a first component and a second component, wherein the first two-dimensional code label is pasted on the first component, and the second two-dimensional code label is pasted on the second component;
querying the first identification code and/or the second identification code in a set of identification codes;
displaying a corresponding prompt message through a display unit based on the query result; wherein the prompt message indicates that the first component is a duplicate code component, the second component is a duplicate code component, or both the first component and the second component are duplicate code components.
In a second aspect, an embodiment of the present application provides an assembly management and control apparatus, where the apparatus includes:
the scanning module is used for scanning a first two-dimensional code label on the component through a lens to obtain a first identification code and scanning a second two-dimensional code label on the component through the lens to obtain a second identification code; the assembly comprises a first component and a second component, wherein the first two-dimensional code label is pasted on the first component, and the second two-dimensional code label is pasted on the second component;
a query module configured to query the first identifier and/or the second identifier in a set of identifiers;
the display module is used for displaying the corresponding prompt message through the display unit based on the query result; wherein the prompt message indicates that the first component is a duplicate code component, the second component is a duplicate code component, or both the first component and the second component are duplicate code components.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides a terminal, including: the system comprises a processor, a memory and a display screen; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
when the scheme of the embodiment of the application is executed, the terminal scans the first two-dimensional code label on the component through the lens to obtain the first identification code, and a second identification code is obtained by scanning a second two-dimensional code label on the assembly through the lens, the assembly comprises a first component and a second component, the first two-dimensional code label is adhered to the first component, the second two-dimensional code label is adhered to the second component, the first identification code and/or the second identification code is queried in the set of identification codes and, based on the query result, the corresponding prompt message is displayed through the display unit, the prompt message indicates that the first component is the repeated code component, the second component is the repeated code component or both the first component and the second component are the repeated code components, through the mode that shows the concrete part of coincident code, the suggestion user in time changes the two-dimensional code label on the coincident code part promptly, improves the production efficiency of subassembly to and shorten the production cycle of subassembly.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a scanning system architecture provided herein;
FIG. 2 is a schematic flow chart illustrating a method for managing components according to an embodiment of the present disclosure;
FIG. 3 is another schematic flow chart of a method for managing components according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a terminal display interface provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a terminal display interface provided in an embodiment of the present application;
FIG. 6 is another schematic flow chart of a method for managing components according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a terminal display interface provided in an embodiment of the present application;
FIG. 8 is another schematic flow chart diagram illustrating a method for managing components according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram of a terminal display interface provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of an assembly management and control apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a scanning system architecture provided in the present application.
Referring to fig. 1, the scanning device 100 includes a scanner 101, a processor 102, and a display 103, and the scanned component 104 is composed of at least two parts, a first two-dimensional code label 105 is pasted or printed on a surface of the first part, and a second two-dimensional code label 106 is pasted or printed on a surface of the second part. By placing the scanned component 104 in the scanning device 100, scanning the first two-dimensional code label 105 on the first component of the scanned component 104 by using the scanner 101, and scanning the second two-dimensional code label 106 on the second component of the scanned component 104 by using the scanner 101, after acquiring the first identification code on the first two-dimensional code label 105 and the second identification code on the second two-dimensional code label 106, the scanning device 100 analyzes the first identification code and the second identification code, acquires the information carried on the first identification code and the information carried on the second identification code, binds the information carried on the first identification code and the information carried on the second identification code, and stores the bound first identification code and the bound second identification code into the identification code set of the scanning device 100. When the scanner 101 scans a component with a duplicate code, the processor 102 in the scanning device 100 will parse the identification code on the duplicate code component, and when the component is determined to be a duplicate code component, a prompt message that the component is a duplicate code component will be displayed on the display 103.
The scanner 101 is an apparatus for scanning a two-dimensional code, and is not limited to an embedded type (e.g., a scanning lens), a fixed type (e.g., a two-dimensional code reader), a handheld type (e.g., a two-dimensional code scanner), and the like, and the display 103 may be various devices capable of implementing a display function, such as a cathode ray tube (CR) display, a light-emitting diode (L ED) display, an electronic ink screen, a liquid crystal display (L CD) display, a Plasma Display Panel (PDP) display, and the like.
The following describes in detail an assembly management and control method provided in an embodiment of the present application with reference to fig. 2 to 9.
Referring to fig. 2, a flow chart of a component management and control method is provided in the embodiment of the present application. In this embodiment, an example is given by applying an assembly management and control method to a terminal, where the assembly management and control method may include the following steps:
s201, a first identification code is obtained through a first two-dimensional code label on the lens scanning assembly, and a second identification code is obtained through a second two-dimensional code label on the lens scanning assembly.
The lens is used for collecting images to be processed, the first two-dimensional code label and the second two-dimensional code label on the component are respectively scanned through the lens, and the two-dimensional codes on the first two-dimensional code label and the two-dimensional codes on the second two-dimensional code label can be respectively collected. The assembly comprises a first part and a second part, and the assembly is composed of at least two parts: the first part is a display screen, and the second part is an upper cover; or the first part is an upper cover and the second part is a display screen. First two-dimensional code label is pasted on the first part surface of subassembly, is a two-dimensional code sticker that carries first part essential information, and second two-dimensional code label is pasted on the second part surface of subassembly, is a two-dimensional code sticker that carries second part essential information, and first two-dimensional code label and second two-dimensional code label homoenergetic show complete two-dimensional code when the scanning. The first identification code is an identification code which can scan and analyze the first two-dimensional code label to obtain relevant information of the first component, the relevant information can be a model number, a batch number or supplier information and the like corresponding to the first component, the second identification code is an identification code which can scan and analyze the second two-dimensional code label to obtain relevant information of the second component, and the relevant information can be a model number, a batch number or supplier information and the like corresponding to the second component.
Generally, a first two-dimensional code label and a second two-dimensional code label are respectively acquired through a lens, images to be processed, namely a first identification code image and a second identification code image, are acquired, and the first identification code image and the second identification code image are respectively analyzed, so that basic information of a first component and a second component can be acquired.
The two-dimensional code has the characteristics of large information capacity, high reliability, strong anti-counterfeiting performance, high-speed omnibearing reading and can effectively express Chinese characters, and can simultaneously express information in a transverse direction and a longitudinal direction, so that a large amount of information can be expressed in a small area, and the two-dimensional code is widely applied to various fields. The process of two-dimensional code identification mainly comprises the following steps: image preprocessing, positioning position detection graphics, positioning correction graphics, perspective transformation, decoding, error correction and the like. The image preprocessing process is to perform graying, denoising, distortion correction and binarization processing on the acquired two-dimensional code image; the image graying is that the data formats output by the cameras are various, the black-and-white camera directly outputs a grayscale image, the color camera output formats comprise YUV422, YUV410, RGB565, RGB888 and the like, and only a single-channel grayscale image is needed during two-dimensional code identification, so that the image needs to be converted into the single-channel grayscale image; denoising is to improve the image quality by denoising the image in a Gaussian filtering, median filtering or mean filtering manner, because the influence of noise can cause inaccurate 1:1:3:1 feature positioning of the image and wrong data decoding, and common noise mainly comprises Gaussian noise and salt-pepper noise; the distortion correction is that the image is corrected through a distortion model to form an undistorted image because the wide-angle camera or the fisheye camera has larger image distortion when used for image acquisition, the image deformation is larger when the wide-angle camera or the fisheye camera is closer to the edge of a visual angle, and for the image with larger distortion, the characteristic proportion relation of 1:1:3:1 is disordered, and data of the data is wrongly decoded without standard module size; binaryzation is to obviously distinguish the two-dimensional code from the two-dimensional code background under the environment with uniform illumination. The positioning of the position detection graph refers to searching through the ratio characteristics of the position detection graph 1:1:3:1, extracting a false position detection graph by using a preset screening rule to determine a true graph, and determining the orientation, namely the upper left corner, the upper right corner and the lower left corner, according to the distance and the rotation angle among at least three true graphs. The positioning of the correction pattern means that the pattern is positioned by a similar way to the positioning of the position detection pattern by estimating the lower right corner corrector from at least 3 position detection patterns. The perspective transformation is to obtain a homography matrix according to at least three positioning center points, a corrector center point and coordinates of four more ideal points, and obtain a standard square image through perspective transformation. The decoding and error correcting process means decoding and comparing version information, format information, data and error correcting codes of the two-dimensional code, converting the data into bit streams of '0' and '1', checking and correcting the bit streams by using a Reed-Solomon error correcting algorithm, and decoding after the coding format of the two-dimensional code is determined to obtain the data information contained in the two-dimensional code.
S202, inquiring the first identification code and/or the second identification code in the identification code set.
The identification code set is a set which continuously collects corresponding identification codes on the two-dimensional code label in the process of scanning the two-dimensional code label, and the identification codes contained in the identification code set are always in an updating state and also contain identification codes collected historically.
Generally, after the first identification code and the second identification code are obtained by scanning, it is required to query whether the first identification code or the second identification code exists in the historical identification codes from the identification code set:
if the first identification code exists in the identification code set, a first prompt message is displayed through a display unit to remind a user of the first identification code duplication code, after the user obtains the first identification code duplication code, the first two-dimensional code label is taken down from the first component, basic information of the first component is input into the equipment, after the equipment obtains first attribute information of the first component, a first target identification code is generated according to the first attribute information, the first target identification code and the second identification code are bound and stored into the identification code set, and after the equipment prints the first target identification code label, the user pastes the first target identification code label on the outer surface of the first component.
If the second identification code exists in the identification code set, a second prompt message is displayed through a display unit to remind a user of the second identification code duplication code, after the user obtains the second identification code duplication code, the second two-dimensional code label is taken down from the second component, basic information of the second component is input into the equipment, after the equipment obtains second attribute information of the second component, a second target identification code is generated according to the second attribute information, the second target identification code and the first identification code are bound and then stored in the identification code set, and after the equipment prints the second target identification code label, the user pastes the second target identification code label on the outer surface of the second component.
If the first identification code and the second identification code exist in the identification code set, a third prompt message is displayed through a display unit to remind a user of the first identification code and the second identification code, after the user obtains the first identification code and the second identification code, the first two-dimensional code label and the second two-dimensional code label are respectively taken down from the first component and the second component, the basic information of the first component and the basic information of the second component are respectively input into the device, after the device obtains the first attribute information of the first component and the second attribute information of the second component, a first target identification code is generated according to the first attribute information, a second target identification code is generated according to the second attribute information, the first target identification code and the second target identification code are bound and then stored into the identification code set, and after the first target identification code label and the second target identification code label are printed out by the device, the user affixes the first object identification code label to the first component outer surface and the second object identification code label to the second component outer surface.
If the first identification code and the second identification code are inquired in the identification code set, the first identification code and the second identification code are recorded, the first identification code and the second identification code are bound and then stored in the identification code set, and a prompt message indicating that the first component and the second component of the assembly are bound successfully is displayed through the display unit. And when the performance of the subsequent component is tested, if the component is detected to be a bad component, the first two-dimensional code label and/or the second two-dimensional code label on the component are scanned again, and the first identification code and the second identification code containing the component information are deleted from the identification code set after the first identification code and the second identification code are inquired from the identification code set.
In a possible embodiment, the process of querying the information contained in the identification code comprises:
the method includes the steps that a two-dimensional code image is obtained by scanning a two-dimensional code label through a lens, the two-dimensional code image is identified to obtain a corresponding identification code, the identification code is decoded and information related to the identification code is directly identified from a local database, and the method includes the following steps: by directly reading the identification code, the local application program of the terminal is started to perform local link access so as to acquire information (model, batch number or supplier information and the like) corresponding to the identification code.
In another possible embodiment, the process of querying the information contained in the identification code comprises:
after the two-dimensional code label is scanned through the lens to obtain a two-dimensional code image, the two-dimensional code image is identified to obtain a corresponding identification code, the identification code is decoded, information obtained after decoding is sent to a far-end network server, and the far-end network server controls and obtains related information, for example: the method comprises the steps of acquiring a network server connection address and database index information by indirectly recognizing and reading an identification code, sending the information to a remote network server, and analyzing the information by the remote network server in a Wireless Application Protocol (WAP) mode to obtain related information (model, batch number or supplier information and the like) stored at a network side.
In another possible embodiment, the process of querying the information contained in the identification code comprises:
after the two-dimensional code label is scanned through the lens to obtain the two-dimensional code image, and under the condition of being supported by a far-end network server, the two-dimensional code image can be directly sent to the far-end network server, so that the far-end network server identifies the two-dimensional code image to obtain an identification code, and then information (model, batch number or supplier information and the like) which is sent by the far-end network server and corresponds to the identification code is received.
And S203, displaying the corresponding prompt message through the display unit based on the query result.
The query result is a result of whether the identification code matched with the first identification code and the second identification code can be found from the identification code set, and the query result includes four conditions: and searching the first identification code, searching the second identification code, searching the first identification code and the second identification code, and not searching the first identification code and the second identification code. The display unit is used for displaying a display screen of the prompt message, and can be a liquid crystal display screen, an electronic ink screen or a plasma display panel and the like.
Generally, based on a query result obtained after querying from an identification code set, whether a first component and a second component on an assembly are duplicate code components can be obtained, if the duplicate code of the first identification code on the first component is determined, the first component is displayed as the duplicate code component through a display unit on equipment, and a user is prompted to change a first two-dimensional code label on the first component; if the second identification code on the second component is determined to be the coincident code, displaying that the second component is the coincident code component through a display unit on the equipment, and prompting a user that a second two-dimensional code label on the second component needs to be replaced; if the first identification code on the first component and the second identification code on the second component are determined to be the same, displaying that the first component and the second component are the same through a display unit on the equipment, and prompting a user that a first two-dimensional code label on the first component and a second two-dimensional code label on the second component need to be replaced; if the first identification code on the first component and the second identification code on the second component are determined not to be duplicated, after the first identification code and the second identification code are bound and stored in the identification code set, the first component and the second component of the component are successfully bound through a display unit on the equipment, so that the situation that the component needs to be disassembled into raw materials for reprocessing treatment due to the duplication code phenomenon in the component scanning process is avoided, and the production efficiency of the component is improved.
In another possible implementation manner, the terminal may prompt the user of the two-dimensional code label duplication code on the first component or the second component of the scanned component through voice prompt, specific alarm sound or flashing indicator light and the like based on the query result.
As can be seen from the above, in the module management and control method provided by this embodiment, the terminal scans the first two-dimensional code label on the module through the lens to obtain the first identification code, and scans the second two-dimensional code label on the module through the lens to obtain the second identification code, the module includes the first component and the second component, the first two-dimensional code label is pasted on the first component, the second two-dimensional code label is pasted on the second component, the first identification code and/or the second identification code is queried in the identification code set, and a corresponding prompt message is displayed through the display unit based on the query result, the prompt message indicates that the first component is the duplicate code component and the second component is the duplicate code component or both the first component and the second component are duplicate code components, that is, the user is prompted to replace the two-dimensional code label on the duplicate code component in time by displaying the specific component on which the duplicate code appears, so as to improve the production efficiency of the module, and to shorten the production cycle of the assembly.
Referring to fig. 3, another flow chart of a component management and control method is provided in the present embodiment. The present embodiment is exemplified by a method for managing components applied to a terminal. The component management and control method may include the steps of:
s301, a first identification code is obtained through a first two-dimensional code label on the lens scanning assembly, and a second identification code is obtained through a second two-dimensional code label on the lens scanning assembly.
The lens is used for collecting images to be processed, the first two-dimensional code label and the second two-dimensional code label on the component are respectively scanned through the lens, and the two-dimensional codes on the first two-dimensional code label and the two-dimensional codes on the second two-dimensional code label can be respectively collected. The assembly comprises a first part and a second part, and the assembly is composed of at least two parts: the first part is a display screen, and the second part is an upper cover; or the first part is an upper cover and the second part is a display screen. First two-dimensional code label is pasted on the first part surface of subassembly, is a two-dimensional code sticker that carries first part essential information, and second two-dimensional code label is pasted on the second part surface of subassembly, is a two-dimensional code sticker that carries second part essential information, and first two-dimensional code label and second two-dimensional code label homoenergetic show complete two-dimensional code when the scanning. The first identification code is an identification code which can scan and analyze the first two-dimensional code label to obtain relevant information of the first component, the relevant information can be a model number, a batch number or supplier information and the like corresponding to the first component, the second identification code is an identification code which can scan and analyze the second two-dimensional code label to obtain relevant information of the second component, and the relevant information can be a model number, a batch number or supplier information and the like corresponding to the second component.
Generally, a first two-dimensional code label and a second two-dimensional code label are respectively acquired through a lens, images to be processed, namely a first identification code image and a second identification code image, are acquired, and the first identification code image and the second identification code image are respectively analyzed, so that basic information of a first component and a second component can be acquired.
S302, whether the first identification code and/or the second identification code is inquired in the identification code set is judged.
The identification code set is a set which continuously collects corresponding identification codes on the two-dimensional code label in the process of scanning the two-dimensional code label, and the identification codes contained in the identification code set are always in an updating state and also contain identification codes collected historically.
Generally, after the first identification code and the second identification code are obtained by scanning, it is necessary to query whether the first identification code or the second identification code exists in the historical identification codes from the identification code set, that is, it is determined whether the identification code matched with the first identification code and the second identification code can be found from the identification code set, where the query results include four types: and searching the first identification code, searching the second identification code, searching the first identification code and the second identification code, and not searching the first identification code and the second identification code.
S303, when the first identification code is inquired in the identification code set, displaying a first prompt message through the display unit.
The identification code set is a set which continuously collects corresponding identification codes on the two-dimensional code label in the process of scanning the two-dimensional code label, and the identification codes contained in the identification code set are always in an updating state and also contain identification codes collected historically. The display unit is used for displaying a display screen of the prompt message, and can be a liquid crystal display screen, an electronic ink screen or a plasma display panel and the like. The first prompt message is used for prompting the first component to be the coincident code component.
For example, the following steps are carried out: referring to the schematic diagram of the terminal display interface in fig. 4, the display interface 401 displays the time of the scanning component, and a prompt message is displayed on the display interface 401 after the scanning component. If the first two-dimensional code label on the first component of the component is the duplicate code label, the first two-dimensional code label on the first component of the component and the second two-dimensional code label on the second component are respectively scanned, the first identification code duplicate code on the first component is obtained after inquiry in the identification code set, the first identification code is analyzed to obtain information related to the first identification code, a prompt box 402 is displayed on a display interface 401, the scanned components are a first component, namely an upper cover and a second component, namely a display screen, and the duplicate code component is the first component, namely the two-dimensional code label duplicate code on the upper cover.
S304, first attribute information of the first component is acquired.
The first attribute information refers to one or more of model information, lot number information, supplier information, and the like of the first component, and is information specific to the first component.
S305, a first object identification code is generated according to the first attribute information.
The first target identification code is an identification code generated by the equipment according to the acquired first attribute information of the first component and based on a preset rule, and can be used for generating a first replacement label for replacing the first two-dimensional code label.
Generally, after a user learns a first identification code duplicate code of a first component through prompt information of equipment, the first attribute information of the first component of the duplicate code is manually input on the equipment by the user, or the first attribute information of the first component of the duplicate code is acquired in a scanning assembly mode, the equipment generates first logic information corresponding to the first attribute information based on the first attribute information, and performs two-dimensional arrangement on the first logic information based on a preset arrangement rule to generate a first target identification code containing the first attribute information. The user can print the first object identification code as a first object identification code label through the device and attach it to the outer surface of the first component.
S306, binding the first target identification code and the second identification code and then storing the first target identification code and the second target identification code into an identification code set.
Generally, when a first identification code is a duplicate code, a user needs to replace the first identification code with an identification code without a duplicate code phenomenon, after the user inputs first attribute information of a first component on a device, the device generates a first target identification code based on a preset identification code generation rule, prints a first replacement label through the device, and then attaches the first replacement label to the outer surface of the first component, scans the first replacement label and a second two-dimensional code label on a component, and binds the first target identification code and the second identification code together and stores the first target identification code and the second identification code into an identification code set.
Optionally, when the first identification code is a duplicate code, the user needs to replace the first identification code with an identification code without a duplicate code phenomenon, after the user inputs the first attribute information of the first component on the device, the device generates a first target identification code based on a preset identification code generation rule, binds the first target identification code and the second identification code and stores the first target identification code and the second target identification code in an identification code set, and after the device prints out the first replacement label, the user pastes the first replacement label on the outer surface of the first component.
S307, when the first identification code and the second identification code are not inquired in the identification code set, recording the first identification code and the second identification code.
Generally, when the scanned identification code is not queried in the identification code set, it may indicate that the identification code is not a duplicate code, and the device needs to record the information of the scanned identification code, i.e. the basic information carried by the identification code, and may display on the display unit of the device that the component of the scanned component is not a duplicate code component.
And S308, binding the first identification code and the second identification code and storing the bound first identification code and second identification code into an identification code set.
Generally, when the first identification code and the second identification code are not queried in the identification code set, it is indicated that the first identification code and the second identification code are not duplicated, so that the first identification code and the second identification code can be bound together, which indicates that the first identification code and the second identification code are two components on one component, information of the whole component is queried subsequently by scanning a two-dimensional code label on one component, and meanwhile, the first identification code and the second identification code are stored in the identification code set, and the identification codes in the identification code set are updated, and the more identification codes which are scanned by the device and are not duplicated are, the more identification codes in the identification code set are.
For example, the following steps are carried out: referring to the schematic diagram of the terminal display interface in fig. 5, a first component of the assembly is an upper cover, a second component of the assembly is a display screen, and after scanning a first two-dimensional code label on the first component and a second two-dimensional code label on the second component, when a duplicate code component is not identified, that is, when an identification code identical to the first identification code and the second identification code is not queried in an identification code set, a prompt box 502 is displayed on a display interface 501 of the device, the scanned component is the first component-upper cover and the second component-display screen are displayed on the prompt box, the component is bound, and the duplicate code component is not present.
And S309, performing performance test on the component.
Generally, in the production process of the component, there is an accident that the component is damaged or scratched due to the transmission component, which causes the component to become a defective product due to abnormal function or appearance, or there is a certain problem in the material of the component itself, which causes the component to become a defective product, so the component needs to be tested to leave the factory, for example: when the first part of the assembly is the display screen and the second part is the upper cover, the performance and appearance of the display screen can be tested to be complete or not by lighting the display screen.
And S310, deleting the information corresponding to the first identification code and the second identification code from the identification code set when the result of the performance test shows that the component is a bad component.
Generally, after a component passes a performance test, it is found that the component has a certain problem, and the condition of leaving factory is not satisfied, the component is a bad component, and a component on the component needs to be unbound and disassembled into a raw material, and the raw material is put into production again after maintenance, so that a two-dimensional code label on the bad component needs to be rescanned, so that equipment finds identification code information corresponding to the bad component from an identification code set, and deletes the identification code information, thereby removing binding between components on the component.
As can be seen from the above, the method for managing and controlling components provided by this embodiment obtains a first identification code by scanning a first two-dimensional code tag on a component through a lens, obtains a second identification code by scanning a second two-dimensional code tag on the component through the lens, determines whether the first identification code and/or the second identification code is/are queried in an identification code set, displays a first prompt message through a display unit when the first identification code is queried in the identification code set, obtains first attribute information of a first component, generates a first target identification code according to the first attribute information, binds the first target identification code and the second identification code and stores them in the identification code set, records the first identification code and the second identification code when the first identification code and the second identification code are not queried in the identification code set, binds the first identification code and the second identification code and stores them in the identification code set, carry out performance test to the subassembly, when performance test's result shows that the subassembly is bad subassembly, delete the information that first identification code and second identification code correspond from the identification code set, carry out the identification code through this kind of mode and bind the part on the subassembly, under the condition that the subassembly appears and the subassembly coincident code that has scanned earlier stage, can demonstrate the concrete coincident code part of this coincident code subassembly, through changing the two-dimensional code label on this coincident code part, make this coincident code subassembly can in time obtain rebinding, improve the production efficiency of subassembly, do not influence the binding of the subassembly that has scanned earlier stage simultaneously, can shorten the production cycle of subassembly.
Referring to fig. 6, another flow chart of a component management and control method is provided in the present embodiment. The present embodiment is exemplified by a method for managing components applied to a terminal. The component management and control method may include the steps of:
s601, a first identification code is obtained through a first two-dimensional code label on the lens scanning assembly, and a second identification code is obtained through a second two-dimensional code label on the lens scanning assembly.
The lens is used for collecting images to be processed, the first two-dimensional code label and the second two-dimensional code label on the component are respectively scanned through the lens, and the two-dimensional codes on the first two-dimensional code label and the two-dimensional codes on the second two-dimensional code label can be respectively collected. The assembly comprises a first part and a second part, and the assembly is composed of at least two parts: the first part is a display screen, and the second part is an upper cover; or the first part is an upper cover and the second part is a display screen. The first two-dimensional code label is pasted on the outer surface of the first component of the assembly and is a two-dimensional code sticker carrying basic information of the first component, and the second two-dimensional code label is pasted on the outer surface of the second component of the assembly and is a two-dimensional code sticker carrying basic information of the second component. The first identification code is an identification code which can scan and analyze the first two-dimensional code label to obtain relevant information of the first component, the relevant information can be a model number, a batch number or supplier information and the like corresponding to the first component, the second identification code is an identification code which can scan and analyze the second two-dimensional code label to obtain relevant information of the second component, and the relevant information can be a model number, a batch number or supplier information and the like corresponding to the second component.
Generally, a first two-dimensional code label and a second two-dimensional code label are respectively acquired through a lens, images to be processed, namely a first identification code image and a second identification code image, are acquired, and the first identification code image and the second identification code image are respectively analyzed, so that basic information of a first component and a second component can be acquired.
S602, judging whether the first identification code and/or the second identification code is inquired in the identification code set.
The identification code set is a set which continuously collects corresponding identification codes on the two-dimensional code label in the process of scanning the two-dimensional code label, and the identification codes contained in the identification code set are always in an updating state and also contain identification codes collected historically.
Generally, after the first identification code and the second identification code are obtained by scanning, it is necessary to query whether the first identification code or the second identification code exists in the historical identification codes from the identification code set, that is, it is determined whether the identification code matched with the first identification code and the second identification code can be found from the identification code set, where the query results include four types: and searching the first identification code, searching the second identification code, searching the first identification code and the second identification code, and not searching the first identification code and the second identification code.
S603, when the second identification code exists in the identification code set, displaying a second prompt message through the display unit.
The identification code set is a set which continuously collects corresponding identification codes on the two-dimensional code label in the process of scanning the two-dimensional code label, and the identification codes contained in the identification code set are always in an updating state and also contain identification codes collected historically. The display unit is used for displaying a display screen of the prompt message, and can be a liquid crystal display screen, an electronic ink screen or a plasma display panel and the like. The second prompting message is used for prompting the second component to be the coincident code component.
For example, the following steps are carried out: referring to the schematic diagram of the terminal display interface in fig. 7, the display interface 701 displays the time of the scanning component, and a prompt message is displayed on the display interface 701 behind the scanning component. If the second two-dimensional code label on the second part of the assembly is the duplicate code label, the second two-dimensional code label on the second part of the assembly and the first two-dimensional code label on the first part are respectively scanned, the second identification code duplicate code on the second part is obtained after inquiry in the identification code set, the second identification code is analyzed to obtain information related to the second identification code, a prompt frame 702 is displayed on a display interface 701, the scanned parts are a first part-upper cover and a second part-display screen are displayed on the prompt frame 702, and the duplicate code part is the second part, namely the two-dimensional code label duplicate code on the display screen.
S604, second attribute information of the second component is acquired.
The second attribute information refers to one or more of model information, lot number information, supplier information, and the like of the second component, and is information specific to the second component.
S605 generates a second object identification code according to the second attribute information.
The second target identification code is an identification code generated by the equipment according to the acquired second attribute information of the second component and based on a preset rule, and can be used for generating a second replacement label for replacing the second two-dimensional code label.
Generally, after the user knows the duplicate code of the second identification code of the second component through the prompt message of the device, the user may manually input the second attribute information of the duplicate code of the second component on the device, or obtain the second attribute information of the duplicate code of the second component by scanning the component, and the device generates the second logic information corresponding to the second attribute information based on the second attribute information, and performs two-dimensional arrangement on the second logic information based on a preset arrangement rule, so as to generate the second target identification code including the second attribute information. The user may print the second object identification code as a second object identification code label via the device and attach it to the outer surface of the second component.
And S606, binding the second target identification code and the first identification code and storing the second target identification code and the first identification code into an identification code set.
Generally, when the second identification code is a duplicate code, the user needs to replace the second identification code with an identification code without a duplicate code phenomenon, after the user inputs the second attribute information of the second component on the device, the device generates a second target identification code based on a preset identification code generation rule, prints out the second replacement label through the device, and then the user pastes the second target identification code on the outer surface of the second component, scans the second replacement label and the first two-dimensional code label on the component, and binds the second target identification code and the first identification code together and stores the second target identification code and the first identification code into an identification code set.
Optionally, when the second identification code is a duplicate code, the user needs to replace the second identification code with an identification code without a duplicate code phenomenon, after the user inputs the second attribute information of the second component on the device, the device generates a second target identification code based on a preset identification code generation rule, binds the second target identification code and the first identification code and stores the second target identification code and the first identification code into an identification code set, and after the device prints out a second replacement label, the user pastes the second replacement label on the outer surface of the second component.
S607, when the first identification code and the second identification code are not inquired in the identification code set, recording the first identification code and the second identification code.
Generally, when the scanned identification code is not queried in the identification code set, it may indicate that the identification code is not a duplicate code, and the device needs to record the information of the scanned identification code, i.e. the basic information carried by the identification code, and may display on the display unit of the device that the component of the scanned component is not a duplicate code component.
S608, the first identification code and the second identification code are bound and then stored in the identification code set.
Generally, when the first identification code and the second identification code are not queried in the identification code set, it is indicated that the first identification code and the second identification code are not duplicated, so that the first identification code and the second identification code can be bound together, which indicates that the first identification code and the second identification code are two components on one component, information of the whole component is queried subsequently by scanning a two-dimensional code label on one component, and meanwhile, the first identification code and the second identification code are stored in the identification code set, and the identification codes in the identification code set are updated, and the more identification codes which are scanned by the device and are not duplicated are, the more identification codes in the identification code set are.
For example, the following steps are carried out: referring to the schematic diagram of the terminal display interface in fig. 5, a first component of the assembly is an upper cover, a second component of the assembly is a display screen, and after scanning a first two-dimensional code label on the first component and a second two-dimensional code label on the second component, when a duplicate code component is not identified, that is, when an identification code identical to the first identification code and the second identification code is not queried in an identification code set, a prompt box 502 is displayed on a display interface 501 of the device, the scanned component is the first component-upper cover and the second component-display screen are displayed on the prompt box, the component is bound, and the duplicate code component is not present.
And S609, carrying out performance test on the assembly.
Generally, in the production process of the component, there is an accident that the component is damaged or scratched due to the transmission component, which causes the component to become a defective product due to abnormal function or appearance, or there is a certain problem in the material of the component itself, which causes the component to become a defective product, so the component needs to be tested to leave the factory, for example: when the first part of the assembly is the display screen and the second part is the upper cover, the performance and appearance of the display screen can be tested to be complete or not by lighting the display screen.
And S610, when the result of the performance test shows that the component is a bad component, deleting the information corresponding to the first identification code and the second identification code from the identification code set.
Generally, after a component passes a performance test, it is found that the component has a certain problem, and the condition of leaving factory is not satisfied, the component is a bad component, and a component on the component needs to be unbound and disassembled into a raw material, and the raw material is put into production again after maintenance, so that a two-dimensional code label on the bad component needs to be rescanned, so that equipment finds identification code information corresponding to the bad component from an identification code set, and deletes the identification code information, thereby removing binding between components on the component.
As can be seen from the above, the method for managing and controlling components provided by this embodiment obtains a first identification code by scanning a first two-dimensional code tag on a component through a lens, obtains a second identification code by scanning a second two-dimensional code tag on the component through the lens, determines whether the first identification code and/or the second identification code is/are queried in an identification code set, displays a second prompt message through a display unit when the second identification code is queried in the identification code set, obtains second attribute information of a second component, generates a second target identification code according to the second attribute information, binds the second target identification code and the first identification code and stores the second target identification code and the first identification code in the identification code set, records the first identification code and the second identification code when the first identification code and the second identification code are not queried in the identification code set, binds the first identification code and the second identification code and stores the first identification code and the second identification code in the identification code set, carry out performance test to the subassembly, when performance test's result shows that the subassembly is bad subassembly, delete the information that first identification code and second identification code correspond from the identification code set, carry out the identification code through this kind of mode and bind the part on the subassembly, under the condition that the subassembly appears and the subassembly coincident code that has scanned earlier stage, can demonstrate the concrete coincident code part of this coincident code subassembly, through changing the two-dimensional code label on this coincident code part, make this coincident code subassembly can in time obtain rebinding, improve the production efficiency of subassembly, do not influence the binding of the subassembly that has scanned earlier stage simultaneously, can shorten the production cycle of subassembly.
Referring to fig. 8, another flow chart of a component management and control method is provided in the present embodiment. The present embodiment is exemplified by a method for managing components applied to a terminal. The component management and control method may include the steps of:
s801, a first identification code is obtained through a first two-dimensional code label on the lens scanning assembly, and a second identification code is obtained through a second two-dimensional code label on the lens scanning assembly.
The lens is used for collecting images to be processed, the first two-dimensional code label and the second two-dimensional code label on the component are respectively scanned through the lens, and the two-dimensional codes on the first two-dimensional code label and the two-dimensional codes on the second two-dimensional code label can be respectively collected. The assembly comprises a first part and a second part, and the assembly is composed of at least two parts: the first part is a display screen, and the second part is an upper cover; or the first part is an upper cover and the second part is a display screen. The first two-dimensional code label is pasted on the outer surface of the first component of the assembly and is a two-dimensional code sticker carrying basic information of the first component, and the second two-dimensional code label is pasted on the outer surface of the second component of the assembly and is a two-dimensional code sticker carrying basic information of the second component. The first identification code is an identification code which can scan and analyze the first two-dimensional code label to obtain relevant information of the first component, the relevant information can be a model, a batch number or supplier information and the like corresponding to the first component, the second identification code is an identification code which can scan, scan and analyze the second two-dimensional code label to obtain relevant information of the second component, and the relevant information can be a model, a batch number or supplier information and the like corresponding to the second component.
Generally, a first two-dimensional code label and a second two-dimensional code label are respectively acquired through a lens, images to be processed, namely a first identification code image and a second identification code image, are acquired, and the first identification code image and the second identification code image are respectively analyzed, so that basic information of a first component and a second component can be acquired.
S802, judging whether the first identification code and/or the second identification code is inquired in the identification code set.
The identification code set is a set which continuously collects corresponding identification codes on the two-dimensional code label in the process of scanning the two-dimensional code label, and the identification codes contained in the identification code set are always in an updating state and also contain identification codes collected historically.
Generally, after the first identification code and the second identification code are obtained by scanning, it is necessary to query whether the first identification code or the second identification code exists in the historical identification codes from the identification code set, that is, it is determined whether the identification code matched with the first identification code and the second identification code can be found from the identification code set, where the query results include four types: and searching the first identification code, searching the second identification code, searching the first identification code and the second identification code, and not searching the first identification code and the second identification code.
And S803, when the first identification code and the second identification code are inquired in the identification code set, displaying a third prompt message through the display unit.
The identification code set is a set which continuously collects corresponding identification codes on the two-dimensional code label in the process of scanning the two-dimensional code label, and the identification codes contained in the identification code set are always in an updating state and also contain identification codes collected historically. The display unit is used for displaying a display screen of the prompt message, and can be a liquid crystal display screen, an electronic ink screen or a plasma display panel and the like. The third prompting message is used for prompting that the first component and the second component are the duplicate code components.
For example, the following steps are carried out: referring to the schematic diagram of the terminal display interface in fig. 9, the display interface 901 displays the time of the scanning component, and a prompt message is displayed on the display interface 901 after the scanning component. If the first two-dimensional code label on the first component and the second two-dimensional code label on the second component of the assembly are duplicate labels, the second two-dimensional code label on the second component of the assembly and the first two-dimensional code label on the first component are respectively scanned, after the second two-dimensional code label on the second component and the second two-dimensional code label on the first component are inquired in the identification code set, the first identification code on the first component and the second identification code on the second component are obtained through query, the first identification code is analyzed to obtain information related to the first identification code, the second identification code is analyzed to obtain information related to the second identification code, a prompt box 902 is displayed on a display interface 901, the scanned components are a first component-upper cover and a second component-display screen, and the duplicate components are the first component and the second component, namely the two-dimensional code label duplicate labels on the upper cover and the display screen.
S804, first attribute information of the first component and second attribute information of the second component are obtained.
The first attribute information refers to one or more of model information, batch number information, supplier information and the like of the first component, and is information specific to the first component; the second attribute information refers to one or more of model information, lot number information, vendor information, and the like of the second component, and is information specific to the second component.
S805, generating a first target identification code according to the first attribute information, and generating a second target identification code according to the second attribute information.
The first target identification code is an identification code generated by the equipment according to the acquired first attribute information of the first component and based on a preset rule, and can be used for generating a first replacement label for replacing the first two-dimensional code label; the second target identification code is an identification code generated by the device according to the acquired second attribute information of the second component and based on a preset rule, and can be used for generating a second replacement tag for replacing the second two-dimensional code tag.
Generally, after a user knows that a first identification code of a first component and a second identification code of a second component are both duplicated through prompt information of equipment, the user can manually input first attribute information of the first component and second attribute information of the second component of duplicated codes on the equipment respectively, or the user can acquire the first attribute information of the first component and the second attribute information of the second component of duplicated codes respectively in a component scanning manner, the equipment generates corresponding first logic information based on the first attribute information and corresponding second logic information based on the second attribute information, and two-dimensionally arranges the first logic information and the second logic information based on a preset arrangement rule to generate a first target identification code containing the first attribute information and a second target identification code containing the second attribute information. The user can print the first target identification code into a first target identification code label and print the second target identification code into a second target identification code label through the device, and paste the first target identification code label on the outer surface of the first component and paste the second target identification code label on the outer surface of the second component.
S806, binding the first target identification code and the second target identification code and storing the first target identification code and the second target identification code in an identification code set.
Generally, when the first identification code and the second identification code are duplicate codes, a user needs to respectively replace the first identification code and the second identification code with identification codes without duplicate code phenomena, after the user inputs first attribute information of a first component and second attribute information of a second component on equipment respectively, the equipment respectively generates a first target identification code and a second target identification code based on a preset identification code generation rule, and prints the first target identification code and the second target identification code through the equipment, the user respectively pastes a first replacement label and a second replacement label on the outer surfaces of the first component and the second component, scans the first replacement label and the second replacement label on a component, and then binds the first target identification code and the second target identification code together and stores the first target identification code and the second target identification code in an identification code set.
Optionally, when the first identification code and the second identification code are duplicate codes, the user needs to replace the first identification code and the second identification code with identification codes without duplicate codes, after the user inputs the first attribute information of the first component and the second attribute information of the second component on the device, the device generates a first target identification code and a second target identification code based on a preset identification code generation rule, binds the first target identification code and the second target identification code and stores the bound first target identification code and the second target identification code in an identification code set, and after the device prints a first replacement label and a second replacement label, the user pastes the first replacement label and the second replacement label on the outer surfaces of the first component and the second component, respectively.
S807, when the first identification code and the second identification code are not searched in the identification code set, recording the first identification code and the second identification code.
Generally, when the scanned identification code is not queried in the identification code set, it may indicate that the identification code is not a duplicate code, and the device needs to record the information of the scanned identification code, i.e. the basic information carried by the identification code, and may display on the display unit of the device that the component of the scanned component is not a duplicate code component.
And S808, binding the first identification code and the second identification code and storing the bound first identification code and second identification code into an identification code set.
Generally, when the first identification code and the second identification code are not queried in the identification code set, it is indicated that the first identification code and the second identification code are not duplicated, so that the first identification code and the second identification code can be bound together, which indicates that the first identification code and the second identification code are two components on one component, information of the whole component is queried subsequently by scanning a two-dimensional code label on one component, and meanwhile, the first identification code and the second identification code are stored in the identification code set, and the identification codes in the identification code set are updated, and the more identification codes which are scanned by the device and are not duplicated are, the more identification codes in the identification code set are.
For example, the following steps are carried out: referring to the schematic diagram of the terminal display interface in fig. 5, a first component of the assembly is an upper cover, a second component of the assembly is a display screen, and after scanning a first two-dimensional code label on the first component and a second two-dimensional code label on the second component, when a duplicate code component is not identified, that is, when an identification code identical to the first identification code and the second identification code is not queried in an identification code set, a prompt box 502 is displayed on a display interface 501 of the device, the scanned component is the first component-upper cover and the second component-display screen are displayed on the prompt box, the component is bound, and the duplicate code component is not present.
And S809, carrying out performance test on the component.
Generally, in the production process of the component, there is an accident that the component is damaged or scratched due to the transmission component, which causes the component to become a defective product due to abnormal function or appearance, or there is a certain problem in the material of the component itself, which causes the component to become a defective product, so the component needs to be tested to leave the factory, for example: when the first part of the assembly is the display screen and the second part is the upper cover, the performance and appearance of the display screen can be tested to be complete or not by lighting the display screen.
And S810, deleting the information corresponding to the first identification code and the second identification code from the identification code set when the result of the performance test shows that the component is a bad component.
Generally, after a component passes a performance test, it is found that the component has a certain problem, and the condition of leaving factory is not satisfied, the component is a bad component, and a component on the component needs to be unbound and disassembled into a raw material, and the raw material is put into production again after maintenance, so that a two-dimensional code label on the bad component needs to be rescanned, so that equipment finds identification code information corresponding to the bad component from an identification code set, and deletes the identification code information, thereby removing binding between components on the component.
As can be seen from the above, the method for managing and controlling components provided by this embodiment obtains a first identification code by scanning a first two-dimensional code tag on a component through a lens, obtains a second identification code by scanning a second two-dimensional code tag on the component through the lens, determines whether the first identification code and/or the second identification code is/are queried in an identification code set, displays a third prompt message through a display unit when the first identification code and the second identification code are both queried in the identification code set, obtains first attribute information of a first component and second attribute information of a second component, generates a first target identification code according to the first attribute information, generates a second target identification code according to the second attribute information, binds the first target identification code and the second target identification code and stores them in the identification code set, and when the first identification code and the second identification code are not queried in the identification code set, the method comprises the steps of recording a first identification code and a second identification code, storing the first identification code and the second identification code into an identification code set after binding, carrying out performance test on the component, deleting information corresponding to the first identification code and the second identification code from the identification code set when the result of the performance test shows that the component is a bad component, binding the identification codes of components on the component in such a mode, displaying specific repeated code components of the repeated code components under the condition that the component and the scanned component repeated codes appear, and enabling the repeated code components to be timely bound again by replacing two-dimensional code labels on the repeated code components, so that the production efficiency of the component is improved, meanwhile, the binding of the scanned component is not influenced in the earlier stage, and the production cycle of the component can be shortened.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 10, a schematic structural diagram of a component management and control apparatus according to an exemplary embodiment of the present application is shown, which is hereinafter referred to as an apparatus 10. The apparatus 10 may be implemented as all or a portion of a terminal in software, hardware, or a combination of both. The apparatus 10 comprises:
the scanning module 1001 is used for scanning a first two-dimensional code label on a component through a lens to obtain a first identification code, and scanning a second two-dimensional code label on the component through the lens to obtain a second identification code; the assembly comprises a first component and a second component, wherein the first two-dimensional code label is pasted on the first component, and the second two-dimensional code label is pasted on the second component.
A query module 1002, configured to query the first identifier and/or the second identifier in an identifier set.
A display module 1003, configured to display, based on the query result, a corresponding prompt message through a display unit; wherein the prompt message indicates that the first component is a duplicate code component, the second component is a duplicate code component, or both the first component and the second component are duplicate code components.
Optionally, the display module 1003 includes:
the first query unit is used for displaying a first prompt message through the display unit when the first identification code exists in the identification code set; wherein the first prompt message is used for prompting that the first component is a duplicate component.
The second query unit is used for displaying a second prompt message through the display unit when the second identification code exists in the identification code set; wherein the second prompt message is used for prompting that the second component is a duplicate component.
The third query unit is used for displaying a third prompt message through the display unit when the first identification code and the second identification code are queried in the identification code set; wherein the third prompting message is used for prompting that the first component and the second component are both coincident code components.
Optionally, the display module 1003 further includes:
the first generating unit is used for generating a first target identification code according to a preset rule; wherein the first target identification code is used to generate a first replacement tag that replaces the first two-dimensional code tag.
And the first storage unit is used for binding the first target identification code and the second identification code and then storing the bound first target identification code and the second target identification code into the identification code set.
The second generating unit is used for generating a second target identification code according to the preset rule; wherein the second target identification code is used for generating a second replacement label replacing the second two-dimensional code label.
And the second storage unit is used for binding the second target identification code and the first identification code and then storing the second target identification code and the first identification code into the identification code set.
A third generating unit, configured to generate the first target identification code according to the preset rule, and generate the second target identification code according to the preset rule; the first target identification code is used for generating a first replacement label replacing the first two-dimensional code label, and the second target identification code is used for generating a second replacement label replacing the second two-dimensional code label.
And the third storage unit is used for binding the first target identification code and the second target identification code and then storing the bound first target identification code and second target identification code into the identification code set.
Optionally, the display module 1003 further includes:
a first acquisition unit configured to acquire first attribute information of the first component; wherein the first attribute information includes: one or more of model number, lot number, supplier information.
And the fourth generating unit is used for generating a first target identification code according to the first attribute information.
A second acquisition unit configured to acquire second attribute information of the second component; wherein the second attribute information includes: one or more of model number, lot number, supplier information.
And the fifth generating unit is used for generating a second target identification code according to the second attribute information.
A third acquisition unit configured to acquire the first attribute information of the first component and the second attribute information of the second component; wherein the first attribute information and the second attribute information include: one or more of model number, lot number, supplier information.
A sixth generating unit, configured to generate the first target identification code according to the first attribute information, and generate the second target identification code according to the second attribute information.
Optionally, the apparatus 10 further includes:
a recording unit, configured to record the first identification code and the second identification code when the first identification code and the second identification code are not queried in the identification code set.
And the fourth storage unit is used for binding the first identification code and the second identification code and then storing the bound first identification code and second identification code into the identification code set.
Optionally, the apparatus 10 further includes:
and the test unit is used for carrying out performance test on the assembly.
And the deleting unit is used for deleting the information corresponding to the first identification code and the second identification code from the identification code set when the result of the performance test shows that the component is a bad component.
It should be noted that, when the component management and control apparatus provided in the foregoing embodiment executes the component management and control method, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the embodiment of the device and the method for managing and controlling components provided in the above embodiments belong to the same concept, and details of implementation processes are found in the method embodiments and are not described herein again.
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.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the above method steps, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 2 to fig. 9, which are not described herein again.
The application also provides a terminal, which comprises a processor, a memory and a display screen; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
Please refer to fig. 11, which provides a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 11, the terminal 1100 may include: at least one processor 1101, at least one network interface 1104, a user interface 1103, a memory 1105, at least one communication bus 1102.
Wherein a communication bus 1102 is used to enable connective communication between these components.
The user interface 1103 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1103 may also include a standard wired interface and a wireless interface.
The network interface 1104 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
Processor 1101 connects various portions of the overall terminal 1100 using various interfaces and wires, and performs various functions and processes on data of terminal 1100 by executing or executing instructions, programs, code sets, or instruction sets stored in memory 1105, and calling up data stored in memory 1105. alternatively, processor 1101 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable gate array (FPGA), Programmable logic array (Programmable L geographic array, P L a).
The Memory 1105 may include a Random Access Memory (RAM) or a Read-only Memory (Read-only Memory). Optionally, the memory 1105 includes non-transitory computer-readable storage media. The memory 1105 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1105 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1105 may alternatively be at least one storage device located remotely from the processor 1101. As shown in fig. 11, a memory 1105, which is a type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a skin condition evaluation application.
In the terminal 1100 shown in fig. 11, the user interface 1103 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1101 may be configured to invoke the skin state identification application stored in the memory 1105 and specifically perform the following operations:
scanning a first two-dimensional code label on a component through a lens to obtain a first identification code, and scanning a second two-dimensional code label on the component through the lens to obtain a second identification code; the assembly comprises a first component and a second component, wherein the first two-dimensional code label is pasted on the first component, and the second two-dimensional code label is pasted on the second component;
querying the first identification code and/or the second identification code in a set of identification codes;
displaying a corresponding prompt message through a display unit based on the query result; wherein the prompt message indicates that the first component is a duplicate code component, the second component is a duplicate code component, or both the first component and the second component are duplicate code components.
In one embodiment, the processor 1101, when executing the displaying of the corresponding prompt message through the display unit based on the query result, specifically performs the following operations:
when the first identification code is inquired in the identification code set, displaying a first prompt message through the display unit; wherein the first prompt message is used for prompting that the first component is a duplicate component; or
When the second identification code is inquired in the identification code set, displaying a second prompt message through the display unit; wherein the second prompt message is used for prompting that the second component is a duplicate component; or
When the first identification code and the second identification code are inquired in the identification code set, displaying a third prompt message through the display unit; wherein the third prompting message is used for prompting that the first component and the second component are both coincident code components.
In one embodiment, the processor 1101, when executing the displaying of the corresponding prompt message through the display unit based on the query result, further executes the following operations:
binding the first target identification code and the second identification code and then storing the first target identification code and the second identification code into the identification code set; or
Generating a second target identification code according to the preset rule; the second target identification code is used for generating a second replacement label replacing the second two-dimensional code label;
binding the second target identification code and the first identification code and then storing the second target identification code and the first identification code into the identification code set; or
Generating the first target identification code according to the preset rule, and generating the second target identification code according to the preset rule; the first target identification code is used for generating a first replacement label replacing the first two-dimensional code label, and the second target identification code is used for generating a second replacement label replacing the second two-dimensional code label;
and binding the first target identification code and the second target identification code and then storing the bound first target identification code and the second target identification code into the identification code set.
In one embodiment, the processor 1101, when executing the displaying of the corresponding prompt message through the display unit based on the query result, further executes the following operations:
acquiring first attribute information of the first component; wherein the first attribute information includes: one or more of model number, lot number, supplier information;
generating a first target identification code according to the first attribute information; or
Acquiring second attribute information of the second component; wherein the second attribute information includes: one or more of model number, lot number, supplier information;
generating a second target identification code according to the second attribute information; or
Acquiring the first attribute information of the first component and the second attribute information of the second component; wherein the first attribute information and the second attribute information include: one or more of model number, lot number, supplier information;
and generating the first target identification code according to the first attribute information, and generating the second target identification code according to the second attribute information.
In one embodiment, the processor 1101, when executed, further performs the following:
when the first identification code and the second identification code are not inquired in the identification code set, recording the first identification code and the second identification code;
and binding the first identification code and the second identification code and then storing the first identification code and the second identification code into the identification code set.
In one embodiment, after the processor 1101 performs the binding of the first identifier and the second identifier and then stores the bound first identifier and second identifier in the identifier set, the following operations are further performed:
performing a performance test on the assembly;
and when the result of the performance test indicates that the component is a bad component, deleting the information corresponding to the first identification code and the second identification code from the identification code set.
In the embodiment of the application, the first identification code is obtained by the first two-dimensional code label on the lens scanning component, and a second identification code is obtained by scanning a second two-dimensional code label on the assembly through the lens, the assembly comprises a first component and a second component, the first two-dimensional code label is adhered to the first component, the second two-dimensional code label is adhered to the second component, the first identification code and/or the second identification code is queried in the set of identification codes and, based on the query result, the corresponding prompt message is displayed through the display unit, the prompt message indicates that the first component is the repeated code component, the second component is the repeated code component or both the first component and the second component are the repeated code components, through the mode that shows the concrete part of coincident code, the suggestion user in time changes the two-dimensional code label on the coincident code part promptly, improves the production efficiency of subassembly to and shorten the production cycle of subassembly.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of component management, the method comprising:
scanning a first two-dimensional code label on a component through a lens to obtain a first identification code, and scanning a second two-dimensional code label on the component through the lens to obtain a second identification code; the assembly comprises a first component and a second component, wherein the first two-dimensional code label is pasted on the first component, and the second two-dimensional code label is pasted on the second component;
querying the first identification code and/or the second identification code in a set of identification codes;
displaying a corresponding prompt message through a display unit based on the query result; wherein the prompt message indicates that the first component is a duplicate code component, the second component is a duplicate code component, or both the first component and the second component are duplicate code components.
2. The method of claim 1, wherein displaying, by a display unit, a corresponding prompting message based on the query result comprises:
when the first identification code is inquired in the identification code set, displaying a first prompt message through the display unit; wherein the first prompt message is used for prompting that the first component is a duplicate component; or
When the second identification code is inquired in the identification code set, displaying a second prompt message through the display unit; wherein the second prompt message is used for prompting that the second component is a duplicate component; or
When the first identification code and the second identification code are inquired in the identification code set, displaying a third prompt message through the display unit; wherein the third prompting message is used for prompting that the first component and the second component are both coincident code components.
3. The method of claim 2, further comprising:
generating a first target identification code according to a preset rule; wherein the first target identification code is used for generating a first replacement tag replacing the first two-dimensional code tag;
binding the first target identification code and the second identification code and then storing the first target identification code and the second identification code into the identification code set; or
Generating a second target identification code according to the preset rule; the second target identification code is used for generating a second replacement label replacing the second two-dimensional code label;
binding the second target identification code and the first identification code and then storing the second target identification code and the first identification code into the identification code set; or
Generating the first target identification code according to the preset rule, and generating the second target identification code according to the preset rule; the first target identification code is used for generating a first replacement label replacing the first two-dimensional code label, and the second target identification code is used for generating a second replacement label replacing the second two-dimensional code label;
and binding the first target identification code and the second target identification code and then storing the bound first target identification code and the second target identification code into the identification code set.
4. The method of claim 3, further comprising:
acquiring first attribute information of the first component; wherein the first attribute information includes: one or more of model number, lot number, supplier information;
generating a first target identification code according to the first attribute information; or
Acquiring second attribute information of the second component; wherein the second attribute information includes: one or more of model number, lot number, supplier information;
generating a second target identification code according to the second attribute information; or
Acquiring the first attribute information of the first component and the second attribute information of the second component; wherein the first attribute information and the second attribute information include: one or more of model number, lot number, supplier information;
and generating the first target identification code according to the first attribute information, and generating the second target identification code according to the second attribute information.
5. The method of claim 1, further comprising:
when the first identification code and the second identification code are not inquired in the identification code set, recording the first identification code and the second identification code;
and binding the first identification code and the second identification code and then storing the first identification code and the second identification code into the identification code set.
6. The method of claim 5, wherein after storing the first identity and the second identity into the set of identities after binding, further comprising:
performing a performance test on the assembly;
and when the result of the performance test indicates that the component is a bad component, deleting the information corresponding to the first identification code and the second identification code from the identification code set.
7. The method of claim 6, wherein the first component is a display screen and the second component is a cover; or the first component is the upper cover, and the second component is the display screen.
8. An assembly management and control apparatus, the apparatus comprising:
the scanning module is used for scanning a first two-dimensional code label on the component through a lens to obtain a first identification code and scanning a second two-dimensional code label on the component through the lens to obtain a second identification code; the assembly comprises a first component and a second component, wherein the first two-dimensional code label is pasted on the first component, and the second two-dimensional code label is pasted on the second component;
a query module configured to query the first identifier and/or the second identifier in a set of identifiers;
the display module is used for displaying the corresponding prompt message through the display unit based on the query result; wherein the prompt message indicates that the first component is a duplicate code component, the second component is a duplicate code component, or both the first component and the second component are duplicate code components.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. A terminal, comprising: the system comprises a processor, a memory and a display screen; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
CN202010151632.3A 2020-03-06 2020-03-06 Component control method and device, storage medium and terminal Pending CN111401491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010151632.3A CN111401491A (en) 2020-03-06 2020-03-06 Component control method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010151632.3A CN111401491A (en) 2020-03-06 2020-03-06 Component control method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN111401491A true CN111401491A (en) 2020-07-10

Family

ID=71432278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010151632.3A Pending CN111401491A (en) 2020-03-06 2020-03-06 Component control method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111401491A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116302294A (en) * 2023-05-18 2023-06-23 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228378A (en) * 2016-07-28 2016-12-14 耐世特凌云驱动系统(芜湖)有限公司 The traceability system of automobile driving system
CN205899552U (en) * 2016-06-07 2017-01-18 东莞立德电子有限公司 Automatic bar code scanning and detecting system
CN106742400A (en) * 2016-11-17 2017-05-31 电子科技大学 Product 2 D code information gathers interconnected system and its correlating method and adaptive approach
CN108154208A (en) * 2016-12-06 2018-06-12 上海众人信息技术有限公司 A kind of article mark method, recognition methods and system based on Quick Response Code
CN108764394A (en) * 2018-05-08 2018-11-06 信利半导体有限公司 It touches module fool proof and tests system and method
CN110287750A (en) * 2019-04-10 2019-09-27 珠海梅西互动技术有限公司 A kind of automatic detection system two dimensional code repeated code detection device and system
CN110297956A (en) * 2019-06-27 2019-10-01 Oppo(重庆)智能科技有限公司 Generate method and system, the computer storage medium of product ID

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205899552U (en) * 2016-06-07 2017-01-18 东莞立德电子有限公司 Automatic bar code scanning and detecting system
CN106228378A (en) * 2016-07-28 2016-12-14 耐世特凌云驱动系统(芜湖)有限公司 The traceability system of automobile driving system
CN106742400A (en) * 2016-11-17 2017-05-31 电子科技大学 Product 2 D code information gathers interconnected system and its correlating method and adaptive approach
CN108154208A (en) * 2016-12-06 2018-06-12 上海众人信息技术有限公司 A kind of article mark method, recognition methods and system based on Quick Response Code
CN108764394A (en) * 2018-05-08 2018-11-06 信利半导体有限公司 It touches module fool proof and tests system and method
CN110287750A (en) * 2019-04-10 2019-09-27 珠海梅西互动技术有限公司 A kind of automatic detection system two dimensional code repeated code detection device and system
CN110297956A (en) * 2019-06-27 2019-10-01 Oppo(重庆)智能科技有限公司 Generate method and system, the computer storage medium of product ID

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116302294A (en) * 2023-05-18 2023-06-23 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface
CN116302294B (en) * 2023-05-18 2023-09-01 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface

Similar Documents

Publication Publication Date Title
US8781172B2 (en) Methods and systems for enhancing the performance of automated license plate recognition applications utilizing multiple results
US20130279758A1 (en) Method and system for robust tilt adjustment and cropping of license plate images
CN105631447B (en) A kind of method of text in identification circular official seal
CN1198236C (en) Bills reading system, method and program
CN113252053B (en) High-precision map generation method and device and electronic equipment
CN110706206A (en) Fluorescent cell counting method, fluorescent cell counting device, terminal equipment and storage medium
CN109523527A (en) The detection method in dirty region, device and electronic equipment in image
CN109859104B (en) Method for generating picture by video, computer readable medium and conversion system
US20090189902A1 (en) Generation of a Vector Graphic from a Hand-Drawn Diagram
CN111460232A (en) Functional module searching method, device, terminal and computer readable storage medium
CN114419038A (en) Method and device for identifying surface defects of hub, storage medium and electronic equipment
CN111401491A (en) Component control method and device, storage medium and terminal
CN103913150B (en) Intelligent electric energy meter electronic devices and components consistency detecting method
CN108304815A (en) A kind of data capture method, device, server and storage medium
CN112883953B (en) Card recognition device and method based on joint learning
CN110704471B (en) Material management method, material management system and electronic equipment
CN112712504A (en) Workpiece detection method and system based on cloud and computer-readable storage medium
CN114550129B (en) Machine learning model processing method and system based on data set
CN113345101B (en) Three-dimensional point cloud labeling method, device, equipment and storage medium
CN115631374A (en) Control operation method, control detection model training method, device and equipment
CN113239931A (en) Logistics station license plate recognition method
CN113869316A (en) Information notification method, device, equipment and computer storage medium
CN103150641B (en) Implementation method and the system of the quick quality judging of parts logistics
CN111832534A (en) Equipment detection method and device
CN113033832B (en) Method and device for inputting automobile repair data, terminal equipment and readable 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

Application publication date: 20200710

RJ01 Rejection of invention patent application after publication