CN113836611A - Equipment number file generation method and device, electronic equipment and storage medium - Google Patents

Equipment number file generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113836611A
CN113836611A CN202110981142.0A CN202110981142A CN113836611A CN 113836611 A CN113836611 A CN 113836611A CN 202110981142 A CN202110981142 A CN 202110981142A CN 113836611 A CN113836611 A CN 113836611A
Authority
CN
China
Prior art keywords
primitive
equipment
station
information
primitives
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110981142.0A
Other languages
Chinese (zh)
Inventor
于磊
蔚彦昭
叶伟
许玲玲
赵安安
包成亮
穆康凯
武昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology 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 CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202110981142.0A priority Critical patent/CN113836611A/en
Publication of CN113836611A publication Critical patent/CN113836611A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Abstract

The invention provides a method and a device for generating an equipment number file, electronic equipment and a storage medium, wherein the method comprises the following steps: extracting the number information of each device based on the primitive information of each device in the signal plane graph and the preset configuration file of each device; an equipment number file is generated based on the number information of each equipment. According to the invention, based on the primitive information of each device in the signal plane diagram and the preset configuration file of each device, the number information of each device can be automatically, quickly and accurately extracted, and further, based on the number information of each device, the device number file is automatically generated, so that the problem of low efficiency and accuracy caused by the fact that the device number is manually filled in the traditional method is solved.

Description

