CN110956168A - Online data acquisition method of single-edition environment test equipment based on image recognition - Google Patents

Online data acquisition method of single-edition environment test equipment based on image recognition Download PDF

Info

Publication number
CN110956168A
CN110956168A CN201911257432.XA CN201911257432A CN110956168A CN 110956168 A CN110956168 A CN 110956168A CN 201911257432 A CN201911257432 A CN 201911257432A CN 110956168 A CN110956168 A CN 110956168A
Authority
CN
China
Prior art keywords
image
recognition
test equipment
server
data acquisition
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
CN201911257432.XA
Other languages
Chinese (zh)
Inventor
马超
徐文胜
武博
汪伟岚
孙凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI PRECISION METROLOGY AND TEST RESEARCH INSTITUTE
Original Assignee
SHANGHAI PRECISION METROLOGY AND TEST RESEARCH INSTITUTE
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 SHANGHAI PRECISION METROLOGY AND TEST RESEARCH INSTITUTE filed Critical SHANGHAI PRECISION METROLOGY AND TEST RESEARCH INSTITUTE
Priority to CN201911257432.XA priority Critical patent/CN110956168A/en
Publication of CN110956168A publication Critical patent/CN110956168A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • 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/51Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an image recognition-based online data acquisition method for single-edition environment test equipment, which comprises the following steps: 1) carrying out single-edition environmental test equipment Internet of things; 2) parameter configuration; 3) image timing capture: capturing interface images of the industrial personal computer of each single-version environmental test device at regular time according to the image acquisition period and sending the interface images to the server; 4) image preprocessing: the server removes redundant features of the image; 5) image cutting: the server cuts the image without the redundant features according to a defined industrial control interface identification template to obtain a minimum identifiable unit; 6) and (3) characteristic image identification: the server performs OCR recognition on the minimum recognition unit to analyze the structured data; 7) data storage and presentation: and storing the structured data into a data table of a specified database instance for updating or adding, and displaying the data table through a server interface. The invention realizes the online data acquisition of the existing single-edition environmental test equipment with low cost.

Description

Online data acquisition method of single-edition environment test equipment based on image recognition
Technical Field
The invention belongs to the field of component detection engineering application, and particularly relates to an image recognition-based online data acquisition method for single-version environmental test equipment.
Background
In the screening experiment for the quality assurance of a plurality of components, the electrical stress screening experiment of the components is the most time-consuming screening test item, a plurality of single-variety or multi-variety environment test devices are adopted in the screening experiment, because a plurality of screening laboratories are established earlier, the purchased electrical stress screening test devices are the test devices operated by a single machine, a tester needs to be in front of the test devices to obtain test data and test states, and hardware and data of each device are managed one by one through technicians. The traditional working mode of single machine operation restricts the working efficiency of the electric stress screening test, and the test alarm is not easy to be found in time.
Therefore, the electric stress screening test equipment is used for the Internet of things, the working state and data of each screening test equipment are monitored through a unified data statistical analysis interface, and the traditional working mode is revolutionarily changed. The tester realizes carrying out whole management and control to many environmental experiment equipment in the control hall, dispatches equipment through dynamic monitoring, promotes equipment's utilization ratio to can report to the police equipment abnormal state in real time, the unified experimental data of saving, promote work efficiency by a wide margin.
Because many electrical stress screening test equipment purchase earlier, do not put forward online data acquisition requirement when equipment is purchased, the producer is just with the single machine operation as the only operation mode when the software and hardware of equipment are designed, and industrial control software does not support online data acquisition, and the transformation cost is great with the degree of difficulty. Private or third-party transformation can also generate predicted risks to the equipment, and manufacturers can not sell the equipment, so that the cost of replacing single-edition environment test equipment in batches into new equipment is too great.
Disclosure of Invention
The invention aims to provide an image recognition-based online data acquisition method for single-computer version environment test equipment, which realizes online data acquisition of the existing single-computer version environment test equipment at low cost.
In order to achieve the above object, the present invention provides an online data acquisition method for a single-edition environment testing device based on image recognition, comprising:
1) carrying out single-edition environmental test equipment Internet of things;
2) parameter configuration;
3) image timing capture: capturing interface images of the industrial personal computer of each single-version environmental test device at regular time according to the image acquisition period and sending the interface images to the server;
4) image preprocessing: the server removes redundant features of the image;
5) image cutting: the server cuts the image without the redundant features according to a defined industrial control interface identification template to obtain a minimum identifiable unit;
6) and (3) characteristic image identification: the server performs OCR recognition on the minimum recognition unit to analyze the structured data;
7) data storage and presentation: and storing the structured data into a data table of a specified database instance for updating or adding, and displaying the data table through a server interface.
In the online data acquisition method of the single-computer environment test equipment based on image recognition, in the step 1), the existing USB interface of the single-computer environment test equipment is utilized to convert the USB interface into a network port, so that the Internet of things of a plurality of single-computer environment test equipment is realized.
In the online data acquisition method of the single-edition environment test equipment based on image identification, in the step 2), the parameter configuration includes an image acquisition period, a picture file name, server information, an image acquisition area, an image gray level threshold value, an image resolution, an image identification folder address, an image identification processing period, and database related elements written after data identification.
The online data acquisition method of the single-edition environment test equipment based on image recognition is characterized in that in the step 4), the removal of redundant features comprises the following steps: cleaning redundant interface files; removing the excess color features preserves grayscale.
According to the online data acquisition method of the single-edition environment test equipment based on the image recognition, the processed image is deleted after the characteristic image is recognized.
The online data acquisition method of the single-edition environment test equipment based on image identification is characterized in that in the step 5), the industrial control interface identification template comprises the following steps: the method comprises the steps of picture cutting rectangular pixel points, a word stock capable of identifying regional application, picture resolution and file name specification after cutting processing.
In the above online data acquisition method for the single-edition environment test equipment based on image recognition, in the step 5), the file name is matched with the defined industrial control interface recognition template, and the preprocessed picture is analyzed and split according to the requirements of the industrial control interface recognition template to obtain the minimum recognizable unit; the file name is stored after image preprocessing.
Compared with the prior art, the invention has the beneficial technical effects that:
the online data acquisition method of the single-computer version environment test equipment based on the image recognition, disclosed by the invention, has the advantages that the online data acquisition is realized by taking the image processing technology as a core technology on the premise of not modifying the own industrial control software and internal hardware structure of the single-computer version environment test equipment, the execution efficiency is high, and the problems that the current traditional single-computer version screening test equipment online data acquisition equipment cannot be modified or is high in modification cost, long in period, low in reliability and the like are solved.
Drawings
The invention provides an on-line data acquisition method of a single-edition environment test device based on image recognition, which is provided by the following embodiment and attached drawings.
FIG. 1 is a flow chart of an online data acquisition method of a single-edition environment testing device based on image recognition.
FIG. 2 is a data flow diagram of an online data acquisition method of a single-machine version electrical stress screening test device.
FIG. 3 is a schematic diagram of an industrial personal computer interface identification process.
Detailed Description
The method for acquiring the online data of the single-edition environment testing equipment based on image recognition according to the present invention will be described in further detail with reference to fig. 1 to 3.
FIG. 1 is a flow chart of the online data acquisition method of the single-edition environment testing equipment based on image recognition.
Referring to fig. 1, the online data acquisition method of the single-edition environment test device based on image recognition of the invention comprises the following steps:
1) internet of things for single-edition environment test equipment
The existing USB interface of the single-machine environment test equipment is utilized to be converted into a network port, so that the Internet of things of a plurality of single-machine environment test equipment is realized;
2) parameter configuration
Setting parameters such as an image acquisition period, an image acquisition area, an image gray threshold, an image resolution and the like so as to control the image acquisition period, an image preprocessing method, word stock selection of image recognition and the like;
3) image timing capture
Capturing interface images of the industrial personal computer of each single-version environmental test device at regular time according to the image acquisition period and sending the interface images to the server;
4) image pre-processing
The image pre-processing includes unwanted feature removal
The redundant feature removal comprises: (1) cleaning redundant files on the interface, thereby ensuring the consistency of the interface image characteristics; (2) removing redundant color characteristics and reserving gray scale;
5) image cropping
Cutting the image without the redundant features according to a defined industrial control interface recognition template to obtain a minimum recognizable unit;
6) feature image recognition
Performing OCR recognition on the minimum recognition unit, and analyzing structured data;
7) data storage and presentation
And storing the structured data into a data table of a specified database instance for updating or adding, and displaying the data table through a server interface.
The online data acquisition method of the single-computer version environment test equipment based on the image recognition, disclosed by the invention, has the advantages that the online data acquisition is realized by taking the image processing technology as a core technology on the premise of not modifying the own industrial control software and internal hardware structure of the single-computer version environment test equipment, the execution efficiency is high, and the problems that the current traditional single-computer version screening test equipment online data acquisition equipment cannot be modified or is high in modification cost, long in period, low in reliability and the like are solved.
The online data acquisition method of the single-version environmental test equipment based on image recognition is described in detail by taking electrical stress screening test equipment as an example.
FIG. 2 is a data flow diagram of an online data acquisition method of a single-machine electrical stress screening test device.
Referring to fig. 2, USB interfaces of N stand-alone electrical stress screening test devices are inserted into a USB to network interface converter, and after the industrial personal computers of the stand-alone electrical stress screening test devices identify new hardware, IP addresses of the industrial personal computers are configured, and network cables are inserted to network the N stand-alone electrical stress screening test devices. The USB is converted into the network port, so that the internal case of the machine is not opened, and the networking conversion is realized through the external interface, so that the single machine data can be transmitted to the designated server through the network port.
Image capturing software is developed, and the image capturing software is installed on the industrial personal computers of the N pieces of single-machine version electric stress screening test equipment and is used for capturing interface images of the industrial personal computers according to image acquisition periods.
Using the image capturing software to configure the image acquisition period, the image file name and the server information of the image capturing software of each industrial personal computer; image capturing software of each industrial personal computer automatically captures images according to respective image acquisition periods; images captured by each industrial personal computer are stored according to respective picture file names, and the server can identify data source equipment and capture time information by using the picture file names; the server information comprises an uploading path and an IP address, the image capturing software of each industrial personal computer uploads an image data packet (the image data packet is named by a picture file name) to the server according to the respective server information, and the image data packet is stored in a designated folder of the server.
And developing image recognition software, and installing the image recognition software on the server, wherein the image recognition software is used for recognizing data information in the interface image of the industrial control machine.
And configuring a folder address required to be subjected to image recognition, an image recognition processing period and database related elements (including an address, a table name, a user name, a password and the like) written after data recognition by using the image recognition software. Wherein, the processing period of the image recognition cannot be shorter than the time required for the image recognition.
The image recognition software carries out image processing on the pictures in the folder to be processed according to the configured image recognition processing cycle, wherein the image processing comprises the following steps: the image is preprocessed, cut and identified, and the picture is deleted after the processing is finished, so that the storage space is saved.
Image preprocessing: and (3) performing redundant feature removal processing on the picture, wherein the redundant feature removal processing comprises binarization processing (removing redundant color feature reserved gray scale), redundant file cutting of an industrial personal computer interface and the like, and the preprocessed picture is stored by a specified file name as shown in fig. 3.
Image recognition software defines industrial control interface recognition template according to the characteristics of the interface of the industrial personal computer of the single-machine version electric stress screening test equipment, the industrial control interface recognition template is used for cutting pictures to divide the pictures into minimum recognizable units, and the industrial control interface recognition template comprises: the picture cutting rectangular pixel points, the word stock applied in the identifiable region, the picture resolution, the file name specification after cutting processing and the like.
After image preprocessing, the image recognition software matches the defined industrial control interface recognition template through the file name (the file name is saved in the preprocessed image), and analyzes and splits the preprocessed image according to the requirement of the industrial control interface recognition template to obtain the minimum recognizable unit, as shown in fig. 3.
Referring to fig. 3, the boundaries of the industrial personal computer interface pictures are cleaned through image preprocessing; and according to the requirements of an industrial control interface recognition template, distinguishing channels to cut the interface picture of the industrial control computer, and distinguishing data frames of the channels to cut the channel picture to obtain the minimum recognizable unit.
And performing OCR recognition on each minimum recognizable unit, acquiring structured data and storing according to the requirement of a file name.
And the image recognition software writes the structured data into a specified table of the database according to the configured related elements of the database for storage and subsequent display.

