Method and system for automatically simplifying ventilation network diagram node branches
By automatically simplifying the mine ventilation network diagram, screening and merging tunnel branches and nodes solves the problem of overly complex ventilation network diagrams in the existing technology, realizes the simplification of the ventilation network diagram, facilitates ventilation network calculation, and improves analysis and research efficiency.
Patent Information
- Application Number
- CN202410800551.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-06
AI Technical Summary
Existing mine ventilation network diagrams are too complex to simplify and analyze, resulting in challenges in ventilation design and production management.
By automatically simplifying the ventilation network diagram, the tunnel branches and nodes are screened and merged, and the branches and nodes of the tunnel are marked according to the bifurcation, confluence and inflection points of the tunnel. Branches with wind resistance less than the set value are selected, and the wind resistance of branches with small wind resistance is added to adjacent branches. , merge branches connected in series to simplify the network diagram.
The automatic simplification of the ventilation network diagram is realized, which facilitates the ventilation network calculation work and improves the efficiency and accuracy of analysis and research.
Smart Images

Figure CN118608658A
Abstract
Description
Technical Field
[0001] The invention relates to the field of mine ventilation safety engineering, and in particular to a method and system for automatically simplifying node branches of a ventilation network graph. Background Art
[0002] Mine ventilation is an extremely important and regular task in mine production. Whether it is mine ventilation design or production management, it is often required to analyze the ventilation conditions of the mine. Mine ventilation is the basis of safe production in coal mines. During the construction and production of mines, mine ventilation supplies necessary and appropriate air volume to all work locations underground to ensure production safety and environmental needs. Therefore, the solution of the mine ventilation network is an important part of doing a good job in mine ventilation, and the basis of the solution is based on the mine ventilation system network diagram. The mine ventilation system is a complex system composed of criss-crossing shafts and tunnels. The mine ventilation system is abstractly described using graph theory, and the ventilation system is turned into a system composed of lines, points and their attributes, which is called a mine ventilation network diagram.
[0003] The mine ventilation network diagram is a mathematical expression of the mine ventilation system. It is a type of coal mine safety engineering diagram and plays an important role in ventilation analysis and mine disaster ventilation analysis. Therefore, the study of the ventilation network diagram has very important practical significance. At the same time, the ventilation network diagram is also an indispensable tool for mine ventilation workers. The drawing of the ventilation network diagram first requires node numbering according to the ventilation system diagram, and then connecting the nodes according to the wind flow. The ventilation network diagram drawn according to the actual branches and nodes of the ventilation system diagram is often too complicated, the key points are not prominent, and it is not convenient to analyze and study the problem. Therefore, the ventilation network diagram should be simplified as needed. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present invention provides a method and system for automatically simplifying the node branches of the ventilation network diagram, which can automatically simplify the branches and nodes of the ventilation network diagram, and automatically simplify the bifurcations, confluences and turning points of the lanes based on the marking in the ventilation network diagram.
[0005] According to a first aspect of an embodiment of the present invention, a method for automatically simplifying node branches of a ventilation network graph is provided, comprising:
[0006] Obtain lane branch data and lane node data in the ventilation network diagram;
[0007] Select the lane nodes whose number of appearances in all lane branches is equal to 2 from the lane node data to obtain the first lane node;
[0008] Selecting lane branches containing a common first lane node in the lane branch data to obtain first lane branches, that is, the first lane branches are connected in series, and the lane branches other than the first lane branch in the lane branch data are second lane branches;
[0009] The first lane branches connected in series are merged into one lane branch to obtain a third lane branch.
[0010] Furthermore, the method further comprises:
[0011] In the second lane branch, the lane branches with wind resistance less than the set value are selected to obtain the fourth lane branch, and the other lane branches in the second lane branch except the fourth lane branch are the fifth lane branch;
[0012] Select lane nodes with a number of appearances greater than 1 from the lane nodes of the fourth lane branch to obtain a second lane node;
[0013] In the fourth lane branch, lane branches containing the common second lane node are screened to obtain the sixth lane branch, and the other lane branches in the fourth lane branch except the fifth lane branch are the seventh lane branch;
[0014] Merge the sixth lane branches into one point.
[0015] Furthermore, the method further comprises:
[0016] Among the third lane branch and the fifth lane branch adjacent to the seventh lane branch, select the lane branch with the largest wind resistance;
[0017] The wind resistance of the seventh lane branch is added to the lane branch with the largest wind resistance.
[0018] Furthermore, the method further comprises:
[0019] The lane node of the seventh lane branch is the third lane node. Among the third lane branches and the fifth lane branches adjacent to the seventh lane branch, the lane branches with the largest wind resistance are selected, including:
[0020] In the third lane branch and the fifth lane branch, the lane branch containing a third lane node is selected to obtain the eighth lane branch, and the other lane branches in the third lane branch and the fifth lane branch except the eighth lane branch are the ninth lane branch;
[0021] If the number of the eighth lane branches is greater than or equal to 1, the lane branch with the largest wind resistance is selected from the eighth lane branches, otherwise the lane branch with the largest wind resistance is selected from the ninth lane branch that is spaced from the seventh lane branch by a set number of lane nodes.
[0022] Furthermore, the method further comprises:
[0023] Selecting lane nodes whose number of appearances is equal to 2 from the lane nodes included in the third lane branch and the fifth lane branch to obtain a fourth lane node;
[0024] Selecting lane branches containing a common fourth lane node from the third lane branches and the fifth lane branches to obtain a tenth lane branch, that is, the tenth lane branches are connected in series;
[0025] The tenth lane branches connected in series are merged into one lane branch to obtain the eleventh lane branch.
[0026] Furthermore, the method further comprises:
[0027] In the eleventh lane branch, lane branches including two common lane nodes are selected to obtain a twelfth lane branch;
[0028] The twelfth lane branch is merged into one lane branch to obtain the thirteenth lane branch.
[0029] Furthermore, the method further comprises:
[0030] Selecting lane nodes whose number of appearances is equal to 2 from the lane nodes included in the thirteenth lane branch to obtain a fifth lane node;
[0031] Selecting lane branches containing a common fifth lane node from the thirteenth lane branches to obtain a fourteenth lane branch, that is, the fourteenth lane branches are connected in series;
[0032] The fourteenth lane branches connected in series are merged into one lane branch.
[0033] According to a second aspect of an embodiment of the present invention, a system for automatically simplifying node branches of a ventilation network graph is provided, comprising:
[0034] A data acquisition module is used to acquire lane branch data and lane node data in the ventilation network diagram;
[0035] A first screening module is used to screen the lane nodes whose number of appearances in all lane branches is equal to 2 from the lane node data to obtain the first lane node;
[0036] A second screening module is used to screen the lane branches containing a common first lane node in the lane branch data to obtain the first lane branches, that is, the first lane branches are connected in series, and the lane branches other than the first lane branch in the lane branch data are the second lane branches;
[0037] The first lane merging module is used to merge the first lane branches connected in series into one lane branch to obtain a third lane branch.
[0038] Furthermore, the system includes:
[0039] A third screening module is used to screen the lane branches whose wind resistance is less than a set value in the second lane branches to obtain the fourth lane branches, and the other lane branches in the second lane branches except the fourth lane branch are the fifth lane branches;
[0040] A fourth screening module is used to screen the lane nodes whose appearance times are greater than 1 from the lane nodes of the fourth lane branch to obtain the second lane node;
[0041] A fifth screening module is used to screen the lane branches containing the common second lane node in the fourth lane branches to obtain the sixth lane branch, and the lane branches other than the fifth lane branch in the fourth lane branches are the seventh lane branches;
[0042] The second lane merging module is used to merge the sixth lane branches into one point.
[0043] Furthermore, the system includes:
[0044] A sixth screening module is used to screen the lane branch with the largest wind resistance among the third lane branch and the fifth lane branch adjacent to the seventh lane branch;
[0045] The wind resistance processing module is used to add the wind resistance of the seventh lane branch to the lane branch with the largest wind resistance.
[0046] Further, the lane node of the seventh lane branch is the third lane node, and the sixth screening module specifically includes:
[0047] A first screening unit is used to screen the lane branches containing a third lane node in the third lane branch and the fifth lane branch to obtain an eighth lane branch, and the other lane branches in the third lane branch and the fifth lane branch except the eighth lane branch are ninth lane branches;
[0048] The second screening unit is used to screen the lane branch with the largest wind resistance from the eighth lane branch if the number of the eighth lane branches is greater than or equal to 1, otherwise screen the lane branch with the largest wind resistance from the ninth lane branch that is spaced from the seventh lane branch by a set number of lane nodes.
[0049] Furthermore, the system includes:
[0050] A seventh screening module is used to screen the lane nodes whose appearance times are equal to 2 from the lane nodes included in the third lane branch and the fifth lane branch to obtain a fourth lane node;
[0051] an eighth screening module, used for screening lane branches containing a common fourth lane node from the third lane branches and the fifth lane branches to obtain a tenth lane branch, that is, the tenth lane branches are connected in series;
[0052] The third lane merging module is used to merge the tenth lane branches connected in series into one lane branch to obtain the eleventh lane branch.
[0053] Furthermore, the system includes:
[0054] a ninth screening module, configured to screen lane branches including two common lane nodes in the eleventh lane branch to obtain a twelfth lane branch;
[0055] The fourth lane merging module is used to merge the twelfth lane branch into one lane branch to obtain a thirteenth lane branch.
[0056] Furthermore, the system includes:
[0057] a tenth screening module, configured to screen the lane nodes whose appearance times are equal to 2 from the lane nodes included in the thirteenth lane branch, to obtain a fifth lane node;
[0058] An eleventh screening module is used to screen lane branches containing a common fifth lane node from the thirteenth lane branches to obtain a fourteenth lane branch, that is, the fourteenth lane branches are connected in series;
[0059] The fifth lane merging module is used to merge the fourteenth lane branches connected in series into one lane branch.
[0060] According to a third aspect of an embodiment of the present invention, a terminal device is provided, including:
[0061] Processor; and
[0062] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.
[0063] According to a fourth aspect of an embodiment of the present invention, there is provided a non-transitory machine-readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute the method as described above.
[0064] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0065] The present invention can realize automatic simplification of lane nodes and lane branches in a ventilation network diagram, thereby facilitating ventilation network solution work.
[0066] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.
[0068] Figure 1 is a flow chart showing a method for automatically simplifying node branches of a ventilation network graph according to an exemplary embodiment of the present invention;
[0069] Figure 2 It is a partial ventilation system diagram after the annotation;
[0070] Figure 3 It is a comparative schematic diagram of the series lane branches before and after merging;
[0071] Figure 4 It is a schematic diagram of merging the branches of the small wind resistance lanes;
[0072] Figure 5 It is a schematic diagram of adding the wind resistance of the small wind resistance lane branch to the adjacent lane branch;
[0073] Figure 6 It is a schematic diagram of connecting and merging the lane branches in series again after they have been connected and merged;
[0074] Figure 7 is a structural block diagram of a system for automatically simplifying node branches of a ventilation network graph according to an exemplary embodiment of the present invention;
[0075] Figure 8 It is a schematic diagram showing the structure of a computing device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0076] The preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.
[0077] The terms used in the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0078] It should be understood that although the terms "first", "second", "third", etc. may be used to describe various information in the present invention, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0079] The mine ventilation system diagram can reflect the spatial position, system structure, ventilation mode and ventilation method of each ventilation lane, and more objectively reflect the actual situation of the mine ventilation system. The tunnel diagram of the coal mine ventilation system is annotated, and the bifurcation points, confluence points and inflection points of the lanes are numbered, which are called lane nodes. The partial ventilation system diagram after annotation is shown in Figure 2, where two connected lane nodes are lane branches, such as [1,2], [2,3], and the lane branches are given lane names. The lane branch data is organized into the following format [starting point, end point, lane name, lane cross-sectional area, lane length, lane perimeter]; the lane node data is organized into the following format [lane node number, lane node type]. The lane node types are divided into ordinary nodes, atmospheric nodes, lane branch nodes where fans are located, and fixed air volume lane branch nodes. Among them, the lane nodes marked with air inlets and outlets are atmospheric nodes, such as Figure 2 The point labeled 1 in the figure is the air inlet, which belongs to the atmospheric node; the two end points of the laneway where the fan is located are the branch nodes of the laneway where the fan is located; the two end points of the fixed air volume laneway are the branch nodes of the fixed air volume laneway; except for the above-mentioned special laneway nodes, the remaining laneway nodes are ordinary nodes.
[0080] The technical solutions of the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0081] Figure 1 It is a flowchart showing a method for automatically simplifying node branches of a ventilation network graph according to an exemplary embodiment of the present invention.
[0082] See also Figure 1 , the method comprising:
[0083] S1. Obtaining lane branch data and lane node data in the ventilation network diagram;
[0084] S2. Filtering the lane node data, the lane nodes that appear 2 times in all lane branches, to obtain the first lane node;
[0085] S3, selecting lane branches containing a common first lane node in the lane branch data to obtain first lane branches, that is, the first lane branches are connected in series, and the lane branches other than the first lane branch in the lane branch data are second lane branches;
[0086] S4. Merge the first lane branches connected in series into one lane branch to obtain a third lane branch.
[0087] Specifically, loop through all the marked lane nodes to find a lane node without bifurcation or confluence. This node is a serial lane node (i.e., the first lane node). The logic for finding a serial lane node is that the lane node is used 2 times in lane branches.
[0088] All lane branches are divided into non-series lane branches (i.e., the second lane branch) and series lane branches (i.e., the first lane branch). Lane branches that contain series lane nodes are called series lane branches. The common series lane nodes of the series lane branches are deleted, so that the series lane branches are merged into a new lane branch. The new lane branch is numbered as a non-series lane node. For example, if the series lane nodes are 18 and 19, the three series lane branches [18,19], [19,20], and [18,21] are merged to obtain a new lane branch [20,21]. Figure 3 shown.
[0089] The present invention can realize automatic simplification of lane nodes and lane branches in a ventilation network diagram, thereby facilitating ventilation network solution work.
[0090] Optionally, in this embodiment, the method further includes:
[0091] S5. In the second lane branches, lane branches with wind resistance less than a set value are selected to obtain a fourth lane branch. The lane branches other than the fourth lane branch in the second lane branches are fifth lane branches.
[0092] S6. Selecting lane nodes whose occurrence times are greater than 1 from the lane nodes of the fourth lane branch to obtain a second lane node;
[0093] S7. In the fourth lane branches, lane branches containing a common second lane node are selected to obtain a sixth lane branch. The lane branches other than the fifth lane branch in the fourth lane branches are seventh lane branches.
[0094] S8. Merge the sixth lane branch into one point.
[0095] In this embodiment, it is necessary to find a lane branch with a wind resistance less than a certain value from the non-series lane branches, which is called a lane branch with small wind resistance (i.e., the fourth lane branch), and the other lane branches are called non-small wind resistance lane branches (i.e., the fifth lane branch). In addition, to ensure the accuracy of the calculation, the lane nodes of the lane branches with small wind resistance are all ordinary nodes, and do not include other special nodes other than ordinary nodes.
[0096] The number of nodes used by the small wind resistance lane branch is calculated, and the node with a number of occurrences greater than 1 is found, which is called the small wind resistance lane node (i.e., the second lane node).
[0097] The small wind resistance lane branches are grouped according to the small wind resistance lane nodes, and the small wind resistance lane branches are traversed in a loop, and the small wind resistance lane branches using the same small wind resistance lane nodes are grouped together.
[0098] The small wind resistance lane branches grouped in one group are merged into one point, as shown in Figure 4, [6,7] and [7,8] are small wind resistance lane branches, which are merged into a new node such as 10000.
[0099] Optionally, in this embodiment, the method further includes:
[0100] S9. Select the lane branch with the largest wind resistance from the third lane branch and the fifth lane branch adjacent to the seventh lane branch;
[0101] S10, adding the wind resistance of the seventh lane branch to the lane branch with the largest wind resistance.
[0102] Optionally, the lane node of the seventh lane branch is the third lane node, and step S9 specifically includes:
[0103] S91. Among the third lane branch and the fifth lane branch, select the lane branch that contains a third lane node to obtain an eighth lane branch. The lane branches among the third lane branch and the fifth lane branch except the eighth lane branch are ninth lane branches.
[0104] S92. If the number of the eighth lane branches is greater than or equal to 1, select the lane branch with the largest wind resistance from the eighth lane branches; otherwise, select the lane branch with the largest wind resistance from the ninth lane branch that is spaced from the seventh lane branch by a set number of lane nodes.
[0105] Specifically, this embodiment adds the wind resistance of the small wind resistance lane branch to the nearby lane branches. The specific method is to loop through the small wind resistance lane branches, and find the lane branches that contain two nodes of the small wind resistance lane branch in the merged series lane branches (i.e., the third lane branch) and the non-small wind resistance lane branches (i.e., the fifth lane branch), and determine the number of lane branches that contain small wind resistance lane branch nodes in turn. If the number of selected lane branches is equal to 1, the wind resistance of the small wind resistance lane branch is added to the selected lane branch. If the number of selected lane branches is greater than 1, the wind resistance of the small wind resistance lane branch is added to the lane branch with the largest wind resistance. Figure 5 As shown, [1,2], [3,4], [2,4], [2,3], and [6,4] are lane branches with small wind resistance. For example, the wind resistance of the lane branch [1,2] with small wind resistance is added to the nearby lane branches. Among them, the lane branch containing lane node 2 is [2,7], and the number is 1, so the wind resistance of the lane branch [1,2] with small wind resistance is added to the lane branch [2,7].
[0106] If there is no lane branch containing two nodes of the lane branch with small wind resistance in the merged lane branches and the lane branches with non-small wind resistance, then its wind resistance is added to the lane branch with the largest wind resistance among the merged series lane branches (i.e., the third lane branch) and the lane branches with non-small wind resistance (i.e., the fifth lane branch), such as Figure 5 As shown, the wind resistance of the small wind resistance lane branch [3,4] is added to the lane branch with the largest wind resistance among [1,5], [1,8], [2,7], and [6,9].
[0107] Optionally, in this embodiment, the method further includes:
[0108] S11, selecting lane nodes whose number of appearances is equal to 2 from the lane nodes included in the third lane branch and the fifth lane branch to obtain a fourth lane node;
[0109] S12, selecting lane branches including a common fourth lane node from the third lane branches and the fifth lane branches to obtain a tenth lane branch, that is, the tenth lane branches are connected in series;
[0110] S13, merging the tenth lane branches connected in series into one lane branch to obtain the eleventh lane branch.
[0111] Specifically, the series lane branches after merging the small wind resistance and the lane branches without the small wind resistance are merged in series, and the details can be referred to the above embodiment.
[0112] Optionally, in this embodiment, the method further includes:
[0113] S14, in the eleventh lane branch, selecting the lane branch including two common lane nodes to obtain the twelfth lane branch;
[0114] S15. Merge the twelfth lane branch into one lane branch to obtain the thirteenth lane branch.
[0115] Specifically, in this embodiment, the lane branches (i.e., the eleventh lane branch) that are serially merged in the above steps are merged in parallel. The merging principle is to compare the lane nodes of the two lane branches. If the lane nodes of the two lane branches are the same, they are parallel lane branches. If they are parallel lane branches, the two lane branches are merged into one lane branch, and the lane node numbers of the lane branches remain unchanged. Figure 6 After merging, [18,19], [19,20], [18,21]——>[20,21] and the lane branch [21,20] are in a parallel relationship and can be merged into one lane branch [20,21].
[0116] Optionally, in this embodiment, the method further includes:
[0117] S16, selecting the lane nodes whose number of appearances is equal to 2 from the lane nodes included in the thirteenth lane branch to obtain the fifth lane node;
[0118] S17, selecting lane branches containing a common fifth lane node from the thirteenth lane branches to obtain a fourteenth lane branch, that is, the fourteenth lane branches are connected in series;
[0119] S18, merging the fourteenth lane branches connected in series into one lane branch.
[0120] In this embodiment, the lane branch after parallel merging (ie, the thirteenth lane branch obtained after parallel merging in step S15) is serially merged again.
[0121] Figure 7 It is a structural block diagram of a system for automatically simplifying node branches of a ventilation network graph according to an exemplary embodiment of the present invention.
[0122] See also Figure 7 The system comprises:
[0123] A data acquisition module is used to acquire lane branch data and lane node data in the ventilation network diagram;
[0124] A first screening module is used to screen the lane nodes whose number of appearances in all lane branches is equal to 2 from the lane node data to obtain the first lane node;
[0125] A second screening module is used to screen the lane branches containing a common first lane node in the lane branch data to obtain the first lane branches, that is, the first lane branches are connected in series, and the lane branches other than the first lane branch in the lane branch data are the second lane branches;
[0126] The first lane merging module is used to merge the first lane branches connected in series into one lane branch to obtain a third lane branch.
[0127] Optionally, in this embodiment, the system further includes:
[0128] A third screening module is used to screen the lane branches whose wind resistance is less than a set value in the second lane branches to obtain the fourth lane branches, and the other lane branches in the second lane branches except the fourth lane branch are the fifth lane branches;
[0129] A fourth screening module is used to screen the lane nodes whose appearance times are greater than 1 from the lane nodes of the fourth lane branch to obtain the second lane node;
[0130] A fifth screening module is used to screen the lane branches containing the common second lane node in the fourth lane branches to obtain the sixth lane branch, and the lane branches other than the fifth lane branch in the fourth lane branches are the seventh lane branches;
[0131] The second lane merging module is used to merge the sixth lane branches into one point.
[0132] Optionally, in this embodiment, the system further includes:
[0133] A sixth screening module is used to screen the lane branch with the largest wind resistance among the third lane branch and the fifth lane branch adjacent to the seventh lane branch;
[0134] The wind resistance processing module is used to add the wind resistance of the seventh lane branch to the lane branch with the largest wind resistance.
[0135] Further, the lane node of the seventh lane branch is the third lane node, and the sixth screening module specifically includes:
[0136] A first screening unit is used to screen the lane branches containing a third lane node in the third lane branch and the fifth lane branch to obtain an eighth lane branch, and the other lane branches in the third lane branch and the fifth lane branch except the eighth lane branch are ninth lane branches;
[0137] The second screening unit is used to screen the lane branch with the largest wind resistance from the eighth lane branch if the number of the eighth lane branches is greater than or equal to 1, otherwise screen the lane branch with the largest wind resistance from the ninth lane branch that is spaced from the seventh lane branch by a set number of lane nodes.
[0138] Optionally, in this embodiment, the system further includes:
[0139] A seventh screening module is used to screen the lane nodes whose appearance times are equal to 2 from the lane nodes included in the third lane branch and the fifth lane branch to obtain a fourth lane node;
[0140] An eighth screening module is used to screen the lane branches containing a common fourth lane node from the third lane branches and the fifth lane branches to obtain a tenth lane branch, that is, the tenth lane branches are connected in series;
[0141] The third lane merging module is used to merge the tenth lane branches connected in series into one lane branch to obtain the eleventh lane branch.
[0142] Optionally, in this embodiment, the system further includes:
[0143] A ninth screening module is used to screen the lane branches containing two common lane nodes in the eleventh lane branch to obtain the twelfth lane branch;
[0144] The fourth lane merging module is used to merge the twelfth lane branch into one lane branch to obtain the thirteenth lane branch.
[0145] Optionally, in this embodiment, the system further includes:
[0146] A tenth screening module is used to screen the lane nodes whose appearance times are equal to 2 from the lane nodes included in the thirteenth lane branch to obtain the fifth lane node;
[0147] An eleventh screening module is used to screen lane branches containing a common fifth lane node in the thirteenth lane branches to obtain a fourteenth lane branch, that is, the fourteenth lane branches are connected in series;
[0148] The fifth lane merging module is used to merge the fourteenth lane branches connected in series into one lane branch.
[0149] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.
[0150] Figure 8 It is a schematic diagram showing the structure of a computing device according to an exemplary embodiment of the present invention.
[0151] See also Figure 8 , the computing device 800 includes a memory 810 and a processor 820 .
[0152] The processor 820 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0153] The memory 810 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage. Among them, ROM can store static data or instructions required by the processor 820 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 810 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 810 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.
[0154] The memory 810 stores executable codes, and when the executable codes are processed by the processor 820 , the processor 820 can execute part or all of the methods described above.
[0155] In addition, the method according to the present invention may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing part or all of the steps in the above method of the present invention.
[0156] Alternatively, the present invention may also be implemented as a non-temporary machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) on which executable code (or computer program, or computer instruction code) is stored. When the executable code (or computer program, or computer instruction code) is executed by a processor of an electronic device (or computing device, server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present invention.
[0157] The scheme of the present invention has been described in detail above with reference to the accompanying drawings. In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. Those skilled in the art should also be aware that the actions and modules involved in the specification are not necessarily required by the present invention. In addition, it can be understood that the steps in the method of the embodiment of the present invention can be adjusted in order, merged and deleted according to actual needs, and the modules in the device of the embodiment of the present invention can be merged, divided and deleted according to actual needs.
[0158] Those skilled in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or a combination of both.
[0159] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system and method according to multiple embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or code, and the part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0160] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for automatically simplifying node branches of a ventilation network graph, characterized in that: include: Obtain lane branch data and lane node data in the ventilation network diagram; Selecting the lane nodes whose number of appearances in all lane branches is equal to 2 from the lane node data to obtain a first lane node; Selecting lane branches containing a common first lane node from the lane branch data to obtain first lane branches, that is, the first lane branches are connected in series, and the other lane branches in the lane branch data except the first lane branch are second lane branches; The first lane branches connected in series are merged into one lane branch to obtain a third lane branch.
2. A method for automatically simplifying node branches of a ventilation network graph according to claim 1, characterized in that: Also includes: In the second lane branches, lane branches with wind resistance less than a set value are selected to obtain a fourth lane branch, and the other lane branches in the second lane branches except the fourth lane branch are fifth lane branches; Selecting lane nodes with a number of appearances greater than 1 from the lane nodes of the fourth lane branch to obtain a second lane node; In the fourth lane branches, lane branches containing the common second lane node are screened to obtain a sixth lane branch, and the other lane branches in the fourth lane branches except the fifth lane branch are the seventh lane branches; The sixth lane branches are merged into one point.
3. A method for automatically simplifying node branches of a ventilation network graph according to claim 2, characterized in that: Also includes: Select the lane branch with the largest wind resistance from the third lane branch and the fifth lane branch adjacent to the seventh lane branch; The wind resistance of the seventh lane branch is added to the lane branch with the largest wind resistance.
4. A method for automatically simplifying node branches of a ventilation network graph according to claim 3, characterized in that: The lane node of the seventh lane branch is the third lane node, and the lane branch with the largest wind resistance is selected from the third lane branch and the fifth lane branch adjacent to the seventh lane branch, specifically including: Among the third lane branch and the fifth lane branch, the lane branch containing one of the third lane nodes is selected to obtain an eighth lane branch, and the other lane branches among the third lane branch and the fifth lane branch except the eighth lane branch are the ninth lane branch; If the number of the eighth lane branches is greater than or equal to 1, the lane branch with the largest wind resistance is selected from the eighth lane branches, otherwise the lane branch with the largest wind resistance is selected from the ninth lane branch that is spaced from the seventh lane branch by a set number of lane nodes.
5. A method for automatically simplifying node branches of a ventilation network graph according to any one of claims 2 to 4, characterized in that: Also includes: Selecting lane nodes whose number of appearances is equal to 2 from the lane nodes included in the third lane branch and the fifth lane branch to obtain a fourth lane node; Selecting lane branches containing a common fourth lane node from the third lane branches and the fifth lane branches to obtain a tenth lane branch, that is, the tenth lane branches are connected in series; The tenth lane branches connected in series are merged into one lane branch to obtain the eleventh lane branch.
6. A method for automatically simplifying node branches of a ventilation network graph according to claim 5, characterized in that: Also includes: In the eleventh lane branch, lane branches including two common lane nodes are selected to obtain a twelfth lane branch; The twelfth lane branch is merged into one lane branch to obtain the thirteenth lane branch.
7. A method for automatically simplifying node branches of a ventilation network graph according to claim 6, characterized in that: Also includes: Selecting lane nodes whose number of appearances is equal to 2 from the lane nodes included in the thirteenth lane branch to obtain a fifth lane node; Selecting lane branches containing a common fifth lane node from the thirteenth lane branches to obtain a fourteenth lane branch, that is, the fourteenth lane branches are connected in series; The fourteenth lane branches connected in series are merged into one lane branch.
8. A system for automatically simplifying node branches of a ventilation network graph, characterized in that: include: A data acquisition module is used to acquire lane branch data and lane node data in the ventilation network diagram; A first screening module is used to screen the lane nodes whose number of appearances in all lane branches is equal to 2 from the lane node data to obtain a first lane node; A second screening module is used to screen the lane branches containing a common first lane node in the lane branch data to obtain first lane branches, that is, the first lane branches are connected in series, and the lane branches other than the first lane branch in the lane branch data are second lane branches; The lane merging module is used to merge the first lane branches connected in series into one lane branch to obtain a third lane branch.
9. A terminal device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 7.
10. A non-transitory machine-readable storage medium having executable code stored thereon, characterized in that: When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as claimed in any one of claims 1 to 7.
Citation Information
Cited By
Rapid equivalent simplification method and system for complex mine ventilation network
CN118797871A