Equipment number file generation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of file generation technologies, and in particular, to a method and an apparatus for generating a device number file, an electronic device, and a storage medium.
Background
In a Communication Based Train Control System (CBTC System), a device number is a unique identifier of each ground device (a signal, a track section, a switch, a transponder, a platform door, an emergency stop, a flood gate, etc.), and therefore, a device number file needs to be acquired in order to perform Train Control management.
In the traditional method, equipment in a CAD signal plan is manually compared, equipment numbers are sequentially carried out on each piece of equipment of different types in the plan according to a preset equipment number principle, and the equipment numbers are manually filled in an engineering data comparison table to form an equipment number file.
Disclosure of Invention
The invention provides a method and a device for generating an equipment serial number file, electronic equipment and a storage medium, which are used for overcoming the defects of low efficiency and low accuracy in generating the equipment serial number file in the prior art.
The invention provides a method for generating an equipment number file, which comprises the following steps:
extracting the number information of each device based on the primitive information of each device in the signal plane graph and the preset configuration file of each device;
an equipment number file is generated based on the number information of each equipment.
According to the equipment number file generation method provided by the invention, the number information comprises a position number and an attribute number;
the extracting of the number information of each device based on the primitive information of each device in the signal plane diagram and the preset configuration file of each device includes:
determining the position number of each device based on the primitive information of each device in the signal plane graph;
and determining the attribute number of each device based on the preset configuration file of each device.
According to the equipment number file generation method provided by the invention, the position number comprises a line number, a concentration area number, a station number and an equipment number;
the determining the position number of each device based on the primitive information of each device in the signal plane diagram includes:
identifying a line primitive corresponding to each equipment from the signal plane graph based on the primitive information of each equipment, and extracting the serial number of the line primitive as the line serial number of each equipment;
identifying a centralized area demarcation primitive corresponding to each equipment from the signal plane graph based on the primitive information of each equipment, and extracting the number of the corresponding centralized area demarcation primitive as the centralized area number of each equipment;
identifying station identification primitives corresponding to each equipment from the signal plane graph based on the primitive information of each equipment, and extracting the number of the corresponding station identification primitive as the station number of each equipment;
and extracting the equipment serial number of each equipment from the equipment primitive information.
According to the equipment number file generation method provided by the invention, the number of each concentration area demarcation primitive in the signal plane diagram is determined based on the following processes:
and sequencing all the demarcation primitives of the concentrated areas based on the coordinates and the first sequence of all the demarcation primitives of the concentrated areas in the signal plane diagram, numbering all the demarcation primitives of the concentrated areas after sequencing according to a first preset rule, and obtaining the numbers of the demarcation primitives of all the concentrated areas.
According to the equipment number file generation method provided by the invention, the number of each station identification primitive in the signal plane diagram is determined based on the following processes:
determining all station identification primitives within the range of the corresponding concentration area demarcation primitives based on the concentration area demarcation primitives corresponding to each device;
and determining the number of each station identification primitive based on the type of each station identification primitive.
According to the equipment number file generation method provided by the invention, the type of the station identification primitive is an I-level centralized station or a non-I-level centralized station;
the determining the number of each station identification primitive based on the type of each station identification primitive comprises:
determining that the type of the station identification primitive is an I-level centralized station, and taking a preset number as the number of the corresponding station identification primitive;
and determining that the type of the station identification primitive is a non-I-level centralized station, taking the station identification primitives corresponding to all the non-I-level centralized stations as a station cluster, sequencing all the station identification primitives in the station cluster based on the coordinates and the second sequence of all the station identification primitives in the station cluster, numbering all the sequenced station identification primitives according to a second preset rule, and obtaining the number of each station identification primitive in the station cluster.
According to the method for generating the equipment number file provided by the invention, the equipment serial number of each equipment is determined based on the following processes:
determining a demarcation axle counting unit corresponding to each device based on the station identification primitive corresponding to each device;
and grouping all the equipment within the range of the demarcation axle counting unit based on a preset grouping rule, and distributing corresponding equipment serial numbers for the grouped equipment according to a serial number distribution rule corresponding to each group.
The invention also provides a device for generating the equipment number file, which comprises:
the extraction information unit is used for extracting the number information of each device based on the primitive information of each device in the signal plane diagram and the preset configuration file of each device;
and the file generating unit is used for generating the equipment number file based on the number information of each equipment.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of any one of the device number file generation methods.
The present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the device number file generating method as described in any of the above.
The equipment numbering file generation method, the equipment numbering file generation device, the electronic equipment and the storage medium provided by the invention can automatically, quickly and accurately extract the numbering information of each equipment based on the primitive information of each equipment in the signal plane diagram and the preset configuration file of each equipment, and further automatically generate the equipment numbering file based on the numbering information of each equipment, so that the problem of low efficiency and accuracy caused by manually filling the equipment numbering in the traditional method is solved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for generating a device number file according to the present invention;
FIG. 2 is a diagram illustrating attributes of device primitives provided by the present invention;
FIG. 3 is a schematic diagram of the numbering of the devices provided by the present invention;
FIG. 4 is a schematic diagram of the types and numbers of devices provided by the present invention;
FIG. 5 is a diagram of a device number file provided by the present invention;
FIG. 6 is a schematic structural diagram of an apparatus number file generating device provided in the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the traditional method, equipment in a CAD signal plan is manually compared, equipment numbering is sequentially carried out on each piece of equipment of different types in the plan according to a set equipment numbering principle, and the equipment numbering is manually filled in an engineering data comparison table to generate an equipment numbering file.
However, the device number is mostly composed of a "manufacturer code", "device type", "line number", "ZC concentrated zone number", "station number", and "device number", the binary representation of the device number includes 32 bits in total, and if the binary representation of the device number is filled in the engineering data comparison table, the binary representation of the device number needs to be converted into a 16-bit representation, and meanwhile, a signal plan of a complete line has a large number of ground devices, and the device number includes a large amount of information of one device. If adopt traditional manual work to carry out the equipment serial number and generate equipment serial number file, work load is big, makes mistakes easily and inefficiency, can waste a large amount of human costs simultaneously.
In view of the above, the present invention provides a method for generating a device number file. Fig. 1 is a schematic flow diagram of a method for generating a device number file according to the present invention, and as shown in fig. 1, the method includes the following steps:
and 110, extracting the number information of each device based on the primitive information of each device in the signal plane diagram and the preset configuration file of each device.
Specifically, the signal plane diagram includes a large number of device primitives, and each device primitive is drawn by using a standardized primitive. For example, before drawing a signal plane diagram, the primitives such as lines, axle counters, signal machines, turnouts, transponders, stations, platform doors, and centralization zone boundaries are designed into different types of custom entity blocks, that is, the custom entity blocks are packaged into different types of standard block, and a standard primitive library is established to realize the standardization of the primitives of the station signal plane diagram. Each device in the standard primitive library has perfect attribute information, and records not only various attributes of the device primitive itself, but also relevant information of other device primitives in a signal plane diagram associated with the device primitive, and the attributes of various primitives are shown in fig. 2. And the perfect primitive attribute design ensures that various equipment primitives in the signal plane graph are associated with each other.
Because the device primitives in the signal plane diagram are associated with each other, when each device primitive is drawn, the relative position relationship of each device primitive can be automatically calculated, such as a line to which each device belongs, a zc (zone controller) concentration area to which each device belongs, a station to which each device belongs, and the like. After the relative position relation of each equipment primitive in the signal plane graph is obtained, the number information of each equipment primitive can be automatically obtained. As shown in fig. 3, the device number may be composed of a "manufacturer code", a "device type", a "line number", a "ZC concentrated area number", a "station number", and a "device number", and after the line to which each device belongs is determined, the number of the line to which the device belongs may be used as the "line number" of the device; after the concentration zone to which each device belongs is determined, the number of the concentration zone to which the device belongs can be used as the "ZC concentration zone number" of the device.
The preset configuration file of each device refers to a file in which manufacturers of each device and type information of each device are stored, and manufacturer number information and type number information of each device can be obtained by reading the file. As shown in fig. 4, the device type and the serial number in the Excel configuration file are shown, and the manufacturer code and the device type can be obtained by reading the Excel configuration file. It can be understood that for different engineering projects, the content in the Excel configuration file can be flexibly changed, so that the corresponding equipment type and number can be accurately read in real time.
And step 120, generating an equipment number file based on the number information of each equipment.
Specifically, after acquiring the number information of each device, the number information of each device may be stored into the primitive attribute of the corresponding device, and when the number file of the device needs to be acquired, the corresponding device number file may be generated by exporting the information in the device primitive attribute.
As shown in fig. 5, after the automatically calculated device number data is stored in the primitive attributes of each device, the program identifies and reads the device primitives in the signal plane diagram, and exports the device name and the device number attributes together to the engineering data comparison table to obtain the device number file.
It should be noted that, in the embodiment of the present invention, CAD secondary development may be performed by ObjectARX, so that each device primitive in the CAD signal plane diagram has perfect attribute information, thereby implementing identification of each device primitive from the signal plane diagram and automatic completion of device number calculation of each device, exporting the calculation result of the device number to the engineering data comparison table, and generating a device number file, which is used to replace the conventional manual device number calculation.
It can be understood that the embodiment of the invention can utilize ObjectARX to carry out CAD secondary development, and encapsulate various equipment primitives in the CAD signal plane graph into standard unified image blocks, thereby realizing effective identification of various equipment in the CAD signal plane graph and further realizing automatic calculation and derivation of various equipment numbers. For example, the CAD software is opened and drawing plug-ins are loaded, so that a subway gallery can be opened through CAD menu commands, and unified picture blocks provided on a gallery panel are selected according to drawing requirements to finish drawing of the signal plane graph. And reading various primitive data in the signal plane graph through a CAD menu 'equipment automatic numbering' command, carrying out equipment automatic numbering calculation, finally exporting to an engineering data comparison table, and automatically generating an equipment numbering file.
The equipment number file generation method provided by the embodiment of the invention can automatically, quickly and accurately extract the number information of each equipment based on the primitive information of each equipment in the signal plane diagram and the preset configuration file of each equipment, and further automatically generate the equipment number file based on the number information of each equipment, thereby avoiding the problem of low efficiency and accuracy caused by manually filling the equipment number in the traditional method.
Based on the above embodiment, the number information includes a location number and an attribute number;
extracting the number information of each device based on the primitive information of each device in the signal plane diagram and the preset configuration file of each device, wherein the extracting comprises the following steps:
determining the position number of each device based on the primitive information of each device in the signal plane graph;
and determining the attribute number of each device based on the preset configuration file of each device.
Specifically, the location number may represent a location of an area to which the device belongs, such as a route to which the device belongs, a concentration area to which the device belongs, the station, and the like. The attribute number may characterize the attribute of the device, such as the manufacturer of the device, the type of the device, and the like.
For the position numbers, the coordinates of each device in the primitive can be determined based on the primitive information of each device in the signal plane diagram, and the relative position information of the current device, such as the concentration area to which the current device belongs, the station to which the current device belongs, and the like, is judged by combining other primitive coordinates (such as the concentration area demarcation primitive coordinate, the station identification primitive coordinate, and the like) in the signal plane diagram. Then, the number of the belonging concentration area, the number of the belonging station, and the like are taken as the position number.
The attribute numbers can be extracted from preset configuration files of the devices, and manufacturers, types and corresponding numbers corresponding to the devices can be stored in the preset configuration files, so that the attribute numbers of the devices can be automatically and accurately extracted from the preset configuration files.
Based on any of the above embodiments, the location number includes a line number, a concentration area number, a station number, and an equipment number;
determining the position number of each device based on the primitive information of each device in the signal plane diagram, wherein the step of determining the position number of each device comprises the following steps:
identifying a line primitive corresponding to each equipment from the signal plane graph based on the primitive information of each equipment, and extracting the serial number of the line primitive as the line serial number of each equipment;
identifying a centralized area demarcation primitive corresponding to each equipment from the signal plane graph based on the primitive information of each equipment, and extracting the number of the corresponding centralized area demarcation primitive as the centralized area number of each equipment;
identifying station identification primitives corresponding to each equipment from the signal plane graph based on the primitive information of each equipment, and extracting the number of the corresponding station identification primitive as the station number of each equipment;
and extracting the equipment serial number of each equipment from the equipment primitive information.
Specifically, the line number refers to a number corresponding to a line to which each device belongs, the number of the concentration area refers to a number corresponding to the concentration area to which each device belongs, the station number refers to a number corresponding to a station to which each device belongs, and the device number refers to a serial number of each device in the station to which each device belongs.
And identifying the line primitive corresponding to each equipment based on the coordinates of the primitives of each equipment, and taking the corresponding line primitive number as the line number of each equipment. Based on the coordinates of the equipment primitives and in combination with the coordinates of all the concentration area demarcation primitives in the signal plane diagram, the concentration area demarcation primitives to which the equipment belongs can be determined, and the number of the corresponding concentration area demarcation primitive is used as the concentration area number of the equipment. Similarly, based on the coordinates of the primitives of each device, the station corresponding to each device can be determined by combining the coordinates of all station identification primitives in the centralized area to which the signal plane graph belongs, and the station identification primitive number of the corresponding station is used as the station number of each device. After the station to which each device belongs is determined, all devices within the station range are obtained, and after the devices are numbered according to the preset rule, the device serial numbers of the devices can be obtained.
Based on any of the above embodiments, the number of each concentration zone demarcation primitive in the signal plane diagram is determined based on the following process:
and sequencing all the demarcation primitives of the concentrated areas based on the coordinates and the first sequence of all the demarcation primitives of the concentrated areas in the signal plane diagram, numbering all the demarcation primitives of the concentrated areas after sequencing according to a first preset rule, and obtaining the numbers of the demarcation primitives of all the concentrated areas.
Specifically, after the coordinates of all the demarcation primitives of the concentration areas in the signal plane diagram are determined, all the demarcation primitives of the concentration areas are sorted according to a first sequence (for example, according to the sequence of the coordinates from left to right), and all the demarcation primitives of the concentration areas after being sorted are numbered according to a first preset rule (for example, the demarcation primitives of the concentration areas are numbered as 1, 2, … and n in sequence), so that the numbers of the demarcation primitives of the concentration areas are obtained.
For example, a plurality of ZC concentrated zones in the signal plane map are determined by identifying ZC concentrated zone demarcation primitives in the signal plane map, then the coordinate positions of the ZC concentrated zone demarcation primitives in the signal plane map are obtained, and the ZC concentrated zones are numbered sequentially from left to right. Wherein, the devices belonging to a ZC concentration zone range all use the same ZC concentration zone number.
Therefore, the embodiment of the invention can automatically number the demarcation primitives of each concentration area in the signal plane graph, and avoids the problems of low efficiency and easy error caused by dependence on manual numbering in the traditional method.
Based on any of the above embodiments, the number of each station identification primitive in the signal plane diagram is determined based on the following process:
determining all station identification primitives within the range of the corresponding concentration area demarcation primitives based on the concentration area demarcation primitives corresponding to each device;
and determining the number of each station identification primitive based on the type of each station identification primitive.
Specifically, after the central zone demarcation primitive to which each device belongs is determined, all station identification primitives within the range of the central zone demarcation primitive can be determined. And determining a corresponding numbering rule according to the type of each station identification primitive, and numbering each station identification primitive.
Based on any embodiment, the type of the station identification primitive is an I-level centralized station or a non-I-level centralized station;
determining the number of each station identification primitive based on the type of each station identification primitive, comprising:
determining that the type of the station identification primitive is an I-level centralized station, and taking a preset number as the number of the corresponding station identification primitive;
and determining that the type of the station identification primitive is a non-I-level centralized station, taking the station identification primitives corresponding to all the non-I-level centralized stations as a station cluster, sequencing all the station identification primitives in the station cluster based on the coordinates and the second sequence of all the station identification primitives in the station cluster, numbering all the sequenced station identification primitives according to a second preset rule, and obtaining the number of each station identification primitive in the station cluster.
Specifically, when the serial number of each station identification primitive is determined, the station identification primitive and the ZC concentration zone demarcation primitive in a signal plane graph are firstly identified, a plurality of station identification primitives are determined in the range of a certain ZC concentration zone according to the coordinate positions of the station identification primitive and the ZC concentration zone demarcation primitive in the signal plane graph, then a first-level station identification with the type attribute being 'I-level concentration station' is found according to the type attribute of the station identification primitive, the station serial number of the first-level station identification is set to be 0, and the station identifications of the rest non-I-level concentration stations are sequentially numbered in the current ZC range from left to right. Wherein, the devices belonging to a station range all use the same station number.
Based on any of the above embodiments, the device serial number of each device is determined based on the following process:
determining a demarcation axle counting unit corresponding to each device based on the station identification primitive corresponding to each device;
and grouping all the equipment within the range of the demarcation axle-counting unit based on a preset grouping rule, and distributing corresponding equipment serial numbers for the grouped equipment according to a serial number distribution rule corresponding to each group.
Specifically, the calculation of the serial number of the device requires counting the number of various devices in the station range. And determining the station range, namely finding four station boundary counting axles which are positioned on an uplink and downlink main line and are closest to the station identification primitive on two sides of the station identification primitive, judging whether one axle counting primitive is the station boundary counting axle or not, checking whether the attribute of the axle counting primitive is the station boundary counting axle or not, and judging the station boundary counting axle if the attribute value is 'yes'. After the station range is determined, various devices in the graph can be identified, and various devices in the station range are counted by utilizing the coordinate positions of the devices in the signal plane graph. Then, dividing the same equipment into two groups according to the uplink and downlink attributes of the line where the equipment is located, drawing the equipment on the uplink line, and sequentially increasing the equipment serial number from 2 to the left according to the rule of 2, 4, 6 and 8 …; the serial numbers of the devices plotted on the downlink are sequentially increased from left to right according to the rule of 1, 3, 5 and 7 … from 1 to 1.
The device number file generation apparatus provided in the present invention is described below, and the device number file generation apparatus described below and the device number file generation method described above may be referred to in correspondence with each other.
Based on any of the above embodiments, the present invention provides an apparatus for generating a device number file, as shown in fig. 6, the apparatus includes:
an extracting information unit 610, configured to extract number information of each device based on primitive information of each device in the signal plane diagram and a preset configuration file of each device;
a file generating unit 620 for generating a device number file based on the number information of each device.
Based on any of the above embodiments, the number information includes a location number and an attribute number;
the extraction information unit 610 includes:
the position number determining unit is used for determining the position number of each device based on the primitive information of each device in the signal plane diagram;
and the attribute number determining unit is used for determining the attribute number of each device based on the preset configuration file of each device.
Based on any one of the above embodiments, the location number includes a line number, a concentration area number, a station number, and an equipment number;
the position number determination unit includes:
the line number determining unit is used for identifying line primitives corresponding to each device from the signal plane diagram based on the primitive information of each device and extracting the serial numbers of the line primitives as the line numbers of each device;
the centralized area number determining unit is used for identifying centralized area demarcation primitives corresponding to each device from the signal plane diagram based on the primitive information of each device and extracting the numbers of the corresponding centralized area demarcation primitives as the centralized area numbers of each device;
the station number determining unit is used for identifying station identification primitives corresponding to each device from the signal plane diagram based on the primitive information of each device and extracting the number of the corresponding station identification primitive as the station number of each device;
and the sequence number determining unit is used for extracting the equipment sequence number of each equipment from the equipment primitive information.
Based on any embodiment above, still include:
and the centralized area demarcation primitive number determining unit is used for sequencing all the centralized area demarcation primitives based on the coordinates and the first sequence of all the centralized area demarcation primitives in the signal plane diagram, numbering all the sequenced centralized area demarcation primitives according to a first preset rule, and obtaining the numbers of all the centralized area demarcation primitives.
Based on any embodiment above, still include:
the identification primitive determining unit is used for determining all station identification primitives within the range of the corresponding concentration area demarcation primitives based on the concentration area demarcation primitives corresponding to each device;
and the identification primitive number determining unit is used for determining the number of each station identification primitive based on the type of each station identification primitive.
Based on any embodiment, the type of the station identification primitive is an I-level centralized station or a non-I-level centralized station;
the identification primitive number determining unit includes:
the first determining unit is used for determining that the type of the station identification primitive is an I-level centralized station, and taking a preset number as the number of the corresponding station identification primitive;
and the second determining unit is used for determining that the type of the station identification primitive is a non-I-level centralized station, taking the station identification primitives corresponding to all the non-I-level centralized stations as a station cluster, sequencing all the station identification primitives in the station cluster based on the coordinates and a second sequence of all the station identification primitives in the station cluster, and numbering all the sequenced station identification primitives according to a second preset rule to obtain the number of each station identification primitive in the station cluster.
Based on any embodiment above, still include:
the demarcation axle counting unit determining unit is used for determining a demarcation axle counting unit corresponding to each device based on the station identification primitive corresponding to each device;
and the grouping unit is used for grouping all the equipment within the range of the demarcation axle counting unit based on a preset grouping rule, and distributing corresponding equipment serial numbers to the grouped equipment according to a serial number distribution rule corresponding to each group.
Fig. 7 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 7, the electronic device may include: a processor (processor)710, a memory (memory)720, a communication Interface (Communications Interface)730, and a communication bus 740, wherein the processor 710, the memory 720, and the communication Interface 730 communicate with each other via the communication bus 740. Processor 710 may call logic instructions in memory 720 to perform a device number file generation method comprising: extracting the number information of each device based on the primitive information of each device in the signal plane graph and the preset configuration file of each device; an equipment number file is generated based on the number information of each equipment.
Furthermore, the logic instructions in the memory 720 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the device number file generation method provided by the above methods, the method comprising: extracting the number information of each device based on the primitive information of each device in the signal plane graph and the preset configuration file of each device; an equipment number file is generated based on the number information of each equipment.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the above-provided device number file generating method, the method including: extracting the number information of each device based on the primitive information of each device in the signal plane graph and the preset configuration file of each device; an equipment number file is generated based on the number information of each equipment.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for generating a device number file is characterized by comprising the following steps:
extracting the number information of each device based on the primitive information of each device in the signal plane graph and the preset configuration file of each device;
an equipment number file is generated based on the number information of each equipment.
2. The apparatus number file generating method according to claim 1, wherein the number information includes a position number and an attribute number;
the extracting of the number information of each device based on the primitive information of each device in the signal plane diagram and the preset configuration file of each device includes:
determining the position number of each device based on the primitive information of each device in the signal plane graph;
and determining the attribute number of each device based on the preset configuration file of each device.
3. The device number file generation method according to claim 2, wherein the position number includes a line number, a concentration area number, a station number, and a device number;
the determining the position number of each device based on the primitive information of each device in the signal plane diagram includes:
identifying a line primitive corresponding to each equipment from the signal plane graph based on the primitive information of each equipment, and extracting the serial number of the line primitive as the line serial number of each equipment;
identifying a centralized area demarcation primitive corresponding to each equipment from the signal plane graph based on the primitive information of each equipment, and extracting the number of the corresponding centralized area demarcation primitive as the centralized area number of each equipment;
identifying station identification primitives corresponding to each equipment from the signal plane graph based on the primitive information of each equipment, and extracting the number of the corresponding station identification primitive as the station number of each equipment;
and extracting the equipment serial number of each equipment from the equipment primitive information.
4. The device number file generating method according to claim 3, wherein the number of each concentration zone demarcation primitive in the signal plane map is determined based on the following procedure:
and sequencing all the demarcation primitives of the concentrated areas based on the coordinates and the first sequence of all the demarcation primitives of the concentrated areas in the signal plane diagram, numbering all the demarcation primitives of the concentrated areas after sequencing according to a first preset rule, and obtaining the numbers of the demarcation primitives of all the concentrated areas.
5. The device number file generation method according to claim 3, wherein the number of each station identification primitive in the signal plane diagram is determined based on the following process:
determining all station identification primitives within the range of the corresponding concentration area demarcation primitives based on the concentration area demarcation primitives corresponding to each device;
and determining the number of each station identification primitive based on the type of each station identification primitive.
6. The device number file generation method according to claim 5, wherein the type of the station identification primitive is an I-level centralized station or a non-I-level centralized station;
the determining the number of each station identification primitive based on the type of each station identification primitive comprises:
determining that the type of the station identification primitive is an I-level centralized station, and taking a preset number as the number of the corresponding station identification primitive;
and determining that the type of the station identification primitive is a non-I-level centralized station, taking the station identification primitives corresponding to all the non-I-level centralized stations as a station cluster, sequencing all the station identification primitives in the station cluster based on the coordinates and the second sequence of all the station identification primitives in the station cluster, numbering all the sequenced station identification primitives according to a second preset rule, and obtaining the number of each station identification primitive in the station cluster.
7. The device number file generation method according to claim 3, wherein the device serial number of each device is determined based on the following procedure:
determining a demarcation axle counting unit corresponding to each device based on the station identification primitive corresponding to each device;
and grouping all the equipment within the range of the demarcation axle counting unit based on a preset grouping rule, and distributing corresponding equipment serial numbers for the grouped equipment according to a serial number distribution rule corresponding to each group.
8. An apparatus for generating a device number file, comprising:
the extraction information unit is used for extracting the number information of each device based on the primitive information of each device in the signal plane diagram and the preset configuration file of each device;
and the file generating unit is used for generating the equipment number file based on the number information of each equipment.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the device number file generating method according to any one of claims 1 to 7 when executing the program.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of the device number file generating method according to any one of claims 1 to 7.
CN202110981142.0A 2021-08-25 2021-08-25 Equipment number file generation method and device, electronic equipment and storage medium Pending CN113836611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110981142.0A CN113836611A (en) 2021-08-25 2021-08-25 Equipment number file generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110981142.0A CN113836611A (en) 2021-08-25 2021-08-25 Equipment number file generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113836611A true CN113836611A (en) 2021-12-24

Family

ID=78961184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110981142.0A Pending CN113836611A (en) 2021-08-25 2021-08-25 Equipment number file generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113836611A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090522A (en) * 2022-01-17 2022-02-25 泰山信息科技有限公司 Electronic file identifier definition method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187763A (en) * 2015-06-25 2015-12-23 国电南瑞科技股份有限公司 Rail transit comprehensive monitoring picture batch processing point connection realizing method
CN106777644A (en) * 2016-12-08 2017-05-31 华能国际电力股份有限公司 Power plant identifies the automatic generation method and device of system coding
CN107512292A (en) * 2017-07-18 2017-12-26 交控科技股份有限公司 A kind of CBTC line basis data generation method and device
CN109552368A (en) * 2018-12-10 2019-04-02 交控科技股份有限公司 Locking sheet automatic generation method and device
CN109760720A (en) * 2018-12-10 2019-05-17 交控科技股份有限公司 The method and device of interface code bit table is automatically generated based on plane layout of signals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187763A (en) * 2015-06-25 2015-12-23 国电南瑞科技股份有限公司 Rail transit comprehensive monitoring picture batch processing point connection realizing method
CN106777644A (en) * 2016-12-08 2017-05-31 华能国际电力股份有限公司 Power plant identifies the automatic generation method and device of system coding
CN107512292A (en) * 2017-07-18 2017-12-26 交控科技股份有限公司 A kind of CBTC line basis data generation method and device
CN109552368A (en) * 2018-12-10 2019-04-02 交控科技股份有限公司 Locking sheet automatic generation method and device
CN109760720A (en) * 2018-12-10 2019-05-17 交控科技股份有限公司 The method and device of interface code bit table is automatically generated based on plane layout of signals

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
张科发: "信号图辅助设计及联锁关系的自动生成和校验", 《中国优秀硕士学位论文全文数据库 (工程科技Ⅱ辑)》 *
王英波: "信号设计辅助产品研究与实现", 《铁路通信信号工程技术》 *
耿杰;: "ObjectDBX技术在桥梁CAD中的简化作用", 《中华建设》, no. 12 *
范礼乾: "信号平面布置图参数化设计软件的研究与开发", 《铁路计算机应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090522A (en) * 2022-01-17 2022-02-25 泰山信息科技有限公司 Electronic file identifier definition method, device and equipment
CN114090522B (en) * 2022-01-17 2022-04-22 泰山信息科技有限公司 Electronic file identifier definition method, device and equipment

Similar Documents

Publication Publication Date Title
CN109582943B (en) Method for automatically generating engineering data table
CN112099478A (en) Automatic test method and device for temporary speed limit message of train control center
CN105539521B (en) A kind of CBTC system lines basic data automatic generation method and system
CN104317812B (en) A kind of LKJ basic datas automatic generation method and system
CN109491735B (en) Integrated data generation and verification integrated monitoring human-computer interface configuration implementation method
CN106777644A (en) Power plant identifies the automatic generation method and device of system coding
CN107512292A (en) A kind of CBTC line basis data generation method and device
CN113836611A (en) Equipment number file generation method and device, electronic equipment and storage medium
CN113562025A (en) Computer interlocking table generation method and device, electronic equipment and storage medium
CN113408914A (en) Method and device for compiling train planned operation diagram, electronic equipment and storage medium
CN112446637A (en) Building construction quality safety online risk detection method and system
CN111897715A (en) Method and device for automatically generating configuration data of simulation test environment
CN110705969B (en) Transformer substation monitoring system, main station and method for automatically associating measuring point ID
CN113704343A (en) Data blood margin visualization implementation method and system in data processing
CN106612338A (en) Processing method and device of equipment identification information
CN111651799A (en) Automatic generation system of train control engineering data table
CN114281821A (en) Data chart sharing system and method
CN116467768A (en) Automatic generation method of interlocking wiring installation diagram of track signal system
CN115526594A (en) Method, device, equipment and medium for detecting implementation situation of planning control requirement
CN105488020B (en) A kind of data processing method and system
CN113836612A (en) Equipment associated information extraction method and device, electronic equipment and storage medium
CN112183963A (en) Power grid real-time risk identification method based on provincial and local grid frame splicing
CN112434650A (en) Multi-spectral image building change detection method and system
CN112114895A (en) Method and device for separating data and program of rail transit control system
CN111597691A (en) Secondary model implementation method and system for monitoring mechanism simulation

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