CN113986823A - Picture archiving method, device, medium and equipment for communication machine room - Google Patents

Picture archiving method, device, medium and equipment for communication machine room Download PDF

Info

Publication number
CN113986823A
CN113986823A CN202111255995.2A CN202111255995A CN113986823A CN 113986823 A CN113986823 A CN 113986823A CN 202111255995 A CN202111255995 A CN 202111255995A CN 113986823 A CN113986823 A CN 113986823A
Authority
CN
China
Prior art keywords
picture
filed
character recognition
filing
recognition result
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
CN202111255995.2A
Other languages
Chinese (zh)
Inventor
周延熙
江志东
周详
黄楷
郑力奇
汤博
许恺
郑晓俊
黄斌
张伟亮
洪子宁
马宇
黄丹宇
许锡永
肖静薇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Shantou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Shantou Power Supply Bureau of Guangdong Power Grid 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 Guangdong Power Grid Co Ltd, Shantou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202111255995.2A priority Critical patent/CN113986823A/en
Publication of CN113986823A publication Critical patent/CN113986823A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • 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)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the application discloses a picture filing method, a picture filing device, a picture filing medium and picture filing equipment of a communication machine room. Wherein, the method comprises the following steps: acquiring pictures to be archived, which are arranged according to shooting time; carrying out character recognition on the pictures to be filed according to the arrangement sequence to obtain a character recognition result of each picture to be filed; if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory by the character recognition result to obtain a filing directory; storing the current picture to be archived in an archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed. According to the technical scheme, the automatic picture filing of the communication machine room can be realized, and the filing efficiency and accuracy of the picture to be filed are improved.

Description

Picture archiving method, device, medium and equipment for communication machine room
Technical Field
The embodiment of the application relates to the technical field of archive management, in particular to a picture archiving method, device, medium and equipment for a communication machine room.
Background
With the increase of the number of the communication machine rooms and the equipment scale, the workload of the electric power communication operation and maintenance personnel is increased. In the process of regularly patrolling communication machine room equipment, power communication operation and maintenance personnel need to shoot equipment in each cabinet at multiple angles, and the pictures of the shot machine room equipment are filed and updated after the patrol is finished, so that the situation of field equipment can be conveniently inquired through the pictures in daily work.
The current communication machine room picture filing adopts a manual mode, the picture content is checked manually, a folder corresponding to the name of the cabinet is established, and then the picture is put in the corresponding folder according to the cabinet.
In fact, the number of the device pictures of each communication room can reach hundreds, and a lot of time is needed for processing the pictures of one communication room, so that not only is the time cost consumed, but also the filing is often wrong.
Disclosure of Invention
The embodiment of the application provides a picture filing method, a device, a medium and equipment for a communication machine room, which can realize automatic picture filing of the communication machine room by matching a character recognition result of a current picture to be filed with a preset cabinet screen position keyword, and improve the filing efficiency and accuracy of the picture to be filed.
In a first aspect, an embodiment of the present application provides a method for archiving pictures in a communication room, where the method includes:
acquiring pictures to be archived, which are arranged according to shooting time; the picture to be filed is shot for at least one cabinet of the communication machine room, and the shooting sequence of the picture to be filed for each cabinet is that a screen position signboard of the cabinet is shot firstly, and then equipment pictures in the cabinet are shot;
carrying out character recognition on the pictures to be filed according to the arrangement sequence to obtain a character recognition result of each picture to be filed;
if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory according to the character recognition result to obtain a filing directory; storing the current picture to be archived in the archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed.
In a second aspect, an embodiment of the present application provides a picture filing device for a communication room, where the device includes:
the to-be-archived picture acquisition module is used for acquiring to-be-archived pictures which are arranged according to shooting time; the picture to be filed is shot for at least one cabinet of the communication machine room, and the shooting sequence of the picture to be filed for each cabinet is that a screen position signboard of the cabinet is shot firstly, and then equipment pictures in the cabinet are shot;
the character recognition result acquisition module is used for carrying out character recognition on the pictures to be filed according to the arrangement sequence and acquiring the character recognition result of each picture to be filed;
the filing directory determining module is used for naming a storage directory according to the character recognition result to obtain a filing directory if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word; storing the current picture to be archived in the archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a picture archiving method for a communication room according to the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method for archiving pictures in a communication room according to the embodiment of the present application.
According to the technical scheme provided by the embodiment of the application, the pictures to be archived, which are arranged according to the shooting time, are obtained; carrying out character recognition on the pictures to be filed according to the arrangement sequence to obtain a character recognition result of each picture to be filed; if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory according to the character recognition result to obtain a filing directory; storing the current picture to be archived in the archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed. According to the scheme, the pictures of the communication machine room can be automatically filed by matching the character recognition result of the current picture to be filed with the preset cabinet screen position keywords, and the filing efficiency and accuracy of the picture to be filed are improved.
Drawings
Fig. 1 is a flowchart of a picture archiving method for a communication room according to an embodiment of the present application;
fig. 2 is a flowchart of a picture archiving method for a communication room in the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a picture archiving device of a communication room according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a picture archiving method for a communication room according to an embodiment of the present application, where the present embodiment is applicable to any picture archiving scenario of the communication room, and the method may be executed by a picture archiving device for a communication room according to an embodiment of the present application, where the device may be implemented by software and/or hardware, and may be integrated in an electronic device.
As shown in fig. 1, the picture archiving method of the communication room includes:
s110, acquiring pictures to be archived, which are arranged according to shooting time; the picture to be filed is shot for at least one cabinet of the communication machine room, and the shooting sequence of the picture to be filed for each cabinet is to shoot a screen position signboard of the cabinet firstly and then shoot a device picture in the cabinet.
In the power system, a communication machine room needs power communication operation and maintenance personnel to regularly patrol and take pictures of equipment in the communication machine room so as to be filed and inquired. The power communication operation and maintenance personnel can select the shooting ranges of all the devices according to the patrol task, and can also shoot all the devices in the communication machine room. According to the equipment arrangement condition in the communication machine room, the electric power communication operation and maintenance personnel can shoot according to a certain sequence. For example, the power communication operation and maintenance personnel may take a screen signboard of the cabinet first and then take a picture of the equipment in the cabinet, so as to identify all the equipment in the cabinet.
The screen position signboard can be used for marking display information of information such as the position or the function of a cabinet in a communication machine room through characters. For example, "1P integrated wiring closet", "5P integrated data network equipment closet", and "7P dispatch data network equipment closet" are shown.
The electric power communication operation and maintenance personnel can store the collected picture to be filed in a special hard disk and can also store the picture in the photographing equipment all the time. The picture filing device of the communication machine room can read the pictures to be filed which are arranged according to the shooting time according to the storage mode of the pictures to be filed. The picture to be filed is obtained by shooting at least one cabinet of the communication machine room, and the shooting sequence of the picture to be filed for each cabinet is to shoot a screen position signboard of the cabinet firstly and then shoot a device picture in the cabinet. The pictures to be archived can be named automatically according to the shooting time, and the pictures to be archived can also have time marks.
And S120, performing character recognition on the pictures to be filed according to the arrangement sequence to obtain character recognition results of the pictures to be filed.
The picture filing device of the communication machine room can sequentially perform character recognition on the contents in the pictures to be filed according to the shooting time, and obtain character recognition results of the pictures to be filed. The character recognition can be character information on a screen position signboard of the cabinet in the picture, and also can be character information such as a handle of the cabinet, a cabinet body number and the like. The character recognition may be to perform character detection and positioning on the picture to be archived, and then to recognize the picture part with the characters. The character recognition result can be non-character information, can also be a cabinet number, and can also be information such as a cabinet model, a position, a number of a machine room where the machine room is located, a cabinet operation state, a coverage communication range and the like.
S130, if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen key word, naming the storage directory according to the character recognition result to obtain a filing directory; storing the current picture to be archived in the archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed.
The picture filing device of the communication machine room can automatically match the character recognition result of the current picture to be filed with the preset cabinet screen position keywords. The preset cabinet screen position keywords can include a cabinet number, a machine room number where the cabinet is located, a cabinet model, a cabinet operation condition, a coverage communication range and the like. The preset cabinet screen position keywords can be in one-to-one correspondence with the character recognition results, and the preset cabinet screen position keywords can also be contained in the character recognition results. The matching mode can be that whether the preset cabinet screen position keywords correspond to the character recognition results one by one, and if the contents correspond one by one, the matching is considered to be successful. The matching mode can also be that the character recognition result contains the number of the preset cabinet screen position keywords, and the matching is considered to be successful when the number is higher than the preset evaluation number.
And if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory according to the character recognition result to obtain the filing directory. The storage directory may include folders and/or subfolders to be archived for pictures to be archived. The naming of the storage directory by the character recognition result can be that the character recognition result is subjected to hierarchical sequencing, then the storage directory is established according to the hierarchical sequencing, and the folder and/or the subfolder in the storage directory are/is named. For example, the storage directory may include folders and subfolders, and the picture filing apparatus of the communication room may sort the room number and the cabinet number in the text recognition result according to a hierarchy, name the folder with the room number, and name the subfolders under the folder with the cabinet number. It should be noted that, in the present application, there is no limitation on the nesting depth of the folders in the storage directory, for example, the location number folder may be included in addition to the file named by the number of the located machine room. After the filing directory of the current picture to be filed is established, the picture filing means of the communication room may store the current picture to be filed in the filing directory.
And if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen key word fails, for example, the character recognition result of the current picture to be filed is no character information, filing the filing catalog of the picture to be filed. When the current picture to be filed does not contain the character recognition result, the current picture to be filed is the picture in the cabinet, and the current picture to be filed belongs to the filing directory of the previous picture to be filed according to the time sequence, so that the picture filing device of the communication machine room can file the filing directory of the previous picture to be filed.
In this scheme, optionally, before obtaining the pictures to be archived that are arranged according to the shooting time, the method further includes:
all pictures to be archived in the same machine room are collected into the same storage directory;
extracting picture information of all pictures to be filed to obtain a picture information list; the picture information comprises picture file name information and picture shooting event information.
For convenience of filing, before the pictures to be filed are obtained, the picture filing device of the communication machine room can preliminarily classify the pictures to be filed, that is, all the pictures to be filed in the same machine room are collected into the same storage directory. For example, all pictures to be archived in the same machine room may be saved in one folder. Subsequently, the picture filing device of the communication machine room can extract information and picture information of all pictures to be filed to obtain a picture information list. The picture information may include picture file name information and picture taking event information. The picture taking event information may include a picture taking time, a number of a person taking the picture, a description of a scene of the picture, and the like. The picture information may further include picture storage information, which may include picture storage size, pixels, resolution, depth, and the like. The picture information list may be a list of mapping relationships between the picture information of all pictures to be archived.
According to the scheme, before the picture to be archived is obtained, the picture to be archived is simply classified and information is extracted, and a picture information list is established. The scheme can facilitate the power communication operation and maintenance personnel to inquire about the picture to be filed, more importantly, the picture filing device in the communication machine room can utilize the picture information list, and the picture information to be filed can be acquired more quickly, so that high-efficiency filing is realized.
On the basis of the above embodiment, optionally, the picture information includes picture marking information;
after obtaining the character recognition result of each picture to be filed, the method further comprises the following steps:
and writing the character recognition result into the picture mark information.
On the basis of the above scheme, the picture information may further include picture marking information, and the picture marking information may be used to mark picture content information, for example, the text recognition result may be written into the picture marking information. The picture marking information can comprise picture shooting contents, a cabinet number, a machine room number where the picture marking information is located and the like.
According to the scheme, the picture marking information is added on the basis of the scheme, and brief recording can be carried out on the picture description information. The picture filing device of the communication machine room can record picture information in multiple dimensions through one-time picture identification, so that repeated picture identification is avoided, and efficient information acquisition is realized.
In a possible embodiment, optionally, the recognition algorithm for performing character recognition on the picture to be archived is an algorithm based on a paddlepaddleframe.
The PaddlePaddle framework is an industrial grade deep learning platform which is complete in function and open in source and is based on deep learning technology research and service application. The PaddlePaddle framework integrates a deep learning core training and reasoning framework, a basic model library, an end-to-end development suite and rich tool components, supports declarative and imperative programming, and has development flexibility and high performance.
The recognition algorithm developed based on the PaddlePaddle framework can be used for recognizing characters of large-scale pictures to be filed, and accuracy and efficiency of character recognition are improved.
According to the technical scheme provided by the embodiment of the application, the pictures to be archived, which are arranged according to the shooting time, are obtained; carrying out character recognition on the pictures to be filed according to the arrangement sequence to obtain a character recognition result of each picture to be filed; if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory according to the character recognition result to obtain a filing directory; storing the current picture to be archived in the archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed. According to the scheme, the pictures of the communication machine room can be automatically filed by matching the character recognition result of the current picture to be filed with the preset cabinet screen position keywords, and the filing efficiency and accuracy of the picture to be filed are improved.
Example two
Fig. 2 is a flowchart of a picture archiving method for a communication room according to a second embodiment of the present invention, which is optimized based on the above-described embodiment.
As shown in fig. 2, the method of this embodiment specifically includes the following steps:
and S210, collecting all the pictures to be archived in the same machine room into the same storage directory.
S220, extracting picture information of all pictures to be archived to obtain a picture information list; the picture information comprises picture file name information and picture shooting event information.
S230, acquiring pictures to be archived which are arranged according to shooting time; the picture to be filed is shot for at least one cabinet of the communication machine room, and the shooting sequence of the picture to be filed for each cabinet is to shoot a screen position signboard of the cabinet firstly and then shoot a device picture in the cabinet.
S240, performing character recognition on the pictures to be filed according to the arrangement sequence, and acquiring character recognition results of the pictures to be filed.
And S250, matching the character recognition results in the picture marking information with preset cabinet screen keywords one by one.
It can be understood that the image marking information may have one or more character recognition results, and the image filing device of the communication machine room may match the character recognition results in the image marking information with preset cabinet screen keywords one by one. On the premise that the character recognition effect is obvious, when a plurality of character recognition results are completely matched with the preset cabinet screen keywords, the picture filing device of the communication machine room can consider that the matching is successful. If the number of the character recognition results is larger, the picture filing device of the communication machine room can also preset a matching evaluation standard, and when the matching number of the plurality of character recognition results and the preset cabinet screen position keywords is higher than the preset matching evaluation standard, the matching is considered to be successful.
In the scheme, the character recognition results in the picture marking information are matched with the preset cabinet screen keywords one by one, so that the matching reliability can be ensured.
S260, if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen key word, naming the storage directory according to the character recognition result to obtain a filing directory; and storing the current picture to be archived in the archiving directory. And if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, or if the character recognition result of the current picture to be filed is no character, filing the filing catalog of the picture to be filed.
And if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, the picture filing device of the communication machine room names the storage directory according to the character recognition result to obtain the filing directory. Meanwhile, the picture filing device of the communication machine room can also store the current picture to be filed in the filing directory.
If the matching of the character recognition result of the current picture to be filed and the preset cabinet screen key word fails, or the character recognition result of the current picture to be filed is no character, the situation shows that the preset cabinet screen key word does not appear in the current picture to be filed, and further shows that the current picture to be filed belongs to the filing catalog of the last filed picture, so that the filing catalog of the picture to be filed is filed.
In a specific example, the steps of the picture archiving algorithm of the communication room developed by the paddlepaddleframe are as follows:
placing all pictures to be filed shot by the same machine room in the same folder;
step two, establishing a dictionary data structure for each picture to be filed, (wherein the dictionary is a data structure type and is used for storing data with a mapping relation, each key value pair of the dictionary is divided by a colon, and commas are used between each key value pair for dividing.) for storing the information of the picture to be filed, and all the pictures to be filed are stored in a list pic _ list;
pic _ list [ n ] { 'name': pn.jpg ', ' time ': getExif (filename), 'tag': 'tag mark' }
Wherein n represents the number of the picture to be filed (from 0), the key name stores the file name of the picture to be filed, the key time stores the shooting time of the picture to be filed, and the key tag stores the character recognition result of the picture to be filed;
step three, sequentially identifying all pictures to be filed by using a text identification algorithm, identifying texts in the pictures to be filed containing the screen position signboard of the cabinet, and extracting effective text contents;
and step four, matching and comparing the character recognition result of the picture to be filed and the preset cabinet screen position keywords. And if the matching is successful, storing the matching result in a tag value of the dictionary structure of the picture to be filed. If the picture to be filed does not contain the screen position signboard of the cabinet, the tag value of the picture to be filed is updated to be 'no identification screen position';
step five, creating a folder with the screen position signboard of the cabinet as the name according to all tag values;
step six, ordering the pictures to be archived according to the shooting time of the pictures to be archived, and ordering the pictures to be archived in the list pic _ list according to the shooting time;
and step seven, sequentially reading the information of each picture to be archived in the list pic _ list according to the sorting result of the step six. Moving the picture to be archived to a folder with the same name as the tag value, and if the tag value of the picture to be archived is 'no identification screen bit', moving the picture to be archived to the same folder in which the last picture to be archived is archived;
and step eight, moving all the pictures to be filed to corresponding folders according to the shooting time sequence and the corresponding tag values, and finishing filing the pictures to be filed.
According to the technical scheme provided by the embodiment of the application, all pictures to be archived in the same machine room are collected into the same storage directory; extracting picture information of all pictures to be filed to obtain a picture information list; acquiring pictures to be archived, which are arranged according to shooting time; carrying out character recognition on the pictures to be filed according to the arrangement sequence to obtain a character recognition result of each picture to be filed; matching the character recognition results in the picture marking information with preset cabinet screen keywords one by one; if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory according to the character recognition result to obtain a filing directory; and storing the current picture to be archived in the archiving directory. And if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, or if the character recognition result of the current picture to be filed is no character, filing the filing catalog of the picture to be filed. According to the scheme, the pictures of the communication machine room can be automatically filed by matching the character recognition results of the current pictures to be filed one by one with the preset cabinet screen position keywords, and the filing efficiency and accuracy of the pictures to be filed are improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a picture archiving device of a communication room according to a third embodiment of the present invention, where the device is capable of executing a picture archiving method of a communication room according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 3, the apparatus may include:
a to-be-archived picture acquiring module 310, configured to acquire to-be-archived pictures arranged according to shooting time; the picture to be filed is shot for at least one cabinet of the communication machine room, and the shooting sequence of the picture to be filed for each cabinet is that a screen position signboard of the cabinet is shot firstly, and then equipment pictures in the cabinet are shot;
the character recognition result obtaining module 320 is configured to perform character recognition on the pictures to be archived according to the arrangement order, and obtain a character recognition result of each picture to be archived;
the filing directory determining module 330 is configured to name the storage directory according to the character recognition result to obtain a filing directory if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen key word; storing the current picture to be archived in the archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed.
In this embodiment, optionally, the apparatus further includes:
the computer room picture income module is used for bringing all pictures to be filed in the same computer room into the same storage directory;
the picture information list determining module is used for extracting picture information of all pictures to be filed to obtain a picture information list; the picture information comprises picture file name information and picture shooting event information.
In this embodiment, optionally, the picture information includes picture marking information;
the device further comprises:
and the picture mark information writing module is used for writing the character recognition result into the picture mark information.
In a possible embodiment, the archive directory determination module 330 is specifically configured to:
matching the character recognition results in the picture marking information with preset cabinet screen keywords one by one;
if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory according to the character recognition result to obtain a filing directory; storing the current picture to be archived in the archiving directory;
and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, or if the character recognition result of the current picture to be filed is no character, filing the filing catalog of the picture to be filed.
In a preferred embodiment, optionally, the recognition algorithm for performing character recognition on the picture to be archived is an algorithm based on a paddlepaddleframe.
The product can execute the picture archiving method for the communication machine room provided by the embodiment of the application, and has the corresponding functional modules and the beneficial effects of the execution method.
Example four
A fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the image archiving method for a communication room according to the fourth embodiment of the present invention:
acquiring pictures to be archived, which are arranged according to shooting time; the picture to be filed is shot for at least one cabinet of the communication machine room, and the shooting sequence of the picture to be filed for each cabinet is that a screen position signboard of the cabinet is shot firstly, and then equipment pictures in the cabinet are shot;
carrying out character recognition on the pictures to be filed according to the arrangement sequence to obtain a character recognition result of each picture to be filed;
if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory according to the character recognition result to obtain a filing directory; storing the current picture to be archived in the archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
EXAMPLE five
The fifth embodiment of the application provides electronic equipment. Fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application. As shown in fig. 4, the present embodiment provides an electronic device 400, which includes: one or more processors 420; the storage device 410 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 420, the one or more processors 420 implement the method for archiving pictures in a communication room provided in the embodiment of the present application, the method includes:
acquiring pictures to be archived, which are arranged according to shooting time; the picture to be filed is shot for at least one cabinet of the communication machine room, and the shooting sequence of the picture to be filed for each cabinet is that a screen position signboard of the cabinet is shot firstly, and then equipment pictures in the cabinet are shot;
carrying out character recognition on the pictures to be filed according to the arrangement sequence to obtain a character recognition result of each picture to be filed;
if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory according to the character recognition result to obtain a filing directory; storing the current picture to be archived in the archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed.
Of course, those skilled in the art can understand that the processor 420 also implements the technical solution of the picture archiving method for a communication room provided in any embodiment of the present application.
The electronic device 400 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 4, the electronic device 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of the processors 420 in the electronic device may be one or more, and one processor 420 is taken as an example in fig. 4; the processor 420, the storage device 410, the input device 430, and the output device 440 in the electronic apparatus may be connected by a bus or other means, and are exemplified by a bus 450 in fig. 4.
The storage device 410 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and module units, such as program instructions corresponding to the picture archiving method for a communication room in the embodiment of the present application.
The storage device 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 410 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, storage 410 may further include memory located remotely from processor 420, which may be connected 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 430 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic device. The output device 440 may include a display screen, speakers, or other electronic equipment.
The electronic equipment provided by the embodiment of the application can automatically file the pictures in the communication machine room by matching the character recognition result of the current picture to be filed with the preset cabinet screen position keywords, so that the filing efficiency and accuracy of the picture to be filed are improved.
The picture filing device, the medium and the equipment for the communication machine room provided by the embodiments can execute the picture filing method for the communication machine room provided by any embodiment of the application, and have corresponding functional modules and beneficial effects for executing the method. For details of the technology that are not described in detail in the above embodiments, reference may be made to a picture archiving method for a communication room provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A picture archiving method for a communication room is characterized by comprising the following steps:
acquiring pictures to be archived, which are arranged according to shooting time; the picture to be filed is shot for at least one cabinet of the communication machine room, and the shooting sequence of the picture to be filed for each cabinet is that a screen position signboard of the cabinet is shot firstly, and then equipment pictures in the cabinet are shot;
carrying out character recognition on the pictures to be filed according to the arrangement sequence to obtain a character recognition result of each picture to be filed;
if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory according to the character recognition result to obtain a filing directory; storing the current picture to be archived in the archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed.
2. The method of claim 1, wherein prior to obtaining the pictures to be archived arranged by time of capture, the method further comprises:
all pictures to be archived in the same machine room are collected into the same storage directory;
extracting picture information of all pictures to be filed to obtain a picture information list; the picture information comprises picture file name information and picture shooting event information.
3. The method of claim 2, wherein the picture information comprises picture marking information;
after obtaining the character recognition result of each picture to be filed, the method further comprises the following steps:
and writing the character recognition result into the picture mark information.
4. The method according to claim 3, wherein if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen key word, the storage directory is named according to the character recognition result to obtain a filing directory; storing the current picture to be archived in the archiving directory; if the matching of the character recognition result of the current picture to be filed and the screen-position key words of the preset cabinet fails, the filing directory of the picture to be filed is filed, and the method comprises the following steps:
matching the character recognition results in the picture marking information with preset cabinet screen keywords one by one;
if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word, naming the storage directory according to the character recognition result to obtain a filing directory; storing the current picture to be archived in the archiving directory;
and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, or if the character recognition result of the current picture to be filed is no character, filing the filing catalog of the picture to be filed.
5. The method according to claim 1, characterized in that the recognition algorithm for text recognition of the picture to be archived is a paddlepaddleframe-based algorithm.
6. A picture filing device of a communication room, the device comprising:
the to-be-archived picture acquisition module is used for acquiring to-be-archived pictures which are arranged according to shooting time; the picture to be filed is shot for at least one cabinet of the communication machine room, and the shooting sequence of the picture to be filed for each cabinet is that a screen position signboard of the cabinet is shot firstly, and then equipment pictures in the cabinet are shot;
the character recognition result acquisition module is used for carrying out character recognition on the pictures to be filed according to the arrangement sequence and acquiring the character recognition result of each picture to be filed;
the filing directory determining module is used for naming a storage directory according to the character recognition result to obtain a filing directory if the character recognition result of the current picture to be filed is successfully matched with the preset cabinet screen position key word; storing the current picture to be archived in the archiving directory; and if the matching of the character recognition result of the current picture to be filed and the preset cabinet screen position key word fails, filing the filing catalog of the picture to be filed.
7. The apparatus of claim 6, further comprising:
the computer room picture income module is used for bringing all pictures to be filed in the same computer room into the same storage directory;
the picture information list determining module is used for extracting picture information of all pictures to be filed to obtain a picture information list; the picture information comprises picture file name information and picture shooting event information.
8. The apparatus of claim 7, wherein the picture information comprises picture marking information;
the device further comprises:
and the picture mark information writing module is used for writing the character recognition result into the picture mark information.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the picture archiving method of the communication room according to any one of claims 1 to 5.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the picture archiving method of the communication room according to any one of claims 1 to 5 when executing the computer program.
CN202111255995.2A 2021-10-27 2021-10-27 Picture archiving method, device, medium and equipment for communication machine room Pending CN113986823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111255995.2A CN113986823A (en) 2021-10-27 2021-10-27 Picture archiving method, device, medium and equipment for communication machine room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111255995.2A CN113986823A (en) 2021-10-27 2021-10-27 Picture archiving method, device, medium and equipment for communication machine room

Publications (1)

Publication Number Publication Date
CN113986823A true CN113986823A (en) 2022-01-28

Family

ID=79742551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111255995.2A Pending CN113986823A (en) 2021-10-27 2021-10-27 Picture archiving method, device, medium and equipment for communication machine room

Country Status (1)

Country Link
CN (1) CN113986823A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115083572A (en) * 2022-07-25 2022-09-20 广州思德医疗科技有限公司 Picture storage and extraction method, system, device and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115083572A (en) * 2022-07-25 2022-09-20 广州思德医疗科技有限公司 Picture storage and extraction method, system, device and medium

Similar Documents

Publication Publication Date Title
CN110581898B (en) Internet of things data terminal system based on 5G and edge calculation
CN113095434B (en) Target detection method and device, electronic equipment and storage medium
EP2599016A1 (en) Automatic media sharing via shutter click
CN111462109A (en) Defect detection method, device and equipment for strain clamp and storage medium
US9665773B2 (en) Searching for events by attendants
CN109857878B (en) Article labeling method and device, electronic equipment and storage medium
CN112257740B (en) Knowledge graph-based image hidden danger identification method and system
CN110609879B (en) Interest point duplicate determination method and device, computer equipment and storage medium
CN111061887A (en) News character photo extraction method, device, equipment and storage medium
CN113986823A (en) Picture archiving method, device, medium and equipment for communication machine room
CN112417996B (en) Information processing method and device for industrial drawing, electronic equipment and storage medium
CN114494681A (en) Intelligent comparison method and system for wiring terminal, computer equipment and storage medium
CN113780469A (en) Training method, medium, device and computing equipment of image recognition model
CN113408630A (en) Transformer substation indicator lamp state identification method
CN111783786A (en) Picture identification method and system, electronic equipment and storage medium
CN116451175A (en) Multi-mode data processing method and device, electronic equipment and storage medium
CN114821396A (en) Normative detection method, device and storage medium for LNG unloading operation process
CN112364790B (en) Airport work order information identification method and system based on convolutional neural network
CN112256802A (en) Automatic acquisition method and equipment for marine microorganism information
CN112181969A (en) Second-hand book edition recognition device based on NLP and image recognition
CN112686262B (en) Method for extracting data and rapidly archiving based on image recognition technology
CN104484414A (en) Processing method and device of favourite information
CN111538914A (en) Address information processing method and device
CN117195860B (en) Intelligent inspection method, system, electronic equipment and computer readable storage medium
CN115495057B (en) Method and system for realizing windows and HDFS communication

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