CN116415014A - Method, apparatus, device, storage medium and program product for AOI data acquisition - Google Patents

Method, apparatus, device, storage medium and program product for AOI data acquisition Download PDF

Info

Publication number
CN116415014A
CN116415014A CN202111672009.3A CN202111672009A CN116415014A CN 116415014 A CN116415014 A CN 116415014A CN 202111672009 A CN202111672009 A CN 202111672009A CN 116415014 A CN116415014 A CN 116415014A
Authority
CN
China
Prior art keywords
aoi
image
target
information
query instruction
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.)
Granted
Application number
CN202111672009.3A
Other languages
Chinese (zh)
Other versions
CN116415014B (en
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.)
Guangzhou Luchen Intelligent Equipment Technology Co ltd
Original Assignee
Guangzhou Luchen Intelligent Equipment 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 Guangzhou Luchen Intelligent Equipment Technology Co ltd filed Critical Guangzhou Luchen Intelligent Equipment Technology Co ltd
Priority to CN202111672009.3A priority Critical patent/CN116415014B/en
Publication of CN116415014A publication Critical patent/CN116415014A/en
Application granted granted Critical
Publication of CN116415014B publication Critical patent/CN116415014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a method, a device, equipment, a storage medium and a program product for AOI data acquisition, which are applied to a server, wherein the method comprises the following steps: acquiring image screening information which is input by a user and corresponds to a required image; generating a query instruction according to the image screening information; determining one or more target AOI devices, and acquiring address information of a local database of each target AOI device; and remotely accessing each local database by adopting the query instruction according to the address information of each local database to obtain a target image matched with the query instruction. Therefore, automatic collection of the AOI data is realized, the collected AOI data can comprise data of a plurality of AOI devices, the data of the AOI devices are collected at the same time in a remote procedure calling mode through the screened images, invalid data is removed as far as possible, the labor processing cost is reduced, and the data collection efficiency is improved.

Description

Method, apparatus, device, storage medium and program product for AOI data acquisition
Technical Field
The present application relates to the field of data processing technology, and in particular, to a method of AOI data acquisition, an apparatus for AOI data acquisition, an electronic device, a computer readable storage medium and a computer program product.
Background
AOI (Automatic Optic Inspection, automatic optical inspection) refers to acquiring an image of a measured object by adopting an optical imaging technology (such as a camera), and acquiring information of the measured object such as size, position, direction, spectral characteristics, structure, defects and the like from the shot image by a certain image processing algorithm, so that tasks such as product inspection, component identification and positioning on an assembly line, measurement in process monitoring, process control feedback, classification, grouping and the like can be performed. Currently, AOI has wide application in semiconductor, industrial robots, auto parts manufacturing, printing, steel, medical and pharmaceutical industries.
Currently, after an AOI device captures an image, the image is stored locally. When the image acquired by the AOI equipment is required to be acquired, related staff is required to locally copy the image from the AOI equipment, and the required image is selected from the copied image, so that the staff is high in participation workload.
Disclosure of Invention
The application provides a method, a device, equipment, a storage medium and a program product for AOI data acquisition, which are used for solving the problem of large personnel workload caused by manually acquiring and processing the AOI data in the prior art.
In a first aspect, an embodiment of the present application provides a method for AOI data collection, where the method is applied to a server, and the method includes:
acquiring image screening information which is input by a user and corresponds to a required image;
generating a query instruction according to the image screening information;
determining one or more target AOI devices, and acquiring address information of a local database of each target AOI device;
and remotely accessing each local database by adopting the query instruction according to the address information of each local database to obtain a target image matched with the query instruction.
In a second aspect, an embodiment of the present application further provides an apparatus for AOI data acquisition, where the apparatus is applied to a server, and the apparatus includes:
the image screening information acquisition module is used for acquiring image screening information which is input by a user and corresponds to the required image;
the query instruction generation module is used for generating a query instruction according to the image screening information;
the target AOI equipment determining module is used for determining one or more target AOI equipment and acquiring address information of a local database of each target AOI equipment;
and the remote database access module is used for remotely accessing each local database by adopting the query instruction according to the address information of each local database to obtain a target image matched with the query instruction.
In a third aspect, embodiments of the present application further provide an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of the first aspect described above.
In a fourth aspect, embodiments of the present application also provide a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the method of the first aspect described above.
In a fifth aspect, embodiments of the present application also provide a computer program product comprising computer executable instructions for implementing the method of the first aspect described above when executed.
The technical scheme provided by the application has the following beneficial effects:
in this embodiment, the user may input image filtering information corresponding to the desired image, and after the server obtains the image filtering information, a query instruction may be generated according to the image filtering information. One or more target AOI devices are then determined and address information of a local database of each target AOI device is obtained. Then, the server can remotely access each local database by adopting the query instruction according to the address information of each local database to obtain the target image matched with the query instruction. Therefore, automatic collection of the AOI data is realized, the collected AOI data can comprise data of a plurality of AOI devices, simultaneous collection of the data of the AOI devices is realized in a remote procedure call mode, and the data collection efficiency is improved. In addition, the method directly queries the target image by inputting the image screening information by the user, namely, the obtained target image is the screened image, invalid data is removed as far as possible, the manual processing cost is reduced, and the data processing efficiency is further improved.
Drawings
FIG. 1 is a flow chart of an embodiment of a method for AOI data acquisition provided in accordance with an embodiment of the present application;
FIG. 2 is a schematic diagram of an exemplary data acquisition page provided in accordance with one embodiment of the present application;
FIG. 3 is a flow chart of an embodiment of a method for AOI data acquisition provided in embodiment two of the present application;
FIG. 4 is a block diagram of an embodiment of an apparatus for AOI data acquisition provided in embodiment III of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
Example 1
Fig. 1 is a flowchart of an embodiment of a method for AOI data collection according to an embodiment of the present application, which may be applied to a server. As shown in fig. 1, the present embodiment may include the following steps:
step 110, obtaining image screening information corresponding to the required image, which is input by a user.
The image screening information is used for describing screening conditions of images required by a user. In an application scenario, when a user finds that a certain component has more defects, and wants to optimize a detection algorithm of the component or view a defect image, the user can input image screening information to acquire a relevant AOI image of the component.
In this embodiment, the image filtering information is information related to a scene in which the AOI device collects an image. For example, in one exemplary scenario, the panel manufacturing process typically includes an Array (substrate design), TFT (thin film transistor), cell, and module flows, where Array production is stacked one on top of the other to ultimately produce an Array substrate. The product is photographed by the AOI device at each production stage, and the position in which there is a possibility of a problem can be identified from the image acquired by the AOI device, whether the corresponding position is truly defective, and the like. In the above scenario, the image filtering information may illustratively include the following information: parent device information, which may include at least one of the following information (necessary for some of the following information, such as a material number, a device type, a board ID, front and back sides, etc.):
material number: the enterprise adopts a method for coding each material in order to facilitate the flow of the production material in each link, wherein the coding is a material number, and the coding refers to the identification of a father device;
device type: the material type of the father device, namely what type of device the father device belongs to, such as capacitance, inductance, relay and the like;
algorithm: performing a detection algorithm for detecting defects of the parent device;
image path: the AOI equipment collects the storage path of the image of the current parent device;
whether to mark: the AOI equipment acquires whether the image of the current parent device passes through a defect mark or not;
marking results: the result of the above-mentioned marking;
light source information: light sources used by the AOI device to capture images, including lights (list of selectable light sources), current-light (currently selected light source);
plate ID: a board card identification of the father device;
front and back sides: the AOI equipment collects data of the front side or the back side of the board card;
detection result: detecting results obtained by defect detection based on images acquired by the AOI equipment;
list of sub-devices: a list of related information for child devices of the current parent device.
The list of sub-devices may include the following information:
sub-device information: related information of the AOI equipment for image acquisition of the sub-device, such as equipment identification;
defect type: the type of defect obtained by defect detection based on the image of the sub-device acquired by the AOI equipment of the sub-device;
algorithm: a detection algorithm for detecting defects of the sub-devices;
whether to mark: an option of whether to mark the rights;
marking results: the result of the above marking includes marking label, marking ROI, etc.;
detection result: and detecting the result of the sub-device.
In one embodiment, step 110 may further comprise the steps of:
displaying a data acquisition page via a display device; and receiving image screening information input by a user in the data acquisition page.
In implementation, the server may be connected to a display device and interact with the user via the display device. The embodiment may display a data acquisition page to a user through a display device, where the data acquisition page includes a plurality of data fields for the user to select or fill in, as mentioned above, a bin number, a device type, an algorithm, an image path, whether to mark, a marking result, light source information, a panel ID, a front side and a back side, a detection result, and may further include a device relationship (whether a parent device or a child device), a time range of image acquisition, and the like. For example, an exemplary data acquisition page schematic is shown with reference to FIG. 2, which may include time options and component options. In the time option, the user can input the start time and the end time in the time option to determine the time range, and can quickly select the time range to determine the time range. The component options include fields such as a board name (i.e., the board ID above), a board (front or back), light source information, a material number, a device relationship, a device type, a defect type, a detection algorithm, and the like, which are selected by the user.
In fig. 2, the user may select one or more field information to fill in, and after the user clicks the "filter" button, the server may obtain the image filter information input by the user.
And step 120, generating a query instruction according to the image screening information.
After the server obtains the image filtering information input by the user, a query instruction may be generated based on the image filtering information, where the query instruction is a database query instruction, such as an SQL (structured query language) query instruction. When the method is realized, the server can generate the query instruction according to the format of the preset database query instruction and parameters required by the data of the query database.
Step 130, determining one or more target AOI devices and obtaining address information of a local database of each target AOI device.
In practice, for an AOI device, after it has acquired an image, the image will be stored in a local database. In this step, the target AOI device refers to an AOI device that needs to acquire its acquired image from its local database.
In one embodiment, step 130 may further comprise the steps of:
displaying a pre-generated AOI equipment list, and taking AOI equipment selected by a user from the AOI equipment list as target AOI equipment; and extracting address information of a local database of the target AOI equipment from the equipment information recorded in the AOI equipment list.
In this embodiment, a server maintains an AOI device list in which device information of all AOI devices in the local area network is recorded. The server may display the list of AOI devices to the user via a data acquisition page. The user may select one or more AOI device target AOI devices from the AOI device list.
Illustratively, the above device information may include, but is not limited to: AOI device identification, the algorithm used, address information of the local database (i.e. image storage path), etc. After determining the target AOI device, the device information recorded in the AOI device list may be used to find address information of a local database of each target AOI device, where the address information may be represented, for example, by an IP address+port number (the port number of the AOI device is generally 3306) of the local database.
Of course, other manners than determining the target AOI device in the foregoing embodiment may be adopted to determine the target AOI device, and search the address information of the local database of the target AOI device from the device information recorded in the AOI device list. All AOI devices in the AOI device list are taken as target AOI devices by default; or matching in the equipment information according to the information about the components, such as the material number, the device type and the like recorded in the image screening information (the equipment information can also comprise the information about the components detected by the AOI equipment at the moment), and taking the AOI equipment successfully matched as target AOI equipment. One skilled in the art may determine the target AOI device by using one or other methods according to actual needs, which is not limited in this embodiment.
In one embodiment, the AOI device list described above may be generated as follows:
generating an access request according to the designated port number, and broadcasting the access request in a local area network; receiving response information returned by each device in the local area network based on the access request; and if the response information comprises the AOI equipment information, adding the AOI equipment information into an AOI equipment list.
In practice, each AOI device will have a corresponding designated port number. The assigned port numbers for each AOI device may be the same or different. If the specified port numbers are the same, the server may generate an access request based on the specified port numbers; if the assigned port numbers are different, the server may generate different access requests based on the different assigned port numbers. The access request is then broadcast in the local area network.
After each device in the local area network receives the access request, if the designated port number in the access request is determined to be the port number of the device, the device information of the device is acquired, the device information is generated and response information is returned to the server, after the server receives the response information, the device information can be analyzed from the response information, the device is determined to be the AOI device, the device information is recorded in an AOI device list, and therefore the access of the AOI device to the server is completed.
On the other hand, if the device in the local area network receives the access request and then determines that the designated port number in the access request is not the port number of the device, response information of pairing failure is returned to the server, and after the server receives the response information, the device can be determined not to be an AOI device and the device is ignored.
And 140, remotely accessing each local database by adopting the query instruction according to the address information of each local database to obtain a target image matched with the query instruction.
In this embodiment, remote access needs to be allowed to the local database setting of each AOI device. The method of setting is not limited in this embodiment, for example, assuming that the database is a mysql database, the "host" item in the "user" table in the "mysql" database may be changed after the localhost logs into mysql, and the "localhost" may be referred to as "%". As another example, the local database may be a function integrated with database management that includes remote access functions to turn on data, which allows remote access when the remote access switch of the database is turned on.
After obtaining the address information of the local databases of the target AOI device, the server may remotely access each database using a remote database access (Remote Database Access, abbreviated as RDA) technique according to the address information of each local database to obtain a target image corresponding to the query instruction from each database, where the RDA technique is implemented using an RPC (Remote Procedure Call ) mode.
In one embodiment, step 140 may further comprise the steps of:
and sending the query instruction to a database corresponding to the address information in a remote procedure call mode, and receiving a target image returned after the database executes the query instruction.
In this embodiment, after obtaining the address information of the local database of each target AOI device, the server may send the query instruction to the database corresponding to each address information through the RPC technology. After each database receives the inquiry command, the inquiry command is executed, and a corresponding execution result is obtained.
In one example, if a matching target image is found after the database executes the query instruction, each target image may be replicated and an execution result containing the target image may be returned to the server, i.e., the execution result includes the target image. The database may then return the target image to the server via RPC techniques.
In another example, if the database does not find a matching target image after executing the query instruction, an execution result reflecting the search failure may be returned to the server, i.e., the execution result includes search failure information.
In order to enable those skilled in the art to better understand the present embodiment, the present embodiment is illustrated below by way of a specific example:
when a manager finds that a certain capacitor is a bad capacitor through an image acquired by the AOI equipment, relevant equipment information of the capacitor and relevant information of the AOI equipment can be input through a data acquisition page to serve as image screening information, and then the image screening information is submitted to a server. And the server generates a query instruction according to the image screening information and the set database query format and parameters. Meanwhile, the server also determines one or more target AOI devices responsible for acquiring the images of the capacitor, and acquires address information of a local database of each target AOI device. And finally, remotely accessing the databases of each target AOI device in a remote procedure call mode to transmit query instructions to each database, and then receiving target images which are responded by each database and matched with the query instructions and serve as target images of the capacitor, so that management staff can conveniently analyze and manage the target images, and a data basis is provided for subsequent targeted modeling.
In this embodiment, the user may input image filtering information corresponding to the desired image, and after the server obtains the image filtering information, a query instruction may be generated according to the image filtering information. One or more target AOI devices are then determined and address information of a local database of each target AOI device is obtained. Then, the server can remotely access each local database by adopting the query instruction according to the address information of each local database to obtain the target image matched with the query instruction. Therefore, automatic collection of the AOI data is realized, the collected AOI data can comprise data of a plurality of AOI devices, simultaneous collection of the data of the AOI devices is realized in a remote procedure call mode, and the data collection efficiency is improved. In addition, the method directly queries the target image by inputting the image screening information by the user, namely, the obtained target image is the screened image, invalid data is removed as far as possible, the manual processing cost is reduced, and the data processing efficiency is further improved.
Example two
Fig. 3 is a flowchart of an embodiment of a method for collecting AOI data according to the second embodiment of the present application, where a subsequent processing procedure of a collected target image is described based on the first embodiment.
As shown in fig. 3, the present embodiment may include the steps of:
in step 310, image filtering information corresponding to the desired image, which is input by the user, is acquired.
And 320, generating a query instruction according to the image screening information.
Step 330, determining one or more target AOI devices and obtaining address information of a local database of each target AOI device.
And 340, remotely accessing each local database by adopting the query instruction according to the address information of each local database to obtain a target image matched with the query instruction.
And step 350, determining a target device according to the image screening information.
For example, the target device may be determined based on the bin number, device identification, board ID, device type, and the like in the image screening information.
Step 360, judging whether a data warehouse corresponding to the target device exists or not; if yes, go to step 370; if not, go to step 380.
In practice, different data repositories may be created for different components, and one data repository may correspond to only one component, or one data repository may correspond to a plurality of components, which is not limited in this embodiment.
The server may maintain an association of the data warehouse with the component identifier. After determining the target device, it may be possible to find out from the existing data warehouse whether there is a data warehouse corresponding to the target device.
Step 370, storing the target image in the data repository.
Step 380 creates a data warehouse for the target device and continues with step 370.
If a data warehouse corresponding to the current target device exists in the server, the target images can be directly stored in the target warehouse, wherein each target image carries acquisition time information.
If there is no data warehouse corresponding to the current target device in the server, a data warehouse corresponding to the current target device needs to be created, and then the target image is stored in the target warehouse.
In one embodiment, the step of storing the target image in the data repository may further include the steps of:
generating an image tag of the target image according to the image screening information; the target image and the image tag association are stored in the data repository.
In this embodiment, an image tag of the target image may be generated according to the image screening information, and the image tag is stored in association with the target image, so as to implement automatic tagging of the target image. The image labels can be one or more, various information contained in the image screening information can be combined to generate a plurality of labels, and various information contained in the image screening information can be spliced into one image label directly. In other examples, the image screening information may also generate one or more image tags in combination with the time of image acquisition, target AOI device identification of the image source, target device identification of the image reflection, and so forth. The present embodiment is not limited to the manner in which the image tag is generated.
In one example, the data warehouse is used for managing images of components, so that the user can conveniently manage and trace back the images related to query.
In a further example, the data warehouse may also act as a sample library, and a user may tag, remark, etc. the images in the sample library. Therefore, the method can facilitate the subsequent targeted training according to the images in the sample library, such as optimizing a detection algorithm or training an AOI detection model.
In this embodiment, the target image of each component is managed by the data warehouse technology, so that the management effect and management efficiency of data can be improved, and the user can conveniently add tag information to the image of the data warehouse.
Example III
Fig. 4 is a block diagram of an embodiment of an apparatus for AOI data collection according to the third embodiment of the present application, where the apparatus is applied to a server, and may include the following modules:
an image filtering information obtaining module 410, configured to obtain image filtering information corresponding to a required image, which is input by a user;
a query instruction generating module 420, configured to generate a query instruction according to the image filtering information;
a target AOI device determining module 430, configured to determine one or more target AOI devices, and obtain address information of a local database of each target AOI device;
and the remote database access module 440 is configured to remotely access each local database by using the query instruction according to the address information of each local database, so as to obtain a target image matched with the query instruction.
In one embodiment, the apparatus may further comprise the following modules:
the target device determining module is used for determining a target device according to the image screening information;
the judging module is used for judging whether a data warehouse corresponding to the target device exists or not; if yes, calling an image storage module; if not, calling a data warehouse creating module;
an image storage module for storing the target image in the data repository;
and the data warehouse creating module is used for creating a data warehouse for the target device and storing the target image in the data warehouse.
In one embodiment, the image storage module is specifically configured to:
generating an image tag of the target image according to the image screening information;
the target image and the image tag association are stored in the data repository.
In one embodiment, the target AOI device determination module 430 is specifically configured to:
displaying a pre-generated AOI equipment list, and taking AOI equipment selected by a user from the AOI equipment list as target AOI equipment;
and extracting address information of a local database of the target AOI equipment from the equipment information recorded in the AOI equipment list.
In one embodiment, the AOI device list is generated as follows:
generating an access request according to the designated port number, and broadcasting the access request in a local area network;
receiving response information returned by each device in the local area network based on the access request;
and if the response information comprises the AOI equipment information, adding the AOI equipment information into an AOI equipment list.
In one embodiment, the remote database access module 440 is specifically configured to:
and sending the query instruction to a database corresponding to the address information in a remote procedure call mode, and receiving a target image returned after the database executes the query instruction.
In one embodiment, the image filtering information obtaining module 410 is specifically configured to:
displaying a data acquisition page via a display device;
and receiving image screening information input by a user in the data acquisition page.
In one embodiment, the image screening information includes at least one or a combination of the following: the method comprises the steps of material number of components, plate type identification, component type, front and back information, light source information, detection algorithm and detection result.
The AOI data acquisition device provided by the embodiment of the application can execute the AOI data acquisition method in the first embodiment or the second embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application, as shown in fig. 5, the electronic device includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of processors 510 in the electronic device may be one or more, one processor 510 being taken as an example in fig. 5; the processor 510, memory 520, input device 530, and output device 540 in the electronic device may be connected by a bus or other means, for example in fig. 5.
The memory 520 is a computer readable storage medium, and may be used to store a software program, a computer executable program, and modules, such as program instructions/modules corresponding to the first or second embodiments in the embodiments of the present application. The processor 510 executes various functional applications of the electronic device and data processing by running software programs, instructions and modules stored in the memory 520, i.e. implements the methods mentioned in the above-described method embodiment one or embodiment two.
Memory 520 may include primarily a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for functionality; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 520 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to the device/terminal/server via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 530 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. The output 540 may include a display device such as a display screen.
Example five
The fifth embodiment of the present application also provides a storage medium containing computer-executable instructions for performing the method of the first or second embodiment of the method described above when executed by a computer processor.
Of course, a storage medium containing computer-executable instructions provided in the embodiments of the present application is not limited to the method operations described above, and may also perform related operations in the methods provided in any of the embodiments of the present application.
Example six
A sixth embodiment of the present application also provides a computer program product comprising computer executable instructions for performing the method of the first method embodiment described above when executed by a computer processor.
Of course, the computer program product provided by the embodiments of the present application, whose computer executable instructions are not limited to the method operations described above, may also perform the relevant operations in the methods provided by any of the embodiments of the present application.
From the above description of embodiments, it will be clear to a person skilled in the art that the present application may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk, or an optical disk of a computer, etc., including several instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
It should be noted that, in the embodiment of the apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above-mentioned division, so long as the corresponding function can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present application.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. Those skilled in the art will appreciate that the present application is not limited to the particular embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the present application. Therefore, while the present application has been described in connection with the above embodiments, the present application is not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the present application, the scope of which is defined by the scope of the appended claims.

Claims (12)

1. A method of AOI data acquisition, wherein the method is applied to a server, the method comprising:
acquiring image screening information which is input by a user and corresponds to a required image;
generating a query instruction according to the image screening information;
determining one or more target AOI devices, and acquiring address information of a local database of each target AOI device;
and remotely accessing each local database by adopting the query instruction according to the address information of each local database to obtain a target image matched with the query instruction.
2. The method according to claim 1, wherein the method further comprises:
determining a target device according to the image screening information;
judging whether a data warehouse corresponding to the target device exists or not;
if yes, storing the target image in the data warehouse;
if not, a data warehouse for the target device is created and the target image is stored in the data warehouse.
3. The method of claim 2, wherein the storing the target image in the data warehouse comprises:
generating an image tag of the target image according to the image screening information;
the target image and the image tag association are stored in the data repository.
4. A method according to claim 1, 2 or 3, wherein said determining target AOI devices and obtaining address information of a local database of each target AOI device comprises:
displaying a pre-generated AOI equipment list, and taking AOI equipment selected by a user from the AOI equipment list as target AOI equipment;
and extracting address information of a local database of the target AOI equipment from the equipment information recorded in the AOI equipment list.
5. The method of claim 4, wherein the list of AOI devices is generated by:
generating an access request according to the designated port number, and broadcasting the access request in a local area network;
receiving response information returned by each device in the local area network based on the access request;
and if the response information comprises the AOI equipment information, adding the AOI equipment information into an AOI equipment list.
6. A method according to claim 1, 2 or 3, wherein said remotely accessing each local database with said query command according to the address information of each local database to obtain a target image matched with said query command comprises:
and sending the query instruction to a database corresponding to the address information in a remote procedure call mode, and receiving a target image returned after the database executes the query instruction.
7. The method of claim 1, wherein the obtaining the user-entered image screening information comprises:
displaying a data acquisition page via a display device;
and receiving image screening information input by a user in the data acquisition page.
8. The method of claim 1, wherein the image screening information comprises at least one or a combination of: the method comprises the steps of material number of components, plate type identification, component type, front and back information, light source information, detection algorithm and detection result.
9. An apparatus for AOI data acquisition, wherein the apparatus is applied to a server, the apparatus comprising:
the image screening information acquisition module is used for acquiring image screening information which is input by a user and corresponds to the required image;
the query instruction generation module is used for generating a query instruction according to the image screening information;
the target AOI equipment determining module is used for determining one or more target AOI equipment and acquiring address information of a local database of each target AOI equipment;
and the remote database access module is used for remotely accessing each local database by adopting the query instruction according to the address information of each local database to obtain a target image matched with the query instruction.
10. An electronic device, the electronic device comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-8.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-8.
12. A computer program product comprising computer executable instructions for implementing the method of any one of claims 1-8 when executed.
CN202111672009.3A 2021-12-31 2021-12-31 Method, apparatus, device, storage medium and program product for AOI data acquisition Active CN116415014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111672009.3A CN116415014B (en) 2021-12-31 2021-12-31 Method, apparatus, device, storage medium and program product for AOI data acquisition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111672009.3A CN116415014B (en) 2021-12-31 2021-12-31 Method, apparatus, device, storage medium and program product for AOI data acquisition

Publications (2)

Publication Number Publication Date
CN116415014A true CN116415014A (en) 2023-07-11
CN116415014B CN116415014B (en) 2024-06-14

Family

ID=87056836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111672009.3A Active CN116415014B (en) 2021-12-31 2021-12-31 Method, apparatus, device, storage medium and program product for AOI data acquisition

Country Status (1)

Country Link
CN (1) CN116415014B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495551A (en) * 2018-10-31 2019-03-19 广西民族大学 A kind of intelligent monitor system and its collecting method
CN110457544A (en) * 2019-08-14 2019-11-15 上海联影医疗科技有限公司 A kind of data capture method, system, electronic equipment and storage medium
CN111683127A (en) * 2020-05-27 2020-09-18 深圳市海洋王照明工程有限公司 Data transmission method and device and terminal equipment
CN111913934A (en) * 2020-07-08 2020-11-10 珠海大横琴科技发展有限公司 Target sample database construction method and device and computer equipment
US20210048311A1 (en) * 2018-06-04 2021-02-18 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for on-demand services
CN112583910A (en) * 2020-12-07 2021-03-30 深圳市信锐网科技术有限公司 Equipment access method and device of Internet of things platform, electronic equipment and storage medium
CN112667723A (en) * 2020-12-30 2021-04-16 平安证券股份有限公司 Data acquisition method and terminal equipment
US10997559B1 (en) * 2020-08-20 2021-05-04 Progressive Casualty Insurance Company Resource management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210048311A1 (en) * 2018-06-04 2021-02-18 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for on-demand services
CN109495551A (en) * 2018-10-31 2019-03-19 广西民族大学 A kind of intelligent monitor system and its collecting method
CN110457544A (en) * 2019-08-14 2019-11-15 上海联影医疗科技有限公司 A kind of data capture method, system, electronic equipment and storage medium
CN111683127A (en) * 2020-05-27 2020-09-18 深圳市海洋王照明工程有限公司 Data transmission method and device and terminal equipment
CN111913934A (en) * 2020-07-08 2020-11-10 珠海大横琴科技发展有限公司 Target sample database construction method and device and computer equipment
US10997559B1 (en) * 2020-08-20 2021-05-04 Progressive Casualty Insurance Company Resource management system
CN112583910A (en) * 2020-12-07 2021-03-30 深圳市信锐网科技术有限公司 Equipment access method and device of Internet of things platform, electronic equipment and storage medium
CN112667723A (en) * 2020-12-30 2021-04-16 平安证券股份有限公司 Data acquisition method and terminal equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹建英;: "基于Web的远程智能温室多媒体数据采集系统设计", 计算机与数字工程, no. 04 *

