CN110750838A - Method, device, equipment and storage medium for generating network graph - Google Patents

Method, device, equipment and storage medium for generating network graph Download PDF

Info

Publication number
CN110750838A
CN110750838A CN201911047175.7A CN201911047175A CN110750838A CN 110750838 A CN110750838 A CN 110750838A CN 201911047175 A CN201911047175 A CN 201911047175A CN 110750838 A CN110750838 A CN 110750838A
Authority
CN
China
Prior art keywords
total
carrying
determining
template
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911047175.7A
Other languages
Chinese (zh)
Other versions
CN110750838B (en
Inventor
王永刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shipyard International Co Ltd
Original Assignee
Guangzhou Shipyard International Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shipyard International Co Ltd filed Critical Guangzhou Shipyard International Co Ltd
Priority to CN201911047175.7A priority Critical patent/CN110750838B/en
Publication of CN110750838A publication Critical patent/CN110750838A/en
Application granted granted Critical
Publication of CN110750838B publication Critical patent/CN110750838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Traffic Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for generating a network graph. The method comprises the steps of determining a preset template, wherein a display area used for displaying a total section related to a carrying ship is arranged in the template; determining a first table, wherein the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections; receiving a first generation instruction; responding to the first generation instruction, connecting the display areas representing the total sections by using an arrow according to the carrying sequence among the total sections set in the first table in the template, and displaying the carrying time and carrying mode on the arrow so as to complete a first network diagram for displaying the ship carrying full logic relationship, solve the problem of labor cost caused by manually generating the network diagram, and achieve the technical effects of reducing labor cost and improving efficiency.

Description

Method, device, equipment and storage medium for generating network graph
Technical Field
The embodiment of the invention relates to a ship-mounted technology, in particular to a method, a device, equipment and a storage medium for generating a network graph.
Background
Ship embarkation is a step of ship hull construction, and refers to the closure of a ship hull. Since it is impossible to integrally construct a ship from start-up to launch, it is a common practice to divide the entire hull into several tens of segments for construction and finally carry out the construction.
In general, the design of the ship-mounted process can be presented in the form of a billboard. Specifically, the billboard can be in the form of a network diagram and is used for showing the carrying logical relationship and the carrying period among the ship blocks in a plan, so that an engineer can reasonably arrange the carrying logical relationship and the carrying period and carry the ship according to the carrying logical relationship and the carrying period, and the decision efficiency is improved.
However, the information in the network diagram is generally manually filled, so that the linkage between the network diagram and the production plan cannot be realized. Specifically, when the production factor changes, the carrying time of each total segment in the network diagram needs to be manually and frequently adjusted, which causes the situations of labor cost consumption and low efficiency.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for generating a network diagram, which are used for realizing the technical effects of automatically generating the network diagram, reducing the labor cost and improving the efficiency.
In a first aspect, an embodiment of the present invention provides a method for generating a network map, where the method includes:
determining a preset template, wherein a display area for displaying a total section related to a carrying ship is arranged in the template;
determining a first table, wherein the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections;
receiving a first generation instruction;
responding to the first generation instruction, connecting the display areas representing the total sections by using arrows according to the embarkation sequence among the total sections set in the first table in the template, and displaying the embarkation time consumption and embarkation mode on the arrows so as to complete a first network diagram for displaying the full logic relationship of ship embarkation.
Further, after the determining the first table, the method further includes:
receiving a second generation instruction;
responding to the second generation instruction, and determining all key logic relations according to the embarkation sequence among the total sections set in the first table, wherein the key logic relations are non-repetitive logic relations;
in the template, connecting the display areas corresponding to the total sections included in the key logic relationship by using an arrow, and displaying the carrying time and carrying mode on the arrow so as to complete a second network diagram for displaying the key logic relationship carried by the ship.
Further, after the determining the first table, the method further includes:
receiving a third generation instruction;
responding to the third generation instruction to input a total segment number;
determining the total segment corresponding to the total segment number as a target total segment;
determining a key logic relationship comprising the target total segment as a target path, wherein the key logic relationship is a non-repetitive logic relationship;
and in the template, connecting the display areas corresponding to the total sections included in the target path by using an arrow, and displaying the carrying time and carrying mode on the arrow so as to finish a third network diagram for displaying the logic relationship of the single total section carried by the ship.
Furthermore, a display area of the template is provided with cells for displaying the segments forming the total segment;
after the determining the first table, further comprising:
receiving a time adding instruction;
responding to the time adding instruction to read the mounting time of each total segment from the first table;
aiming at the template, displaying the carrying time at a preset position of a display area of each total section;
determining a second table provided with segments included to compose each total segment and a time plan to compose the total segment using the segments;
determining the starting time of the total group and the ending time of the total group corresponding to each total section according to the time plan of the total section composed of the subsection;
setting the time period between the ending time and the starting time of each total segment as the total period of each total segment;
displaying the starting time, the ending time and the total group period in a display area of each total segment in a remark mode.
Further, after the determining the first table, the method further includes:
receiving a path generation instruction;
in response to the path generation instructions, determining a type for each of the total segments from the first table, the type comprising a start node, an intermediate node, and an end node;
constructing a path from a starting node to an ending node according to a carrying sequence between the total sections set in the first table;
and storing the path in a path information table.
Further, after the storing the path in the path information table, the method further includes:
receiving a sorting instruction;
in response to the sequencing instruction, sequencing the paths with the same end node according to the length of the paths, wherein the length is the total time consumed by the total sections included in the paths for loading;
determining the path with the longest length corresponding to each end node as a key path corresponding to each end node according to the sequencing result;
setting the arrows included in the critical path to be in a preset format.
Further, after the determining the first table, the method further includes:
receiving a clearing instruction;
responding to the clearing instruction to restore the template to an original state.
In a second aspect, an embodiment of the present invention further provides an apparatus for generating a network map, where the apparatus includes:
the template determining module is used for determining a preset template, and a display area used for displaying a total section related to a carrying ship is arranged in the template;
the first table determining module is used for determining a first table, and the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections;
the first instruction receiving module is used for receiving a first generation instruction;
and the first instruction response module is used for responding to the first generation instruction, connecting the display areas representing the total sections by using arrows according to the carrying sequence among the total sections set in the first table in the template, and displaying the carrying time and carrying mode on the arrows so as to finish a first network diagram for displaying the complete logic relationship of ship carrying.
In a third aspect, an embodiment of the present invention further provides a device for generating a network map, where the device includes: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of generating a network map as described in any of the first aspects.
In a fourth aspect, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used to perform the method for generating a network map according to any one of the first aspect when executed by a computer processor.
The method comprises the steps that a preset template is determined, and a display area used for displaying a total section related to a carrying ship is arranged in the template; determining a first table, wherein the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections; receiving a first generation instruction; responding to the first generation instruction, connecting the display areas representing the total sections by using an arrow according to the carrying sequence among the total sections set in the first table in the template, and displaying the carrying time and carrying mode on the arrow so as to complete a first network diagram for displaying the ship carrying full logic relationship, solve the problem of labor cost caused by manually generating the network diagram, and achieve the technical effects of reducing labor cost and improving efficiency.
Drawings
Fig. 1 is a flowchart of a method for generating a network map according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for generating a network map according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for generating a network map according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for generating a network map according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device for generating a network map according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for generating a network diagram according to an embodiment of the present invention, which is applicable to a situation of assisting ship building, and in particular, is used for assisting an engineer to reasonably arrange a ship building and carrying logical relationship and period by using an automatically generated network diagram.
The method can be executed by the network graph generating device, and the network graph generating device can be a computer, a mobile phone, a tablet and other terminals.
Specifically, referring to fig. 1, the method specifically includes the following steps:
and S110, determining a preset template, wherein the template is provided with a display area for displaying the total section related to the carrying ship.
Generally, ship embarkation is a step of building a ship hull, and refers to closing the ship hull. Since it is impossible to integrally construct a ship from start-up to launch, it is a common practice to divide the entire hull into a plurality of segments for construction and finally carry out the construction. Specifically, when designing a ship, the ship may be divided into several regions (cargo hold, engine room, bow, stern, cabin, hatch coaming). When the ship is built, the ship can be built according to regions, and then the built regions are folded together to form the ship. Specifically, each region may be set as a block, and the block may be divided into a plurality of segments, and the combined installation of the ship components may be performed in each segment.
In this embodiment, a network diagram may be used to display the embarkation sequence, embarkation time, embarkation type, etc. between the headquarters, so as to assist an engineer to reasonably arrange the ship building embarkation logical relationship and cycle.
Further, in this embodiment, the template is a basic file for making a network diagram, and may be a table in a table document. The format of the form document may be xls or xlxs, etc.
Further, in the template, a plurality of cells may be used to constitute one display area. Each display area corresponds to a total segment. Illustratively, when displaying the total segments, the total segments may be presented in the form of numbers of the displayed total segments. Further, the display area of the template is provided with cells for displaying the segments constituting the total segment. That is, the cells in the display area may also be used to display the number of segments. The segments displayed in the cells included in the same display area are used for piggybacking the total segment.
S120, determining a first table, wherein the first table is provided with a mounting sequence, mounting time consumption and a mounting mode among the total sections.
In the present embodiment, the mounting order between blocks is used to indicate the order in which blocks are mounted on one ship, and block a is mounted before block B, as defined. The time consumed for embarking between two blocks refers to the time required to wait for embarking a second block after embarking a first block. The mounting methods include lifting (L), mounting (Fit, F), and welding (Weld, W).
Specifically, for example, "T313-XS 313F 8", where "T313" represents the number of the first summary segment, "XS 313" represents the number of the second summary segment, and "F" represents the installation manner of the summary segment, that is, the installation manner of the summary segment XS313 to the summary segment T313. "8" indicates that the mounting time is 8 days, that is, the total section XS313 can be mounted 8 days after the total section T313 is mounted, and the mounting state is T313 completion assembly report.
And S130, receiving a first generation instruction.
In this embodiment, the first generation instruction is an instruction for triggering generation of a first network diagram for displaying the ship-mounted full logical relationship.
Specifically, a "full logical relationship kanban" button may be provided, and when it is detected that the "full logical relationship kanban" button is clicked, it is determined that the first generation instruction is received.
And S140, responding to the first generation instruction, connecting the display areas representing the total sections by using an arrow according to the carrying sequence among the total sections set in the first table in the template, and displaying the carrying time and carrying mode on the arrow so as to complete a first network diagram for displaying the complete logic relationship of ship carrying.
The full logical relationship of ship embarkation refers to that the first network diagram needs to represent the embarkation sequence among all the total sections set in the first table.
For example, the piggyback order between the total segment T313 and the total segment T313 set in the first table may be expressed in the form of "T313-XS 313F 8".
Specifically, in the template, the display area of the total section T313 is indicated with the number of "T313", and the display area of the total section XS313 is indicated with the number of "XS 313". Further, the display area with the number "XS 313" is pointed from the display area with the number "T313" to indicate that the total section T313 and the total section XS313 are mounted in the order of mounting the total section T313 first and then mounting the total section XS 313. Further, a text box may be used near the arrow to display "F8" indicating that the total section XS313 cannot be installed until 8 days after the total section T313 is installed.
And drawing all the mounting sequences among the general segments set in the first table in a template in the form of an arrow so as to obtain the first network diagram.
According to the technical scheme, a preset template is determined, and a display area for displaying a total section related to a carrying ship is arranged in the template; determining a first table, wherein the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections; receiving a first generation instruction; responding to the first generation instruction, connecting the display areas representing the total sections by using an arrow according to the carrying sequence among the total sections set in the first table in the template, and displaying the carrying time and carrying mode on the arrow so as to complete a first network diagram for displaying the ship carrying full logic relationship, solve the problem of labor cost caused by manually generating the network diagram, and achieve the technical effects of reducing labor cost and improving efficiency.
Example two
Fig. 2 is a flowchart of a method for generating a network map according to a second embodiment of the present invention.
The present embodiment adds a description of a second network diagram showing key logical relationships of ship embarkation on the basis of the above-described embodiments.
Specifically, referring to fig. 2, the method specifically includes the following steps:
s210, determining a preset template, wherein a display area for displaying the total section related to the ship is arranged in the template.
Generally, ship embarkation is a step of building a ship hull, and refers to closing the ship hull. Since it is impossible to integrally construct a ship from start-up to launch, it is a common practice to divide the entire hull into a plurality of segments for construction and finally carry out the construction. Specifically, when designing a ship, the ship may be divided into several regions (cargo hold, engine room, bow, stern, cabin, hatch coaming). When the ship is built, the ship can be built according to regions, and then the built regions are folded together to form the ship. Specifically, each region may be set as a block, and the block may be divided into a plurality of segments, and the combined installation of the ship components may be performed in each segment.
In this embodiment, a network diagram may be used to display the embarkation sequence, embarkation time, embarkation type, etc. between the headquarters, so as to assist an engineer to reasonably arrange the ship building embarkation logical relationship and cycle.
Further, in this embodiment, the template is a basic file for making a network diagram, and may be a table in a table document. The format of the form document may be xls or xlxs, etc.
Further, in the template, a plurality of cells may be used to constitute one display area. Each display area corresponds to a total segment. Illustratively, when displaying the total segments, the total segments may be presented in the form of numbers of the displayed total segments. Further, the display area of the template is provided with cells for displaying the segments constituting the total segment. That is, the cells in the display area may also be used to display the number of segments. The segments displayed in the cells included in the same display area are used for piggybacking the total segment.
S220, determining a first table, wherein the first table is provided with a mounting sequence, mounting time consumption and a mounting mode among the total sections.
In the present embodiment, the mounting order between blocks is used to indicate the order in which blocks are mounted on one ship, and block a is mounted before block B, as defined. The time consumed for embarking between two blocks refers to the time required to wait for embarking a second block after embarking a first block. The mounting methods include lifting (L), mounting (Fit, F), and welding (Weld, W).
Specifically, for example, "T313-XS 313F 8", where "T313" represents the number of the first summary segment, "XS 313" represents the number of the second summary segment, and "F" represents the installation manner of the summary segment, that is, the installation manner of the summary segment XS313 to the summary segment T313. "8" indicates that the mounting time is 8 days, that is, the total section XS313 can be mounted 8 days after the total section T313 is mounted, and the mounting state is T313 completion assembly report.
And S230, receiving a second generation instruction.
In this embodiment, the second generation instruction is an instruction for triggering generation of a second network diagram for displaying a key logical relationship on board the ship.
Specifically, a "key logical relationship billboard" button may be provided, and when it is detected that the "key logical relationship billboard" button is clicked, it is determined that the second generation instruction is received.
And S240, responding to the second generation instruction, and determining all key logic relationships according to the embarkation sequence among the total sections set in the first table, wherein the key logic relationships are non-repetitive logic relationships.
Here, the non-repetitive logical relationship means a mounting order in which there is no repetitive representation.
Specifically, the mounting sequence between the total segment XD011 and the total segment XD213 set in the first table may be represented as "XD 011-XD213L 1", or "XD 011-XD313-XD 2132", which means that there are two sequences in the mounting sequence between the total segment XD011 and the total segment XD213, where "XD 011-XD213L 1" requires one day, and "XD 011-XD313-XD 2132" requires two days. Furthermore, the total segment XD213 must be loaded after the total segment XD313 is loaded, the preposition condition of the XD313 is the total segment XD011, and the loading time of the XD011-XD313-XD 2132 is longer, so that the XD011-XD213L 1 is necessarily satisfied, the path of the XD011-XD213L 1 is not necessarily displayed, and finally, after the past weight is carried out, the loading logic relation of the whole ship can be seen to be clearer, and the emphasis of production management can be more easily grasped.
And S250, in the template, connecting the display areas corresponding to the total sections included in the key logic relationship by using an arrow, and displaying the carrying time and carrying mode on the arrow so as to finish a second network diagram for displaying the key logic relationship carried by the ship.
The key logical relationship of ship embarkation refers to the embarkation sequence between all general segments belonging to the key logical relationship and arranged in the first table and required to be represented by the second network diagram.
For example, the piggyback order between the total segment T313 and the total segment T313 set in the first table may be expressed in the form of "T313-XS 313F 8".
Specifically, in the template, the display area of the total section T313 is indicated with the number of "T313", and the display area of the total section XS313 is indicated with the number of "XS 313". Further, the display area with the number "XS 313" is pointed from the display area with the number "T313" to indicate that the total section T313 and the total section XS313 are mounted in the order of mounting the total section T313 first and then mounting the total section XS 313. Further, a text box may be used near the arrow to display "F8" indicating that the total section XS313 cannot be installed until 8 days after the total section T313 is installed.
And drawing all the mounting sequences among the general segments which belong to the key logic relationship and are arranged in the first table in a template in the form of an arrow so as to obtain a second network diagram.
According to the technical scheme, a preset template is determined, and a display area for displaying a total section related to a carrying ship is arranged in the template; determining a first table, wherein the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections; receiving a second generation instruction; responding to the second generation instruction, and determining all key logic relations according to the embarkation sequence among the total sections set in the first table, wherein the key logic relations are non-repetitive logic relations; in the template, an arrow is used for connecting the display area corresponding to the total section included in the key logic relationship, the carrying time and the carrying mode are displayed on the arrow, so that the second network diagram for displaying the key logic relationship carried by the ship is completed, the problem of labor cost caused by manual generation of the network diagram is solved, and the technical effects of reducing labor cost and improving efficiency are achieved.
EXAMPLE III
Fig. 3 is a flowchart of a method for generating a network map according to a third embodiment of the present invention.
In this embodiment, a description of a third network diagram showing a logical relationship of a single block carried by a ship is added on the basis of the above-described embodiments.
Specifically, referring to fig. 3, the method specifically includes the following steps:
s310, determining a preset template, wherein a display area for displaying the total section related to the embarkation ship is arranged in the template.
Generally, ship embarkation is a step of building a ship hull, and refers to closing the ship hull. Since it is impossible to integrally construct a ship from start-up to launch, it is a common practice to divide the entire hull into a plurality of segments for construction and finally carry out the construction. Specifically, when designing a ship, the ship may be divided into several regions (cargo hold, engine room, bow, stern, cabin, hatch coaming). When the ship is built, the ship can be built according to regions, and then the built regions are folded together to form the ship. Specifically, each region may be set as a block, and the block may be divided into a plurality of segments, and the combined installation of the ship components may be performed in each segment.
In this embodiment, a network diagram may be used to display the embarkation sequence, embarkation time, embarkation type, etc. between the headquarters, so as to assist an engineer to reasonably arrange the ship building embarkation logical relationship and cycle.
Further, in this embodiment, the template is a basic file for making a network diagram, and may be a table in a table document. The format of the form document may be xls or xlxs, etc.
Further, in the template, a plurality of cells may be used to constitute one display area. Each display area corresponds to a total segment. Illustratively, when displaying the total segments, the total segments may be presented in the form of numbers of the displayed total segments. Further, the display area of the template is provided with cells for displaying the segments constituting the total segment. That is, the cells in the display area may also be used to display the number of segments. The segments displayed in the cells included in the same display area are used for piggybacking the total segment.
S320, determining a first table, wherein the first table is provided with a mounting sequence, mounting time consumption and a mounting mode among the total sections.
In the present embodiment, the mounting order between blocks is used to indicate the order in which blocks are mounted on one ship, and block a is mounted before block B, as defined. The time consumed for embarking between two blocks refers to the time required to wait for embarking a second block after embarking a first block. The mounting methods include lifting (L), mounting (Fit, F), and welding (Weld, W).
Specifically, for example, "T313-XS 313F 8", where "T313" represents the number of the first summary segment, "XS 313" represents the number of the second summary segment, and "F" represents the installation manner of the summary segment, that is, the installation manner of the summary segment XS313 to the summary segment T313. "8" indicates that the mounting time is 8 days, that is, the total section XS313 can be mounted 8 days after the total section T313 is mounted, and the mounting state is T313 completion assembly report.
And S330, receiving a third generation instruction.
In this embodiment, the third generation instruction is an instruction for triggering generation of a third network diagram for displaying a single block logical relationship carried by the ship.
Specifically, a "single-segment logical relationship kanban" button may be provided, and when it is detected that the "single-segment logical relationship kanban" button is clicked, it is determined that the third generation instruction is received.
And S340, responding to the third generation instruction to input a total segment number.
In this embodiment, a network diagram of the piggyback order of the target total segment corresponding to the total segment number can be generated by inputting the total segment number.
And S350, determining the total segment corresponding to the total segment number as a target total segment.
Generally, the total segments can be represented by numbers, and the total segments can be determined by the numbers.
S360, determining a key logic relationship comprising the target total segment as a target path, wherein the key logic relationship is a non-repetitive logic relationship.
Here, the non-repetitive logical relationship means a mounting order in which there is no repetitive representation. In this embodiment, only the mounting order of the key logical relationship may be displayed.
Specifically, the loading sequence between the total segment XD011 and the total segment XD213 set in the first table may be represented as "XD 011-XD213L 1", or "XD 011-XD313-XD 2132", which means that there are two sequences in the loading sequence between the total segment XD011 and the total segment XD213, where "XD 011-XD213L 1" requires one day, and "XD 011-XD313-XD 2132" requires two days. Furthermore, the total segment XD213 must be loaded after the total segment XD313 is loaded, the preposition condition of the XD313 is the total segment XD011, and the loading time of the XD011-XD313-XD 2132 is longer, so that the XD011-XD213L 1 is necessarily satisfied, the path of the XD011-XD213L 1 is not necessarily displayed, and finally, after the past weight is carried out, the loading logic relation of the whole ship can be seen to be clearer, and the emphasis of production management can be more easily grasped.
In this embodiment, all paths including the target total segment may be determined from the first table, and the piggyback order that is not the key logical relationship in the paths is deleted, so that the target path including the key logical relationship of the target total segment may be obtained.
And S370, in the template, connecting the display areas corresponding to the total sections included in the target path by using an arrow, and displaying the carrying time and carrying mode on the arrow so as to complete a third network diagram for displaying the logic relationship of the single total section carried by the ship.
The single total segment logic relationship carried by the ship refers to that the third network diagram needs to show the carrying sequence of the target paths belonging to one total segment and arranged in the first table.
For example, the piggyback order between the total segment T313 and the total segment T313 set in the first table may be expressed in the form of "T313-XS 313F 8".
Specifically, in the template, the display area of the total section T313 is indicated with the number of "T313", and the display area of the total section XS313 is indicated with the number of "XS 313". Further, the display area with the number "XS 313" is pointed from the display area with the number "T313" to indicate that the total section T313 and the total section XS313 are mounted in the order of mounting the total section T313 first and then mounting the total section XS 313. Further, a text box may be used near the arrow to display "F8" indicating that the total section XS313 cannot be installed until 8 days after the total section T313 is installed.
And drawing all the mounting sequences belonging to the target path and arranged in the first table in a template in the form of an arrow so as to obtain a third network diagram.
According to the technical scheme, a preset template is determined, and a display area for displaying a total section related to a carrying ship is arranged in the template; determining a first table, wherein the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections; receiving a third generation instruction; responding to the third generation instruction to input a total segment number; determining the total segment corresponding to the total segment number as a target total segment; determining a key logic relationship comprising the target total segment as a target path, wherein the key logic relationship is a non-repetitive logic relationship; in the template, an arrow is used for connecting the display area corresponding to the total section included in the target path, the carrying time and the carrying mode are displayed on the arrow, so that a third network diagram for displaying the logic relation of the single total section carried by the ship is completed, the problem of labor cost caused by manual generation of the network diagram is solved, and the technical effects of reducing labor cost and improving efficiency are achieved.
On the basis of the above embodiment, the following settings may be included: adding time, distinguishing critical paths, restoring templates, and the like.
1. Time of addition
In this embodiment, the instruction may be added by receiving time; and responding to the time adding instruction to read the mounting time of each total segment from the first table. Such as clicking on the "add time" button to determine that a time add instruction has been received. Aiming at the template, displaying the carrying time at a preset position of a display area of each total segment, wherein the preset position can be a cell under the display area; determining a second table provided with segments included to constitute each total segment and a time plan to constitute the total segment using the segments; determining the starting time of the total group and the ending time of the total group corresponding to each total section according to the time plan of the total section composed of the subsection; taking the time period between the ending time and the starting time of each total section as the total group period of each total section; and displaying the starting time, the ending time and the total group period in a display area of each total segment in a remark mode.
2. Differentiating critical paths
In this embodiment, the instruction may be generated by receiving a path; in response to the path generation instruction, determining a type of each of the total segments from the first table, the type including a start node, an intermediate node, and an end node; constructing a path from a starting node to an ending node according to the carrying sequence among the total sections set in the first table; the path is saved in a path information table.
Illustratively, the total segment represented by "Start" is a Start node, the total segment represented by "End" is an End node, and the other total segments are intermediate nodes.
Specifically, the "generate path" button may be clicked to determine that a path generation instruction is received. Further, table information in the first table is automatically detected, all paths are generated according to the loading sequence of each total segment in the first table, and the paths are stored in the path information table.
Further, receiving a sorting instruction; in response to the sorting instruction, sorting the paths with the same end node according to the length of the path, wherein the length is the total time consumed by the total segment which is included in the path; determining the path with the longest length corresponding to each end node as a key path corresponding to each end node according to the sequencing result; and setting the arrow included by the critical path into a preset format.
Specifically, the "path sort" button may be clicked to determine that a sort instruction is received. Further, the in-table information in the first table is automatically detected, so that the paths with the same end node are sorted according to the total time consumed by the carrying of the paths according to the carrying sequence of each total segment, and the path with the longest total time consumed by the carrying of each end node is determined as the key path corresponding to the end node.
Further, the arrows in the critical path may be shown with bold red lines, and the arrows in the non-critical path are indicated with thin blue lines.
3. Reduction template
In this embodiment, the clear instruction may be received; and responding to the clearing instruction to restore the template to the original state.
In this embodiment, the first network diagram, the second network diagram, and the third network diagram in the above embodiments may be displayed directly using the table of the template, or may be copied to another table as the network diagram after the network diagram is drawn on the template.
Further, in the technical solution of displaying by using the table of the template, in order to realize the switching among the first network diagram, the second network diagram, and the third network diagram, the template may be restored first during the switching, that is, the arrow in the network diagram is deleted, and the embarkation time and remark are displayed at the preset position of the display area of each total segment.
Example four
Fig. 4 is a schematic structural diagram of a device for generating a network map according to a fourth embodiment of the present invention.
Referring to fig. 4, the apparatus specifically includes the following structure: a template determination module 410, a first table determination module 420, a first instruction receiving module 430, and a first instruction response module 440.
The template determining module 410 is used for determining a preset template, and a display area used for displaying a total section related to a ship is arranged in the template;
a first table determining module 420, configured to determine a first table, where the first table is provided with a mounting order, a mounting time consumption, and a mounting manner among the total segments;
a first instruction receiving module 430, configured to receive a first generation instruction;
a first instruction response module 440, configured to respond to the first generation instruction, connect, in the template, the display areas representing the total segments by using an arrow according to the carrying order among the total segments set in the first table, and display the carrying time and carrying manner on the arrow, so as to complete a first network diagram for displaying the full logical relationship of ship carrying.
According to the technical scheme, a preset template is determined, and a display area for displaying a total section related to a carrying ship is arranged in the template; determining a first table, wherein the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections; receiving a first generation instruction; responding to the first generation instruction, connecting the display areas representing the total sections by using an arrow according to the carrying sequence among the total sections set in the first table in the template, and displaying the carrying time and carrying mode on the arrow so as to complete a first network diagram for displaying the ship carrying full logic relationship, solve the problem of labor cost caused by manually generating the network diagram, and achieve the technical effects of reducing labor cost and improving efficiency.
On the basis of the above technical solution, the apparatus further includes:
and the second instruction receiving module is used for receiving a second generation instruction after the first table is determined.
And the second instruction response module is used for responding to the second generation instruction, and determining all key logic relationships according to the embarkation sequence among the total segments set in the first table, wherein the key logic relationships are non-repetitive logic relationships.
And the second network diagram generating module is used for connecting the display areas corresponding to the total sections included in the key logic relationships by using arrows in the template, and displaying the carrying time and carrying mode on the arrows so as to finish the second network diagram for displaying the key logic relationships carried by the ship.
On the basis of the above technical solution, the apparatus further includes:
and a third instruction receiving module, configured to receive a third generation instruction after the first table is determined.
And the third instruction response module is used for responding to the third generation instruction so as to input the total segment number.
And the target total segment determining module is used for determining the total segment corresponding to the total segment number as the target total segment.
And the target path determining module is used for determining a key logic relationship comprising the target total segment as a target path, wherein the key logic relationship is a non-repetitive logic relationship.
And the third network diagram generating module is used for connecting the display areas corresponding to the total sections included in the target path by using an arrow in the template, and displaying the carrying time and carrying mode on the arrow so as to complete a third network diagram for displaying the logical relationship of the single total section carried by the ship.
On the basis of the technical scheme, the display area of the template is provided with cells for displaying the segments forming the total segment. The device, still include:
and the time adding instruction receiving module is used for receiving a time adding instruction after the first table is determined.
And the time adding instruction response module is used for responding to the time adding instruction so as to read the mounting time of each total segment from the first table.
And the time display module is used for displaying the carrying time at the preset position of the display area of each total section aiming at the template.
And the second table determining module is used for determining a second table, and the second table is provided with the segments which are included in the total segments and the time plan which uses the segments to form the total segments.
And the total group time determining module is used for determining the total group starting time and the total group ending time corresponding to each total section according to the time plan of the total section composed of the subsection total.
And the total group period determining module is used for taking the time period between the ending time and the starting time of each total segment as the total group period of each total segment.
And the total group time display module is used for displaying the starting time, the ending time and the total group period in a display area of each total segment in a remark mode.
On the basis of the above technical solution, the apparatus further includes:
and a path generation instruction receiving module, configured to receive a path generation instruction after the first table is determined.
A path generation instruction response module, configured to respond to the path generation instruction to determine a type of each total segment from the first table, where the type includes a start node, an intermediate node, and an end node.
And the path determining module is used for constructing a path from the starting node to the ending node according to the embarkation sequence among the total sections set in the first table.
And the path saving module is used for saving the path in a path information table.
On the basis of the above technical solution, the apparatus further includes:
and the sequencing instruction receiving module is used for receiving a sequencing instruction after the path is stored in the path information table.
And the sequencing instruction response module is used for responding to the sequencing instruction and sequencing the paths with the same end node according to the length of the paths, wherein the length is the total time consumed by the total section included in the paths.
And the critical path determining module is used for determining the path with the longest length corresponding to each end node as the critical path corresponding to each end node according to the sequencing result.
And the format setting module is used for setting the arrows included in the critical path into a preset format.
On the basis of the above technical solution, the apparatus further includes:
a clear instruction receiving module, configured to receive a clear instruction after the first table is determined;
and the clearing instruction response module is used for responding to the clearing instruction so as to restore the template to the original state.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a device for generating a network map according to a fifth embodiment of the present invention. As shown in fig. 5, the generation device of the network map includes: a processor 50, a memory 51, an input device 52, and an output device 53. The number of the processors 50 in the network diagram generating device may be one or more, and one processor 50 is taken as an example in fig. 5. The number of the memories 51 in the network map generating device may be one or more, and one memory 51 is taken as an example in fig. 5. The processor 50, the memory 51, the input device 52, and the output device 53 of the network diagram generation apparatus may be connected by a bus or other means, and fig. 5 illustrates an example of connection by a bus. The generating device of the network diagram can be a computer, a server and the like. In this embodiment, a generation device of a network diagram is used as a server for detailed description, and the server may be an independent server or a cluster server.
The memory 51 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the network map generation method according to any embodiment of the present invention (for example, the template determination module 410, the first table determination module 420, the first instruction receiving module 430, and the first instruction response module 440 in the network map generation apparatus). The memory 51 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 51 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 51 may further include memory located remotely from the processor 50, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 52 may be used to receive input numeric or character information and produce key signal inputs related to audience user settings and function controls of the network diagram generating apparatus, as well as a camera for acquiring images and a sound pickup apparatus for acquiring audio data. The output device 53 may include an audio device such as a speaker. It should be noted that the specific composition of the input device 52 and the output device 53 can be set according to actual conditions.
The processor 50 executes various functional applications of the device and data processing by executing software programs, instructions, and modules stored in the memory 51, that is, implements the above-described network map generation method.
EXAMPLE six
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for generating a network map, including:
determining a preset template, wherein a display area for displaying a total section related to a carrying ship is arranged in the template;
determining a first table, wherein the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections;
receiving a first generation instruction;
responding to the first generation instruction, connecting the display areas representing the total sections by using arrows according to the embarkation sequence among the total sections set in the first table in the template, and displaying the embarkation time consumption and embarkation mode on the arrows so as to complete a first network diagram for displaying the full logic relationship of ship embarkation.
Of course, the storage medium provided by the embodiment of the present invention includes computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method for generating a network map described above, and may also perform related operations in the method for generating a network map provided by any embodiment of the present invention, and have corresponding functions and advantages.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to enable a computer device (which may be a robot, a personal computer, a server, or a network device) to execute the method for generating a network diagram according to any embodiment of the present invention.
It should be noted that, in the apparatus for generating the network diagram, the units and modules included in the network diagram are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "in an embodiment," "in another embodiment," "exemplary" or "in a particular embodiment," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for generating a network graph is characterized by comprising the following steps:
determining a preset template, wherein a display area for displaying a total section related to a carrying ship is arranged in the template;
determining a first table, wherein the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections;
receiving a first generation instruction;
responding to the first generation instruction, connecting the display areas representing the total sections by using arrows according to the embarkation sequence among the total sections set in the first table in the template, and displaying the embarkation time consumption and embarkation mode on the arrows so as to complete a first network diagram for displaying the full logic relationship of ship embarkation.
2. The method of claim 1, further comprising, after said determining the first table:
receiving a second generation instruction;
responding to the second generation instruction, and determining all key logic relations according to the embarkation sequence among the total sections set in the first table, wherein the key logic relations are non-repetitive logic relations;
in the template, connecting the display areas corresponding to the total sections included in the key logic relationship by using an arrow, and displaying the carrying time and carrying mode on the arrow so as to complete a second network diagram for displaying the key logic relationship carried by the ship.
3. The method of claim 1, further comprising, after said determining the first table:
receiving a third generation instruction;
responding to the third generation instruction to input a total segment number;
determining the total segment corresponding to the total segment number as a target total segment;
determining a key logic relationship comprising the target total segment as a target path, wherein the key logic relationship is a non-repetitive logic relationship;
and in the template, connecting the display areas corresponding to the total sections included in the target path by using an arrow, and displaying the carrying time and carrying mode on the arrow so as to finish a third network diagram for displaying the logic relationship of the single total section carried by the ship.
4. A method according to any of claims 1-3, wherein the display area of the template is provided with cells for displaying the segments making up the total segment;
after the determining the first table, further comprising:
receiving a time adding instruction;
responding to the time adding instruction to read the mounting time of each total segment from the first table;
aiming at the template, displaying the carrying time at a preset position of a display area of each total section;
determining a second table provided with segments included to compose each total segment and a time plan to compose the total segment using the segments;
determining the starting time of the total group and the ending time of the total group corresponding to each total section according to the time plan of the total section composed of the subsection;
setting the time period between the ending time and the starting time of each total segment as the total period of each total segment;
displaying the starting time, the ending time and the total group period in a display area of each total segment in a remark mode.
5. The method of claim 4, further comprising, after said determining the first table:
receiving a path generation instruction;
in response to the path generation instructions, determining a type for each of the total segments from the first table, the type comprising a start node, an intermediate node, and an end node;
constructing a path from a starting node to an ending node according to a carrying sequence between the total sections set in the first table;
and storing the path in a path information table.
6. The method according to claim 5, further characterized in that after said saving said path in a path information table, further comprising:
receiving a sorting instruction;
in response to the sequencing instruction, sequencing the paths with the same end node according to the length of the paths, wherein the length is the total time consumed by the total sections included in the paths for loading;
determining the path with the longest length corresponding to each end node as a key path corresponding to each end node according to the sequencing result;
setting the arrows included in the critical path to be in a preset format.
7. The method of claim 4, further comprising, after said determining the first table:
receiving a clearing instruction;
responding to the clearing instruction to restore the template to an original state.
8. An apparatus for generating a network map, comprising:
the template determining module is used for determining a preset template, and a display area used for displaying a total section related to a carrying ship is arranged in the template;
the first table determining module is used for determining a first table, and the first table is provided with a carrying sequence, carrying time consumption and a carrying mode among all the total sections;
the first instruction receiving module is used for receiving a first generation instruction;
and the first instruction response module is used for responding to the first generation instruction, connecting the display areas representing the total sections by using arrows according to the carrying sequence among the total sections set in the first table in the template, and displaying the carrying time and carrying mode on the arrows so as to finish a first network diagram for displaying the complete logic relationship of ship carrying.
9. A device for generating a network map, comprising: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of generating a network diagram as recited in any of claims 1-7.
10. A storage medium containing computer-executable instructions for performing a method of generating a network map according to any one of claims 1-7 when executed by a computer processor.
CN201911047175.7A 2019-10-30 2019-10-30 Method, device, equipment and storage medium for generating network diagram Active CN110750838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911047175.7A CN110750838B (en) 2019-10-30 2019-10-30 Method, device, equipment and storage medium for generating network diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911047175.7A CN110750838B (en) 2019-10-30 2019-10-30 Method, device, equipment and storage medium for generating network diagram

Publications (2)

Publication Number Publication Date
CN110750838A true CN110750838A (en) 2020-02-04
CN110750838B CN110750838B (en) 2023-05-26

Family

ID=69281331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911047175.7A Active CN110750838B (en) 2019-10-30 2019-10-30 Method, device, equipment and storage medium for generating network diagram

Country Status (1)

Country Link
CN (1) CN110750838B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1031532A (en) * 1996-07-12 1998-02-03 Akira Sugiyama Generating device for characteristic time
JP4418849B1 (en) * 2009-07-24 2010-02-24 株式会社ナビタイムジャパン Navigation system, route search server, route search method, and navigation apparatus
CN101866179A (en) * 2010-07-20 2010-10-20 上海交通大学 Boat segmental hoisting simulation system restricted by three-dimensional space
CN106951621A (en) * 2017-03-13 2017-07-14 江苏科技大学 A kind of simulation optimization method that Plan rescheduling is carried for ship
CN109377063A (en) * 2018-10-31 2019-02-22 广船国际有限公司 A kind of method for scheduling task, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1031532A (en) * 1996-07-12 1998-02-03 Akira Sugiyama Generating device for characteristic time
JP4418849B1 (en) * 2009-07-24 2010-02-24 株式会社ナビタイムジャパン Navigation system, route search server, route search method, and navigation apparatus
CN101866179A (en) * 2010-07-20 2010-10-20 上海交通大学 Boat segmental hoisting simulation system restricted by three-dimensional space
CN106951621A (en) * 2017-03-13 2017-07-14 江苏科技大学 A kind of simulation optimization method that Plan rescheduling is carried for ship
CN109377063A (en) * 2018-10-31 2019-02-22 广船国际有限公司 A kind of method for scheduling task, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾旭洲: "基于关键链技术的散货船建造项目进度控制方法研究" *

Also Published As

Publication number Publication date
CN110750838B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
WO2020042741A1 (en) Battery detection method and device
CN110188135A (en) Document generating method and equipment
CN114169536B (en) Data management and control method and related device
CN112364441A (en) Model-driven ship simulation method, system, medium and equipment
CN116701043B (en) Heterogeneous computing system-oriented fault node switching method, device and equipment
CN110474836A (en) A kind of email template generation method, calculates equipment and medium at device
CN110750838A (en) Method, device, equipment and storage medium for generating network graph
US20240153059A1 (en) Method and system for anomaly detection using multimodal knowledge graph
CN113094125A (en) Business process processing method, device, server and storage medium
CN116048490B (en) Business event processing method, device, computer equipment and storage medium
CN112990433A (en) Model time-consuming prediction method and device, electronic equipment and storage medium
JPH06266417A (en) Work plan determining system
CN114723191A (en) Operation and maintenance method and device and electronic equipment
CN111694739A (en) Interface test method, device, equipment and storage medium
CN111080148A (en) Net value calculation method and device of ERP system, electronic equipment and storage medium
CN109379449A (en) Data connecting method, device, terminal and storage medium
CN111105044B (en) Discrete feature processing method and device, computer equipment and storage medium
CN109947391A (en) A kind of data processing method and device
CN109901939A (en) The information source call method and system of High Availabitity
CN117056068B (en) JobEngine task splitting method in ETL
CN115953715B (en) Video detection method, device, equipment and storage medium
TWI810510B (en) Method and device for processing multi-modal data, electronic device, and storage medium
CN111026366B (en) User interface implementation method and device, storage medium and electronic equipment
CN114139035A (en) Website function guiding method, readable storage medium and computer program product
CN115130681A (en) Data processing method and device for federal learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant