Cable drawing method and system, electronic equipment and computer program product

Through cable capture processing and attribute update, the problem of segmentation and attribute setting in the prior art is solved, and the segmentation processing and attribute update of the cable segment behind the intermediate connector is realized, which meets the cable operation needs.

CN119167464APending Publication Date: 2024-12-20STATE GRID XINJIANG ELECTRIC POWER CORP +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411340391.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The prior art cannot divide the cable into two physical segments at the intermediate joint, and cannot set the cable attribute information at the front and rear ends of the intermediate joint in segments, which cannot meet the actual cable operation needs.

Method used

By real-time judgment, the intermediate connector insertion position information is received, the cable capture process is performed, and the intermediate connector is inserted based on the position information of the cable capture point, the cable segment is divided into two sub-cable segments, and the sub-cable segment is updated.

Benefits of technology

The segmentation processing of the cable segment behind the intermediate connector is realized, and the attribute information of the sub-cable segments at both ends of the intermediate connector can be updated separately to meet the actual cable operation needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119167464A_ABST
    Figure CN119167464A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of cable graph drawing, and aims to provide a cable drawing method and system, electronic equipment and a computer program product. The method comprises the steps that after an intermediate joint insertion position selection instruction bound with insertion position information is received, cable capture processing is carried out according to the insertion position information, and when a cable capture point is captured, based on the position information of the cable capture point, an appointed intermediate joint is inserted into a point position where the cable capture point of a target cable section is located; the method comprises the following steps: firstly, acquiring position information of a cable capturing point, taking the position information of the cable capturing point as position information of a specified intermediate joint, then acquiring starting point position information and terminal point position information of a target cable section, dividing the target cable section into two sub-cable sections based on the position information of the specified intermediate joint, and finally performing attribute updating processing on the two sub-cable sections. According to the invention, segmentation processing of the cable segment after the intermediate joint is inserted can be realized, and the attribute information of the sub-cable segments at the two ends of the intermediate joint can be respectively updated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of cable graphic drawing, and in particular relates to a cable line drawing method, system, electronic equipment and computer program product. Background Art

[0002] Cable line diagram drawing is the main content of cable design work. In current cable design work, it is often necessary to modify or expand the cable line, which may involve adding intermediate joints to existing cables. When drawing cable diagrams, in order to realize the function of inserting an intermediate joint into a certain cable, the existing overhead line drawing method is usually used. That is, if there is a section of cable between the cable well or electrical equipment, when it is necessary to insert an intermediate joint into the cable, the intermediate joint is directly attached to the cable for display.

[0003] During the cable design process, there is a need to reconstruct the properties of the cables at both ends of the intermediate joint. For example, there is a cable with an intermediate joint in the cable network. The cable in front of the intermediate joint is newly laid, while the other part already exists. In this case, the first half of the cable (i.e. the newly constructed part) and the second half (i.e. the original part) may have different properties, such as different maintenance status, service life, material type, etc. In this case, during the cable drawing process, it is necessary to modify the property information of the cable in front of the intermediate joint after inserting the intermediate joint into the specified cable.

[0004] However, in the process of using the prior art, the inventors found that the prior art has at least the following problems: With the existing overhead line drawing method, after inserting an intermediate joint into a cable, the cable cannot be physically divided into two sections from the intermediate joint. When the cable divided by the intermediate joint is displayed, it is still a single cable as a whole. In addition, based on the existing technology, the attribute information of the cable at the front and rear ends of the intermediate joint cannot be segmented, which cannot meet the actual cable operation needs. Summary of the invention

