CN115937877A - Information collection method and device, electronic equipment and information collection system - Google Patents

Information collection method and device, electronic equipment and information collection system Download PDF

Info

Publication number
CN115937877A
CN115937877A CN202211524325.0A CN202211524325A CN115937877A CN 115937877 A CN115937877 A CN 115937877A CN 202211524325 A CN202211524325 A CN 202211524325A CN 115937877 A CN115937877 A CN 115937877A
Authority
CN
China
Prior art keywords
data
target
camera
video stream
preset
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
CN202211524325.0A
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.)
Chongqing China Tobacco Industry Co Ltd
Original Assignee
Chongqing China Tobacco Industry 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 Chongqing China Tobacco Industry Co Ltd filed Critical Chongqing China Tobacco Industry Co Ltd
Priority to CN202211524325.0A priority Critical patent/CN115937877A/en
Publication of CN115937877A publication Critical patent/CN115937877A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The application provides an information collection method, an information collection device, electronic equipment and an information collection system, and relates to the technical field of computer information processing. The method comprises the following steps: acquiring a target image frame from a video stream shot by a camera, wherein the video stream is data obtained by shooting a display screen of target equipment by the camera; converting character information in the target image frame into text information according to a preset character recognition algorithm; extracting target data from the text information based on a preset extraction rule corresponding to the camera, wherein the target data comprises at least one of temperature data, humidity data and size data; and recording the target data in a specified database. Therefore, automatic collection of corresponding data on the target equipment can be achieved, information collection efficiency is improved, data copying is conducted on a large number of electrical equipment, and labor cost is reduced.

Description

