Disclosure of Invention
In order to solve the technical problems, the embodiment of the application provides a method and a device for inputting information of distribution network equipment, so as to achieve the purpose of improving the efficiency and accuracy of equipment information acquisition and input, and the technical scheme is as follows:
a distribution network equipment information input method is applied to electronic equipment and comprises the following steps:
acquiring an image of distribution network equipment acquired by an image acquisition device;
identifying and obtaining distribution network equipment characteristics from the distribution network equipment images, and searching at least one piece of first equipment information matched with the distribution network equipment characteristics in a database, wherein the database stores the mapping relation between the characteristics of each distribution network equipment in the distribution network and the equipment information;
if so, acquiring the position information of the electronic equipment;
searching second equipment information matched with the position information from the at least one piece of first equipment information;
if the information is found, the second equipment information is acquired, and the second equipment information is input, so that the second equipment information is used as a data basis for checking account of the distribution network assets.
Optionally, after the second device information is acquired, the method further includes:
constructing a distribution network equipment node at a position corresponding to the position information corresponding to each piece of second equipment information in a map, wherein the distribution network equipment node comprises a model diagram of distribution network equipment corresponding to the second equipment information, and the model diagram at least comprises the second equipment information and the position information of the distribution network equipment corresponding to the second equipment information;
and connecting a plurality of distribution network equipment nodes to obtain equipment lines, and recording a target map containing the equipment lines.
Optionally, the method further comprises:
displaying a target map containing the equipment line;
and under the condition that an instruction for displaying the target distribution network equipment in the equipment line is received, displaying the equipment information and the position information of the target distribution network equipment in the equipment line in the target map.
Optionally, the network distribution equipment image is acquired by the image acquisition device in the following manner:
the image acquisition device acquires an image of the distribution network equipment under the condition of receiving a shooting instruction triggered by a WeChat applet of the electronic equipment to which the image acquisition device belongs;
the acquiring the distribution network equipment image acquired by the image acquisition device comprises the following steps:
and receiving the distribution network equipment image acquired by the image acquisition device and sent by the WeChat applet of the electronic equipment.
Optionally, the identifying the distribution network device feature from the distribution network device image, and searching at least one piece of first device information matched with the distribution network device feature in a database, includes:
and identifying and obtaining 3D model characteristics of the distribution network equipment from the distribution network equipment image, and searching at least one piece of first equipment information matched with the 3D model characteristics of the distribution network equipment in a database.
An information input device of distribution network equipment is applied to electronic equipment, and the device comprises:
the first acquisition module is used for acquiring the distribution network equipment image acquired by the image acquisition device;
the identification module is used for identifying and obtaining the distribution network equipment characteristics from the distribution network equipment images;
the first searching module is used for searching at least one piece of first equipment information matched with the characteristics of the distribution network equipment in a database, and the mapping relation between the characteristics of each distribution network equipment in the distribution network and the equipment information is stored in the database;
the second acquisition module is used for acquiring the position information of the electronic equipment if at least one piece of first equipment information matched with the distribution network equipment characteristics is found;
the second searching module is used for searching second equipment information matched with the position information from the at least one piece of first equipment information;
the third acquisition module is used for acquiring the second equipment information if the second equipment information matched with the position information is found;
the input module is used for inputting the second equipment information to use the second equipment information as the data basis for checking the account of the distribution network asset.
Optionally, the apparatus further includes:
the construction module is used for constructing a distribution network equipment node at a position corresponding to the position information corresponding to each piece of second equipment information in the map, wherein the distribution network equipment node comprises a model diagram of distribution network equipment corresponding to the second equipment information, and the model diagram at least comprises the second equipment information and the position information of the distribution network equipment corresponding to the second equipment information;
the generating module is used for connecting a plurality of distribution network equipment nodes to obtain equipment lines;
the input module is also used for inputting a target map containing the equipment line.
Optionally, the apparatus further includes:
the first display module is used for displaying a target map containing the equipment line;
and the second display module is used for displaying the equipment information and the position information of the target distribution network equipment in the equipment line in the target map under the condition that an instruction for displaying the target distribution network equipment in the equipment line is received.
Optionally, the image acquisition device is specifically configured to:
under the condition of receiving a shooting instruction triggered by a WeChat applet of the electronic equipment to which the image belongs, acquiring an image of the distribution network equipment;
the first obtaining module is specifically configured to:
and receiving the distribution network equipment image acquired by the image acquisition device and sent by the WeChat applet of the electronic equipment.
Optionally, the identification module is specifically configured to:
identifying and obtaining 3D model features of distribution network equipment from the distribution network equipment image;
the first search module is specifically configured to:
and searching at least one piece of first equipment information matched with the 3D model characteristics of the distribution network equipment in a database.
Compared with the prior art, the beneficial effects of this application are:
in the method, after the distribution network equipment image is acquired, the distribution network equipment characteristics are identified from the distribution network equipment image, at least one first equipment information matched with the distribution network equipment characteristics is searched in a database, equipment information of equipment corresponding to the distribution network equipment image is confirmed to exist in a data card, on the basis, the second equipment information is further screened and matched from the at least one first equipment information by utilizing the position information of the electronic equipment to which the image acquisition device belongs, the accuracy of the second equipment information is guaranteed, the input accuracy is further improved, and the efficiency of acquiring and inputting the equipment information is improved by automatically acquiring the equipment information.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings.
Referring to fig. 1, a flowchart of a method for information entry of a distribution network device according to embodiment 1 of the present application may be applied to a processor of an electronic device, as shown in fig. 1, and the method may include, but is not limited to, the following steps:
and S11, acquiring an image of the distribution network equipment acquired by the image acquisition device.
In this embodiment, the image capturing apparatus may capture the image of the distribution network device by, but not limited to, the following ways:
the image acquisition device acquires the network distribution equipment image under the condition of receiving a shooting instruction triggered by a WeChat applet of the electronic equipment to which the image acquisition device belongs.
After the image acquisition device acquires the distribution network equipment image, the distribution network equipment image can be sent to the WeChat applet, and the WeChat applet sends the distribution network equipment image to the processor of the electronic equipment.
Correspondingly, acquiring the distribution network equipment image acquired by the image acquisition device may include:
and receiving the distribution network equipment image acquired by the image acquisition device and sent by the WeChat applet of the electronic equipment.
In this embodiment, the image capturing device may be an image capturing device built in the electronic device, or may be an image capturing device externally connected to the electronic device.
And step S12, identifying and obtaining distribution network equipment characteristics from the distribution network equipment images, and searching at least one piece of first equipment information matched with the distribution network equipment characteristics in a database, wherein the mapping relation between the characteristics of each distribution network equipment in the distribution network and the equipment information is stored in the database.
Identifying the distribution network device characteristics from the distribution network device image may include, but is not limited to:
and inputting the distribution network equipment image into an image recognition model to obtain the distribution network equipment characteristics output by the image recognition model. The image recognition model is obtained by training the distribution network equipment characteristics obtained from the distribution network equipment training image.
The identifying the distribution network device feature from the distribution network device image, and searching at least one first device information matched with the distribution network device feature in the database may include, but is not limited to:
and identifying and obtaining 3D model characteristics of the distribution network equipment from the distribution network equipment image, and searching at least one piece of first equipment information matched with the 3D model characteristics of the distribution network equipment in a database.
If so, step S13 is performed.
And step S13, acquiring the position information of the electronic equipment.
In this embodiment, the location information of the electronic device may be determined by:
transmitting a position signal of the GPS positioning module in the electronic equipment to a positioning background to determine the position information of the electronic equipment;
or determining the position information of the electronic equipment by using the measured distance of the base station to the distance of the electronic equipment.
And step S14, searching second equipment information matched with the position information from the at least one piece of first equipment information.
In this embodiment, when the mapping relationship between each piece of equipment information and the location information of the distribution network equipment to which the piece of equipment information belongs is further stored in the database, searching the second piece of equipment information that is matched with the location information from the at least one piece of first equipment information may include:
searching position information matched with the position information of the electronic equipment in the mapping relation between the at least one piece of first equipment information and the position information of the distribution network equipment to which the first equipment information belongs;
and if so, taking the first equipment information corresponding to the position information matched with the position information of the electronic equipment as the second equipment information.
If so, step S15 is performed.
And S15, acquiring the second equipment information, and inputting the second equipment information to take the second equipment information as a data basis for checking the account of the distribution network asset.
Entering the second device information can be understood as: and inputting the second equipment information to a specified system. The designated system may be a system configured to conduct a distribution network asset accounting check.
In the method, after the distribution network equipment image is acquired, the distribution network equipment characteristics are identified from the distribution network equipment image, at least one first equipment information matched with the distribution network equipment characteristics is searched in a database, equipment information of equipment corresponding to the distribution network equipment image is confirmed to exist in a data card, on the basis, the second equipment information is further screened and matched from the at least one first equipment information by utilizing the position information of the electronic equipment to which the image acquisition device belongs, the accuracy of the second equipment information is guaranteed, the input accuracy is further improved, and the efficiency of acquiring and inputting the equipment information is improved by automatically acquiring the equipment information.
As another optional embodiment of the present application, referring to fig. 2, a flowchart of a method for entering information of a distribution network device provided in embodiment 2 of the present application is mainly an extension of the method for entering information of a distribution network device described in the foregoing embodiment 1, as shown in fig. 2, the method may include, but is not limited to, the following steps:
s21, acquiring an image of the distribution network equipment acquired by an image acquisition device;
step S22, identifying and obtaining distribution network equipment characteristics from the distribution network equipment images, and searching at least one piece of first equipment information matched with the distribution network equipment characteristics in a database, wherein the database stores the mapping relation between the characteristics of each distribution network equipment in the distribution network and the equipment information;
if so, step S23 is performed.
Step S23, acquiring the position information of the electronic equipment;
step S24, searching second equipment information matched with the position information from the at least one piece of first equipment information;
if so, step S25 is performed.
Step S25, acquiring the second equipment information, and inputting the second equipment information to use the second equipment information as a data basis for checking the account of the distribution network asset.
The detailed procedure of steps S21-S25 can be referred to in the related description of steps S11-S15 in embodiment 1, and will not be described herein.
Step S26, constructing a distribution network equipment node at a position corresponding to the position information corresponding to each piece of second equipment information in a map, wherein the distribution network equipment node comprises a model diagram of distribution network equipment corresponding to the second equipment information, and the model diagram at least comprises the second equipment information and the position information of the distribution network equipment corresponding to the second equipment information.
The second device information may include, but is not limited to: device signal, device name, and device status.
In this embodiment, a model diagram of the distribution network device may be referred to fig. 3.
And step S27, connecting a plurality of distribution network equipment nodes to obtain equipment lines, and recording a target map containing the equipment lines.
Entering a target map containing the device line can be understood as: and inputting a target map containing the equipment line to a specified system. The designated system may be a system configured to conduct a distribution network asset accounting check.
In this embodiment, the target map including the device line may be referred to fig. 4.
In this embodiment, a distribution network device node is constructed at a position corresponding to the position information corresponding to each piece of second device information in the map, where the distribution network device node includes a model diagram of the distribution network device corresponding to the second device information, where the model diagram includes at least device information and position information of the distribution network device corresponding to the second device information, and connects a plurality of distribution network device nodes to obtain a device line, and a target map including the device line is recorded, so that visual storage of the distribution network device can be implemented, and convenience in checking the distribution network device is improved.
As another optional embodiment of the present application, referring to fig. 5, a flowchart of a method for entering information of a distribution network device provided in embodiment 3 of the present application is mainly an extension of the method for entering information of a distribution network device described in the foregoing embodiment 2, as shown in fig. 5, the method may include, but is not limited to, the following steps:
step S31, acquiring an image of the distribution network equipment acquired by the image acquisition device;
step S32, identifying and obtaining distribution network equipment characteristics from the distribution network equipment images, and searching at least one piece of first equipment information matched with the distribution network equipment characteristics in a database, wherein the mapping relation between the characteristics of each distribution network equipment in the distribution network and the equipment information is stored in the database;
if so, step S33 is performed.
Step S33, acquiring the position information of the electronic equipment;
step S34, searching second equipment information matched with the position information from the at least one piece of first equipment information;
if so, step S35 is performed.
And step S35, acquiring the second equipment information, and inputting the second equipment information to take the second equipment information as a data basis for checking the account of the distribution network asset.
Step S36, constructing a distribution network equipment node at a position corresponding to the position information corresponding to each piece of second equipment information in the map, wherein the distribution network equipment node comprises a model diagram of distribution network equipment corresponding to the second equipment information, and the model diagram at least comprises equipment information and position information of the distribution network equipment corresponding to the second equipment information.
And step S37, connecting a plurality of distribution network equipment nodes to obtain equipment lines, and recording a target map containing the equipment lines.
The detailed procedure of steps S31-S36 can be referred to in the related description of steps S21-S27 in embodiment 2, and will not be described herein.
Step S38, a target map containing the equipment line is displayed.
Step S39, under the condition that an instruction for displaying the target network distribution equipment in the equipment line is received, equipment information and position information of the target network distribution equipment in the equipment line are displayed in the target map.
The user can input a display instruction to the electronic equipment by clicking the target network distribution equipment in the equipment line, and the electronic equipment displays the equipment information and the position information of the target network distribution equipment in the equipment line in the target map under the condition that the electronic equipment receives the instruction for displaying the target network distribution equipment in the equipment line.
The network distribution equipment information input device provided by the application is described next, and the network distribution equipment information input device described below and the network distribution equipment information input method described above can be referred to correspondingly.
Referring to fig. 6, the information input device of the distribution network device is applied to an electronic device, and the device includes: the system comprises a first acquisition module 100, an identification module 200, a first search module 300, a second acquisition module 400, a second search module 500, a third acquisition module 600 and an entry module 700.
A first obtaining module 100, configured to obtain an image of the distribution network device acquired by the image acquisition device;
the identification module 200 is configured to identify and obtain a distribution network device feature from the distribution network device image;
the first searching module 300 is configured to search at least one piece of first device information that matches the feature of the distribution network device in a database, where the database stores a mapping relationship between the feature of each distribution network device in the distribution network and the device information;
a second obtaining module 400, configured to obtain location information of the electronic device if at least one piece of first device information that matches the distribution network device feature is found;
a second searching module 500, configured to search second device information matched with the location information from the at least one first device information;
a third obtaining module 600, configured to obtain second device information if the second device information matched with the location information is found;
the input module 700 is configured to input the second device information, so that the second device information is used as a data basis for checking the account of the distribution network asset.
In this embodiment, the apparatus may further include:
the construction module is used for constructing a distribution network equipment node at a position corresponding to the position information corresponding to each piece of second equipment information in the map, wherein the distribution network equipment node comprises a model diagram of distribution network equipment corresponding to the second equipment information, and the model diagram at least comprises the second equipment information and the position information of the distribution network equipment corresponding to the second equipment information;
the generating module is used for connecting a plurality of distribution network equipment nodes to obtain equipment lines;
the input module is also used for inputting a target map containing the equipment line.
In this embodiment, the apparatus may further include:
the first display module is used for displaying a target map containing the equipment line;
and the second display module is used for displaying the equipment information and the position information of the target distribution network equipment in the equipment line in the target map under the condition that an instruction for displaying the target distribution network equipment in the equipment line is received.
In this embodiment, the image acquisition device may be specifically configured to:
under the condition of receiving a shooting instruction triggered by a WeChat applet of the electronic equipment to which the image belongs, acquiring an image of the distribution network equipment;
the first obtaining module 100 may specifically be configured to:
and receiving the distribution network equipment image acquired by the image acquisition device and sent by the WeChat applet of the electronic equipment.
In this embodiment, the identification module 200 may be specifically configured to:
identifying and obtaining 3D model features of distribution network equipment from the distribution network equipment image;
the first search module 300 may specifically be configured to:
and searching at least one piece of first equipment information matched with the 3D model characteristics of the distribution network equipment in a database.
It should be noted that, in each embodiment, the differences from the other embodiments are emphasized, and the same similar parts between the embodiments are referred to each other. For the apparatus class embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference is made to the description of the method embodiments for relevant points.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or electronic device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or electronic device. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or electronic device that comprises the element.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present application.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer electronic device (which may be a personal computer, a server, or a network electronic device, etc.) to perform the method described in the embodiments or some parts of the embodiments of the present application.
The above describes in detail a method and apparatus for information input of a distribution network device provided in the present application, and specific examples are applied to describe the principles and embodiments of the present application, where the description of the above embodiments is only used to help understand the method and core ideas of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.