Claims (7)

1. The online data acquisition method of the single-edition environment test equipment based on image recognition is characterized by comprising the following steps:
1) carrying out single-edition environmental test equipment Internet of things;
2) parameter configuration;
3) image timing capture: capturing interface images of the industrial personal computer of each single-version environmental test device at regular time according to the image acquisition period and sending the interface images to the server;
4) image preprocessing: the server removes redundant features of the image;
5) image cutting: the server cuts the image without the redundant features according to a defined industrial control interface identification template to obtain a minimum identifiable unit;
6) and (3) characteristic image identification: the server performs OCR recognition on the minimum recognition unit to analyze the structured data;
7) data storage and presentation: and storing the structured data into a data table of a specified database instance for updating or adding, and displaying the data table through a server interface.
2. The image recognition-based online data acquisition method for single-computer environment testing equipment, as claimed in claim 1, wherein in step 1), the existing USB interface of the single-computer environment testing equipment is utilized to convert the USB interface into a network port, so as to implement the internet of things for multiple single-computer environment testing equipment.
3. The online data acquisition method for the stand-alone environment test equipment based on image recognition as claimed in claim 1, wherein in the step 2), the parameter configuration includes image acquisition period, picture file name, server information, image acquisition area, image gray level threshold, image resolution, folder address of image recognition, image recognition processing period, and database related elements written after data recognition.
4. The on-line data acquisition method for single-edition environment testing equipment based on image recognition as claimed in claim 1, wherein in the step 4), the removal of the redundant features comprises: cleaning redundant interface files; removing the excess color features preserves grayscale.
5. The on-line data acquisition method for single-edition environmental test equipment based on image recognition as claimed in claim 1, wherein the processed image is deleted after the characteristic image is recognized.
6. The on-line data acquisition method for single-edition environmental test equipment based on image recognition as claimed in claim 1, wherein in the step 5), the industrial control interface recognition template comprises: the method comprises the steps of picture cutting rectangular pixel points, a word stock capable of identifying regional application, picture resolution and file name specification after cutting processing.
7. The online data acquisition method for the stand-alone environment test equipment based on image recognition as claimed in claim 6, wherein in the step 5), the file name is matched with the defined industrial control interface recognition template, and the preprocessed picture is analyzed and split according to the requirements of the industrial control interface recognition template to obtain the minimum recognizable unit; the file name is stored after image preprocessing.
CN201911257432.XA 2019-12-10 2019-12-10 Online data acquisition method of single-edition environment test equipment based on image recognition Pending CN110956168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911257432.XA CN110956168A (en) 2019-12-10 2019-12-10 Online data acquisition method of single-edition environment test equipment based on image recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911257432.XA CN110956168A (en) 2019-12-10 2019-12-10 Online data acquisition method of single-edition environment test equipment based on image recognition

Publications (1)

Publication Number Publication Date
CN110956168A true CN110956168A (en) 2020-04-03

Family

ID=69980707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911257432.XA Pending CN110956168A (en) 2019-12-10 2019-12-10 Online data acquisition method of single-edition environment test equipment based on image recognition

Country Status (1)

Country Link
CN (1) CN110956168A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05298475A (en) * 1992-04-16 1993-11-12 Kyushu Nippon Denki Software Kk System for displaying ocr recognition result
KR20060001392A (en) * 2004-06-30 2006-01-06 주식회사 한국인식기술 Document image storage method of content retrieval base to use ocr
CN103455786A (en) * 2012-05-28 2013-12-18 北京山海经纬信息技术有限公司 Image recognition method and system
CN103647686A (en) * 2013-12-19 2014-03-19 北京伊神华虹***工程技术有限公司 Data monitoring and management system and method
CN107545240A (en) * 2017-07-07 2018-01-05 杰为软件***(深圳)有限公司 A kind of industrial control equipment display screen output picture acquisition system and method
CN107784649A (en) * 2017-10-20 2018-03-09 长飞光纤光缆股份有限公司 Plug test remote alarming system and method based on image recognition
CN108427959A (en) * 2018-02-07 2018-08-21 北京工业大数据创新中心有限公司 Board state collection method based on image recognition and system
CN109145917A (en) * 2018-08-06 2019-01-04 海南合丰运维科技有限公司 A kind of contactless DCS data recognition system and identification transmission method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05298475A (en) * 1992-04-16 1993-11-12 Kyushu Nippon Denki Software Kk System for displaying ocr recognition result
KR20060001392A (en) * 2004-06-30 2006-01-06 주식회사 한국인식기술 Document image storage method of content retrieval base to use ocr
CN103455786A (en) * 2012-05-28 2013-12-18 北京山海经纬信息技术有限公司 Image recognition method and system
CN103647686A (en) * 2013-12-19 2014-03-19 北京伊神华虹***工程技术有限公司 Data monitoring and management system and method
CN107545240A (en) * 2017-07-07 2018-01-05 杰为软件***(深圳)有限公司 A kind of industrial control equipment display screen output picture acquisition system and method
CN107784649A (en) * 2017-10-20 2018-03-09 长飞光纤光缆股份有限公司 Plug test remote alarming system and method based on image recognition
CN108427959A (en) * 2018-02-07 2018-08-21 北京工业大数据创新中心有限公司 Board state collection method based on image recognition and system
CN109145917A (en) * 2018-08-06 2019-01-04 海南合丰运维科技有限公司 A kind of contactless DCS data recognition system and identification transmission method

Similar Documents

Publication Publication Date Title
WO2021003818A1 (en) Interface test case generating method and apparatus, computer device, and storage medium
CN104956339B (en) Software test script is generated from video
CN114185708A (en) Data analysis method and device based on distributed link tracking and electronic equipment
CN107784649B (en) Image recognition-based mandrel testing remote alarm system and method
CN105068930A (en) Intelligent analysis method and device for test generation data of mobile terminal
CN111049731B (en) Instant chat application monitoring method and system
CN111931809A (en) Data processing method and device, storage medium and electronic equipment
CN110598008A (en) Data quality inspection method and device for recorded data and storage medium
CN110784486A (en) Industrial vulnerability scanning method and system
CN111949509A (en) Application software response time testing method, device, equipment and storage medium
CN113050992A (en) Register address obtaining method, device, terminal and readable storage medium
CN112822440A (en) Biological sample preparation monitoring method, application server, system and storage medium
CN105207829B (en) Intrusion detection data processing method, device and system
CN110956168A (en) Online data acquisition method of single-edition environment test equipment based on image recognition
CN116841846A (en) Real-time log abnormality detection method, device, equipment and storage medium thereof
CN113672497B (en) Method, device and equipment for generating non-buried point event and storage medium
CN115905016A (en) BIOS Setup search function test method and device, electronic equipment and storage medium
CN110620682B (en) Resource information acquisition method and device, storage medium and terminal
CN108121303A (en) A kind of log recording method applied to manufacturing equipment statistical analysis process
CN105988818B (en) Automatic bug debugging system and method
CN113434404B (en) Automatic service verification method and device for verifying reliability of disaster recovery system
CN115424251A (en) OCR recognition technology-based general equipment industrial control interface data acquisition method
WO2023281718A1 (en) Processing device, processing method, and processing program
CN110245062B (en) Abnormal monitoring behavior analysis method based on log file
CN116467166A (en) Defect information processing method, device, equipment and storage medium thereof

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

RJ01 Rejection of invention patent application after publication