Information collection method and device, electronic equipment and information collection system
Technical Field
The invention relates to the technical field of computer information processing, in particular to an information collection method, an information collection device, electronic equipment and an information collection system.
Background
In the manufacturing industry, factories generally use corresponding electrical equipment or other automation equipment to process products in the production process. In the processing step, it is generally necessary to monitor the corresponding parameters acquired by the electrical equipment for the product to be processed (or semi-finished product, or raw material). Since the electrical devices are usually outsourced devices or other devices that cannot provide a data export port. That is, the operator often cannot directly derive the parameters collected by the electrical equipment. Therefore, at present, an operator is usually required to manually copy corresponding data parameters on the site of the electrical equipment, and the efficiency of manually collecting information is low. In addition, in a factory, the more the number of electrical devices is, the more manpower resources are required, which is not favorable for data transcription of a large number of electrical devices.
Disclosure of Invention
In view of the above, an object of the embodiments of the present application is to provide an information collecting method, an information collecting device, an electronic device, and an information collecting system, which can solve the problem that the efficiency of information collection is low and data copying is not beneficial to a large number of electrical devices.
In order to achieve the technical purpose, the technical scheme adopted by the application is as follows:
in a first aspect, an embodiment of the present application provides an information collection method, where the method includes:
acquiring a target image frame from a video stream shot by a camera, wherein the video stream is data obtained by shooting a display screen of target equipment by the camera;
converting character information in the target image frame into text information according to a preset character recognition algorithm;
extracting target data from the text information based on a preset extraction rule corresponding to the camera, wherein the target data comprises at least one of temperature data, humidity data and size data;
and recording the target data in a specified database.
With reference to the first aspect, in some optional embodiments, acquiring a target image frame from a video stream captured by a camera includes:
acquiring the target image frame from the video stream at a preset frequency;
or acquiring a plurality of continuous image frames from the video stream to serve as candidate image frames, and selecting image frames with different contents representing interested regions from the candidate image frames to serve as the target image frames.
With reference to the first aspect, in some optional implementations, the preset extraction rule includes a regular expression, and extracting target data from the text information based on the preset extraction rule corresponding to the camera includes:
and extracting data matched with the regular expression from the text information as the target data based on the regular expression corresponding to the camera.
With reference to the first aspect, in some optional embodiments, the listing the target data in a designated database includes:
and classifying and storing the target data in the specified database according to a preset classification strategy.
With reference to the first aspect, in some optional embodiments, the method further comprises:
and when the duration of the target data which is not in the corresponding preset numerical range exceeds the preset duration, sending an alarm prompt.
With reference to the first aspect, in some optional embodiments, the method further comprises:
when an operation instruction for data query is received from a management terminal, querying data corresponding to the operation instruction from the specified database;
and when the data corresponding to the operation instruction exists in the specified database, sending the inquired data to the management terminal.
In a second aspect, an embodiment of the present application further provides an information collecting apparatus, where the apparatus includes:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring a target image frame from a video stream obtained by shooting through a camera, and the video stream is data obtained by shooting a display screen of target equipment through the camera;
the conversion unit is used for converting the character information in the target image frame into text information according to a preset character recognition algorithm;
the extraction unit is used for extracting target data from the text information based on a preset extraction rule corresponding to the camera, wherein the target data comprises at least one of temperature data, humidity data and size data;
and the receiving and recording unit is used for receiving and recording the target data in a specified database.
In a third aspect, an embodiment of the present application further provides an electronic device, where the electronic device includes a processor and a memory that are coupled to each other, and a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device is caused to perform the method described above.
In a fourth aspect, an embodiment of the present application further provides an information collection system, where the information collection system includes a server, an image capturing apparatus, and the electronic apparatus, where the image capturing apparatus is configured to send a captured video stream to the electronic apparatus, the electronic apparatus is configured to send target data obtained from the video stream to the server, and the server performs classified storage on the target data.
In a fifth aspect, the present invention also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the above method.
The invention adopting the technical scheme has the advantages that:
according to the technical scheme, a target image frame is obtained from a video stream obtained by shooting a display screen of target equipment by a camera, and then character information in the target image frame is converted into text information; and extracting target data from the text information, wherein the target data comprises at least one of temperature data, humidity data and size data, and finally, collecting the target data in a specified database. So, need not operating personnel to the on-the-spot manual copying data of equipment, can shoot to the display screen of target device by the camera, then cooperate the algorithm to carry out the extraction of target data to the video that shoots and obtain, can realize the automatic collection of corresponding data on the target device to be favorable to promoting information collection's efficiency, and be favorable to carrying out the data copying to a large amount of electrical equipment, reduce the cost of labor.
Drawings
The present application can be further illustrated by the non-limiting examples given in the figures. It is appreciated that the following drawings depict only certain embodiments of the application and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 is a schematic view of communication connection of an information collection system according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of an information collection method according to an embodiment of the present disclosure.
Fig. 3 is a block diagram of an information collection device according to an embodiment of the present disclosure.
An icon: 10-an information collection system; 20-a server; 30-an electronic device; 40-an image pickup apparatus; 200-an information collecting device; 210-an obtaining unit; 220-a conversion unit; 230-an extraction unit; 240-listing unit.
Detailed Description
The present application will be described in detail with reference to the drawings and specific embodiments, wherein like reference numerals are used for similar or identical parts in the drawings or description, and implementations not shown or described in the drawings are known to those of ordinary skill in the art. In the description of the present application, the terms "first," "second," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, an information collection system 10 is provided according to an embodiment of the present application. The information collection system 10 may include a server 20, an electronic apparatus 30, and an imaging apparatus 40. The number of the image capturing apparatuses 40 may be one or more, and may be flexibly set according to actual situations.
In the present embodiment, the electronic apparatus 30 is communicatively connected to all the image capturing apparatuses 40, and in addition, the electronic apparatus 30 establishes a communication connection with the server 20 through a network. The network may be a wired network or a wireless network, and is not particularly limited herein.
The camera device 40 has an electronic camera for taking a picture of the display screen of the device to be monitored. The device to be monitored is the target device. Generally, the target device itself does not have an interface for the user to flexibly derive data required by the user. For example, in the tobacco processing/manufacturing industry, the target device may be, but is not limited to, a thickness gauge, a heat seal condition tester, and the like.
In a factory or a factory building, there are a plurality of target devices usually, and all target devices configure one camera device 40 in a one-to-one correspondence, so, can monitor the display screen of all target devices to corresponding data on the display screen of all target devices is automatically collected, thereby is favorable to carrying out the automatic copying of data to a large amount of electrical equipment, reduces the cost of labor.
In the present embodiment, each image pickup apparatus 40 may transmit a video stream obtained by shooting to the electronic apparatus 30, and the video stream is subjected to analysis processing by the electronic apparatus 30 by an information collection method described below to obtain target data. The electronic device 30 may store the target data locally or transmit the target data to the server 20 for storage.
Understandably, the server 20 may perform a large amount of data storage, which facilitates the user to query the server 20 for corresponding historical data.
The embodiment of the present application further provides an electronic device 30. The electronic device 30 may include a processing module and a memory module. The storage module stores therein a computer program which, when executed by the processing module, enables the electronic device 30 to perform the respective steps of the information collecting method described below.
The electronic device 30 may be, but is not limited to, a personal computer, a host device, and the like.
Referring to fig. 2, the present application further provides an information collecting method, which can be applied to the electronic device 30 or the information collecting system 10, and each step in the method can be executed or implemented by the electronic device 30. The information collection method may include the following steps:
step 110, acquiring a target image frame from a video stream obtained by shooting with a camera, wherein the video stream is data obtained by shooting a display screen of target equipment with the camera;
step 120, converting character information in the target image frame into text information according to a preset character recognition algorithm;
step 130, extracting target data from the text information based on a preset extraction rule corresponding to the camera, wherein the target data comprises at least one of temperature data, humidity data and size data;
step 140, the target data is recorded in a designated database.
The following will describe in detail the steps of the information collection method, as follows:
in step 110, since the electronic apparatus 30 establishes a communication connection with the corresponding image capturing apparatus 40, the electronic apparatus 30 can receive a video stream transmitted by part or all of the image capturing apparatuses 40 that are in communication connection with the electronic apparatus 30 itself. And each camera shoots the display screen of the corresponding target equipment. For example, the camera a photographs the display screen of the thickness gauge, and the camera B photographs the display screen of the heat-seal condition tester.
It should be noted that the monitoring picture taken by a single camera usually includes the display picture of the entire display screen of the target device. In addition, in order to reduce irrelevant data in the monitoring picture of the camera, the installation position of the camera can be adjusted, so that the picture of the display screen of the target equipment can be displayed completely in the monitoring picture. The installation of the camera and the adjustment of the installation position are in a conventional manner, and are not described herein again.
The electronic device 30 may acquire a target image frame from each video stream captured by the camera of each imaging device 40. The mode of acquiring the target image frame can be flexibly set according to the actual situation. For example, step 110 may include:
and acquiring the target image frame from the video stream at a preset frequency.
Understandably, for the video stream transmitted by each camera, the electronic device 30 may obtain the target image frame from the video stream at the preset frequency corresponding to the camera. Wherein, the corresponding frequency of predetermineeing of different cameras can be the same or different, and in addition, predetermine the frequency and can set up according to actual conditions is nimble, for example, predetermine the frequency and can be for every second 1, every second 10, perhaps predetermine the frequency and the video frame rate that the camera was shot the same. To reduce the data processing amount, the preset frequency is usually smaller than the frame rate of the video shot by the camera.
For another example, step 110 may include:
acquiring a plurality of continuous image frames from the video stream to serve as candidate image frames, and selecting image frames with different contents representing interested regions from the candidate image frames to serve as the target image frames.
The plurality of consecutive image frames may be image frames extracted from the video stream at a preset frequency. In addition, in a monitoring picture of a video stream shot by a camera, an interesting region refers to a region corresponding to data which needs to be collected by a user, and can be flexibly set according to requirements.
The data displayed on the display screen of the target device to be collected by the user may be a stable value or may change over time. If the data in the region of interest has a change, it indicates that the electronic device 30 needs to perform image-text conversion on the current image frame, that is, the image frame corresponding to the different content of the region of interest is the target image frame.
If the data in the region of interest has not changed, it indicates that the electronic device 30 does not need to convert the text information of the image frame, so as to reduce the processing amount of the electronic device 30 on the image frame.
In the consecutive candidate image frames, the manner of detecting whether the content of the region of interest is the same may be:
in a plurality of candidate image frames which are continuously arranged according to the time sequence, taking each two adjacent candidate image frames as a group, if the interested region on a single image frame is only one, in the two candidate image frames of each group, performing similarity identification on the interested regions in the two candidate image frames, and if the similarity of the two interested regions exceeds a set value (the set value can be flexibly set according to the actual situation, such as 99%), confirming that the contents of the interested regions in the group are the same; if the similarity does not exceed the set value, the content of the interested region in the group is determined to be different, and the image frame at the later time sequence in the group is determined to be the target image frame. Then, similarity detection is continuously performed on the interest regions of the two image frames in the next group until detection of all groups is completed. Wherein, the similarity detection of the two interested regions is a conventional manner, and is not described herein again.
If a plurality of interesting regions are arranged on a single image frame, similarity identification is carried out on the interesting regions at the same positions in the two candidate image frames in each group, and if the similarity of the interesting regions at the same positions exceeds a set value (the set value can be flexibly set according to actual conditions, such as 99%), namely the similarity of all the interesting regions exceeds the set value, the content of the interesting regions in the group is confirmed to be the same; if the similarity of any interested region does not exceed the set value, the content of the interested regions in the group is confirmed to be different.
In the above embodiment, the image frames with different contents of the regions of interest are used as the target image frames, and the image frames with the same regions of interest do not need to be detected subsequently, which is beneficial to further reducing the data processing pressure of the electronic device 30.
In step 120, the preset character recognition algorithm can be flexibly determined according to actual conditions. For example, the preset Character Recognition algorithm may be an OCR (Optical Character Recognition) algorithm, or a conventional algorithm for Character Recognition based on deep learning.
In this embodiment, after the electronic device 30 extracts the target image frame from the video stream, it may perform character recognition on the target image frame by using an OCR algorithm, and perform character extraction on character information in the image to obtain text information. In this way, character information in a picture format can be converted into data in a text format that is easily recognized and processed by a machine. Wherein the text information may be recorded by a file of a specified format. The file with the specified format can be flexibly set according to actual conditions, for example, the text information can be recorded in a TXT format or an excel table mode.
In step 130, the target data may include, but is not limited to, temperature data, humidity data, dimensional data, and the like. The preset extraction rules can be flexibly set according to actual conditions and are used for extracting data which need to be concerned by a user. For example, the preset extraction rule may include a regular expression, and step 130 may include:
and extracting data matched with the regular expression from the text information as the target data based on the regular expression corresponding to the camera.
Understandably, in all text information extracted by the electronic device 30 for one target image frame, there is typically data that is useless or irrelevant to the requirements. In this embodiment, the electronic device 30 may extract data that needs to be focused by the user by using the regular expression, so as to filter out useless data and save a storage space.
In addition, the types of data displayed on the display screens of different target devices usually differ, and therefore, regular expressions corresponding to different cameras may differ. For different cameras/target devices, engineers can construct regular expressions matched with requirements according to actual requirements of users. For example, if data that the user needs to extract in the video stream of the camera a is temperature data, in the regular expression of the camera a, characters such as "temperature", "deg.c", etc. may be used as key characters for extracting the temperature data. If the data that the user needs to extract in the video stream of the camera B is size data, in the regular expression of the camera B, characters such as "size", "thickness", "height", "length", "width", etc. may be used as key characters for extracting the size data, or unit symbols such as "mm", "cm", "dm", "m", etc. in units of size may be used as key characters for extracting the size data.
When data extraction is performed by using the regular expression, the electronic device 30 may extract data matched with the key characters from the text information based on the key characters in the regular expression, so as to obtain target data.
It should be noted that, after the information collection system 10 is put into operation, the engineer may modify or update the regular expression on the electronic device 30 as required, so as to flexibly adjust the extracted data.
In step 140, the designated database may be a database local to the electronic device 30 or a database in the server 20. That is, the electronic device 30 may store the target data locally or transmit the target data to the server 20 to store the target data in the server 20.
In addition, the type of the designated database can be flexibly set according to actual conditions. For example, the specified database may be, but is not limited to, a MySQL database, a MongoDB database, a Key-value database, and the like.
In this embodiment, step 140 may include: and classifying and storing the target data in the specified database according to a preset classification strategy.
The preset classification strategy can be flexibly set according to the actual situation. For example, the target device itself has a unique identifier, and the electronic device 30 stores the unique identifier of each target device in advance and is bound to a camera for shooting the target device. In this way, the electronic device 30 can classify all data extracted from the same target device into a large class, and can distinguish the large classes by using the unique identifier of the target device, that is, classify data extracted from different target devices into different large classes.
In addition, the electronic device 30 may further subdivide the data in the same broad class, for example, the data in the same broad class may be further categorized according to multiple dimensions, such as a data category attribute (for example, a category attribute such as temperature data and size data) and a date (for example, a date, a week, a month, and the like) of data extraction, so that a data category with a finer granularity may be obtained. The electronic device 30 may store the extracted target data in a specified database by classification based on various kinds of attributes of the data. Understandably, the data category with finer granularity is beneficial for a user to find needed data in a specified database more quickly.
As an optional implementation, the method may further include:
and when the duration of the target data which is not in the corresponding preset numerical range exceeds the preset duration, sending an alarm prompt.
In this embodiment, the preset value range indicates a range in which the target data is in a normal value, and can be flexibly set according to actual conditions. In addition, the preset value ranges and the preset durations of different target devices and different types of target data can be flexibly set according to actual conditions. For example, the preset values of the temperature data extracted from different target device display screens may be different.
When the target data is not in the corresponding preset value range, the target data is possibly abnormal or misdetected. If the duration of the target data, which is not within the preset value range, exceeds the preset duration, it indicates that the target data is abnormal, at this time, the operation of the target device or the processing of the product (or the semi-finished product, or the raw material) is abnormal, and meanwhile, the electronic device 30 may send an alarm prompt, or the electronic device 30 sends the alarm prompt to the management terminal, so that the manager can know the abnormal condition in time through the management terminal. In the alarm prompt, the unique identifier and the position information of the target equipment with abnormal operation can be carried, so that an administrator can timely arrive at the position of the abnormal target equipment for maintenance according to the alarm prompt.
In this embodiment, when the duration of the target data not within the preset value range exceeds the preset duration, the alarm prompt is issued, so as to avoid that the target data is not within the preset value range for a short time due to fluctuation of unexpected factors, but the target data is recovered to be normal quickly, and an error alarm is issued, thereby being beneficial to improving the reliability of the alarm prompt.
As an optional implementation, the method may further include:
when an operation instruction for data query is received from a management terminal, querying data corresponding to the operation instruction from the specified database;
and when the data corresponding to the operation instruction exists in the specified database, sending the inquired data to the management terminal.
In this embodiment, the management terminal may establish a communication connection with the electronic device 30, so that an operator may remotely use the management terminal to view corresponding data in the designated database. In addition, the operator can directly use the electronic device 30 to perform corresponding data query.
For example, when an operator needs to check target data of a target device in a specified time period, the operator may directly use the operation interface of the management terminal to input a condition for querying data, and then the management terminal generates an operation instruction and transmits the operation instruction to the electronic device 30. After receiving the operation instruction, the electronic device 30 may analyze the ID, the specified time period, the data type, and the like of the target device expected to be queried based on the condition for querying data carried in the operation instruction, and then perform a search in a specified database based on the condition obtained by the analysis. If there is data matching the analyzed condition in the designated database, the matched data is returned to the management terminal. If the data matched with the analyzed conditions does not exist in the designated database, a prompt indicating that the query fails or indicating that the data which is required to be found by the user does not exist in the designated database is returned to the management terminal. The management terminal may be, but is not limited to, a personal computer, a smart phone, and the like.
Referring to fig. 3, the present application further provides an information collecting apparatus 200, which can be applied to the electronic device 30. The information collection apparatus 200 includes at least one software functional module which can be stored in a memory module in the form of software or Firmware (Firmware) or solidified in an Operating System (OS) of the electronic device 30. The processing module is used for executing executable modules stored in the storage module, such as software functional modules and computer programs included in the information collection device 200.
The information collection device 200 includes an acquisition unit 210, a conversion unit 220, an extraction unit 230, and a recording unit 240, and functions of each unit may be as follows:
an obtaining unit 210, configured to obtain a target image frame from a video stream obtained by shooting with a camera, where the video stream is data obtained by shooting with the camera a display screen of a target device;
a converting unit 220, configured to convert character information in the target image frame into text information according to a preset character recognition algorithm;
an extracting unit 230, configured to extract target data from the text information based on a preset extraction rule corresponding to the camera, where the target data includes at least one of temperature data, humidity data, and size data;
a listing unit 240 for listing the target data in a specified database.
Optionally, the obtaining unit 210 may be configured to obtain the target image frame from the video stream at a preset frequency; or acquiring a plurality of continuous image frames from the video stream to serve as candidate image frames, and selecting image frames with different contents representing interested regions from the candidate image frames to serve as the target image frames.
Optionally, the preset extraction rule includes a regular expression, and the extraction unit 230 may be configured to: and extracting data matched with the regular expression from the text information as the target data based on the regular expression corresponding to the camera.
Optionally, listing unit 240 may be used to: and classifying and storing the target data in the specified database according to a preset classification strategy.
Optionally, the information collecting apparatus 200 may further include an alert prompt unit for: and when the duration of the target data which is not in the corresponding preset numerical range exceeds the preset duration, sending an alarm prompt.
Optionally, the information collection device 200 may further include a response unit. The response unit is used for: when an operation instruction for data query is received from a management terminal, querying data corresponding to the operation instruction from the specified database;
and when the data corresponding to the operation instruction exists in the specified database, sending the inquired data to the management terminal.
In this embodiment, the processing module may be an integrated circuit chip having signal processing capability. The processing module may be a general purpose processor. For example, the processor may be a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, and may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present Application.
The memory module may be, but is not limited to, a random access memory, a read only memory, a programmable read only memory, an erasable programmable read only memory, an electrically erasable programmable read only memory, and the like. In this embodiment, the storage module may be configured to store a preset character recognition algorithm, a preset extraction rule, target data, and the like. Of course, the storage module may also be used to store a program, and the processing module executes the program after receiving the execution instruction.
It is understood that the communication topology of the information collection system 10 shown in FIG. 1 is merely a structural schematic, and that the information collection system 10 may also include many more devices than those shown in FIG. 1.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working process of the electronic device 30 described above may refer to the corresponding process of each step in the foregoing method, and will not be described in detail herein.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium has stored therein a computer program that, when run on a computer, causes the computer to execute the information collection method as described in the above embodiments.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by hardware, or by software plus a necessary general hardware platform, and based on such understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions to enable a computer device (which can be a personal computer, an electronic device, or a network device, etc.) to execute the method described in the embodiments of the present application.
In summary, the embodiments of the present application provide an information collection method, an information collection device, an electronic device, and an information collection system. In the scheme, a target image frame is obtained from a video stream obtained by shooting a display screen of target equipment by a camera, and then character information in the target image frame is converted into text information; and extracting target data from the text information, wherein the target data comprises at least one of temperature data, humidity data and size data, and finally, collecting the target data in a specified database. So, need not operating personnel and go to the on-the-spot manual copying data of equipment, can shoot by the display screen of camera to target equipment, then cooperate the algorithm to carry out the extraction of target data to the video that obtains of shooing, can realize the automatic collection of corresponding data on the target equipment to be favorable to promoting information collection's efficiency, and be favorable to carrying out the data copying to a large amount of electrical equipment, reduce the cost of labor.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, system, and method may be implemented in other ways. The apparatus, system, and method embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. An information collection method, the method comprising:
acquiring a target image frame from a video stream obtained by shooting through a camera, wherein the video stream is data obtained by shooting through the camera a display screen of target equipment;
converting character information in the target image frame into text information according to a preset character recognition algorithm;
extracting target data from the text information based on a preset extraction rule corresponding to the camera, wherein the target data comprises at least one of temperature data, humidity data and size data;
and recording the target data in a specified database.
2. The method of claim 1, wherein obtaining the target image frame from a video stream captured by a camera comprises:
acquiring the target image frame from the video stream at a preset frequency;
or, a plurality of continuous image frames are obtained from the video stream to serve as candidate image frames, and image frames with different contents for representing interested regions are selected from the candidate image frames to serve as the target image frame.
3. The method according to claim 1, wherein the preset extraction rule comprises a regular expression, and extracting target data from the text information based on the preset extraction rule corresponding to the camera comprises:
and extracting data matched with the regular expression from the text information as the target data based on the regular expression corresponding to the camera.
4. The method of claim 1, wherein the including the target data in a specified database comprises:
and classifying and storing the target data in the specified database according to a preset classification strategy.
5. The method of claim 1, further comprising:
and when the duration of the target data which is not in the corresponding preset numerical range exceeds the preset duration, sending an alarm prompt.
6. The method of claim 1, further comprising:
when an operation instruction for data query is received from a management terminal, querying data corresponding to the operation instruction from the specified database;
and when the data corresponding to the operation instruction exists in the specified database, sending the inquired data to the management terminal.
7. An information collection apparatus, characterized in that the apparatus comprises:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring a target image frame from a video stream obtained by shooting through a camera, and the video stream is data obtained by shooting through the camera a display screen of target equipment;
the conversion unit is used for converting the character information in the target image frame into text information according to a preset character recognition algorithm;
the extraction unit is used for extracting target data from the text information based on a preset extraction rule corresponding to the camera, wherein the target data comprises at least one of temperature data, humidity data and size data;
and the receiving and recording unit is used for receiving and recording the target data in a specified database.
8. An electronic device, characterized in that the electronic device comprises a processor and a memory coupled to each other, the memory storing a computer program which, when executed by the processor, causes the electronic device to perform the method according to any of claims 1-6.
9. An information collection system, comprising a server, an image pickup apparatus, and the electronic apparatus according to claim 8, wherein the image pickup apparatus is configured to transmit a captured video stream to the electronic apparatus, the electronic apparatus is configured to transmit target data obtained from the video stream to the server, and the target data is classified and stored by the server.
10. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 1-6.
CN202211524325.0A 2022-11-30 2022-11-30 Information collection method and device, electronic equipment and information collection system Pending CN115937877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211524325.0A CN115937877A (en) 2022-11-30 2022-11-30 Information collection method and device, electronic equipment and information collection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211524325.0A CN115937877A (en) 2022-11-30 2022-11-30 Information collection method and device, electronic equipment and information collection system

