CN116231527A - Cable laying method, cable laying device, computer equipment and storage medium - Google Patents

Cable laying method, cable laying device, computer equipment and storage medium Download PDF

Info

Publication number
CN116231527A
CN116231527A CN202211530568.5A CN202211530568A CN116231527A CN 116231527 A CN116231527 A CN 116231527A CN 202211530568 A CN202211530568 A CN 202211530568A CN 116231527 A CN116231527 A CN 116231527A
Authority
CN
China
Prior art keywords
channel
laying
cable
cabling
determining
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
CN202211530568.5A
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.)
China General Nuclear Power Corp
China Nuclear Power Technology Research Institute Co Ltd
CGN Power Co Ltd
Original Assignee
China General Nuclear Power Corp
China Nuclear Power Technology Research Institute Co Ltd
CGN Power 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 China General Nuclear Power Corp, China Nuclear Power Technology Research Institute Co Ltd, CGN Power Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN202211530568.5A priority Critical patent/CN116231527A/en
Publication of CN116231527A publication Critical patent/CN116231527A/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/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02GINSTALLATION OF ELECTRIC CABLES OR LINES, OR OF COMBINED OPTICAL AND ELECTRIC CABLES OR LINES
    • H02G1/00Methods or apparatus specially adapted for installing, maintaining, repairing or dismantling electric cables or lines
    • H02G1/06Methods or apparatus specially adapted for installing, maintaining, repairing or dismantling electric cables or lines for laying cables, e.g. laying apparatus on vehicle
    • H02G1/08Methods or apparatus specially adapted for installing, maintaining, repairing or dismantling electric cables or lines for laying cables, e.g. laying apparatus on vehicle through tubing or conduit, e.g. rod or draw wire for pushing or pulling

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The application relates to a cabling method, a device, a computer device and a storage medium. The method comprises the following steps: determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid; determining a channel laying code corresponding to the cable laying channel according to the configuration attribute of the cable laying channel; determining a target laying channel of a cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code; and laying the cable to be laid into the target laying channel. According to the scheme, the cable to be laid which meets the matching relation can be accurately laid on the target laying channel according to the matching relation between the cable laying code and the channel laying code. Thus, the cable which is unreasonable to be configured can be prevented from being laid in the cable channel by human error, the cable laying cost is reduced, and the accuracy of the cable laying is improved.

Description

Cable laying method, cable laying device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a cable laying method, a device, a computer device, and a storage medium.
Background
In recent years, in the design of various engineering projects, cabling design is an indispensable part.
At present, when cabling, the cables are only empirically laid in the cable channels, which easily causes unreasonable configuration problems between the cables and the cable channels. For example, when the cable attribute and the cable channel attribute do not meet the laying requirement, the cable corresponding to the cable attribute may be laid on the cable channel corresponding to the cable channel attribute by human error, so that the configuration between the cable and the cable channel is unreasonable, and the situation that the cable needs to be laid again is caused.
Therefore, how to improve the accuracy of cable laying is a technical problem to be solved.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an efficient cabling method, apparatus, computer device, and storage medium.
In a first aspect, the present application provides a method of cabling, the method comprising:
determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid;
determining a channel laying code corresponding to the cable laying channel according to the configuration attribute of the cable laying channel;
Determining a target laying channel of a cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code;
and laying the cable to be laid into the target laying channel.
In one embodiment, determining a channel laying code corresponding to a payable channel according to a configuration attribute of the payable channel includes:
determining an area code of the cable-laying channel according to a target channel area where the cable-laying channel is located;
determining an attribute code of the cabling channel according to the configuration attribute of the cabling channel;
and determining the channel laying codes corresponding to the cable-laying channels according to the region codes and the attribute codes of the cable-laying channels.
In one embodiment, determining a region code for a payable channel based on a target channel region in which the payable channel is located includes:
determining a target channel area where the cable laying channel is located and identification information of the target channel area according to the identification information of the cable laying channel;
and determining the area code of the cable-laying channel according to the identification information of the target channel area.
In one embodiment, determining a target cabling channel for cabling from among the cabling channels based on a matching relationship between cabling codes and channel cabling codes, comprises:
determining a region of a channel which can be laid according to the matching relation between the cable laying code and the region code in the channel laying code;
and determining a target laying channel of the cable to be laid from the cabling channels contained in the region of the channel to be laid according to the matching relation between the cabling codes and the attribute codes in the channel laying codes.
In one embodiment, determining a cable laying code corresponding to the cable to be laid according to a configuration attribute of the cable to be laid includes:
determining attribute codes corresponding to all the attributes of the cable to be laid according to the configuration attributes of the cable to be laid;
and carrying out coding processing on the attribute codes of each attribute according to the coding sequence of each attribute to obtain the cable laying codes corresponding to the cables to be laid.
In one embodiment, determining a target cabling channel for cabling from among the cabling channels based on a matching relationship between cabling codes and channel cabling codes, comprises:
Determining at least one selectable laying path from the cabling channels according to the matching relationship between the cabling codes and the channel cabling codes; wherein the selectable cabling paths include at least one payable cable pathway;
selecting a target laying path with the shortest path from the selectable laying paths;
and taking the cabling channel contained in the target cabling path as a target cabling channel of the cable to be cabling.
In a second aspect, the present application also provides a cabling arrangement. The device comprises:
the first determining module is used for determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid;
the second determining module is used for determining a channel laying code corresponding to the cable-laying channel according to the configuration attribute of the cable-laying channel;
the matching module is used for determining a target laying channel of the cable to be laid from the cable-laying channels according to the matching relation between the cable laying codes and the channel laying codes;
and the laying module is used for laying the cable to be laid into the target laying channel.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the following steps when executing the computer program:
Determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid;
determining a channel laying code corresponding to the cable laying channel according to the configuration attribute of the cable laying channel;
determining a target laying channel of a cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code;
and laying the cable to be laid into the target laying channel.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid;
determining a channel laying code corresponding to the cable laying channel according to the configuration attribute of the cable laying channel;
determining a target laying channel of a cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code;
and laying the cable to be laid into the target laying channel.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, performs the steps of:
Determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid;
determining a channel laying code corresponding to the cable laying channel according to the configuration attribute of the cable laying channel;
determining a target laying channel of a cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code;
and laying the cable to be laid into the target laying channel.
According to the cable laying method, the device, the computer equipment and the storage medium, the cable laying codes corresponding to the cables to be laid are determined according to the configuration attribute of the cables to be laid; determining a channel laying code corresponding to the cable laying channel according to the configuration attribute of the cable laying channel; determining a target laying channel of a cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code; and laying the cable to be laid into the target laying channel. According to the scheme, the cable to be laid which meets the matching relation can be accurately laid on the target laying channel according to the matching relation between the cable laying code and the channel laying code. Thus, the cable which is unreasonable to be configured can be prevented from being laid in the cable channel by human error, the cable laying cost is reduced, and the accuracy of the cable laying is improved.
Drawings
Fig. 1 is an application environment diagram of a cable laying method according to the present embodiment;
fig. 2 is a flow chart of a first cable laying method according to the present embodiment;
FIG. 3 is a schematic flow chart of determining a channel laying code according to the present embodiment;
FIG. 4 is a schematic flow chart of determining a target laying channel according to the present embodiment;
fig. 5 is a flow chart of a second cable laying method according to the present embodiment;
fig. 6 is a block diagram of a cable laying device according to the present embodiment;
fig. 7 is an internal structural diagram of the computer device provided in the present embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The embodiment of the application provides a computer device, which may be a terminal, and an internal structure diagram of the computer device may be shown in fig. 1. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal in a wired or Wireless manner, wherein the Wireless manner can be realized through Wireless-Fidelity (WIFI), a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. The computer program is executed by a processor to implement a cabling method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
In one embodiment, as shown in fig. 2, a cabling method is provided, the method comprising the steps of:
s201, determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid.
Optionally, in this embodiment, the to-be-laid cables refer to cables that the user prepares for laying, where each to-be-laid cable is configured with at least one attribute, and the configuration attribute of the to-be-laid cable refers to information describing functions, arrangement positions, laying requirements, and the like of the cables. Optionally, the configuration attributes of the cabling to be run may include functional information, voltage level information, specification level information, column/group information, and the like. The function information is used for representing the function of the cable, the voltage level information is used for representing the level of the voltage range which can be born by the cable, the standard level information is used for representing the level corresponding to the standard of the laying requirement of the cable, and the column/group information is used for representing the column number and the group number corresponding to the arrangement position of the cable.
Cabling codes refer to rules for representing cable information. The cabling code may be represented by at least one of numbers, letters, characters, symbols, or character strings, etc.
In this embodiment, a laying code relationship between a configuration attribute of a cable to be laid and a cable attribute corresponding to a cable laying code may be preset, and a cable laying code corresponding to the cable to be laid is determined according to the laying code relationship of the cable attribute.
Specifically, one implementation manner of obtaining the cable laying code may be: corresponding cable attribute values are set for each configuration attribute of the cable to be laid, wherein the cable attribute values are used for describing the states of the cable attributes, each cable attribute value can have corresponding attribute codes, and the cable laying codes can be obtained according to the attribute codes corresponding to each cable attribute value.
Another implementation of obtaining cabling code may be: and pre-training a model for determining the cable laying code, analyzing data corresponding to the configuration attribute of the cable to be laid through the model, and predicting the cable laying code corresponding to the configuration attribute of the cable to be laid.
S202, determining a channel laying code corresponding to the cable-laying channel according to the configuration attribute of the cable-laying channel.
In this embodiment, the payable channels refer to channels that can be used for cabling, where each payable channel is configured with at least one attribute, and the configuration attribute of the payable channel refers to information describing functions, arrangement positions, cabling requirements, and the like of the cable channel. Optionally, the configuration attributes of the cabling channels may include functional information, voltage level information, specification level information, column/group information, and the like. The function information is used for representing the function of the cable channel, the voltage grade information is used for representing the grade of the voltage range which can be born by the cable channel, the standard grade information is used for representing the grade corresponding to the standard of the laying requirement of the cable channel, and the column/group information is used for representing the column number and the group number corresponding to the arrangement position of the cable channel.
The channel laying code refers to a rule for representing cable channel information, wherein the channel laying code may also be represented by at least one of numerals, letters, characters, symbols, character strings, or the like.
In this embodiment, a configuration attribute of the cabling channel and a cabling code relationship of a cabling channel corresponding to the cabling channel of the channel cabling code may be preset, and the channel cabling code corresponding to the cabling channel may be determined according to the cabling code relationship of the cabling channel.
Specifically, one implementation manner of obtaining the channel laying code may be: each configuration attribute of the cabling channel has a corresponding channel attribute value that is used to describe the status of the cable channel attribute, and each channel attribute value may also have a corresponding attribute code. And obtaining the channel laying codes according to the attribute codes corresponding to the attribute values of each cable channel.
Another implementation of deriving the channel laying code may be: and pre-training a model for determining the channel laying codes, analyzing data corresponding to the configuration attributes of the cable-laying channels through the model, and predicting the channel laying codes corresponding to the configuration attributes of the cable-laying channels.
S203, determining a target laying channel of the cable to be laid from the cable-laying channels according to the matching relation between the cable laying codes and the channel laying codes.
Optionally, the target laying channel is an optimal cable channel which is selected for any cable to be laid by the pointer pair and can be laid, for example, a cable channel corresponding to the shortest laying path can be used as the target laying channel.
Optionally, the matching relationship between the cable laying code and the channel laying code refers to a corresponding relationship between the cable laying code corresponding to the cable to be laid and the channel laying code corresponding to the channel to be laid when the channel to be laid allows the cable to be laid.
In this embodiment, after determining the cable laying code corresponding to the configuration attribute of the cable to be laid and the channel laying code corresponding to the channel capable of being laid, the matching relationship between the cable laying code and the channel laying code may be determined according to the configuration attribute of the cable to be laid and the configuration attribute of the channel capable of being laid.
Specifically, the matching relationship between the cable laying code and the channel laying code can be determined according to the cable attribute value of the cable to be laid under each configuration attribute and the channel attribute value of the channel which can be laid under each configuration attribute.
Optionally, in this embodiment, for a laying task of a cable to be laid and a matching relationship between a cable laying code and a channel laying code, at least one optional laying path corresponding to at least one payable cable channel may be determined, and a cable channel corresponding to a shortest laying path may be used as a target laying channel.
S204, laying the cable to be laid into the target laying channel.
In this embodiment, after determining the target laying path of the cable to be laid, the cable to be laid may be laid into the target laying path.
According to the cable laying method, the cable laying codes corresponding to the cables to be laid are determined according to the configuration attributes of the cables to be laid; determining a channel laying code corresponding to the cable laying channel according to the configuration attribute of the cable laying channel; determining a target laying channel of a cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code; and laying the cable to be laid into the target laying channel. According to the scheme, the cable to be laid which meets the matching relation can be accurately laid on the target laying channel according to the matching relation between the cable laying code and the channel laying code. Thus, the cable which is unreasonable to be configured can be prevented from being laid in the cable channel by human error, the cable laying cost is reduced, and the accuracy of the cable laying is improved.
On the basis of the above embodiments, this embodiment presents another possible implementation of determining cabling codes and pathway laying codes. Specifically, determining the cabling code manner includes: determining attribute codes corresponding to all the attributes of the cable to be laid according to the configuration attributes of the cable to be laid; and carrying out coding processing on the attribute codes of each attribute according to the coding sequence of each attribute to obtain the cable laying codes corresponding to the cables to be laid.
Optionally, first, cable attribute values corresponding to each configuration attribute of the cable to be laid are determined, and corresponding attribute codes of the cable to be laid under each attribute are determined according to the relationship between the attribute values and the code values of the cable to be laid under each attribute. And then, respectively encoding the attribute codes corresponding to the attributes to the arrangement positions corresponding to the attributes according to the arrangement sequence of the attributes in the cable to be laid, and further obtaining the cable laying codes corresponding to the cable to be laid. In this embodiment, according to the coding sequence of each attribute in the cable to be laid, the attribute codes corresponding to each attribute respectively can be accurately coded to the arrangement positions corresponding to each attribute, so as to obtain accurate cable laying codes.
Similarly, determining the channel laying code pattern includes: determining attribute codes corresponding to all the attributes of the cabling channels according to the configuration attributes of the cabling channels; and carrying out coding processing on the attribute codes of each attribute according to the coding sequence of each attribute to obtain the channel laying codes corresponding to the cable laying channels.
Optionally, first, channel attribute values corresponding to each configuration attribute of the payable cable channel are determined, and corresponding attribute codes of the payable cable channel under each attribute are determined according to the relationship between the channel attribute values and the code values of the payable cable channel under each attribute. And then, respectively encoding the attribute codes corresponding to the attributes to the arrangement positions corresponding to the attributes according to the arrangement sequence of the attributes in the cabling channels, so as to obtain the channel laying codes corresponding to the cabling channels. In this embodiment, according to the arrangement sequence of each attribute in the cable-laying channel, the attribute codes corresponding to each attribute can be accurately encoded to the arrangement positions corresponding to each attribute, so as to obtain accurate channel-laying codes.
In this embodiment, according to the coding sequence of each attribute in the cable to be laid, the attribute codes corresponding to each attribute respectively can be accurately coded to the arrangement positions corresponding to each attribute, so as to obtain accurate cable laying codes. Similarly, according to the arrangement sequence of each attribute in the cabling channel, the attribute codes corresponding to each attribute can be accurately coded to the arrangement positions corresponding to each attribute, and then the accurate channel laying codes are obtained.
In order to facilitate understanding of the channel laying codes corresponding to the payable channels, the present embodiment provides a method for determining the channel laying codes corresponding to the payable channels, as shown in fig. 3, the method includes the following steps:
s301, determining the region code of the cable-laying channel according to the target channel region where the cable-laying channel is located.
Optionally, the target channel region refers to a region corresponding to a channel space in which the cable-laying channel is located.
Alternatively, the channel space in this embodiment may be a larger space, where the channel space includes a plurality of sub-regions, and each sub-region has a respective region identifier, such as a number. In this embodiment, for each of the payable channels, a corresponding sub-region in the channel space may be determined as the target channel region where the payable channel is located. And then, determining the area code of the cable-laying channel according to the area identification of the target channel area where the cable-laying channel is located. For example, the area code of the cable-laying channel can be obtained by encoding the area identifier of the target channel area where the cable-laying channel is located. It should be noted that, in this embodiment, for a cable-capable channel, the target channel area where the cable-capable channel is located may be one sub-area or multiple sub-areas in the channel space.
In an alternative embodiment, the operation of S301 includes the following substeps:
step one, determining a target channel area where the cable can be laid and the identification information of the target channel area according to the identification information of the cable-laying channel.
Optionally, the identification information of the payable channel refers to a tag or symbol for uniquely identifying the payable channel. The identification information of the target channel region refers to a tag or symbol for uniquely identifying the target channel region. The identification information of the cabling channel or the identification information of the target channel area may be at least one of a number, a symbol, a character string, etc.
In this embodiment, a corresponding relationship between the identification information of the payable cable channel and the area identification of each sub-area corresponding to the payable cable channel in the channel space may be preset, the identification information corresponding to the payable cable channel may be extracted, the sub-area corresponding to the space where the payable cable channel is located may be determined according to the identification information, and the identification information of the sub-area.
And step two, determining the area code of the cable-laying channel according to the identification information of the target channel area.
Alternatively, the relationship between the identification information of each channel region corresponding to the cable-capable channel and the region code may be predetermined, and after the identification information of the target channel region is obtained, the region code of the cable-capable channel may be determined according to the relationship between the identification information of the target channel region and the region code.
S302, determining attribute codes of the payable channels according to the configuration attributes of the payable channels.
Optionally, according to the attribute values corresponding to each configuration attribute of the cable-laying channel, determining the attribute codes corresponding to each attribute value, and according to the attribute codes corresponding to each attribute value, obtaining the attribute codes of the cable-laying channel. Assuming that the configuration attribute of the cable channel is fire resistance, the corresponding attribute values may include yes and no, that is, fire resistance and no fire resistance, where an attribute code corresponding to yes may be "1" and an attribute code corresponding to no may be "0". The attribute codes of other configuration attributes of the cable channel can also be represented in a digital mode, and in this embodiment, the representation modes of the attribute values and the attribute codes are not limited.
S303, determining a channel laying code corresponding to the cable-laying channel according to the region code and the attribute code of the cable-laying channel.
Optionally, in this embodiment, after the region code of the cable able channel and the attribute code of the cable able channel are obtained, the region code of the cable able channel and the attribute code of the cable able channel may be encoded to obtain a channel laying code corresponding to the cable able channel. In this embodiment, the encoding processing manner is not limited, and the region codes may be arranged in the encoding order before the attribute codes to obtain the channel laying codes corresponding to the cable-capable channels. Assuming that the area code of the cabling channel is A1 and the attribute code of the cabling channel is b1, the channel laying code A1 b1 corresponding to the cabling channel is provided.
In this embodiment, first, the identification information of the target channel area may be determined according to the identification information of the cable-capable channel, and then the area code of the cable-capable channel may be determined. Then, determining an attribute code of the payable channel according to the configuration attribute of the payable channel; under the condition that the area codes and the attribute codes are determined, the area codes and the attribute codes can be encoded to obtain the channel laying codes corresponding to the cable laying channels. In this way, the channel laying code corresponding to the cable-laying channel can be accurately determined based on the two dimensions of the region code and the attribute code.
To facilitate understanding of determining a target layup path for a cable to be laid, this embodiment presents an alternative implementation of determining a target layup path for a cable to be laid, as shown in fig. 4, the method comprising the steps of:
s401, determining a region capable of laying a channel according to the matching relation between the cable laying code and the region code in the channel laying code.
Optionally, a matching relationship between the cable and each region to which the cable channel belongs may be preset, a matching relationship between the cable laying code and a region code in the channel laying code may be determined according to the matching relationship between the cable and each region to which each cable channel for laying the cable belongs, and a region to which the cable channel for laying the cable corresponds may be determined from each region to which each cable channel belongs according to the matching relationship.
S402, determining a target laying channel of the cable to be laid from the cabling channels contained in the region of the channel to be laid according to the matching relation between the cabling codes and the attribute codes in the channel laying codes.
Optionally, a matching relationship between an attribute code corresponding to each attribute of the cable to be laid and an attribute code in the channel laying code may be determined according to a matching relationship between an attribute value corresponding to a configuration attribute of the cable to be laid and an attribute value corresponding to a configuration attribute of the cable channel, and based on this, a target laying channel of the cable to be laid conforming to the matching relationship is selected from the cabling channels included in each cabling channel area.
In practical applications, the manner of determining the target laying channel of the cable to be laid is various, and another alternative implementation of determining the target laying channel of the cable to be laid is also provided in this embodiment. Optionally, determining at least one selectable cabling pathway from the cabling channel according to a matching relationship between the cabling code and the channel cabling code; wherein the selectable cabling paths include at least one payable cable pathway; selecting a target laying path with the shortest path from the selectable laying paths; and taking the cabling channel contained in the target cabling path as a target cabling channel of the cable to be cabling.
In this embodiment, the selectable laying path may be a path corresponding to laying the cable to be laid on at least one of the payable channels. For any one cable to be laid, at least one path corresponding to at least one cable-laying channel can be determined, wherein the selectable laying path is any one path in the at least one path. Optionally, the target laying path is an optimal laying path selected by the pointer for any cable to be laid, for example, the optional laying path with the shortest path can be used as the target laying path.
Specifically, the matching relationship between the cable laying code and the channel laying code can be determined according to the matching relationship between the attribute value corresponding to the configuration attribute of the cable and the attribute value corresponding to the configuration attribute of the cable-capable channel, the corresponding relationship between the attribute value corresponding to the configuration attribute of the cable and the cable laying code, and the corresponding relationship between the attribute value corresponding to the configuration attribute of the cable-capable channel and the channel laying code. Then, according to the matching relation between the cable laying codes and the channel laying codes, at least one selectable laying path corresponding to at least one cabling channel which can be laid by cabling to be laid can be determined. After determining at least one optional laying path, sorting the paths according to the sequence from small to large of the distances of the optional laying paths, determining the sorting sequence of the paths, taking the corresponding laying path with the minimum distance as the current determined target laying path, and finally taking the cabling channel contained in the target laying path as the target laying channel of the cable to be laid.
In this embodiment, a plurality of ways of determining a target laying channel of a cable to be laid are provided, specifically, the target laying channel of the cable to be laid can be accurately determined through a matching relationship between the cable laying code and an area code in the channel laying code and a matching relationship between the cable laying code and an attribute code in the channel laying code. The target laying path can be determined from the selectable laying paths through the matching relationship between the cable laying codes and the channel laying codes, and then the cabling channel contained in the target laying path is used as the target laying path, namely, in the embodiment, the target laying path corresponding to the cable to be laid can be determined through various modes, so that the cable to be laid can be accurately laid on the target laying path.
On the basis of the above embodiment, this embodiment provides an alternative implementation manner of the cable laying method, as shown in fig. 5, and the method includes the following steps:
s501, determining attribute codes corresponding to all the attributes of the cables to be laid according to the configuration attributes of the cables to be laid.
S502, according to the coding sequence of each attribute, coding the attribute codes of each attribute to obtain the cable laying codes corresponding to the cables to be laid.
S503, determining a target channel area where the cable laying channel is located and identification information of the target channel area according to the identification information of the cable laying channel.
S504, determining the area code of the cable laying channel according to the identification information of the target channel area.
S505, determining attribute codes of the payable channels according to the configuration attributes of the payable channels.
S506, determining the channel laying codes corresponding to the cable laying channels according to the region codes and the attribute codes of the cable laying channels.
S507, determining a region capable of laying a channel according to the matching relation between the cable laying code and the region code in the channel laying code.
S508, determining a target laying channel of the cable to be laid from the cabling channels contained in the region of the cabling channels according to the matching relation between the cabling codes and the attribute codes in the channel laying codes.
S509, laying the cable to be laid into the target laying channel.
Optionally, after performing the operation of S506, determining the manner of the target laying channel of the cable to be laid may further include: determining at least one selectable laying path from the cabling channels according to the matching relationship between the cabling codes and the channel cabling codes; wherein the selectable cabling paths include at least one payable cable pathway; selecting a target laying path with the shortest path from the selectable laying paths; and taking the cabling channel contained in the target cabling path as a target cabling channel of the cable to be cabling.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a cable laying device for realizing the cable laying method. The implementation solutions of the problems provided by the device are similar to those described in the above methods, so the specific limitations of one or more embodiments of a cable laying device provided below may be referred to above as limitations of a cable laying method, and will not be described herein.
In one embodiment, as shown in fig. 6, there is provided a cabling arrangement 1 comprising:
the first determining module 601 is configured to determine a cable laying code corresponding to the cable to be laid according to a configuration attribute of the cable to be laid;
a second determining module 602, configured to determine a channel laying code corresponding to the cable-capable channel according to the configuration attribute of the cable-capable channel;
a matching module 603, configured to determine a target laying channel of a cable to be laid from the cabling channels according to a matching relationship between the cabling codes and the channel laying codes;
a laying module 604 for laying a cable to be laid into a target laying path.
In one embodiment, the second determining module 602 includes:
The first determining unit is used for determining an area code of the cable-laying channel according to a target channel area where the cable-laying channel is located;
the second determining unit is used for determining attribute codes of the cable-laying channels according to the configuration attributes of the cable-laying channels;
and the third determining unit is used for determining the channel laying codes corresponding to the cable-laying channels according to the region codes and the attribute codes of the cable-laying channels.
In one embodiment, the first determining unit is specifically configured to:
determining a target channel area where the cable laying channel is located and identification information of the target channel area according to the identification information of the cable laying channel;
and determining the area code of the cable-laying channel according to the identification information of the target channel area.
In one embodiment, the matching module 603 includes:
a fourth determining unit, configured to determine a region where a channel can be laid according to a matching relationship between the cable laying code and a region code in the channel laying code;
and a fifth determining unit for determining a target laying channel of the cable to be laid from the cabling channels included in the region of the laying channel according to the matching relationship between the cabling codes and the attribute codes in the channel laying codes.
In one embodiment, the first determining module 601 is specifically configured to:
determining attribute codes corresponding to all the attributes of the cable to be laid according to the configuration attributes of the cable to be laid;
and carrying out coding processing on the attribute codes of each attribute according to the coding sequence of each attribute to obtain the cable laying codes corresponding to the cables to be laid.
In one embodiment, the matching module 603 includes:
a sixth determining unit for determining at least one selectable laying path from the cabling channels according to the matching relationship between the cabling codes and the channel laying codes; wherein the selectable cabling paths include at least one payable cable pathway;
a selecting unit for selecting a target laying path with the shortest path from the selectable laying paths;
and the laying unit is used for taking the cabling channel contained in the target laying path as a target laying channel of the cable to be laid.
The various modules in the cabling arrangement described above can be implemented in whole or in part in software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by the processor to implement a cabling method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid; determining a channel laying code corresponding to the cable laying channel according to the configuration attribute of the cable laying channel; determining a target laying channel of a cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code; and laying the cable to be laid into the target laying channel.
In one embodiment, determining a channel laying code corresponding to a payable channel according to a configuration attribute of the payable channel includes: determining an area code of the cable-laying channel according to a target channel area where the cable-laying channel is located; determining an attribute code of the cabling channel according to the configuration attribute of the cabling channel; and determining the channel laying codes corresponding to the cable-laying channels according to the region codes and the attribute codes of the cable-laying channels.
In one embodiment, determining a region code for a payable channel based on a target channel region in which the payable channel is located includes: determining a target channel area where the cable laying channel is located and identification information of the target channel area according to the identification information of the cable laying channel; and determining the area code of the cable-laying channel according to the identification information of the target channel area.
In one embodiment, determining a target cabling channel for cabling from among the cabling channels based on a matching relationship between cabling codes and channel cabling codes, comprises: determining a region of a channel which can be laid according to the matching relation between the cable laying code and the region code in the channel laying code; and determining a target laying channel of the cable to be laid from the cabling channels contained in the region of the channel to be laid according to the matching relation between the cabling codes and the attribute codes in the channel laying codes.
In one embodiment, determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid comprises determining attribute codes corresponding to all the attributes of the cable to be laid according to the configuration attribute of the cable to be laid; and carrying out coding processing on the attribute codes of each attribute according to the coding sequence of each attribute to obtain the cable laying codes corresponding to the cables to be laid.
In one embodiment, determining a target cabling channel for cabling from among the cabling channels based on a matching relationship between cabling codes and channel cabling codes, comprises: determining at least one selectable laying path from the cabling channels according to the matching relationship between the cabling codes and the channel cabling codes; wherein the selectable cabling paths include at least one payable cable pathway; selecting a target laying path with the shortest path from the selectable laying paths; and taking the cabling channel contained in the target cabling path as a target cabling channel of the cable to be cabling.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid; determining a channel laying code corresponding to the cable laying channel according to the configuration attribute of the cable laying channel; determining a target laying channel of a cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code; and laying the cable to be laid into the target laying channel.
In one embodiment, determining a channel laying code corresponding to a payable channel according to a configuration attribute of the payable channel includes: determining an area code of the cable-laying channel according to a target channel area where the cable-laying channel is located; determining an attribute code of the cabling channel according to the configuration attribute of the cabling channel; and determining the channel laying codes corresponding to the cable-laying channels according to the region codes and the attribute codes of the cable-laying channels.
In one embodiment, determining a region code for a payable channel based on a target channel region in which the payable channel is located includes: determining a target channel area where the cable laying channel is located and identification information of the target channel area according to the identification information of the cable laying channel; and determining the area code of the cable-laying channel according to the identification information of the target channel area.
In one embodiment, determining a target cabling channel for cabling from among the cabling channels based on a matching relationship between cabling codes and channel cabling codes, comprises: determining a region of a channel which can be laid according to the matching relation between the cable laying code and the region code in the channel laying code; and determining a target laying channel of the cable to be laid from the cabling channels contained in the region of the channel to be laid according to the matching relation between the cabling codes and the attribute codes in the channel laying codes.
In one embodiment, determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid comprises determining attribute codes corresponding to all the attributes of the cable to be laid according to the configuration attribute of the cable to be laid; and carrying out coding processing on the attribute codes of each attribute according to the coding sequence of each attribute to obtain the cable laying codes corresponding to the cables to be laid.
In one embodiment, determining a target cabling channel for cabling from among the cabling channels based on a matching relationship between cabling codes and channel cabling codes, comprises: determining at least one selectable laying path from the cabling channels according to the matching relationship between the cabling codes and the channel cabling codes; wherein the selectable cabling paths include at least one payable cable pathway; selecting a target laying path with the shortest path from the selectable laying paths; and taking the cabling channel contained in the target cabling path as a target cabling channel of the cable to be cabling.
The present application also provides a computer program product. Computer program product comprising a computer program which, when executed by a processor, realizes the steps of: determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid; determining a channel laying code corresponding to the cable laying channel according to the configuration attribute of the cable laying channel; determining a target laying channel of a cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code; and laying the cable to be laid into the target laying channel.
In one embodiment, determining a channel laying code corresponding to a payable channel according to a configuration attribute of the payable channel includes: determining an area code of the cable-laying channel according to a target channel area where the cable-laying channel is located; determining an attribute code of the cabling channel according to the configuration attribute of the cabling channel; and determining the channel laying codes corresponding to the cable-laying channels according to the region codes and the attribute codes of the cable-laying channels.
In one embodiment, determining a region code for a payable channel based on a target channel region in which the payable channel is located includes: determining a target channel area where the cable laying channel is located and identification information of the target channel area according to the identification information of the cable laying channel; and determining the area code of the cable-laying channel according to the identification information of the target channel area.
In one embodiment, determining a target cabling channel for cabling from among the cabling channels based on a matching relationship between cabling codes and channel cabling codes, comprises: determining a region of a channel which can be laid according to the matching relation between the cable laying code and the region code in the channel laying code; and determining a target laying channel of the cable to be laid from the cabling channels contained in the region of the channel to be laid according to the matching relation between the cabling codes and the attribute codes in the channel laying codes.
In one embodiment, determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid comprises determining attribute codes corresponding to all the attributes of the cable to be laid according to the configuration attribute of the cable to be laid; and carrying out coding processing on the attribute codes of each attribute according to the coding sequence of each attribute to obtain the cable laying codes corresponding to the cables to be laid.
In one embodiment, determining a target cabling channel for cabling from among the cabling channels based on a matching relationship between cabling codes and channel cabling codes, comprises: determining at least one selectable laying path from the cabling channels according to the matching relationship between the cabling codes and the channel cabling codes; wherein the selectable cabling paths include at least one payable cable pathway; selecting a target laying path with the shortest path from the selectable laying paths; and taking the cabling channel contained in the target cabling path as a target cabling channel of the cable to be cabling.
The data (including, but not limited to, data for analysis, data stored, data displayed, etc.) referred to in this application are all data authorized by the user or sufficiently authorized by the parties.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method of cabling, the method comprising:
determining a cable laying code corresponding to a cable to be laid according to the configuration attribute of the cable to be laid;
determining a channel laying code corresponding to a cable laying channel according to the configuration attribute of the cable laying channel;
determining a target laying channel of the cable to be laid from the cable-laying channel according to the matching relation between the cable laying code and the channel laying code;
And laying the cable to be laid into the target laying channel.
2. The method of claim 1, wherein determining a channel laying code corresponding to a payable channel according to a configuration attribute of the payable channel comprises:
determining an area code of the cable-laying channel according to a target channel area where the cable-laying channel is located;
determining an attribute code of the cabling channel according to the configuration attribute of the cabling channel;
and determining the channel laying codes corresponding to the cable-laying channels according to the region codes and the attribute codes of the cable-laying channels.
3. The method of claim 2, wherein the determining the region code of the payable channel based on the target channel region in which the payable channel is located comprises:
determining a target channel area where the cable can be laid and identification information of the target channel area according to the identification information of the cable can be laid;
and determining the area code of the cable-laying channel according to the identification information of the target channel area.
4. The method of claim 2, wherein the determining a target cabling channel for cabling from the cabling channels based on a matching relationship between the cabling codes and the channel cabling codes comprises:
determining a region of a channel which can be laid according to the matching relation between the cable laying code and the region code in the channel laying code;
and determining the target laying channel of the cable to be laid from the cabling channels contained in the area of the laying channel according to the matching relation between the cabling codes and the attribute codes in the channel laying codes.
5. The method of claim 1, wherein determining the cabling code corresponding to the cabling to be run according to the configuration attribute of the cabling to be run comprises:
determining attribute codes corresponding to all the attributes of the cables to be laid according to the configuration attributes of the cables to be laid;
and carrying out coding processing on the attribute codes of each attribute according to the coding sequence of each attribute to obtain the cable laying codes corresponding to the cables to be laid.
6. The method of claim 1, wherein the determining a target cabling channel for cabling from the cabling channels based on a matching relationship between the cabling codes and the channel cabling codes comprises:
Determining at least one selectable cabling pathway from the cabling channel according to a matching relationship between the cabling code and the channel cabling code; wherein the selectable cabling paths include at least one payable cable pathway;
selecting a target laying path with the shortest path from the selectable laying paths;
and taking the cabling channel contained in the target cabling path as a target cabling channel of the cable to be cabling.
7. A cabling arrangement, the arrangement comprising:
the first determining module is used for determining a cable laying code corresponding to the cable to be laid according to the configuration attribute of the cable to be laid;
the second determining module is used for determining a channel laying code corresponding to the cable-laying channel according to the configuration attribute of the cable-laying channel;
the matching module is used for determining a target laying channel of the cable to be laid from the cable-laying channels according to the matching relation between the cable laying codes and the channel laying codes;
and the laying module is used for laying the cable to be laid into the target laying channel.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202211530568.5A 2022-12-01 2022-12-01 Cable laying method, cable laying device, computer equipment and storage medium Pending CN116231527A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211530568.5A CN116231527A (en) 2022-12-01 2022-12-01 Cable laying method, cable laying device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211530568.5A CN116231527A (en) 2022-12-01 2022-12-01 Cable laying method, cable laying device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116231527A true CN116231527A (en) 2023-06-06

Family

ID=86586072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211530568.5A Pending CN116231527A (en) 2022-12-01 2022-12-01 Cable laying method, cable laying device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116231527A (en)

Similar Documents

Publication Publication Date Title
US11580761B2 (en) Ink file searching method, apparatus, and program
CN108985066A (en) Intelligent contract security vulnerability detection method, device, terminal and storage medium
CN112949477B (en) Information identification method, device and storage medium based on graph convolution neural network
CN116305895A (en) Product model generation method, device, computer equipment and storage medium
CN116010226A (en) Software system reliability simulation evaluation method and device and computer equipment
CN114841126A (en) Form generation method, device, equipment, storage medium and program product
CN117332766A (en) Flow chart generation method, device, computer equipment and storage medium
CN116231527A (en) Cable laying method, cable laying device, computer equipment and storage medium
CN113160126B (en) Hardware Trojan detection method, hardware Trojan detection device, computer equipment and storage medium
CN109544661B (en) Area map drawing method, apparatus, computer device and storage medium
CN114218903A (en) Table data processing method and device, computer equipment and storage medium
CN117113302B (en) Text watermark generation method and text verification method
CN116821885B (en) Data acquisition method, device, computer equipment and storage medium
CN117540915A (en) Big data technology-based selection scheme generation method, device, equipment and medium
CN115686706B (en) Terminal view configuration method, device, computer equipment and storage medium
CN117612192A (en) Electronic drawing information identification method, system, electronic equipment and storage medium
CN111949682B (en) Compensation protocol generation method, device, computer equipment and storage medium
CN116029026A (en) Model file processing method, device, equipment, storage medium and program product
CN117032689A (en) Method and device for generating application program page, computer equipment and storage medium
CN109036096B (en) Method and device for controlling interpolation points along map line
CN118153876A (en) Method, device and equipment for determining switching sequence of fuel related components in nuclear power plant
CN117435100A (en) Element display method, device, computer equipment and storage medium
CN117975473A (en) Bill text detection model training and detection method, device, equipment and medium
CN115758645A (en) Cable laying method, cable laying device, computer equipment and storage medium
CN117707582A (en) Method and device for updating assembly of virtual object and computer equipment

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