Also Published As

Publication number Publication date
CN116415014B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
CN112101335B (en) APP violation monitoring method based on OCR and transfer learning
WO2014136941A1 (en) Control system, control device, image processing device, and control method
CN109522421B (en) Product attribute identification method of network equipment
CN109558562B (en) Management method and system for AOI (automatic optical inspection) reexamination
CN111427865A (en) Method and device for managing objects of database
CN101425070B (en) Deadlock positioning method, deadlock positioning device and data system
DE112022003791T5 (en) AUTOMATIC GENERATING ONE OR MORE IMAGE PROCESSING JOBS BASED ON AREAS OF INTEREST (ROIS) OF DIGITAL IMAGES
CN110750416A (en) Method and device for automatically processing fault information
CN116415014B (en) Method, apparatus, device, storage medium and program product for AOI data acquisition
CN103913150A (en) Consistency detection method for electron components of intelligent ammeter
CN111984444A (en) Abnormal information processing method and device
CN115794638A (en) Test method, system and computer equipment based on code change analysis engine
CN110816902B (en) System, real-time detection method and medium for detecting redundant materials in satellite structure platform hole
CN111913934A (en) Target sample database construction method and device and computer equipment
CN111754443A (en) Equipment information sorting method and device
CN116824515B (en) Graphic fault diagnosis method and device, electronic equipment and storage medium
CN111291271A (en) Data processing method, device, equipment and storage medium
US8352959B2 (en) Apparatus, system, and method for non-intrusive monitoring of business events
CN113434404B (en) Automatic service verification method and device for verifying reliability of disaster recovery system
CN110942017B (en) Multi-algorithm index comparison method and system based on automation
CN113632099B (en) Distributed product defect analysis system, method and computer readable storage medium
CN112783986B (en) Object grouping compiling method and device based on label, storage medium and terminal
CN110020050B (en) Method for realizing intelligent capture rule configuration technology based on standard documents
CN118069397A (en) Automatic crash analysis method and system
Harkovchuk et al. Error Text Codes Recognition from Information Display in Industrial Production Equipment

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
GR01 Patent grant
GR01 Patent grant