[0005] The present invention aims to solve the above technical problems at least to a certain extent, and provides a cable line drawing method, system, electronic device and computer program product. A linkage integrated operation and maintenance method, system, device and product based on big data In order to achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present invention provides a cable line drawing method, comprising: Determine in real time whether the intermediate connector insertion position selection instruction bound with the insertion position information is received, if so, proceed to the next step; Perform cable capture processing according to the insertion position information, and proceed to the next step when the cable capture point is captured; wherein the cable capture point is located on any target cable segment; Based on the position information of the cable capture point, insert a designated intermediate joint at the point where the cable capture point of the target cable segment is located, and use the position information of the cable capture point as the position information of the designated intermediate joint; The starting point position information and the ending point position information of the target cable segment are obtained, and based on the position information of the designated intermediate joint, the target cable segment is divided into two sub-cable segments; wherein, of the two sub-cable segments, the starting point position information of any sub-cable segment is the starting point position information of the target cable segment, and the ending point position information of any sub-cable segment is the position information of the designated intermediate joint, and the starting point position information of the other sub-cable segment is the position information of the designated intermediate joint, and the ending point position information of the other sub-cable segment is the ending point position information of the target cable segment; Update the properties of the two sub-cable segments.

[0006] In a possible design, performing cable capture processing according to the insertion position information includes: Taking the insertion position information as the center of the circle and the specified length as the capture radius, a cable capture area is constructed; Determine whether there is a cable segment overlapping with the cable capture area position, if yes, proceed to the next step; if no, determine that the cable capture point is not captured; A point in the cable segment overlapping with the cable capture area position that is closest to the insertion position information is obtained, and the point is used as a cable capture point that matches the intermediate joint insertion position selection instruction.

[0007] In one possible design, the method further includes: Determine in real time whether a cable well position moving instruction bound with a specified cable well identification and target position information is received, and if so, proceed to the next step; Obtaining the position information of the cable well to be moved corresponding to the designated cable well identifier, and the position information of the adjacent cable well connected to the cable well to be moved through the cable line, and obtaining the intermediate cable segment between the cable well to be moved and the adjacent cable well according to the position information of the cable well to be moved and the position information of the adjacent cable well; It is determined whether there is a sub-cable segment in the intermediate cable segment. If yes, a coordinated update process is performed on the intermediate cable segment based on all the sub-cable segments in the intermediate cable segment.

[0008] In a possible design, obtaining the intermediate cable segment between the cable well to be moved and the adjacent cable well according to the position information of the cable well to be moved and the position information of the adjacent cable well includes: Taking the adjacent cable well as a starting point and the cable well to be moved as an end point, searching for a cable segment associated with the adjacent cable well; Determine whether the end node of the cable segment associated with the adjacent cable well is an intermediate joint, if so, proceed to the next step; Continue searching for the next cable segment associated with the adjacent cable well until the end node of the found cable segment is the cable well to be moved. At this time, according to the search order, all the found cable segments associated with the adjacent cable well are taken as sub-cable segments, and all the sub-cable segments are combined to obtain the intermediate cable segment between the cable well to be moved and the adjacent cable well.

[0009] In one possible design, when determining whether the end node of the cable segment associated with the adjacent cable well is an intermediate joint, if not, the cable segment currently associated with the adjacent cable well is used as the intermediate cable segment between the cable well to be moved and the adjacent cable well.

[0010] In one possible design, based on all sub-cable segments in the intermediate cable segment, performing collaborative update processing on the intermediate cable segment includes: Based on all the sub-cable segments in the intermediate cable segment, a temporary cable segment is constructed with the adjacent cable well as a starting point and the cable well to be moved as an end point; Calculate and obtain first reconstructed cable segment position information corresponding to the temporary cable segment according to the position information of the adjacent cable well and the target position information of the cable well to be moved; According to the first reconstructed cable segment position information, the position information of all sub-cable segments in the intermediate cable segment is updated in sequence in proportion to obtain updated sub-cable segments after all positions are updated, and all updated sub-cable segments constitute a first updated intermediate cable segment corresponding to the intermediate cable segment; The attribute information of all sub-cable segments in the intermediate cable segment is obtained, and the attribute information of each sub-cable segment is assigned to the corresponding updated sub-cable segment, so as to implement the attribute update processing of all updated sub-cable segments in the first updated intermediate cable segment.

[0011] In a possible design, when determining whether there is a sub-cable segment in the intermediate cable segment, if not, the method includes: Calculate and obtain second reconstructed cable segment position information corresponding to the middle cable segment according to the position information of the adjacent cable well and the target position information of the cable well to be moved; According to the second reconstructed cable segment position information, the position information of the intermediate cable segment is updated to obtain a second updated intermediate cable segment corresponding to the intermediate cable segment; The attribute information of the intermediate cable segment is acquired, and the attribute information of the intermediate cable segment is assigned to the second updated intermediate cable segment, so as to implement the attribute update processing of the second updated intermediate cable segment.

[0012] In a second aspect, the present invention provides a cable line drawing system for implementing any of the cable line drawing methods described above; the cable line drawing system comprises an instruction receiving module, a cable line capturing module, an intermediate joint inserting module, a cable line dividing module and an attribute updating module which are sequentially connected in communication, wherein: The instruction receiving module is used to determine in real time whether the intermediate connector insertion position selection instruction bound with the insertion position information is received, and if so, send the insertion position information to the cable line capturing module; The cable capture module is used to perform cable capture processing according to the insertion position information, and when a cable capture point is captured, send the position information of the captured cable capture point to the intermediate joint insertion module; wherein the cable capture point is located on any target cable segment; The intermediate joint insertion module is used to insert a designated intermediate joint at the location of the cable capture point of the target cable segment based on the location information of the cable capture point, and use the location information of the cable capture point as the location information of the designated intermediate joint; The cable line division module is used to obtain the starting point position information and the ending point position information of the target cable segment, and divide the target cable segment into two sub-cable segments based on the position information of the designated intermediate joint; wherein, among the two sub-cable segments, the starting point position information of any sub-cable segment is the starting point position information of the target cable segment, and the ending point position information of any sub-cable segment is the position information of the designated intermediate joint, and the starting point position information of the other sub-cable segment is the position information of the designated intermediate joint, and the ending point position information of the other sub-cable segment is the ending point position information of the target cable segment; The attribute updating module is used to perform attribute updating processing on the two sub-cable segments.

[0013] In a third aspect, the present invention provides an electronic device, comprising: a memory for storing computer program instructions; and, A processor is used to execute the computer program instructions to complete the operation of the cable line drawing method as described in any one of the above.

[0014] In a fourth aspect, the present invention provides a computer program product, comprising a computer program or instructions, wherein the computer program or instructions, when executed by a computer, implements any one of the cable drawing methods described above.

[0015] The beneficial effects of the present invention are: The present invention discloses a cable line drawing method, system, electronic device and computer program product. After inserting an intermediate joint on a cable segment, the original cable segment can be segmented with the intermediate joint as a dividing point, so that the two sub-cable segments before and after the intermediate joint can be selected separately, and the attribute information can be updated separately. Specifically, during the implementation of the present invention, it is judged in real time whether an intermediate joint insertion position selection instruction bound with insertion position information is received. If so, the cable line is captured according to the insertion position information. When the cable line capture point is captured, the designated intermediate joint is inserted at the point where the cable line capture point of the target cable segment is located based on the position information of the cable line capture point, and the position information of the cable line capture point is used as the position information of the designated intermediate joint. Subsequently, the starting position information and the end position information of the target cable segment are obtained, and based on the position information of the designated intermediate joint, the target cable segment is divided into two sub-cable segments, and finally the two sub-cable segments are updated. Based on the present invention, the segmentation of the cable segment after the intermediate joint is inserted can be realized, and the attribute information of the sub-cable segments at both ends of the intermediate joint can be updated separately, so as to meet the actual cable operation needs.

[0016] Other beneficial effects of the present invention will be further described in the specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a flow chart of the cable drawing method in Example 1; Figure 2 is a schematic diagram of the cable line illustrated in Example 1; Figure 3 This is a module block diagram of the cable drawing system in Example 2. DETAILED DESCRIPTION

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.

[0019] Embodiment 1: This embodiment discloses a cable line drawing method, which can be executed by, but is not limited to, a computer device or a virtual machine with certain computing resources, such as a personal computer, a smart phone, a personal digital assistant, or a wearable device, or by a virtual machine.

[0020] like Figure 1 As shown, a cable line drawing method may include but is not limited to the following steps: S1. Determine in real time whether the intermediate joint insertion position selection instruction bound with the insertion position information is received. If so, proceed to the next step; if not, do not act; It should be noted that in this embodiment, the intermediate joint insertion position selection instruction can be sent by the mouse, or by the user touching the display screen in some way, which is not limited here. In addition, in this embodiment, multiple graphics drawing modes can be pre-set according to different graphics drawing tasks, such as setting the intermediate joint insertion mode and the cable well drag mode, so that after the system enters the intermediate joint insertion mode, when the mouse performs a click action, it confirms that the intermediate joint insertion position selection instruction has been received, which can help improve and reduce the user's operating experience.

[0021] S2. Perform cable capture processing according to the insertion position information, and proceed to the next step when the cable capture point is captured; wherein the cable capture point is located on any target cable segment; it should be noted that if the cable capture point is not captured, the intermediate joint insertion action is terminated, or a re-selection position prompt is output to re-receive the intermediate joint insertion position selection instruction until the cable capture point is captured. In this embodiment, if the cable capture point is not captured, the intermediate joint insertion action is terminated.

[0022] Specifically, in step S2 of this embodiment, the cable capture process is performed according to the insertion position information, including: S201. Using the insertion position information as the center of the circle and the specified length as the capture radius, a cable capture area is constructed; S202. Determine whether there is a cable segment overlapping with the cable capture area position, if yes, proceed to the next step; if no, determine that the cable capture point is not captured, then the intermediate joint insertion action can be directly terminated, that is, the intermediate joint insertion mode is exited; S203. Acquire a point in the cable segment overlapping with the cable capture area position that is closest to the insertion position information, and use the point as a cable capture point that matches the intermediate connector insertion position selection instruction.

[0023] Furthermore, after the cable capture point is captured in step S2, the present embodiment can further confirm whether the cable capture point is valid based on the attribute information of the target cable segment, that is, confirm whether an intermediate joint can be inserted at the cable capture point, and if the intermediate joint can be inserted, enter step S3, otherwise the intermediate joint insertion action is terminated. As an example, the attribute information of the target cable segment includes a laying method. If the laying method is a tunnel, then since the cables in the tunnel can be directly contacted, an intermediate joint can be installed at any position of the target cable segment. At this time, the cable capture point is determined to be valid, otherwise it is invalid; except for the tunnel laying method, the target cable segments of the other laying methods cannot be directly contacted, and the intermediate joint can only be installed in the cable well. At this time, if the cable capture point is located in the cable well, the cable capture point is determined to be valid, otherwise it is invalid.

[0024] S3. Based on the position information of the cable capture point, insert a designated intermediate joint at the location of the cable capture point of the target cable segment, and use the position information of the cable capture point as the position information of the designated intermediate joint, that is, make the position of the designated intermediate joint consistent with the position of the cable capture point; it should be noted that, in this embodiment, the designated intermediate joint may be an intermediate joint of a specified type, model and other parameters pre-selected by the user, which is not limited here.

[0025] S4. Obtain the starting point position information and the ending point position information of the target cable segment, and divide the target cable segment into two sub-cable segments based on the position information of the designated intermediate joint; wherein, of the two sub-cable segments, the starting point position information of any sub-cable segment is the starting point position information of the target cable segment, and the ending point position information of any sub-cable segment is the position information of the designated intermediate joint, that is, the starting point position and the ending point position of any sub-cable segment are respectively consistent with the starting point position of the target cable segment and the position of the designated intermediate joint; the starting point position information of the other sub-cable segment is the position information of the designated intermediate joint, and the ending point position information of the other sub-cable segment is the ending point position information of the target cable segment, that is, the starting point position and the ending point position of the other sub-cable segment are respectively consistent with the position of the designated intermediate joint and the ending point position of the target cable segment; S5. Update the attributes of the two sub-cable segments. It should be noted that in this embodiment, the original attributes of the target cable segment can be assigned to the two sub-cable segments, and the attributes of any sub-cable segment can be modified separately according to the subsequent cable design work, which is not limited here. In addition, in this embodiment, after the target cable segment is divided into two sub-cable segments, the length of a sub-cable segment can be recalculated and updated based on the starting position information and the end position information of a sub-cable segment.

[0026] After inserting the intermediate joint on the cable segment, this embodiment can use the intermediate joint as the dividing point to segment the original cable segment, so that the two sub-cable segments before and after the intermediate joint can be selected separately, and the attribute information can be updated separately. Specifically, during the implementation of this embodiment, it is determined in real time whether the intermediate joint insertion position selection instruction bound with the insertion position information is received. If so, the cable line capture processing is performed according to the insertion position information. When the cable line capture point is captured, based on the position information of the cable line capture point, the designated intermediate joint is inserted at the point where the cable line capture point of the target cable segment is located, and the position information of the cable line capture point is used as the position information of the designated intermediate joint. Subsequently, the starting position information and the end position information of the target cable segment are obtained, and based on the position information of the designated intermediate joint, the target cable segment is divided into two sub-cable segments, and finally the attribute update processing is performed on the two sub-cable segments. Based on this embodiment, the segmentation processing of the cable segment after the intermediate joint is inserted can be realized, and the attribute information of the sub-cable segments at both ends of the intermediate joint can be updated separately, so as to meet the actual cable operation needs.

[0027] After inserting an intermediate joint into the cable segment and dividing the original cable segment into segments with the intermediate joint as the dividing point, since the original cable segment is divided into multiple sub-cable segments, it is necessary to further solve the problem of updating the positions of the multiple sub-cable segments. Based on this, the present embodiment further makes the following improvements: the method also includes: S6. Determine in real time whether a cable well position moving instruction bound to a specified cable well identification and target position information has been received. If so, proceed to the next step. It should be noted that, in this embodiment, when the system enters the cable well dragging mode, the mouse can be used to select a cable well bound to a certain cable well identification and drag it to a certain point, thereby confirming that the cable well position moving instruction has been received.

[0028] S7. Obtain the location information of the cable well to be moved corresponding to the designated cable well identifier, and the location information of the adjacent cable well connected to the cable well to be moved through the cable line, and obtain the intermediate cable segment between the cable well to be moved and the adjacent cable well according to the location information of the cable well to be moved and the location information of the adjacent cable well. It should be understood that the number of the intermediate cable segments between the cable well to be moved and the adjacent cable well is one or more, and this embodiment is applicable to all of them.

[0029] Specifically, in step S7, according to the position information of the cable well to be moved and the position information of the adjacent cable well, obtaining the intermediate cable segment between the cable well to be moved and the adjacent cable well includes: S701. Taking the adjacent cable well as the starting point and the cable well to be moved as the end point, searching for the cable segment associated with the adjacent cable well; S702. Determine whether the end node of the cable segment associated with the adjacent cable well is an intermediate joint. If yes, proceed to the next step; if no, use the cable segment currently associated with the adjacent cable well as the intermediate cable segment between the cable well to be moved and the adjacent cable well; S703. Continue to search for the next cable segment associated with the adjacent cable well until the end node of the found cable segment is the cable well to be moved. At this time, according to the search order, all the found cable segments associated with the adjacent cable well are taken as sub-cable segments, and all the sub-cable segments are combined to obtain the middle cable segment between the cable well to be moved and the adjacent cable well.

[0030] In this embodiment, Figure 2 For example, cable well A is an adjacent cable well, and cable well B is a cable well to be moved. In the process of searching for a cable segment associated with cable well A, if the cable segment found is the cable segment corresponding to line segment 1, it can be determined that its end node is an intermediate joint. At this time, continue to search for the next cable segment associated with cable well A until the cable segment corresponding to line segment 3 whose end node is cable well B is found. At this time, the cable segments corresponding to line segments 1, 2, and 3 are taken as sub-cable segments, and they are combined to obtain the intermediate cable segment a between cable well A and cable well B. Conversely, in the process of searching for a cable segment associated with cable well A, if the cable segment found is the intermediate cable segment b, it can be known that its end node is not an intermediate joint. At this time, it is directly taken as the intermediate cable segment between cable well A and cable well B.

[0031] S8. Determine whether there is a sub-cable segment in the intermediate cable segment. If yes, perform collaborative update processing on the intermediate cable segment based on all the sub-cable segments in the intermediate cable segment.

[0032] Specifically, in step S8, based on all the sub-cable segments in the intermediate cable segment, the intermediate cable segment is collaboratively updated, including: S8011. Based on all the sub-cable segments in the intermediate cable segment, a temporary cable segment is constructed with the adjacent cable well as the starting point and the cable well to be moved as the end point; it should be noted that if the position of each sub-cable segment is directly updated, there is a problem of cumbersome operation. For this reason, in this embodiment, a temporary cable segment with position information corresponding to the position information of all sub-cable segments in the intermediate cable segment is pre-constructed. The temporary cable segment is a whole line segment, which can facilitate the overall update of the positions of all sub-cable segments in the intermediate cable segment.

[0033] S8012. Calculate the first reconstructed cable segment position information corresponding to the temporary cable segment based on the position information of the adjacent cable well and the target position information of the cable well to be moved; it should be noted that the first reconstructed cable segment position information is also the position information of the intermediate cable segment after the cable well to be moved is moved.

[0034] S8013. Based on the first reconstructed cable segment position information, the position information of all sub-cable segments in the intermediate cable segment is updated in sequence in proportion to obtain updated sub-cable segments after all positions are updated, and all updated sub-cable segments constitute a first updated intermediate cable segment corresponding to the intermediate cable segment; it should be noted that this step is used to implement the position update of all sub-cable segments in the intermediate cable segment, that is, to move the positions of all sub-cable segments in the intermediate cable segment to the positions corresponding to the first reconstructed cable segment position information.

[0035] S8014. Obtain the attribute information of all sub-cable segments in the intermediate cable segment, and assign the attribute information of each sub-cable segment to the corresponding updated sub-cable segment, so as to implement the attribute update processing of all updated sub-cable segments in the first updated intermediate cable segment. It should be noted that this step is used to automatically update the attribute information of all updated sub-cable segments in the first updated intermediate cable segment, so as to improve the wiring efficiency.

[0036] It should be noted that the above process is a position update solution when the intermediate cable segment is composed of multiple sub-cable segments, that is, Figure 1 For a cable segment in the form of the middle cable segment b, a temporary cable segment is pre-reconstructed, and the location information of the reconstructed cable segment is calculated based on the temporary cable segment. Then, the location of each sub-cable segment is updated according to the length ratio of each sub-cable segment to the middle cable segment b, and then the attribute is updated. Based on the above scheme, when the position of the cable well needs to be modified, the overall update of the positions of all sub-cable segments in the cable segment between the cable wells can be quickly realized.

[0037] In addition, in step S8 of this embodiment, when determining whether there is a sub-cable segment in the intermediate cable segment, if not, the method includes: S8021. Calculate the second reconstructed cable segment position information corresponding to the middle cable segment according to the position information of the adjacent cable well and the target position information of the cable well to be moved; S8022. Update the location information of the intermediate cable segment according to the second reconstructed cable segment location information to obtain a second updated intermediate cable segment corresponding to the intermediate cable segment; S8023. Acquire the attribute information of the intermediate cable segment, and assign the attribute information of the intermediate cable segment to the second updated intermediate cable segment, so as to implement attribute update processing on the second updated intermediate cable segment.

[0038] It should be noted that the above process is for the intermediate cable segment to be a complete cable segment, that is, Figure 2 The cable segment in the form of the middle cable segment b can now directly update its position and attributes.

[0039] Embodiment 2: This embodiment discloses a cable line drawing system for implementing the cable line drawing method in embodiment 1; Figure 3 As shown, the cable line drawing system includes an instruction receiving module, a cable line capturing module, an intermediate joint inserting module, a cable line dividing module and an attribute updating module which are sequentially connected in communication, wherein: The instruction receiving module is used to determine in real time whether the intermediate connector insertion position selection instruction bound with the insertion position information is received, and if so, send the insertion position information to the cable line capturing module; The cable capture module is used to perform cable capture processing according to the insertion position information, and when a cable capture point is captured, send the position information of the captured cable capture point to the intermediate joint insertion module; wherein the cable capture point is located on any target cable segment; The intermediate joint insertion module is used to insert a designated intermediate joint at the location of the cable capture point of the target cable segment based on the location information of the cable capture point, and use the location information of the cable capture point as the location information of the designated intermediate joint; The cable line division module is used to obtain the starting point position information and the ending point position information of the target cable segment, and divide the target cable segment into two sub-cable segments based on the position information of the designated intermediate joint; wherein, among the two sub-cable segments, the starting point position information of any sub-cable segment is the starting point position information of the target cable segment, and the ending point position information of any sub-cable segment is the position information of the designated intermediate joint, and the starting point position information of the other sub-cable segment is the position information of the designated intermediate joint, and the ending point position information of the other sub-cable segment is the ending point position information of the target cable segment; The attribute updating module is used to perform attribute updating processing on the two sub-cable segments.

[0040] It should be noted that the working process, working details and technical effects of the cable drawing system provided in this embodiment 2 can be found in embodiment 1 and will not be repeated here.

[0041] Embodiment 3: Based on Embodiment 1 or 2, this embodiment discloses an electronic device, which may be a smart phone, a tablet computer, a laptop computer, or a desktop computer, etc. The electronic device may be called a user terminal, a portable terminal, a desktop terminal, etc. The electronic device includes: a memory for storing computer program instructions; and, A processor is used to execute the computer program instructions to complete the operation of the cable line drawing method as described in any one of Example 1.

[0042] Embodiment 4: Based on any one of Embodiments 1 to 3, this embodiment discloses a computer program product, including a computer program or instructions, which implement the cable line drawing method as described in any one of Embodiments 1 when executed by a computer.

[0043] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0044] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A cable drawing method, characterized in that: include: Determine in real time whether the intermediate connector insertion position selection instruction bound with the insertion position information is received, if so, proceed to the next step; Perform cable capture processing according to the insertion position information, and proceed to the next step when the cable capture point is captured; wherein the cable capture point is located on any target cable segment; Based on the position information of the cable capture point, insert a designated intermediate joint at the point where the cable capture point of the target cable segment is located, and use the position information of the cable capture point as the position information of the designated intermediate joint; The starting point position information and the ending point position information of the target cable segment are obtained, and based on the position information of the designated intermediate joint, the target cable segment is divided into two sub-cable segments; wherein, of the two sub-cable segments, the starting point position information of any sub-cable segment is the starting point position information of the target cable segment, and the ending point position information of any sub-cable segment is the position information of the designated intermediate joint, and the starting point position information of the other sub-cable segment is the position information of the designated intermediate joint, and the ending point position information of the other sub-cable segment is the ending point position information of the target cable segment; Update the properties of the two sub-cable segments.

2. A cable drawing method according to claim 1, characterized in that: The cable capture process is performed according to the insertion position information, including: Taking the insertion position information as the center of the circle and the specified length as the capture radius, a cable capture area is constructed; Determine whether there is a cable segment overlapping with the cable capture area position, if yes, proceed to the next step; if no, determine that the cable capture point is not captured; A point in the cable segment overlapping with the cable capture area position that is closest to the insertion position information is obtained, and the point is used as a cable capture point that matches the intermediate joint insertion position selection instruction.

3. A cable drawing method according to claim 1, characterized in that: The method further comprises: Determine in real time whether a cable well position moving instruction bound with a specified cable well identification and target position information is received, and if so, proceed to the next step; Obtaining the position information of the cable well to be moved corresponding to the designated cable well identifier, and the position information of the adjacent cable well connected to the cable well to be moved through the cable line, and obtaining the intermediate cable segment between the cable well to be moved and the adjacent cable well according to the position information of the cable well to be moved and the position information of the adjacent cable well; It is determined whether there is a sub-cable segment in the intermediate cable segment. If yes, a coordinated update process is performed on the intermediate cable segment based on all the sub-cable segments in the intermediate cable segment.

4. A cable drawing method according to claim 3, characterized in that: According to the position information of the cable well to be moved and the position information of the adjacent cable well, obtaining the intermediate cable segment between the cable well to be moved and the adjacent cable well comprises: Taking the adjacent cable well as a starting point and the cable well to be moved as an end point, searching for a cable segment associated with the adjacent cable well; Determine whether the end node of the cable segment associated with the adjacent cable well is an intermediate joint, if so, proceed to the next step; Continue searching for the next cable segment associated with the adjacent cable well until the end node of the found cable segment is the cable well to be moved. At this time, according to the search order, all the found cable segments associated with the adjacent cable well are taken as sub-cable segments, and all the sub-cable segments are combined to obtain the intermediate cable segment between the cable well to be moved and the adjacent cable well.

5. A cable drawing method according to claim 4, characterized in that: When determining whether the end node of the cable segment associated with the adjacent cable well is an intermediate joint, if not, the cable segment currently associated with the adjacent cable well is used as the intermediate cable segment between the cable well to be moved and the adjacent cable well.

6. A cable drawing method according to claim 3, characterized in that: Based on all the sub-cable segments in the intermediate cable segment, a collaborative update process is performed on the intermediate cable segment, including: Based on all the sub-cable segments in the intermediate cable segment, a temporary cable segment is constructed with the adjacent cable well as a starting point and the cable well to be moved as an end point; Calculate and obtain first reconstructed cable segment position information corresponding to the temporary cable segment according to the position information of the adjacent cable well and the target position information of the cable well to be moved; According to the first reconstructed cable segment position information, the position information of all sub-cable segments in the intermediate cable segment is updated in sequence in proportion to obtain updated sub-cable segments after all positions are updated, and all updated sub-cable segments constitute a first updated intermediate cable segment corresponding to the intermediate cable segment; The attribute information of all sub-cable segments in the intermediate cable segment is obtained, and the attribute information of each sub-cable segment is assigned to the corresponding updated sub-cable segment, so as to implement the attribute update processing of all updated sub-cable segments in the first updated intermediate cable segment.

7. A cable drawing method according to claim 3, characterized in that: When determining whether there is a sub-cable segment in the intermediate cable segment, if not, the method includes: Calculate and obtain second reconstructed cable segment position information corresponding to the middle cable segment according to the position information of the adjacent cable well and the target position information of the cable well to be moved; According to the second reconstructed cable segment position information, the position information of the intermediate cable segment is updated to obtain a second updated intermediate cable segment corresponding to the intermediate cable segment; The attribute information of the intermediate cable segment is acquired, and the attribute information of the intermediate cable segment is assigned to the second updated intermediate cable segment, so as to implement the attribute update processing of the second updated intermediate cable segment.

8. A cable line drawing system, characterized in that: Used to implement the cable line drawing method according to any one of claims 1 to 7; the cable line drawing system includes an instruction receiving module, a cable line capturing module, an intermediate joint inserting module, a cable line dividing module and an attribute updating module which are sequentially connected in communication, wherein: The instruction receiving module is used to determine in real time whether the intermediate connector insertion position selection instruction bound with the insertion position information is received, and if so, send the insertion position information to the cable line capturing module; The cable capture module is used to perform cable capture processing according to the insertion position information, and when a cable capture point is captured, send the position information of the captured cable capture point to the intermediate joint insertion module; wherein the cable capture point is located on any target cable segment; The intermediate joint insertion module is used to insert a designated intermediate joint at the location of the cable capture point of the target cable segment based on the location information of the cable capture point, and use the location information of the cable capture point as the location information of the designated intermediate joint; The cable line division module is used to obtain the starting point position information and the ending point position information of the target cable segment, and divide the target cable segment into two sub-cable segments based on the position information of the designated intermediate joint; wherein, among the two sub-cable segments, the starting point position information of any sub-cable segment is the starting point position information of the target cable segment, and the ending point position information of any sub-cable segment is the position information of the designated intermediate joint, and the starting point position information of the other sub-cable segment is the position information of the designated intermediate joint, and the ending point position information of the other sub-cable segment is the ending point position information of the target cable segment; The attribute updating module is used to perform attribute updating processing on the two sub-cable segments.

9. An electronic device, characterized in that: include: a memory for storing computer program instructions; as well as, A processor is used to execute the computer program instructions to complete the operation of the cable drawing method as described in any one of claims 1 to 7.

10. A computer program product comprising a computer program or instructions, characterized in that: The computer program or the instructions, when executed by a computer, implements the cable drawing method according to any one of claims 1 to 7.