Publications (1)

Publication Number Publication Date
CN115937877A true CN115937877A (en) 2023-04-07

Family

ID=86650085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211524325.0A Pending CN115937877A (en) 2022-11-30 2022-11-30 Information collection method and device, electronic equipment and information collection system

Country Status (1)

Country Link
CN (1) CN115937877A (en)

Similar Documents

Publication Publication Date Title
CN109299703B (en) Method and device for carrying out statistics on mouse conditions and image acquisition equipment
CN116209963A (en) Fault diagnosis and solution recommendation method, device, system and storage medium
CN113419298B (en) Multi-parameter hydrological meteorological data acquisition device
CN113934720A (en) Data cleaning method and equipment and computer storage medium
CN110471945B (en) Active data processing method, system, computer equipment and storage medium
CN110769175B (en) Intelligent analysis system, method and device
CN112446395A (en) Network camera, video monitoring system and method
US20160239769A1 (en) Methods for determining manufacturing waste to optimize productivity and devices thereof
CN115103157A (en) Video analysis method and device based on edge cloud cooperation, electronic equipment and medium
CN114707363B (en) Problem data processing method and system for distribution network engineering management
CN111045889A (en) Closed network equipment state monitoring system, method and device and readable storage medium
CN113347502A (en) Video review method, video review device, electronic equipment and medium
CN110505438B (en) Queuing data acquisition method and camera
Bhargava et al. A study on potential of big visual data analytics in construction Arena
CN112364918B (en) Abnormality recognition method, terminal, and computer-readable storage medium
CN111966339B (en) Buried point parameter input method and device, computer equipment and storage medium
CN111368128B (en) Target picture identification method, device and computer readable storage medium
CN115937877A (en) Information collection method and device, electronic equipment and information collection system
CN116580362A (en) Transmission operation cross-system fusion data acquisition method and digital asset processing system
CN115426363B (en) Data acquisition method and terminal of intelligent plate processing factory
CN115269438A (en) Automatic testing method and device for image processing algorithm
CN114996080A (en) Data processing method, device, equipment and storage medium
CN112883213B (en) Picture archiving method and device and electronic equipment
CN114863364A (en) Security detection method and system based on intelligent video monitoring
CN116880365B (en) Method, system and readable storage medium for monitoring equipment production process

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication