CN115018832B - Method and system for examining lighting plan, storage medium and electronic equipment - Google Patents

Method and system for examining lighting plan, storage medium and electronic equipment Download PDF

Info

Publication number
CN115018832B
CN115018832B CN202210934945.5A CN202210934945A CN115018832B CN 115018832 B CN115018832 B CN 115018832B CN 202210934945 A CN202210934945 A CN 202210934945A CN 115018832 B CN115018832 B CN 115018832B
Authority
CN
China
Prior art keywords
area
illumination
lamp
plan
inspected
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.)
Active
Application number
CN202210934945.5A
Other languages
Chinese (zh)
Other versions
CN115018832A (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.)
Jiangxi Shaoke Intelligent Construction Technology Co ltd
Original Assignee
Jiangxi Shaoke Intelligent Construction 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 Jiangxi Shaoke Intelligent Construction Technology Co ltd filed Critical Jiangxi Shaoke Intelligent Construction Technology Co ltd
Priority to CN202210934945.5A priority Critical patent/CN115018832B/en
Publication of CN115018832A publication Critical patent/CN115018832A/en
Application granted granted Critical
Publication of CN115018832B publication Critical patent/CN115018832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30242Counting objects in image

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Geometry (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides an examination method, an examination system, a storage medium and electronic equipment for an illumination plane diagram, wherein the illumination plane diagram and an electrical design description list are scanned by a scanning terminal, data are imported into the system, the imported data are examined and analyzed by the system, whether the illumination power density in the current illumination plane diagram meets corresponding conditions or not is judged, and corresponding conclusions are given, so that the problems that the illumination power density judgment of each space area in the current illumination plane diagram is usually carried out by manually analyzing and judging the illumination plane diagram, but because a lamp tube member in the illumination plane diagram is laid more complicatedly, the condition of missed examination and misjudgment is easy to occur when the illumination member in the space area is manually searched, the examination quality is poor, and the consumed examination time is longer are solved.

Description

Method and system for examining lighting plan, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of drawing examination, in particular to an examination method and system of an illumination plane diagram, a storage medium and electronic equipment.
Background
With the rapid development of the scientific and technical level, people have new requirements for residential conditions, and the building quality problem of the building industry is increasingly highlighted. The essence of the construction quality problem is the design problem of construction drawings, five major majors of construction, structure, water supply and drainage, heating and ventilation and electricity can be divided in the drawings, and therefore drawing examination is a very important link.
At present, the lighting power density of each space area in the lighting plan is generally determined by manually analyzing and judging the lighting plan, but because the lamp tube member in the lighting plan is laid more complicatedly, the lighting member in the space area is easy to be searched by a person, so that the condition of missed search and misjudgment is easy to occur, the checking quality is poor, and the consumed checking time is long.
Disclosure of Invention
Therefore, the invention aims to provide a method, a system, a storage medium and electronic equipment for examining an illumination plane diagram, so as to fundamentally solve the problems of poor examination quality and long examination time caused by manual examination.
According to an embodiment of the invention, the method for examining the illumination plan comprises the following steps:
acquiring an illumination plan and an illumination description standard table uploaded by a scanning terminal;
acquiring a plurality of regions to be inspected and area information of the regions to be inspected from the illumination plan;
determining the lamp models and the corresponding lamp quantity in the area to be checked, and searching power information corresponding to the lamp models in a preset database;
looking up an illumination power density target value of the area to be inspected from the illumination specification standard table;
judging whether the product of the power information of the lamps and the number of the lamps is less than or equal to the product of the area information of the to-be-inspected area and the target value of the illumination power density of the to-be-inspected area;
and if so, determining that the illumination plan conforms to the specification.
Further, after the step of determining whether the product of the power information of the lamps and the number of the lamps is less than or equal to the product of the area information of the region to be inspected and the target value of the lighting power density of the region to be inspected, the method further includes:
if not, acquiring the coordinates of the lamps in the area to be checked, and determining the illumination coverage area of each lamp according to the coordinates of the lamps and the power information thereof;
summing the lighting coverage ranges of all lamps in the area to be checked to obtain a total lighting coverage range;
filling a preset pattern in the total illumination coverage range, and calculating the filling area of the preset pattern:
calculating the ratio of the filling area of the preset pattern to the area of the region to be checked to obtain the illumination coverage ratio;
judging whether the illumination coverage proportion is larger than a threshold value;
if yes, determining that the illumination plan conforms to the specification.
Further, the step of obtaining a plurality of regions to be examined and area information of the regions to be examined from the illumination plan further comprises:
judging whether a preset indication mark area exists in the illumination plane map or not;
if so, determining the area as an area to be inspected;
if not, the illumination plan view examination is finished.
Further, the step of looking up the target value of the lighting power density of the region to be inspected from the illumination specification standard table further comprises:
and determining the area grade of the area to be checked, and determining a corresponding illumination power density target value according to the area grade.
Further, the step of determining the lamp models and the corresponding lamp quantities in the region to be checked and searching the power information corresponding to the lamp models in a preset database further includes:
and acquiring a lamp indicating mark in the region to be checked, and determining the number and the model of lamps according to the lamp indicating mark.
Further, after the step of determining the lamp models and the corresponding lamp quantities in the region to be checked and searching the power information corresponding to the lamp models in a preset database, the method further comprises:
and searching the type information corresponding to the lamp type from the preset database, dividing the lamp into a single lamp tube and a double lamp tube according to the type information, and respectively acquiring the number of the lamps of the single lamp tube and the double lamp tube.
Further, the step of obtaining the number of the lamps of the single lamp and the double lamp respectively comprises the following steps:
and respectively searching two groups of power information corresponding to the single lamp tube and the double lamp tubes from the preset database.
An illumination plan review system according to an embodiment of the invention includes:
the first acquisition module is used for acquiring an illumination plan and an illumination description standard table uploaded by the scanning terminal;
the second acquisition module is used for acquiring a plurality of regions to be inspected and area information of the regions to be inspected from the illumination plan;
the first query module is used for determining the lamp models and the corresponding lamp quantity in the region to be checked and searching power information corresponding to the lamp models in a preset database;
the second query module is used for searching the target value of the lighting power density of the area to be inspected from the illumination specification standard table;
the judging module is used for judging whether the product of the power information of the lamps and the number of the lamps is smaller than or equal to the product of the area information of the to-be-examined area and the illumination power density target value of the to-be-examined area;
an execution module to determine that the illumination plan conforms to a specification.
The present invention also proposes a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method of reviewing an illumination plan described above.
The invention also provides an examination device of the illumination plan, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and the examination method of the illumination plan.
Compared with the prior art: in the method for examining the illumination plane diagram in the above embodiment of the invention, the illumination plane diagram and the electrical design description list are scanned by the scanning terminal, the data are imported into the system of the invention, the imported data are examined and analyzed by the system, whether the illumination power density in the current illumination plane diagram meets the corresponding conditions or not is judged, and a corresponding conclusion is given, so that the problems that the illumination power density judgment of each space area in the current illumination plane diagram is always carried out by manually analyzing and judging the illumination plane diagram, but because the arrangement of the lamp tube members in the illumination plane diagram is complex, the condition of missed examination and misjudgment is easy to occur when the illumination members in the space area are manually searched, the examination quality is poor, and the consumed examination time is long are solved.
Drawings
Fig. 1 is a flowchart of an examination method of an illumination plan in a first embodiment of the present invention;
FIG. 2 is a flow chart of a method for reviewing a lighting plan view according to a second embodiment of the present invention;
fig. 3 is a flowchart of an examination method of an illumination plan in a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a lighting plan review system in a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an illumination plan view inspection apparatus in a fifth embodiment of the present invention;
FIG. 6 is a table of partial illuminance specification criteria in the illumination plan review method in accordance with the first embodiment of the present invention;
fig. 7 is an explanatory diagram of the lighting coverage of the lamp in the method for inspecting the lighting plan view according to the third embodiment of the invention.
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully hereinafter with reference to the accompanying drawings. Several embodiments of the invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Example one
Referring to fig. 1, a method for examining a lighting plan according to a first embodiment of the present invention is applied to an electronic device, and the method specifically includes steps S01 to S06.
And S01, acquiring an illumination plan and an illumination description standard table uploaded by the scanning terminal.
In specific implementation, the illumination specification standard table (as shown in the illumination specification standard table of fig. 6) records the name of each area to be examined and the target value and standard value of illumination power density required by the corresponding name area, where the standard value of illumination refers to the average illumination maintained on the working surface or reference plane when the lighting device is in maintenance, and the average illumination on the specified surface is not lower than this value, which is the illumination required for ensuring visual safety and visual efficacy during operation, and can also be used as the reference standard for product of the area in the subsequent area and the target value of illumination power density, and is not used in the examination method of the illumination plane;
in addition, in some optional embodiments of the present invention, the illumination plan and the electrical design instruction list are obtained by the scanning terminal, and the illumination plan and the electrical design instruction list information may be obtained and transmitted by a wireless connection manner or a wired connection manner, where the wireless connection manner includes but is not limited to bluetooth connection, wiFi, IF radio frequency, and zigbee, and the wired connection manner includes but is not limited to USB connection.
And S02, acquiring a plurality of regions to be inspected and area information of the regions to be inspected from the illumination plane map.
In specific implementation, the boundary of the area where the identifier is located may be obtained, and the obtained boundaries are adjacent to form a closed boundary, where the area surrounded by the closed boundary is the area to be checked corresponding to the identifier (e.g., living room). Meanwhile, the area of the region surrounded by the closed boundaries is calculated to obtain the area information of the region to be checked, the area of the closed boundaries in the standard shapes can be calculated according to the length and the width of the closed boundaries, and the area of the closed boundaries in the irregular shapes can be calculated according to the area of the communicated region. Or, obtaining the area from the label in the figure, the area of the region is generally marked at the position of the label.
And S03, determining the lamp models and the corresponding lamp quantity in the region to be checked, and searching power information corresponding to the lamp models in a preset database.
It should be noted that, the acquisition of the area to be inspected confirms that the area is the corresponding area to be inspected through the corresponding identifier or the corresponding text, and the same acquisition of the lamp in the area to be inspected also confirms that the image mark used for representing the lamp in the area to be inspected is the lamp in the area to be inspected, and the image mark is unified with the lamp image mark in the preset database, which can be understood as follows, the preset database (which is an electrical appliance design standard table): the method comprises the steps that a table file for recording image marks, model information and power information of corresponding electrical components is obtained, the model further comprises type information of the current electrical components, and a database or an electrical design description list formed by the components which are collected together in a large scale and belong to public forms is obtained;
in specific implementation, the text and mark information corresponding to the region to be inspected is searched in the illumination plan, the region where the text and the mark are located is determined as the region to be inspected, then the area information of the area unit is obtained in the region to be inspected, the area information is determined as the area information of the preset region, meanwhile, the number of all lamps in the preset region is required to be obtained, and the model information of the current lamp is obtained in the lamp image mark;
and then, taking the lamp model as a searching unit, importing the lamp model into a preset database, performing duplication checking comparison by taking the searching unit as a reference, finding the lamp model of the corresponding searching unit in the preset database, and reading the corresponding lamp power information in the lamp model information.
Step S04, searching the target value of the illumination power density of the region to be inspected from the illumination specification standard table;
in specific implementation, the area to be inspected is used as a search unit and is imported into the illumination description standard table, duplicate checking comparison is performed by taking the search unit as a reference, and the illumination power density target value required by the area to be inspected in the illumination description standard table is found.
Step S05, judging whether the product of the power information of the lamps and the number of the lamps is smaller than or equal to the product of the area information of the to-be-inspected area and the target value of the illumination power density of the to-be-inspected area, and if so, executing step S06.
And S06, determining that the illumination plane graph meets the specification.
In specific implementation, the power information and the number of the lamps in the corresponding to-be-inspected area in the step are called, the power value is multiplied by the quantity value, meanwhile, the area information of the to-be-inspected area in the step is multiplied by the lighting power density limit value of the corresponding to-be-inspected area, whether the product of the power value and the quantity value is smaller than or equal to the product of the area information of the to-be-inspected area and the lighting power density target value of the corresponding to-be-inspected area is judged, and if yes, the lighting plan is in accordance with the standard.
In summary, in the method for examining the lighting plan in the above embodiment of the present invention, the scanning terminal scans the lighting plan and the electrical design description list and imports data into the system of the present invention, and the system performs examination and analysis on the imported data to determine whether the lighting power density in the current lighting plan meets the corresponding condition, and gives a corresponding conclusion, so as to solve the problems that the lighting power density determination of each space area in the current lighting plan is usually performed by manually analyzing and determining the lighting plan, but because the lamp tube member in the lighting plan is laid more complicatedly, the lighting member in the space area is easily missed and misjudged when manually searching, the quality is poor, and the consumed examination and examination time is long.
Example two
Referring to fig. 2, a method for inspecting an illumination plan according to a second embodiment of the present invention is applied to an inspection apparatus for an illumination plan, and the method specifically includes steps S11 to S21.
The embodiment is determined according to article 6.3.13 of the national standard GB50034-2013 "architectural lighting design standard", and six rules are listed, namely, rule one to rule six, specifically:
the detailed rule is one: whether the power density values of the fan room and the water pump room exceed the standard target values or not;
and B, thin rule II: whether the power density values of the power distribution room and the generator room exceed the standard target values or not;
the detailed rule is three: the power density values of the weak current machine room, the network machine room and the control room exceed standard target values;
and step S11, acquiring an illumination plan and an illumination specification standard table uploaded by the scanning terminal.
Step S12, judging whether a preset indication mark area exists in the illumination plane map, if so, executing step S13, otherwise, executing step S14.
And step S13, determining the area as an area to be inspected.
And step S14, finishing the illumination plan view examination.
In a specific implementation, the preset indication mark is an area to be inspected corresponding to the first rule, the second rule and the third rule, and the corresponding areas are all represented by the designated mark, the indication mark of the corresponding area on the illumination plan is identified during the judgment, if the indication mark of the corresponding area is identified, the identification is successful, the area where the indication mark is located is determined as an area to be inspected, and if the indication mark of the corresponding area is not identified, the inspection of the illumination plan is finished.
And S15, acquiring a plurality of regions to be inspected and area information of the regions to be inspected from the illumination plan.
And S16, determining the regional grade of the region to be checked, and determining a corresponding illumination power density target value according to the regional grade.
In specific implementation, it needs to be explained that the area to be inspected includes a fan room area, a water pump room area, a power distribution room area, a generator room area, a weak electricity machine room area, a network machine room area and a control room area, and is determined as a sub-area of the preset area, then the sub-area in the preset area is divided, the fan room area and the water pump room area are determined as a first-class area, the power distribution room area and the generator room area are determined as a second-class area, and the weak electricity machine room area, the network machine room area and the control room area are determined as a zone grade division of a third-class area, it can be understood that the subsequent description of the area to be inspected uniformly includes the definition of the first-class area, the second-class area and the third-class area;
then, the illumination power density target values corresponding to the first class area, the second class area and the third class area and the corresponding area information in the various areas are sequentially found in the illumination description standard table by calling the illumination description standard table and respectively taking the first class area, the second class area and the third class area as query objects.
And S17, acquiring lamp indication marks in the area to be checked, and determining the number and the model of lamps according to the lamp indication marks.
In specific implementation, after determining the region grades of the region to be inspected, the indication marks of the lamps are directly obtained in the first-class region, the second-class region and the third-class region, the number of the indication marks is recorded and determined as the number of the lamps, and meanwhile, the corresponding models in the lamp marks need to be obtained and determined as the model information of the lamps.
And S18, determining the lamp types and the corresponding lamp quantity in the area to be checked, searching the type information corresponding to the lamp types from the preset database, dividing the lamps into a single lamp tube and a double lamp tube according to the type information, and respectively acquiring the lamp quantity of the single lamp tube and the double lamp tube.
And S19, respectively searching two groups of power information corresponding to the single lamp tube and the double lamp tubes from the preset database.
In specific implementation, lamp data corresponding to the current lamp model is searched and obtained from a preset database, the type information of the current lamp is found in the lamp data, the current lamp is divided according to the type information, and the current lamp is specifically divided into a single lamp tube and a double lamp tube;
then, with the type of the single lamp tube and the type of the double lamp tube in the area to be checked as a search standard, a list column corresponding to the type of the single lamp tube and the type of the double lamp tube are searched in an electrical design description list, power information corresponding to the single lamp tube and the double lamp tube in the list column is obtained, power information of the single lamp tube and power information of the double lamp tube are obtained, then, the power information of the single lamp tube is assigned as P, the power information of the double lamp tube is assigned as Q, and the value of P and the value of Q are respectively a power fixed value of the single lamp tube and the power fixed value of the double lamp tube.
Step S20, judging whether the sum of the product of the power information and the number of the lamps of the single lamp tube in the area to be checked and the product of the power information and the number of the lamps of the double lamp tubes is less than or equal to the product of the area information and the target value of the illumination power density in the area to be checked, if so, executing step S21.
Step S21, the illumination plan is in accordance with the specification.
It should be noted that, in step S20, the illumination power density values of the first-type region, the second-type region, and the third-type region are respectively determined;
one type of area judgment, specifically, divided into judgment of a water-removing pump room area and a fan room area and the judgment steps are the same, power values P and Q of a single lamp tube and a double lamp tube in one type of area in the steps are called, the total number of the single lamp tubes is assigned to A, the total number of the double lamp tubes is assigned to B, then area information of one type of area is called and assigned to S, and a target value of the required lighting power density of the corresponding type of area is obtained, wherein the target value is 3.5, the unit of the target value is (W/square meter or power tile per square meter), and then a judgment formula for judging that the lighting power density of one type of area exceeds the standard target value is respectively obtained according to the preset calculation conditions in the step S20: a P + B Q is less than or equal to 3.5S, if the formula is established, the first class area is judged to be consistent with the first class area;
and in the second-class area, the assignment of the P, Q, A and B can refer to the first-class area, the target value of the illumination power density required by the second-class area is 6.0, and a judgment formula for judging that the illumination power density of the second-class area exceeds the standard target value is respectively obtained according to the preset calculation conditions in the step S20: a P + B Q is less than or equal to 6.0S, if the formula is established, the second type area is judged to be in line with the second type area;
and in the three types of areas, the target value of the required illumination power density of the three types of areas is 8.0, and according to the preset calculation conditions in the step S20, a judgment formula for judging that the illumination power density of the three types of areas exceeds the standard target value is respectively obtained: a P + B Q is less than or equal to 8.0S, if the formula is established, the three types of areas are judged to be in accordance with the third type;
it should be noted that, after the first-type region judgment is finished (without referring to the judgment result), the second-type region judgment is directly performed, and after the second-type region judgment is finished, the third-type region judgment is directly performed, and the first-type region judgment result, the second-type region judgment result, and the third-type region judgment result are derived at the same time.
In summary, the difference between the method for examining the illumination plan in the above embodiment and the embodiment is that, considering that the illumination densities output by the single lamp and the double lamps are different, the classification processing of the lamps is added, and the lamps can be divided into the single lamp and the double lamps, so that the accuracy of subsequent judgment on the illumination density is improved, and the situation that the subsequent judgment standard has a large error due to the different lamp numbers of the lamps is avoided.
EXAMPLE III
Referring to fig. 3 or fig. 7, a method for inspecting an illumination plan according to a third embodiment of the present invention is shown, and is applied to an inspection apparatus for an illumination plan, and the method specifically includes steps S31 to S42.
And step S31, acquiring an illumination plan and an illumination description standard table uploaded by the scanning terminal.
Step S32, a plurality of regions to be inspected and area information of the regions to be inspected are obtained from the illumination plan.
And S33, determining the lamp models and the corresponding lamp quantity in the region to be checked, and searching power information corresponding to the lamp models in a preset database.
And step S34, searching the target value of the lighting power density of the area to be inspected from the illumination specification standard table.
Step S35, determining whether the product of the power information of the lamps and the number of lamps is less than or equal to the product of the area information of the to-be-inspected area and the illumination power density target value of the to-be-inspected area, if so, executing step S36.
And S36, acquiring the lamp coordinates in the area to be checked, and determining the illumination coverage area of each lamp according to the lamp coordinates and the power information thereof.
Step S36 is a step along step S35, and in order to improve the accuracy of the determination, steps subsequent to step S36 are understood to be continued steps subsequent to step S35.
The lighting coverage range corresponding to the model and the power of the specific lamp is a fixed value, specifically, the lamp model can be queried in a preset database, the sum of the lighting coverage ranges of the current lamps is directly obtained, the obtained lamp coordinates are combined, and the lighting coverage range of the lamp is directly generated at the position corresponding to the lamp coordinates in the region to be reviewed.
And S37, summing the illumination coverage ranges of all lamps in the area to be checked to obtain a total illumination coverage range.
And step S38, filling a preset pattern in the total illumination coverage range, and calculating the filling area of the preset pattern.
In specific implementation, step S37 and step S38 may be illustrated as a diagram of lighting coverage of the lamp according to fig. 7, where an origin point in an area in the diagram is represented by the lamp, and a peripheral filling position of the lighting coverage is a lighting coverage area obtained by phase-splitting between the lamps, and is determined as a total lighting coverage area of the lamp in an area space, where a filling area of a preset pattern is calculated, and the filling area of the preset pattern may be calculated by using the number of pixels of the preset pattern, or may be calculated by using a connected area.
And S39, calculating the ratio of the filling area of the preset pattern to the area of the area to be checked to obtain the illumination coverage ratio.
And step S40, judging whether the illumination coverage ratio is larger than a threshold value, if so, executing step S41, and if not, executing step S42.
Step S41, determining that the illumination plan conforms to the specification.
And step S42, determining that the illumination plan view examination is finished.
In specific implementation, the filling area of the preset pattern and the area information of the to-be-inspected area containing the preset pattern are respectively compared, the ratio of the two groups of data is obtained to obtain the illumination coverage ratio, then whether the currently obtained illumination coverage ratio is more than or equal to ninety percent is judged, if yes, the illumination plan is determined to be in accordance with the specification, and if not, the illumination plan is determined to be inspected.
In summary, in order to improve the examination efficiency of the illumination plan, whether the illumination condition in the current examination area meets the requirement can be directly determined through the illumination coverage of the lamp in the examination area and the area of the examination area, so as to improve the examination efficiency.
Example four
In another aspect, referring to fig. 4, there is provided an illumination plan view examining system in a third embodiment of the present invention, applied to an electronic device, the system including:
the first acquisition module 11 is configured to acquire an illumination plan and an illumination specification standard table uploaded by the scanning terminal;
a second obtaining module 12, configured to obtain a plurality of regions to be inspected and area information of the regions to be inspected from the illumination plan;
the first query module 13 is configured to determine the lamp models and the corresponding lamp quantities in the area to be reviewed, and search for power information corresponding to the lamp models in a preset database;
a second query module 14, configured to look up an illumination power density target value of the region to be inspected from the illumination specification standard table;
a judging module 15, configured to judge whether a product of the power information of the lamps and the number of the lamps is smaller than or equal to a product of the area information of the area to be inspected and the target value of the lighting power density of the area to be inspected;
an execution module 16 for determining that the illumination plan conforms to specifications.
Further, in some alternative embodiments of the present invention, the method further includes:
the second judging module is used for judging whether a preset indication identification area exists in the illumination plane map, if so, the second executing module is executed, and if not, the third executing module is executed;
a second execution module for determining the region as a region to be inspected;
and the third execution module is used for determining that the illumination plan review is finished.
Further, in some alternative embodiments of the present invention, the method further includes:
and the first classification module is used for determining the regional grade of the region to be examined and determining a corresponding illumination power density target value according to the regional grade.
Further, in some alternative embodiments of the present invention, the method further includes:
and the third acquisition module is used for acquiring the lamp indication marks in the area to be checked and determining the number and the model of the lamps according to the lamp indication marks.
Further, in some optional embodiments of the present invention, the method further includes:
and the query classification module is used for determining the lamp types and the corresponding lamp quantity in the region to be checked, searching the type information corresponding to the lamp types from the preset database, dividing the lamps into a single lamp tube and a double lamp tube according to the type information, and respectively acquiring the lamp quantity of the single lamp tube and the double lamp tube.
Further, in some alternative embodiments of the present invention, the method further includes:
and the third query module is used for respectively searching the two groups of power information corresponding to the single lamp tube and the double lamp tubes from the preset database.
Further, in some optional embodiments of the present invention, the method further includes:
a third determining module, configured to determine whether a sum of a product of the power information and the number of lamps of the single lamp tube in the area to be inspected and a sum of products of the power information and the number of lamps of the double lamp tubes is less than or equal to a product of the area information and the target value of the lighting power density of the area to be inspected, and if so, return to the executing module 16.
Further, in some optional embodiments of the present invention, the method further includes:
and the fourth acquisition module is used for acquiring the lamp coordinates in the area to be checked and determining the illumination coverage range of each lamp according to the lamp coordinates and the power information thereof.
And the first calculation module is used for summing the illumination coverage ranges of all lamps in the area to be checked to obtain a total illumination coverage range.
And the second calculation module is used for filling a preset pattern in the total illumination coverage range and calculating the filling area of the preset pattern.
And the third calculating module is used for calculating the ratio of the filling area of the preset pattern to the area of the region to be checked to obtain the illumination coverage ratio.
And a fourth judging module, configured to judge whether the illumination coverage ratio is greater than a threshold, and if so, return to the execution module 16.
EXAMPLE five
In another aspect of the present invention, referring to fig. 5, an illumination plan reviewing apparatus according to a fourth embodiment of the present invention is provided, which includes a memory 20, a processor 10, and a computer program 30 stored in the memory and executable on the processor, and when the processor 10 executes the computer program 30, the method for reviewing an illumination plan as described above is implemented.
The examination device of the illumination plan may be specifically a processor 10, which may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip in some embodiments, and is configured to execute program codes stored in the memory 20 or process data, for example, execute an access restriction program.
The memory 20 includes at least one type of readable storage medium including flash memory, hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, and the like. The memory 20 may be an internal storage unit of the floor plan review system in some embodiments, such as a hard disk of the lighting floor plan review system. The memory 20 may also be an external storage system of the lighting plan inspection system in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the lighting plan inspection system. Further, the memory 20 may also include both an internal storage unit of the lighting plan inspection system and an external storage system. The memory 20 may be used not only to store application software installed in the lighting plan inspection system and various types of data, but also to temporarily store data that has been output or is to be output.
It should be noted that the configuration shown in fig. 5 does not constitute a limitation of the lighting plan inspection system, and in other embodiments, the lighting plan inspection system may include fewer or more components than shown, or some components may be combined, or a different arrangement of components.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method for reviewing a lighting plan as described above.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any system that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic system) having one or more wires, a portable computer diskette (magnetic system), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber system, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
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 "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," 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.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that various changes and modifications can be made by those skilled in the art without departing from the spirit of the invention, and these changes and modifications are all within the scope of the invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A method of reviewing a lighting plan, the method comprising:
acquiring an illumination plan and an illumination description standard table uploaded by a scanning terminal;
acquiring a plurality of areas to be inspected and area information of the areas to be inspected from the illumination plan, wherein the areas to be inspected comprise a fan room area, a water-removing pump room area, a power distribution room area, a generator room area, a weak current machine room area, a network machine room area and a control room area;
determining the lamp models and the corresponding lamp quantity in the region to be checked, and searching power information corresponding to the lamp models in a preset database;
looking up a lighting power density target value of the region to be inspected from the illumination specification standard table;
judging whether the product of the power information of the lamps and the number of the lamps is less than or equal to the product of the area information of the to-be-inspected area and the target value of the illumination power density of the to-be-inspected area;
if yes, determining that the illumination plan conforms to the specification.
2. The method for reviewing a lighting plan as set forth in claim 1, wherein after the step of determining whether the product of the power information of the lamps and the number of the lamps is less than or equal to the product of the area information of the region to be examined and the lighting power density target value of the region to be examined, the method further comprises:
if not, acquiring the coordinates of the lamps in the area to be checked, and determining the illumination coverage range of each lamp according to the coordinates of the lamps and the power information thereof;
summing the illumination coverage ranges of all lamps in the area to be checked to obtain a total illumination coverage range;
filling a preset pattern in the total illumination coverage range, and calculating the filling area of the preset pattern:
calculating the ratio of the filling area of the preset pattern to the area of the region to be checked to obtain an illumination coverage ratio;
judging whether the illumination coverage proportion is larger than a threshold value;
and if so, determining that the illumination plan conforms to the specification.
3. The method for reviewing an illumination plan according to claim 1, wherein the step of obtaining a plurality of regions to be reviewed and area information of the regions to be reviewed from the illumination plan is preceded by:
judging whether a preset indication mark area exists in the illumination plan;
if so, determining the area as an area to be inspected;
if not, the illumination plan view examination is finished.
4. The method for examining an illumination plan according to claim 1, wherein the step of looking up the illumination power density target value of the area to be examined from the illumination specification standard table comprises:
and determining the area grade of the area to be checked, and searching the corresponding illumination power density target value from the illumination specification standard table according to the area grade.
5. The method for reviewing a lighting plan of claim 1, wherein the step of determining the lamp models and the corresponding lamp numbers in the region to be reviewed comprises:
and acquiring a lamp indicating mark in the region to be checked, and determining the number and the model of lamps according to the lamp indicating mark.
6. The method for examining the lighting plan as claimed in claim 1, wherein the step of searching for the power information after determining the lamp models and the corresponding lamp quantities in the area to be examined replaces the step of searching for the power information with:
searching type information corresponding to the lamp type from the preset database, dividing the lamp into a single lamp tube and a double lamp tube according to the type information, respectively acquiring the number of the lamps of the single lamp tube and the double lamp tube, and respectively searching two groups of power information corresponding to the single lamp tube and the double lamp tube from the preset database.
7. An illumination plan review system, the system comprising:
the first acquisition module is used for acquiring an illumination plan and an illumination description standard table uploaded by the scanning terminal;
the second acquisition module is used for acquiring a plurality of areas to be inspected and area information of the areas to be inspected from the illumination plan, wherein the areas to be inspected comprise a fan room area, a water-saving pump room area, a power distribution room area, a generator room area, a weak current machine room area, a network machine room area and a control room area;
the first query module is used for determining the lamp models and the corresponding lamp quantity in the region to be checked and searching power information corresponding to the lamp models in a preset database;
the second query module is used for searching the target value of the illumination power density of the region to be inspected from the illumination specification standard table;
the judging module is used for judging whether the product of the power information of the lamps and the number of the lamps is smaller than or equal to the product of the area information of the to-be-inspected area and the target value of the illumination power density of the to-be-inspected area;
an execution module to determine that the illumination plan meets a specification.
8. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out a method of censoring a lighting plan as set forth in any one of claims 1 to 6.
9. An examination apparatus for a lighting plan, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the examination method for a lighting plan according to any one of claims 1 to 6 when executing the program.
CN202210934945.5A 2022-08-05 2022-08-05 Method and system for examining lighting plan, storage medium and electronic equipment Active CN115018832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210934945.5A CN115018832B (en) 2022-08-05 2022-08-05 Method and system for examining lighting plan, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210934945.5A CN115018832B (en) 2022-08-05 2022-08-05 Method and system for examining lighting plan, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN115018832A CN115018832A (en) 2022-09-06
CN115018832B true CN115018832B (en) 2022-11-08

Family

ID=83065998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210934945.5A Active CN115018832B (en) 2022-08-05 2022-08-05 Method and system for examining lighting plan, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115018832B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019200908A (en) * 2018-05-16 2019-11-21 パナソニックIpマネジメント株式会社 Terminal device and illumination system using the same, and terminal device program
CN112613339A (en) * 2020-11-24 2021-04-06 北京中电普华信息技术有限公司 Automatic identification and examination method and device for electrical drawings
CN113282999A (en) * 2021-06-25 2021-08-20 广东都市建筑规划设计有限公司 Automatic modification generation method and device for electrical lighting drawing and computer equipment
CN114005134A (en) * 2021-10-27 2022-02-01 上海品览数据科技有限公司 Component identification method in electrical professional illumination plane graph based on deep learning
CN114724169A (en) * 2022-03-28 2022-07-08 广东博智林机器人有限公司 Identification method and system of two-dimensional drawing component

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060085170A1 (en) * 2004-08-11 2006-04-20 Glaser Daniel C Method and apparatus for modeling and analyzing light
JP2014011007A (en) * 2012-06-29 2014-01-20 Sharp Corp Lighting control system
US20140368642A1 (en) * 2013-06-17 2014-12-18 General Electric Company Lighting audit docking station device and method thereof
JP2019109594A (en) * 2017-12-15 2019-07-04 株式会社大林組 Lighting fixture array design device
CN111343776B (en) * 2020-03-20 2022-02-15 浙江新导向标识有限公司 Intelligent illumination control management system and method
CN112883801B (en) * 2021-01-20 2024-05-24 上海品览智造科技有限公司 Accurate identification method for resident distribution box system diagram sub-graph in CAD distribution system diagram

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019200908A (en) * 2018-05-16 2019-11-21 パナソニックIpマネジメント株式会社 Terminal device and illumination system using the same, and terminal device program
CN112613339A (en) * 2020-11-24 2021-04-06 北京中电普华信息技术有限公司 Automatic identification and examination method and device for electrical drawings
CN113282999A (en) * 2021-06-25 2021-08-20 广东都市建筑规划设计有限公司 Automatic modification generation method and device for electrical lighting drawing and computer equipment
CN114005134A (en) * 2021-10-27 2022-02-01 上海品览数据科技有限公司 Component identification method in electrical professional illumination plane graph based on deep learning
CN114724169A (en) * 2022-03-28 2022-07-08 广东博智林机器人有限公司 Identification method and system of two-dimensional drawing component

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Understanding Engineering Drawing Images From Mobile Devices";XIAO-PIN ZHONG等;《Journal of Information Science & Engineering》;20210131;第37卷(第1期);全文 *
"基于图像识别的教室照明节能控制系统";娄德燕等;《科技视界》;20200731;第2020年卷(第19期);全文 *

Also Published As

Publication number Publication date
CN115018832A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
JP6222584B2 (en) Cell-based tissue analysis
CN115471181A (en) Method, system, storage medium and equipment for checking building distribution diagram
CN112613339B (en) Automatic identification and examination method and device for electrical drawing
CN111160451A (en) Flexible material detection method and storage medium thereof
JP2017215876A (en) Similar image retrieval program, similar image retrieval method, and similar image retrieval device
CN112883801A (en) Accurate identification method for household distribution box system diagram subgraph in CAD distribution system diagram
CN114968984A (en) Digital twin full life cycle management platform
CN111553176B (en) Wireless transmission checking method and system suitable for wiring of substation screen cabinet
CN115018832B (en) Method and system for examining lighting plan, storage medium and electronic equipment
CN115775244A (en) Coil winding detection method and device, electronic equipment and storage medium
CN108153661A (en) The method and apparatus of implementation of test cases
CN110060246A (en) A kind of image processing method, equipment and storage medium
CN107783890A (en) Software defect data processing method and device
Di Angelo et al. Automatic evaluation of form errors in high-density acquired surfaces
WO2018078582A1 (en) Method for distinguishing fresh meat from meat subjected to freezing by means of analysis of images of muscle tissue and corresponding system arranged to execute said method
CN110287114B (en) Method and device for testing performance of database script
CN114359947A (en) Method and device for examining elevator design in building drawing
CN112925784B (en) Multi-scale spatialization method for real population data
CN114240924A (en) Power grid equipment quality evaluation method based on digitization technology
CN114329685A (en) Method, device, storage medium and equipment for checking planar design drawing
CN110853016A (en) Automatic checking method and device for topographic map publishing quality
Heitsch et al. Chapter 13: Empirical observations and statistical analysis of gas demand data
CN106570024B (en) Data increment processing method and device
CN109493311A (en) A kind of random defect picture mode identification and matching process and system
CN116757334B (en) Financial data processing method, system, readable storage medium and computer

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