A method for generating intelligent labels based on digital models
Through the intelligent label generation method based on digital model, the label information of the substation is automatically generated, which solves the problems of low efficiency and poor accuracy of traditional label printing methods, and realizes efficient and accurate label management and maintenance support.
Patent Information
- Application Number
- CN202411798274.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-12-09
AI Technical Summary
Traditional label printing methods rely on manual filling and management, resulting in high error rates and low efficiency, which cannot meet the efficient and precise management needs of modern power systems.
Using an intelligent tag generation method based on digital model, by obtaining the circuit diagram and screen cabinet name of the substation, querying the optical cable connection information and equipment information in the digital model, automatically generate tag information, and sending it to the tag information to the device.
The automatic generation function of tags is realized, the error rate is reduced, the efficiency of tag generation is improved, and the maintenance efficiency is improved through the information of smart tags and the accuracy of information is enhanced.
Smart Images

Figure CN119294425B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent label generation, and in particular to an intelligent label generation method based on a digital model. Background Art
[0002] In the design and operation and maintenance process of relay protection secondary circuits, the traditional label printing method mainly relies on manual filling and management, which cannot meet the efficient and accurate management needs of modern power systems.
[0003] Existing label printing methods often have the following technical problems:
[0004] 1. The traditional label printing method mainly involves manually filling in information and printing, which has a high error rate and low efficiency;
[0005] 2. During the operation and maintenance process, the information obtained by maintenance personnel through tags is only some basic information, which cannot improve maintenance efficiency;
[0006] 3. The connection between the screen cabinets is relatively complex and the data is huge. It is easy to make mistakes and the accuracy is low when manually entering information. Summary of the invention
[0007] The summary of the invention is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The summary of the invention is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0008] The present invention proposes a method for generating a smart label based on a digital model to solve one or more of the technical problems mentioned in the above background technology part.
[0009] The present invention provides a method for generating a smart label based on a digital model, the method comprising:
[0010] Obtain a circuit diagram and a cabinet name of a target cabinet in a target substation; query the cabinet name of the target cabinet in a preset digital model to obtain corresponding multiple optical cable connection information, wherein each optical cable connection information corresponds to an optical cable;
[0011] According to the circuit diagram of the target cabinet, a device name table in the target cabinet is constructed; the device name table includes the device name of each device in the target cabinet;
[0012] Query each device name in the device name table in the target panel cabinet in the preset digital model to obtain the real circuit connection information corresponding to each device; determine the opposite device corresponding to each device, the terminal block number on the local side corresponding to each device, and the opposite terminal block number corresponding to the terminal block number on the local side according to the real circuit connection information;
[0013] Obtain a terminal row connection diagram between the terminal row number on this side and the corresponding terminal row number on the opposite side; determine the connection relationship information and text information between the port of the terminal row on this side and the port of the terminal row on the opposite side according to the terminal row connection diagram; determine the label information of each port in each terminal row in the target panel cabinet according to the connection relationship information and text information between the port of the terminal row on this side and the port of the terminal row on the opposite side;
[0014] For each optical cable in the target cabinet, the label information corresponding to each optical cable is generated according to the corresponding optical cable connection information and the label information of each port in each terminal row in the target cabinet, and the label information corresponding to each optical cable is sent to the label information writing device, so that the information writing device writes the label information corresponding to each optical cable to obtain the smart label corresponding to each optical cable.
[0015] Optionally, the cabinet name of the target cabinet is queried in a preset digital model to obtain corresponding multiple optical cable connection information, further comprising:
[0016] The cabinet name of the target cabinet is queried in the preset digital model to obtain the corresponding multiple optical cable connection information and cabinet maintenance records; wherein the cabinet maintenance records include the cabinet failure cause and the cabinet maintenance times; the cabinet failure cause includes equipment failure and line failure;
[0017] According to the fault cause of the cabinet, determine the name of the faulty device and the faulty line number; according to the name of the faulty device and the faulty line number, determine the port number to which the faulty device is connected and the number of the optical cable connected to the faulty line;
[0018] According to the maintenance records of the panel cabinets, the number of equipment failures and the number of line failures are counted; according to the number of equipment failures and the number of line failures, the equipment failure rate and the line failure rate are obtained; and
[0019] According to the connection relationship information and text information between the ports of the terminal block on the local side and the ports of the terminal block on the opposite side, the label information of each port in each terminal block in the target panel cabinet is determined, including:
[0020] Determine the label information of each port in each terminal row in the target panel cabinet according to the connection relationship information and text information between the port of the terminal row on the local side and the port of the terminal row on the opposite side, the device failure rate and the port number connected to the failed device; and
[0021] For each optical cable in the target cabinet, the label information corresponding to each optical cable is generated according to the corresponding optical cable connection information and the label information of each port in each terminal block in the target cabinet, including:
[0022] For each optical cable in the target cabinet, the label information corresponding to each optical cable is generated according to the corresponding optical cable connection information, the label information of each port in each terminal block in the target cabinet, the line failure rate and the connecting optical cable number corresponding to the faulty line.
[0023] Optionally, the method for generating a smart label based on a digital model of the present invention further includes:
[0024] Determine whether each terminal row in the target panel cabinet has free ports. If the terminal row has free ports, determine it as a candidate terminal row. Count the free port groups and occupied port groups corresponding to each candidate terminal row. Determine the number of free ports in the free port group as the number of free ports, and determine the number of occupied ports in the occupied port group as the number of occupied ports.
[0025] For each candidate terminal block, determine the ratio of the number of occupied ports to the number of free ports to obtain an actual duty cycle; determine a corresponding duty cycle threshold value according to the terminal block type of each candidate terminal block, and if the actual duty cycle is greater than the corresponding duty cycle threshold value, add the corresponding candidate terminal block to the terminal block group to be replaced;
[0026] For each terminal row in the terminal row group to be replaced, arrange them in descending order according to the actual duty cycle to obtain a terminal row sequence to be replaced; determine the number of terminal rows in stock, select a target number of terminal rows from the terminal row sequence to be replaced and determine them as target terminal rows, and determine the terminal row number corresponding to the target terminal row as the target terminal row number; and
[0027] For each optical cable in the target cabinet, the label information corresponding to each optical cable is generated according to the corresponding optical cable connection information and the label information of each port in each terminal block in the target cabinet, including:
[0028] For each optical cable in the target cabinet, label information corresponding to each optical cable is generated according to the corresponding optical cable connection information, label information of each port in each terminal block in the target cabinet, and the target terminal block number.
[0029] Optionally, the smart label includes a plurality of indicator lights, each indicator light corresponds to a terminal block; on this basis, the smart label generation method based on the digital model further includes:
[0030] When the terminal row replacement information submitted by the target user through the target terminal device is received, the indicator light corresponding to the target terminal row number is controlled to enter the target lighting mode.
[0031] Optionally, the method for generating a smart label based on a digital model of the present invention further includes:
[0032] The connection optical cable number corresponding to each tail cable cabinet group is queried in the preset digital model to obtain the tail cable connection information corresponding to each tail cable cabinet group; the tail cable connection information includes the connection optical cable number, the connection port number, the connection device name, and the tail cable model;
[0033] The connection port number corresponding to the tail cable is queried in the preset digital model to obtain the port attribute corresponding to the connection port number; the port attribute is the start port and the end port;
[0034] Determine the label information of each pigtail cable corresponding to the target cabinet according to the port number, port attributes, name of the connected device, and the pigtail cable model of the corresponding pigtail cable.
[0035] The present invention has the following beneficial effects:
[0036] 1. The automatic generation function of labels is realized. Specifically, the automatic generation function of labels is realized through the construction of digital models. In practice, by querying the optical cable connection information in the preset digital model and generating label information based on the queried information, the efficiency of label generation is improved and the automatic generation function of labels is realized. At the same time, the label information is directly sent to the label information writing device to avoid manual operation and reduce the error rate.
[0037] 2. Improved maintenance efficiency. Specifically, by setting the number of maintenance times of the cabinet, the information of the smart label is set to help maintenance personnel determine the fault point, thus improving maintenance efficiency. In practice, maintenance personnel need to determine the fault point by checking one by one, which takes a long time and is inefficient. Therefore, by setting the information of the smart label in a targeted manner, maintenance personnel can prioritize the equipment with a higher failure rate according to the label information, thereby improving maintenance efficiency.
[0038] 3. Improved information accuracy. Specifically, by identifying the terminal strip connection diagram, the accuracy of information is improved. In practice, the terminal strip connection diagram is manually identified and information is entered. The terminal strip connection diagram is relatively complex, prone to errors, and has low accuracy. Therefore, by intelligently identifying the terminal strip connection diagram, the accuracy of information is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The above and other features, advantages and aspects of the embodiments of the present invention will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0040] Figure 1 The present invention is a flowchart of a method for generating a smart label based on a digital model. DETAILED DESCRIPTION
[0041] The present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0042] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.
[0043] It should be noted that the concepts such as "first" and "second" mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0044] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0045] The names of the messages or information exchanged between multiple devices of the present invention are only for illustrative purposes, and are not used to limit the scope of these messages or information.
[0046] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0047] like Figure 1 FIG. 1 is a flowchart of a method for generating a smart label based on a digital model of the present invention, which specifically includes the following steps:
[0048] Step 101, obtain the circuit diagram and cabinet name of the target cabinet in the target substation; query the cabinet name of the target cabinet in the preset digital model to obtain corresponding multiple optical cable connection information, wherein each optical cable connection information corresponds to an optical cable.
[0049] In some embodiments, the execution subject of the method for generating a smart label based on a digital model of the present invention may be a client, which may be a desktop computer or a laptop computer.
[0050] In practice, the execution subject can store various information of each substation locally. Among them, the various information of the substation includes the circuit diagram and the name of each panel cabinet. On this basis, the execution subject can obtain the circuit diagram and the name of the target panel cabinet in the target substation. The panel cabinet name of the target panel cabinet is queried in the preset digital model to obtain the corresponding multiple optical cable connection information, and each optical cable connection information corresponds to an optical cable. Among them, the digital model is a model that digitally represents the shape, structure, attributes and other information of the actual object by means of computer technology, mathematical models and other means, and can include the name of the panel cabinet, the connection relationship between the panel cabinets, etc. The optical cable connection information includes the name of the connected panel cabinet and the number of the connected optical cable.
[0051] Step 102: construct a device name table in the target screen cabinet according to the circuit diagram of the target screen cabinet; the device name table includes the device name of each device in the target screen cabinet.
[0052] In some embodiments, the execution subject has locally stored the circuit diagram and circuit element symbol information table of each cabinet. The circuit diagram refers to a diagram that uses circuit element symbols to represent circuit connections. In the circuit element symbol information table, the information in the circuit element symbol information table includes circuit element symbols and corresponding device names. On this basis, according to the circuit diagram of the target cabinet, the device name corresponding to each circuit element symbol in the circuit diagram is determined, multiple device names are numbered, and a device name table is generated in the order of the numbers. Among them, the device name table includes the device name of each device in the target cabinet.
[0053] Step 103, query each device name in the device name table in the target panel cabinet in the preset digital model to obtain the real loop connection information corresponding to each device; according to the real loop connection information, determine the opposite side device corresponding to each device, the terminal row number on this side corresponding to each device, and the opposite side terminal row number corresponding to the terminal row number on this side.
[0054] In some embodiments, each device name in the device name table in the target panel cabinet is queried in a preset digital model to obtain the real loop connection information corresponding to each device in the target panel cabinet. The real loop connection information is the connection information between the devices in the loop, and the real loop connection information includes the device name on this side and the corresponding device name on the opposite side. The opposite side device is the device connected to the device in the target panel cabinet. In practice, the multiple terminal rows in the target panel cabinet are numbered, and the opposite side device corresponding to each device, the terminal row number on this side corresponding to each device, and the opposite side terminal row number corresponding to the terminal row number on this side are determined according to the real loop connection information. As an example, the terminal row number on this side corresponding to each device can be 31, and the opposite side terminal row number corresponding to the terminal row number on this side can be 32.
[0055] Step 104, obtain the terminal row connection diagram between the terminal row number on this side and the corresponding terminal row number on the opposite side; determine the connection relationship information and text information between the port of the terminal row on this side and the port of the terminal row on the opposite side according to the terminal row connection diagram; determine the label information of each port in each terminal row in the target panel cabinet according to the connection relationship information and text information between the port of the terminal row on this side and the port of the terminal row on the opposite side.
[0056] In some embodiments, the execution subject has stored the connection diagrams of various terminal blocks locally. On this basis, the terminal block connection diagram between the terminal block number on this side and the corresponding terminal block number on the opposite side is obtained. The terminal block connection diagram is a diagram showing the connection relationship between the various ports of the terminal blocks on both sides. In practice, the number of each port in the terminal block on this side, the number of the correspondingly connected port in the terminal block on the opposite side, and the number of the connecting optical cable corresponding to the two terminals are queried from the terminal block connection diagram, and the connecting optical cable number is used as the connection relationship information between the port of the terminal block on this side and the port of the terminal block on the opposite side, and the terminal block number on this side, the terminal block number on the opposite side, the number of each port in the terminal block on this side, and the number of the correspondingly connected port in the terminal block on the opposite side are used as the text information of the port of the terminal block on this side and the port of the terminal block on the opposite side. In practice, the terminal block number on this side, the port number, and the number of the connecting optical cable are queried from the connection relationship information and text information between the port of the terminal block on this side and the port of the terminal block on the opposite side as the label information of each port in each terminal block in the target cabinet.
[0057] Step 105: For each optical cable in the target cabinet, generate label information corresponding to each optical cable based on the corresponding optical cable connection information and the label information of each port in each terminal row in the target cabinet, and send the label information corresponding to each optical cable to the label information writing device, so that the information writing device writes the label information corresponding to each optical cable to obtain a smart label corresponding to each optical cable.
[0058] In some embodiments, for each optical cable in the target cabinet, the corresponding optical cable connection information is matched with the label information of each port in each terminal row in the target cabinet, and the port number of each optical cable connection corresponding to the label information of each port is determined according to the connected optical cable number in the optical cable connection information, and the connected optical cable number and the port number of each optical cable connection are used as the label information corresponding to each optical cable. The label information corresponding to each optical cable is sent to the label information writing device, so that the information writing device writes the label information corresponding to each optical cable to obtain the smart label corresponding to each optical cable.
[0059] In these embodiments, the automatic generation function of labels is realized. Specifically, the automatic generation function of labels is realized by constructing a digital model. In practice, by querying the optical cable connection information in the preset digital model and generating label information according to the queried information, the efficiency of label generation is improved and the automatic generation function of labels is realized. At the same time, the label information is directly sent to the label information writing device to avoid manual operation and reduce the error rate.
[0060] In some embodiments, in order to further solve the second technical problem described in the background technology part, that is, "during the operation and maintenance process, the information obtained by the maintenance personnel through the label is some basic information, which cannot improve the maintenance efficiency", in some embodiments of the present invention, the cabinet name of the target cabinet is queried in the preset digital model to obtain the corresponding multiple optical cable connection information, and the following steps are also included:
[0061] Step 1: Query the name of the target cabinet in the preset digital model to obtain the corresponding multiple optical cable connection information and cabinet maintenance records; the cabinet maintenance records include the cause of the cabinet failure and the number of cabinet maintenance times; the cause of the cabinet failure includes equipment failure and line failure.
[0062] In some embodiments, the information in the preset digital model includes the name of the screen cabinet, the connection relationship between the screen cabinets, and the maintenance record of the screen cabinet. The name of the target screen cabinet is queried in the preset digital model to obtain the corresponding multiple optical cable connection information and the maintenance record of the screen cabinet. Among them, the maintenance record of the screen cabinet includes the cause of the screen cabinet failure and the number of times the screen cabinet is repaired. The cause of the screen cabinet failure includes equipment failure and line failure.
[0063] Step 2: Determine the name of the faulty device and the faulty line number based on the cause of the cabinet failure; determine the port number to which the faulty device is connected and the connecting optical cable number corresponding to the faulty line based on the name of the faulty device and the faulty line number.
[0064] In some embodiments, if the cause of the screen cabinet failure is a device failure, the information in the screen cabinet failure cause includes the name of the faulty device and the type of failure; if the cause of the screen cabinet failure is a line failure, the information in the screen cabinet failure cause includes the faulty line number and the type of failure. On this basis, according to the cause of the screen cabinet failure, the name of the faulty device and the faulty line number are determined. In practice, each device corresponds to a connection port, each port corresponds to a port number, each line corresponds to a connection optical cable, and each connection optical cable corresponds to a connection optical cable number. On this basis, according to the name of the faulty device, the port number to which the faulty device is connected is determined, and according to the faulty line number, the corresponding connection optical cable number is determined.
[0065] Step three, according to the panel cabinet maintenance record, count the number of equipment failures and the number of line failures; according to the number of equipment failures and the number of line failures, obtain the equipment failure rate and the line failure rate.
[0066] In some embodiments, the cabinet maintenance record includes the cabinet maintenance times, which are classified according to the fault causes, and the equipment failure times and line failure times are counted separately. As an example, the cabinet maintenance times may be 10 times, of which the equipment failure times may be 4 times and the line failure times may be 6 times. The equipment failure times and the cabinet maintenance times are divided, and then the percentage conversion is performed, and the equipment failure rate can be 40%. The line failure times and the cabinet maintenance times are divided, and then the percentage conversion is performed, and the line failure rate can be 60%.
[0067] Wherein, according to the connection relationship information and text information between the port of the terminal block on the local side and the port of the terminal block on the opposite side, the label information of each port in each terminal block in the target panel cabinet is determined, and the following steps are also included:
[0068] Step 1: determine the label information of each port in each terminal row in the target panel cabinet according to the connection relationship information and text information between the port of the terminal row on this side and the port of the terminal row on the opposite side, the device failure rate and the port number connected to the faulty device.
[0069] In some embodiments, the terminal row number, port number and the number of the connected optical cable are queried from the connection relationship information and text information between the port of the terminal row on this side and the port of the terminal row on the opposite side, and the port number connected to the faulty device is matched with the port number in the text information between the port of the terminal row on this side and the port of the terminal row on the opposite side. If the match is successful, the terminal row number, port number, the number of the connected optical cable, and the faulty device rate are used as label information for each port in each terminal row in the target panel cabinet. If the match fails, the terminal row number, port number and the number of the connected optical cable are used as label information for each port in each terminal row in the target panel cabinet.
[0070] Among them, for each optical cable of the target cabinet, according to the corresponding optical cable connection information and the label information of each port in each terminal row in the target cabinet, the label information corresponding to each optical cable is generated, and the following steps are also included:
[0071] Step 1: For each optical cable in the target cabinet, generate label information corresponding to each optical cable based on the corresponding optical cable connection information, label information of each port in each terminal block in the target cabinet, line failure rate and the connecting optical cable number corresponding to the faulty line.
[0072] In some embodiments, the connection optical cable number is queried from the corresponding optical cable connection information, the port number of each optical cable connection is queried from the label information of each port in each terminal row in the target panel cabinet, and the connection optical cable number corresponding to the faulty line is matched with the connection optical cable number in the optical cable connection information. If the match is successful, the connection optical cable number, the port number of each optical cable connection and the line failure rate are used as the label information corresponding to each optical cable. If the match fails, the connection optical cable number and the port number of each optical cable connection are used as the label information corresponding to each optical cable.
[0073] The method for generating a smart label based on a digital model of the present invention further includes the following steps:
[0074] Step 1: Determine whether each terminal row in the target panel cabinet has free ports. If the terminal row has free ports, determine it as a candidate terminal row. Count the free port groups and occupied port groups corresponding to each candidate terminal row. Determine the number of free ports in the free port group as the number of free ports, and determine the number of occupied ports in the occupied port group as the number of occupied ports.
[0075] In some embodiments, the connection status of each port in each terminal row in the target cabinet is queried from the terminal row connection diagram to determine whether each terminal row in the target cabinet has an idle port. In practice, if the terminal row has an idle port, the terminal row is determined as a candidate terminal row, and the idle ports and occupied ports in each candidate terminal row are counted. Multiple idle ports form an idle port group, and multiple occupied ports form an occupied port group. In practice, the number of idle ports in the idle port group is counted as the number of idle ports, and the number of occupied ports in the occupied port group is counted as the number of occupied ports.
[0076] Step 2: For each candidate terminal block, determine the ratio of the number of occupied ports to the number of free ports to obtain the actual duty cycle; determine the corresponding duty cycle threshold value based on the terminal block type of each candidate terminal block; if the actual duty cycle is greater than the corresponding duty cycle threshold value, add the corresponding candidate terminal block to the terminal block group to be replaced.
[0077] In some embodiments, for each candidate terminal block, the ratio of the number of occupied ports to the number of free ports is calculated to obtain the actual duty cycle. In practice, the terminal block type may include a fixed terminal block, a pluggable terminal block, and a spring-type terminal block. Each terminal block type corresponds to a duty cycle threshold. According to the terminal block type of each candidate terminal block, the corresponding duty cycle threshold is determined. If the actual duty cycle is greater than the corresponding duty cycle threshold, the corresponding candidate terminal block is used as a substitute terminal block and added to the terminal block group to be replaced. As an example, the terminal block type may be a fixed terminal block, and the duty cycle threshold corresponding to the fixed terminal block may be 1.5, and the actual duty cycle may be 1.8. The actual duty cycle is greater than the corresponding duty cycle threshold, so the terminal block can be used as a substitute terminal block and added to the terminal block group to be replaced.
[0078] Step three, for each terminal row in the terminal row group to be replaced, arrange them in descending order according to the actual duty cycle to obtain a terminal row sequence to be replaced; determine the number of terminal rows in stock, select a target number of terminal rows from the terminal row sequence to be replaced and determine them as target terminal rows, and determine the terminal row number corresponding to the target terminal row as the target terminal row number.
[0079] In some embodiments, for each terminal row in the terminal row group to be replaced, they are arranged in order from large to small according to the actual duty cycle to obtain a terminal row sequence to be replaced, the number of terminal rows in stock is determined as the target number, the target number of terminal rows are selected from the terminal row sequence to be replaced and determined as the target terminal row, and the terminal row number corresponding to the target terminal row is determined as the target terminal row number.
[0080] Among them, for each optical cable of the target cabinet, according to the corresponding optical cable connection information and the label information of each port in each terminal row in the target cabinet, the label information corresponding to each optical cable is generated, and the following steps are also included:
[0081] Step 1: For each optical cable in the target cabinet, generate label information corresponding to each optical cable according to the corresponding optical cable connection information, label information of each port in each terminal block in the target cabinet, and the target terminal block number.
[0082] In some embodiments, for each optical cable in the target panel cabinet, the number of the connected optical cable is obtained from the corresponding optical cable connection information, and the port number corresponding to the connected optical cable is obtained from the label information of each port in each terminal row in the target panel cabinet, and it is queried whether each terminal row number in the target panel cabinet matches the target terminal row number. If the match is successful, the number of the connected optical cable, the port number corresponding to the connected optical cable, and the target terminal row number are used as the label information corresponding to each optical cable. If the match fails, the number of the connected optical cable and the port number corresponding to the connected optical cable are used as the label information corresponding to each optical cable.
[0083] The smart label includes a plurality of indicator lights, each of which corresponds to a terminal block; on this basis, the smart label generation method based on the digital model also includes the following steps:
[0084] Step 1: When receiving the terminal block replacement information submitted by the target user through the target terminal device, the indicator light corresponding to the target terminal block number is controlled to enter the target lighting mode.
[0085] In some embodiments, the smart tag includes a plurality of indicator lights, each indicator light corresponds to a terminal block, the execution subject is connected to the smart tag and the terminal device through various communication methods, and the terminal block replacement information includes the target terminal block number and the corresponding indicator light number. On this basis, after receiving the terminal block replacement information submitted by the target user through the target terminal device, a light control signal is sent to the smart tag to control the indicator light corresponding to the target terminal block number to enter the target light mode. The target light mode can be a light on mode.
[0086] The method for generating a smart label based on a digital model of the present invention further includes the following steps:
[0087] Step 1: Query the connecting optical cable number corresponding to each tail cable cabinet group in the preset digital model to obtain the tail cable connection information corresponding to each tail cable cabinet group; the tail cable connection information includes the connecting optical cable number, connection port number, connection device name, and tail cable model.
[0088] In some embodiments, the information in the preset digital model also includes the connection information of the tail cable cabinet, and the tail cable connection information includes the connection optical cable number, the connection port number, the connection device name, and the tail cable model. The connection device name is the name of the corresponding device connected to the tail cable, and the tail cable model consists of the code and number of the tail cable, which can be GY003, GM002, etc., where GY represents an outdoor optical cable for communication, and GM represents a mobile optical cable for communication. On this basis, the connection optical cable number corresponding to each tail cable cabinet group is queried in the preset digital model to obtain the tail cable connection information corresponding to each tail cable cabinet group.
[0089] Step 2: Look up the connection port number corresponding to the tail cable in the preset digital model to obtain the port attribute corresponding to the connection port number; the port attribute is the start port and the end port.
[0090] In some embodiments, the information in the preset digital model also includes connection port information, and the connection port information includes a connection port number and a port attribute. On this basis, the connection port number corresponding to the obtained tail cable is queried in the preset digital model to obtain the port attribute corresponding to the connection port number. Among them, the port attribute is the starting port and the ending port.
[0091] Step 3: Determine label information of each pigtail cable corresponding to the target cabinet according to the port number, port attribute, connection device name, and pigtail cable model of the corresponding pigtail cable.
[0092] In some embodiments, the port number, port attributes, connection device name, and the corresponding tail cable model of the connection port are used as label information of each tail cable corresponding to the target cabinet.
[0093] In these embodiments, the maintenance efficiency is improved. Specifically, by setting the information of the smart tag in a targeted manner based on the number of maintenance times of the cabinet, maintenance personnel are helped to determine the fault point, thereby improving the maintenance efficiency. In practice, maintenance personnel need to determine the fault point by checking one by one, which takes a long time and is inefficient. Therefore, by setting the information of the smart tag in a targeted manner, maintenance personnel can prioritize checking equipment with a higher failure rate based on the tag information, thereby improving the maintenance efficiency.
[0094] In some embodiments, in order to further solve the technical problem 3 described in the background technology part, that is, "the connection relationship between the screen cabinets is relatively complex and the data is huge, and it is easy to make mistakes and the accuracy is low when manually entering information", in some embodiments of the present invention, the connection relationship information and text information between the port of the terminal row on this side and the port of the terminal row on the opposite side are determined by the following steps:
[0095] Step 1: Scan the terminal block connection diagram to obtain multiple text areas corresponding to the terminal block connection diagram, and determine the position information of each text area.
[0096] In some embodiments, the execution subject has image processing software installed locally, and uses the image processing software to perform text scanning on the terminal strip connection diagram, and divides the terminal strip connection diagram into different text areas according to a fixed number of terminals. In practice, the middle point of the terminal strip connection diagram is used as a fixed point to establish a coordinate system, and the terminal strip connection diagram is subjected to coordinate transformation, and multiple text areas are mapped to the coordinate system to obtain the position coordinates of each corner of each text area, and the position coordinates of each corner of each text area are used as the position information of each text area.
[0097] Step 2: extract text information from each of the multiple text areas to obtain text information corresponding to each text area; perform feature extraction on the text information corresponding to each text area to obtain feature attributes corresponding to each text information; the feature attributes are port numbers or functional descriptions of connection lines.
[0098] In some embodiments, the execution subject is installed with text recognition software, and the text recognition software is used to extract the text information of each text area in the multiple text areas to obtain the text information corresponding to each text area, and the text information includes the port number and the functional description of the connecting line. In practice, the port number and the functional description of the connecting line in the text information corresponding to each text area are used as the characteristic attributes corresponding to each text information.
[0099] Step three, using a straight line detection algorithm to process the terminal block connection diagram, obtain multiple connection line segments corresponding to the terminal block connection diagram, and determine the position information of each connection line segment.
[0100] In some embodiments, a straight line detection algorithm is used to extract the connection line segments in the terminal block connection diagram to obtain multiple connection line segments corresponding to the terminal block connection diagram. In practice, the middle point of the terminal block connection diagram is used as a fixed point to establish a coordinate system, the terminal block connection diagram is subjected to coordinate transformation, and multiple connection line segments are mapped to the coordinate system to obtain the position coordinates of the two end ports of each connection line segment, and the position coordinates of the two end ports of each connection line segment are used as the position information of each connection line segment.
[0101] Step 4: Match the position information of each connecting line segment with the position information of each text area to determine the connection relationship information between the port of the terminal row on the local side and the port of the terminal row on the opposite side.
[0102] In some embodiments, the position information of each connecting line segment is matched with the position information of each text area. If the position coordinates of the ports at both ends of each connecting line segment are within the position coordinates of the text area, the match is successful. The port of the terminal row on this side and the port of the terminal row on the opposite side are connected through the connecting line segment. The port number of the terminal row on this side, the port number of the terminal row on the opposite side and the number of the connecting line segment are used as the connection relationship information between the port of the terminal row on this side and the port of the terminal row on the opposite side.
[0103] In these embodiments, the accuracy of information is improved. Specifically, by identifying the terminal block connection diagram, the accuracy of information is improved. In practice, the terminal block connection diagram is identified and information is entered manually. The terminal block connection diagram is relatively complex, and errors are prone to occur during the process, and the accuracy rate is low. Therefore, by intelligently identifying the terminal block connection diagram, the accuracy of information is improved.
[0104] The above descriptions are only some preferred embodiments of the present invention and the explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present invention is not limited to the technical solutions formed by the specific combination of the above technical features, but also should cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present invention (but not limited to) to form a technical solution.
Claims
1. A method for generating intelligent labels based on a digital model, characterized in that: include: Obtain the circuit diagram and cabinet name of the target cabinet in the target substation; The cabinet name of the target cabinet is queried in a preset digital model to obtain corresponding multiple optical cable connection information, wherein each optical cable connection information corresponds to an optical cable; According to the circuit diagram of the target cabinet, a device name table in the target cabinet is constructed; the device name table includes the device name of each device in the target cabinet; Query each device name in the device name table in the target panel cabinet in the preset digital model to obtain the real circuit connection information corresponding to each device; determine the opposite device corresponding to each device, the terminal block number on the local side corresponding to each device, and the opposite terminal block number corresponding to the terminal block number on the local side according to the real circuit connection information; Obtain a terminal row connection diagram between the terminal row number on this side and the corresponding terminal row number on the opposite side; determine the connection relationship information and text information between the port of the terminal row on this side and the port of the terminal row on the opposite side according to the terminal row connection diagram; determine the label information of each port in each terminal row in the target panel cabinet according to the connection relationship information and text information between the port of the terminal row on this side and the port of the terminal row on the opposite side, the device failure rate and the port number connected to the faulty device; For each optical cable of the target cabinet, based on the corresponding optical cable connection information and the label information of each port in each terminal block in the target cabinet, the line failure rate and the number of the connected optical cable corresponding to the faulty line, and the target terminal block number, the label information corresponding to each optical cable is generated, and the label information corresponding to each optical cable is sent to the label information writing device, so that the information writing device writes the label information corresponding to each optical cable to obtain the smart label corresponding to each optical cable; The smart label includes a plurality of indicator lights, each of which corresponds to a terminal block; when receiving the terminal block replacement information submitted by the target user through the target terminal device, the indicator light corresponding to the target terminal block number is controlled to enter the target light mode; Determine the label information of each pigtail cable corresponding to the target cabinet according to the port number, port attributes, name of the connected device, and the pigtail cable model of the corresponding pigtail cable; Determine whether each terminal row in the target panel cabinet has a free port, if the terminal row has a free port, determine it as a candidate terminal row, count the free port groups and occupied port groups corresponding to each candidate terminal row, determine the number of free ports in the free port group as the number of free ports, and determine the number of occupied ports in the occupied port group as the number of occupied ports; For each candidate terminal block, determine the ratio of the number of occupied ports to the number of free ports to obtain an actual duty cycle; determine a corresponding duty cycle threshold value according to the terminal block type of each candidate terminal block, and if the actual duty cycle is greater than the corresponding duty cycle threshold value, add the corresponding candidate terminal block to the terminal block group to be replaced; For each terminal row in the terminal row group to be replaced, arrange them in descending order according to the actual duty cycle to obtain a terminal row sequence to be replaced; determine the number of terminal rows in stock, select a target number of terminal rows from the terminal row sequence to be replaced and determine them as target terminal rows, and determine the terminal row number corresponding to the target terminal row as the target terminal row number.
2. The method for generating a smart label based on a digital model according to claim 1, characterized in that: The step of querying the cabinet name of the target cabinet in a preset digital model to obtain corresponding multiple optical cable connection information further includes: The cabinet name of the target cabinet is queried in a preset digital model to obtain corresponding multiple optical cable connection information and cabinet maintenance records; wherein the cabinet maintenance records include the cabinet failure cause and the cabinet maintenance times; the cabinet failure cause includes equipment failure and line failure; According to the fault cause of the cabinet, determine the name of the faulty device and the number of the faulty line; according to the name of the faulty device and the number of the faulty line, determine the number of the port to which the faulty device is connected and the number of the connecting optical cable corresponding to the faulty line; According to the maintenance record of the panel cabinet, the number of equipment failures and the number of line failures are counted; according to the number of equipment failures and the number of line failures, the equipment failure rate and the line failure rate are obtained.
3. The method for generating a smart label based on a digital model according to claim 2, characterized in that: Also includes: The connection optical cable number corresponding to each tail cable cabinet group is queried in the preset digital model to obtain the tail cable connection information corresponding to each tail cable cabinet group; the tail cable connection information includes the connection optical cable number, the connection port number, the connection device name, and the tail cable model; The connection port number corresponding to the tail cable is queried in the preset digital model to obtain the port attributes corresponding to the connection port number; the port attributes are a start port and an end port.
Citation Information
Patent Citations
A two-dimensional code realization method for intelligent substation optical fiber and cable life cycle management
CN109033907A
Modeling method and system for physical loop of secondary system of direct-current converter station
CN112347612A
Cable fault diagnosis system and method for secondary circuit of transformer substation
CN115372759A
Optical cable code writing method and equipment based on RFID (Radio Frequency Identification Device) indication tag
CN117634530A