Method, device, equipment and medium for calling rule base based on stock industrial zone
By integrating and calling the rule database of existing industrial zones, the technical problems of upgrading and upgrading the existing industrial zones and improving the functions are solved, efficient rule database calls are realized, and resource utilization efficiency and environmental quality of existing industrial zones are improved.
Patent Information
- Application Number
- CN202410999892.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-07-24
AI Technical Summary
The existing technology has not solved the problem of how to build and call the rule base of existing industrial zones, which has led to difficulties in upgrading and upgrading the existing industrial zones and improving the functions.
By obtaining the rule identification of the preset industrial zone, import the submission rules, layout rules and design rules, and integrate them to generate the rule base of existing industrial zones. When the city logo of the current industrial area is the same as the city logo of the preset industrial area, these rules are called to set the control rules.
The construction and efficient call of the rules database of existing industrial zones have been realized, the technical problems of upgrading and upgrading of existing industrial zones and the improvement of functions have been solved, and the efficiency of calling the rules database has been improved.
Smart Images

Figure CN119003456B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a method, device, equipment and medium for calling a rule library based on existing industrial zones. Background Art
[0002] As an important part of urban development, industrial areas have experienced rapid expansion and development. In the past few decades, my country's industrial economy has made remarkable achievements, but it has also accumulated a large number of stock industrial areas, which have problems in resource utilization efficiency, environmental pollution and industrial structure.
[0003] With the transformation of social and economic development mode and my country's industrial structure, the demand for urban industrial space has also changed. Under the new situation of ecological civilization construction, urban development not only focuses on economic benefits, but also environmental benefits, so industrial zones with superior quality and good environment are particularly important. Therefore, we should tap the potential of existing industrial land, promote the upgrading and transformation of existing industrial zones, and improve and enhance the functions of existing industrial zones.
[0004] However, promoting the upgrading and transformation of existing industrial zones and improving and enhancing the functions of existing industrial zones both require the use of a rule base for existing industrial zones. Since the existing technology does not have a rule base for existing industrial zones, how to construct a rule base for existing industrial zones and how to call the rule base for existing industrial zones are issues that need to be urgently addressed. Summary of the invention
[0005] The embodiments of the present application provide a method, apparatus, device and medium for calling a rule base based on existing industrial zones to solve the above-mentioned technical problems of how to construct a rule base for existing industrial zones and how to call a rule base for existing industrial zones.
[0006] In a first aspect, an embodiment of the present application provides a rule base calling method based on an existing industrial zone, which is applied to an electronic device, and the rule base calling method includes:
[0007] Obtain the first rule identifier, the second rule identifier, and the third rule identifier corresponding to the preset industrial zone;
[0008] Obtaining a submission rule corresponding to the first rule identifier, obtaining a layout rule corresponding to the second rule identifier, and obtaining a design rule corresponding to the third rule identifier;
[0009] Integrate the submission rules, the layout rules, and the design rules to generate a rule library for existing industrial areas;
[0010] Obtain the preset management object corresponding to the rule base, and obtain the current management object corresponding to the current industrial zone;
[0011] Determining whether the current management object is the preset management object;
[0012] If the current management object is the preset management object, obtaining the city identifier corresponding to the current industrial zone and obtaining the city identifier corresponding to the preset industrial zone;
[0013] When the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rule, the layout rule, and the design rule are called through the calling interface of the rule library, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone.
[0014] Exemplarily, the current coefficient generation model is:
[0015] S=M1×(S1+S2)+M2×(S3+S4);
[0016] Among them, S1 is the first ratio, S2 is the second ratio, S3 is the third ratio, S4 is the fourth ratio, M1 is a preset first proportional coefficient, and M2 is a preset second proportional coefficient.
[0017] Among them, the current coefficient is used to describe the difference in scale between the current industrial zone and the preset industrial zone. The larger the current coefficient, the greater the difference in scale between the current industrial zone and the preset industrial zone; the smaller the current coefficient, the smaller the difference in scale between the current industrial zone and the preset industrial zone.
[0018] In a possible implementation manner of the first aspect, acquiring the submission rule corresponding to the first rule identifier, acquiring the layout rule corresponding to the second rule identifier, and acquiring the design rule corresponding to the third rule identifier includes:
[0019] Obtain a first file path corresponding to the first rule identifier, obtain a second file path corresponding to the second rule identifier, and obtain a third file path corresponding to the third rule identifier;
[0020] The submission rules corresponding to the first rule identifier are imported through the first file path, the layout rules corresponding to the second rule identifier are imported through the second file path, and the design rules corresponding to the third rule identifier are imported through the third file path, wherein the first file path, the second file path, and the third file path are different file paths.
[0021] In a possible implementation manner of the first aspect, when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, calling the submission rule, the layout rule, and the design rule through the calling interface of the rule library, setting the called submission rule as the first control rule of the current industrial zone, setting the called layout rule as the second control rule of the current industrial zone, and setting the called design rule as the third control rule of the current industrial zone, including:
[0022] When the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, obtaining current scale information of the current industrial zone and obtaining preset scale information of the preset industrial zone;
[0023] Obtain the current land area, current output value, current number of enterprises, and current proportion of high-tech enterprises of the current scale information, and obtain the preset land area, preset output value, preset number of enterprises, and preset proportion of high-tech enterprises of the preset scale information;
[0024] Obtaining a first ratio between the current land area and the preset land area, obtaining a second ratio between the current output value and the preset output value, obtaining a third ratio between the current number of enterprises and the preset number of enterprises, and a fourth ratio between the current proportion of high-tech enterprises and the preset proportion of high-tech enterprises;
[0025] The current coefficient is generated according to the first ratio, the second ratio, the third ratio, the fourth ratio and a preset current coefficient generation model. When the current coefficient is within a preset range, the submission rule, the layout rule and the design rule are called, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone.
[0026] In a possible implementation of the first aspect, when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rule, the layout rule, and the design rule are called through the calling interface of the rule library, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone. Then, the rule library calling method includes:
[0027] Obtain a display page corresponding to the current industrial zone, and obtain a first window, a second window, and a third window of the display page;
[0028] The submission rules are displayed in the first window, the layout rules are displayed in the second window, and the design rules are displayed in the third window.
[0029] In a possible implementation of the first aspect, when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rule, the layout rule, and the design rule are called through the calling interface of the rule library, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone. Then, the rule library calling method includes:
[0030] Read the preset update time and determine whether the current time is the update time;
[0031] If the current time is the update time, the rule base is updated.
[0032] In a possible implementation manner of the first aspect, the layout rules include one or a combination of general layout rules, building spacing rules, building setback rules, building height rules, and park greening rules.
[0033] In a possible implementation manner of the first aspect, the design rules include one or a combination of roof design rules, plane design rules, facade design rules, corridor design rules, and parking facility design rules.
[0034] In a second aspect, an embodiment of the present application provides a rule base calling device based on an existing industrial zone, which is applied to an electronic device, including:
[0035] A first acquisition module is used to acquire a first rule identifier, a second rule identifier, and a third rule identifier corresponding to a preset industrial zone;
[0036] A second acquisition module, configured to acquire a submission rule corresponding to the first rule identifier, acquire a layout rule corresponding to the second rule identifier, and acquire a design rule corresponding to the third rule identifier;
[0037] A generation module, used to integrate the submission rules, the layout rules, and the design rules to generate a rule library for the stock industrial zone;
[0038] A display module, used to obtain the preset management object corresponding to the rule base and obtain the current management object corresponding to the current industrial zone;
[0039] A third acquisition module is used to determine whether the current management object is the preset management object;
[0040] A judgment module, configured to obtain the city identifier corresponding to the current industrial zone and the city identifier corresponding to the preset industrial zone if the current management object is the preset management object;
[0041] A calling module is used to call the submission rule, the layout rule, and the design rule through the calling interface of the rule library when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, and to set the called submission rule as the first control rule of the current industrial zone, the called layout rule as the second control rule of the current industrial zone, and the called design rule as the third control rule of the current industrial zone.
[0042] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the rule base calling method of any one of the above-mentioned first aspects when executing the computer program.
[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the rule base calling method of any one of the above-mentioned first aspects is implemented.
[0044] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the rule base calling method described in any one of the above-mentioned first aspects.
[0045] The beneficial effects of the embodiment of the present application lie in two aspects. On the one hand, the submission rules, the layout rules, and the design rules are integrated to generate a rule library for existing industrial zones, which solves the problem of how to construct a rule library for existing industrial zones. On the other hand, when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rules, the layout rules, and the design rules are called through the calling interface of the rule library, and the called submission rules are set as the first control rules of the current industrial zone, the called layout rules are set as the second control rules of the current industrial zone, and the called design rules are set as the third control rules of the current industrial zone. This can solve the problem of how to call the rule library of existing industrial zones and is conducive to improving the calling efficiency of the rule library. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0047] Figure 1 An application scenario diagram of the rule base calling method provided in an embodiment of the present application;
[0048] Figure 2 It is a flowchart of the rule base calling method provided in the embodiment of the present application;
[0049] Figure 3 A flowchart of obtaining a display page provided in an embodiment of the present application;
[0050] Figure 4 A schematic block diagram of a rule base calling device provided in an embodiment of the present application;
[0051] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0053] The technical solutions between the various embodiments can be combined with each other, but they must be based on the fact that they can be implemented by ordinary technicians in the field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0054] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0055] The rule base calling method provided in the embodiment of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. The embodiment of the present application does not impose any restrictions on the specific types of electronic devices.
[0056] See also Figure 1 , Figure 1 The application scenario diagram of the rule base calling method provided in the embodiment of the present application is described in detail as follows:
[0057] The electronic device is connected to the server, and obtains the first rule identifier, the second rule identifier, and the third rule identifier corresponding to the preset industrial zone from the server.
[0058] The electronic device is connected to the server, and obtains the first rule identifier, the second rule identifier, and the third rule identifier corresponding to the preset industrial zone from a file on the server.
[0059] For ease of explanation, take the first rule identifier, the second rule identifier, and the third rule identifier of two files from the server as an example, and the details are as follows:
[0060] The two files of the server include file A and file B. The electronic device reads file A and file B respectively, and obtains the first rule identifier, the second rule identifier, and the third rule identifier from file A and file B.
[0061] In an embodiment of the present application, the electronic device can read different files at the same time, and obtain the first rule identifier, the second rule identifier, and the third rule identifier corresponding to the preset industrial zone from the different files.
[0062] See also Figure 2 , Figure 2 It is a flowchart of a rule base calling method provided in an embodiment of the present application, which can be applied to electronic devices.
[0063] like Figure 2 As shown, the rule base calling method provided in the embodiment of the present application includes the following steps, which are described in detail as follows:
[0064] S201, obtaining a first rule identifier, a second rule identifier, and a third rule identifier corresponding to a preset industrial zone;
[0065] Among them, the first rule identifier, the second rule identifier, and the third rule identifier are different rule identifiers.
[0066] S202, obtaining a submission rule corresponding to the first rule identifier, obtaining a layout rule corresponding to the second rule identifier, and obtaining a design rule corresponding to the third rule identifier;
[0067] Among other things, the submission rules specify the design requirements and the content of the design documents.
[0068] Among them, the submission rules are set by the user or by system default, and are not restricted here.
[0069] For the sake of illustration, an example is given below:
[0070] Design requirements: The design documents shall be submitted by the original design unit or a new design unit with corresponding qualification level.
[0071] Contents of the design documents: including but not limited to cover page, current situation, renovation plan, general plan, floor plans, elevations, sections, renderings, analysis drawings, and design instructions.
[0072] The layout rules include one or a combination of general layout rules, building spacing rules, building setback rules, building height rules, and park greening rules.
[0073] For the sake of illustration, an example is given below:
[0074] General layout rules: It should be scientifically planned and reasonably laid out in combination with the current land use conditions to meet the requirements of industrial production processes and cargo transportation, and strictly control the impact on the surrounding environment.
[0075] Building spacing rules: Building spacing should take into account requirements such as sunlight, lighting, ventilation, and visual hygiene, and must also meet the control requirements for building spacing in urban planning standards and guidelines.
[0076] Building setback rules: Due to land use restrictions, the distance of the building setback from the land red line can be appropriately reduced after demonstration, but it should not exceed the land red line while meeting the requirements of fire protection, sunlight, underground pipelines, traffic safety and building spacing.
[0077] Building height rules: The building height should remain unchanged. If stairs and elevator rooms are added on the roof due to production and living needs, the sum of the horizontal projection areas of the stairwells, elevator rooms, water tank rooms and other auxiliary rooms protruding from the roof should not exceed 1 / 4 of the horizontal projection area of the roof plane.
[0078] Park greening rules: Buildings and structures with conditions should adopt three-dimensional greening methods on walls, retaining walls, slope protection, and roofs. Three-dimensional greening methods include vertical greening methods, roof greening methods, or a combination thereof.
[0079] The design rules include one or a combination of roof design rules, plane design rules, facade design rules, corridor design rules, and parking facility design rules.
[0080] Roof design rules:
[0081] For buildings with a soil covering depth of no less than 0.5 meters and a single building with a greening area of 20% or more of the roof area, roof shading facilities may be appropriately added, and the highest point of the shading facilities shall not exceed 6 meters.
[0082] Graphic design rules:
[0083] The addition of auxiliary facilities should meet the needs of production technology. Transportation and auxiliary spaces such as freight elevators, passenger elevators, floors, toilets, equipment rooms, pipe wells, etc. should be set close to the outer walls to leave as much complete production space as possible.
[0084] Corridor design rules:
[0085] The width of the corridor used for production between industrial buildings shall not exceed the distance from the outer edge of the largest column span of the building connected to it. The width of other forms of corridors shall not exceed 3 meters, and the distance between adjacent corridors shall not be less than 24 meters. When a fire truck passes under the corridor, the clear height shall not be less than 5 meters.
[0086] Facade design rules:
[0087] The facade renovation should reflect the facade characteristics of industrial buildings while meeting the requirements of industrial production functions. Its style should be modern and concise.
[0088] It is encouraged that the factory facades form their own architectural characteristics by combining corporate image, regional characteristics, cultural characteristics, etc., and be coordinated with the surrounding environment.
[0089] The facade does not use large areas of glass curtain walls.
[0090] Parking facility design rules:
[0091] If the first floor of a factory building is used as overhead parking, the building area of the overhead parking on the first floor of the factory building shall not exceed 30% of the building area of the first floor of the building.
[0092] For ordinary parking garages built on the vacant land of the park, the height of the garage shall not exceed 3.9 meters;
[0093] For garages with two-story mechanical parking spaces, the floor height shall not exceed 5.6 meters.
[0094] The roof of the garage should be utilized effectively and should be combined with green landscaping to create a public leisure and activity space. The greening area should not be less than 10% of the roof area and the soil depth should not be less than 0.5 meters.
[0095] The floor height of a multi-story mechanical parking garage shall be set according to actual needs. Mechanical parking shall not be arranged on the street side. If it is necessary to arrange it, the facade shall be beautified and designed.
[0096] The step of obtaining the submission rule corresponding to the first rule identifier, obtaining the layout rule corresponding to the second rule identifier, and obtaining the design rule corresponding to the third rule identifier includes:
[0097] Obtain a first file path corresponding to the first rule identifier, obtain a second file path corresponding to the second rule identifier, and obtain a third file path corresponding to the third rule identifier;
[0098] The submission rules corresponding to the first rule identifier are imported through the first file path, the layout rules corresponding to the second rule identifier are imported through the second file path, and the design rules corresponding to the third rule identifier are imported through the third file path, wherein the first file path, the second file path, and the third file path are different file paths.
[0099] S203, integrating the submission rules, the layout rules, and the design rules to generate a rule library for the stock industrial zone;
[0100] The submission rules, the layout rules, and the design rules are integrated together through a list or an array to generate a rule library for the existing industrial zone.
[0101] Among them, existing industrial zones refer to industrial areas that already exist and are in use. These industrial areas have encountered problems of insufficient, unreasonable or low output land use during the development process and have potential development and utilization value.
[0102] S204, obtaining a preset management object corresponding to the rule base, and obtaining a current management object corresponding to the current industrial zone;
[0103] S205, determining whether the current management object is the preset management object;
[0104] For the sake of illustration, an example is given below:
[0105] For example, the preset management object corresponding to the rule base is production and operation efficiency.
[0106] When the current management object is production and operation efficiency, it indicates that the current management object is the preset management object.
[0107] For example, the preset management object corresponding to the rule base is the campus environment.
[0108] When the current management object is a campus environment, it indicates that the current management object is the preset management object.
[0109] S206, if the current management object is the preset management object, obtaining the city identifier corresponding to the current industrial zone, and obtaining the city identifier corresponding to the preset industrial zone;
[0110] The city ID is the unique ID of the city, which includes the name of the city and its latitude and longitude.
[0111] Among them, the latitude and longitude of a city refer to the longitude and latitude coordinates of the city on the surface of the earth, which are used to accurately locate the city's position.
[0112] S207, when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rule, the layout rule, and the design rule are called through the calling interface of the rule library, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone.
[0113] When the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, it indicates that the current industrial zone and the preset industrial zone are located in the same city.
[0114] Since there are significant differences in the management needs of different cities, which is mainly due to the differences in economic development level, geographical location, urban functions, population density, social structure, environmental issues, etc., when the current industrial zone and the preset industrial zone are in the same city, calling the submission rules, the layout rules, and the design rules, setting the called submission rules as the first management and control rules of the current industrial zone, setting the called layout rules as the second management and control rules of the current industrial zone, and setting the called design rules as the third management and control rules of the current industrial zone, can better guide urban industrial development, industrial structure adjustment and transformation and upgrading, and at the same time avoid problems such as land abuse and safety hazards that may arise in the comprehensive remediation process.
[0115] Wherein, when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rule, the layout rule, and the design rule are called through the calling interface of the rule library, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone, including:
[0116] When the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, obtaining current scale information of the current industrial zone and obtaining preset scale information of the preset industrial zone;
[0117] Obtain the current land area, current output value, current number of enterprises, and current proportion of high-tech enterprises of the current scale information, and obtain the preset land area, preset output value, preset number of enterprises, and preset proportion of high-tech enterprises of the preset scale information;
[0118] Obtaining a first ratio between the current land area and the preset land area, obtaining a second ratio between the current output value and the preset output value, obtaining a third ratio between the current number of enterprises and the preset number of enterprises, and a fourth ratio between the current proportion of high-tech enterprises and the preset proportion of high-tech enterprises;
[0119] The current coefficient is generated according to the first ratio, the second ratio, the third ratio, the fourth ratio and a preset current coefficient generation model. When the current coefficient is within a preset range, the submission rule, the layout rule and the design rule are called, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone.
[0120] Exemplarily, the current coefficient generation model is:
[0121] S=M1×(S1+S2)+M2×(S3+S4);
[0122] Among them, S1 is the first ratio, S2 is the second ratio, S3 is the third ratio, S4 is the fourth ratio, M1 is a preset first proportional coefficient, and M2 is a preset second proportional coefficient.
[0123] Among them, the current coefficient is used to describe the difference in scale between the current industrial zone and the preset industrial zone. The larger the current coefficient, the greater the difference in scale between the current industrial zone and the preset industrial zone; the smaller the current coefficient, the smaller the difference in scale between the current industrial zone and the preset industrial zone.
[0124] Among them, when the current coefficient is within the preset range, it means that the difference in scale between the current industrial zone and the preset industrial zone is within the control range, and the submission rule, the layout rule, and the design rule are called, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone.
[0125] Among them, M1 and M2 are user-set or system default values, and their specific values are not limited here.
[0126] For the sake of illustration, an example is given below:
[0127] For example, S1 is 1.03, S2 is 1.02, S3 is 1.03, S4 is 1.04, M1 is 0.5, and M2 is 0.5.
[0128] At this point, the current coefficient generation model is:
[0129] S=0.5×(1.03+1.02)+0.5×(1.03+1.04)=2.06;
[0130] For example, the preset range is 2 to 3. At this time, the current coefficient is in the preset range, and the submission rule, the layout rule, and the design rule are called. The called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone.
[0131] For the sake of illustration, an example is given below:
[0132] For example, S1 is 1.06, S2 is 1.02, S3 is 1.03, S4 is 1.06, M1 is 0.3, and M2 is 0.7.
[0133] At this point, the current coefficient generation model is:
[0134] S=0.3×(1.06+1.02)+0.7×(1.03+1.04)=2.07;
[0135] For example, the preset range is 1.5 to 2.5. At this time, the current coefficient is in the preset range, and the submission rule, the layout rule, and the design rule are called. The called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone.
[0136] Wherein, when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rule, the layout rule, and the design rule are called through the calling interface of the rule library, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone. Then, the rule library calling method includes:
[0137] Read the preset update time and determine whether the current time is the update time;
[0138] If the current time is the update time, the rule base is updated.
[0139] The beneficial effects of the embodiment of the present application lie in two aspects. On the one hand, the submission rules, the layout rules, and the design rules are integrated to generate a rule library for existing industrial zones, which solves the problem of how to construct a rule library for existing industrial zones. On the other hand, when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rules, the layout rules, and the design rules are called through the calling interface of the rule library, and the called submission rules are set as the first control rules of the current industrial zone, the called layout rules are set as the second control rules of the current industrial zone, and the called design rules are set as the third control rules of the current industrial zone. This can solve the problem of how to call the rule library of existing industrial zones and is conducive to improving the calling efficiency of the rule library.
[0140] See also Figure 3 , Figure 3 The flowchart for obtaining the display page provided in the embodiment of the present application is described in detail as follows:
[0141] S301, obtaining a display page corresponding to the current industrial zone, and obtaining a first window, a second window, and a third window of the display page;
[0142] S302, displaying the submission rules in the first window, displaying the layout rules in the second window, and displaying the design rules in the third window.
[0143] In the embodiment of the present application, since the first window, the second window, and the third window are all on one display page, displaying the submission rules, the layout rules, and the design rules on one display page is beneficial for users to view the submission rules, the layout rules, and the design rules.
[0144] Corresponding to the rule base calling method described in the above embodiment, please refer to Figure 4 , Figure 4 A schematic block diagram of a rule base calling device provided in an embodiment of the present application, Figure 4 The rule base calling device 400 shown can be applied to Figure 1 The electronic device in the application scenario diagram shown below takes the electronic device as an example. Figure 4 The rule base calling device 400 shown is described in detail. The rule base calling device 400 may include a first acquisition module 401, a second acquisition module 402, a generation module 403, a display module 404, a third acquisition module 405, a judgment module 406, and a calling module 407.
[0145] The first acquisition module 401 is used to acquire a first rule identifier, a second rule identifier, and a third rule identifier corresponding to a preset industrial zone;
[0146] A second acquisition module 402 is used to acquire a submission rule corresponding to the first rule identifier, acquire a layout rule corresponding to the second rule identifier, and acquire a design rule corresponding to the third rule identifier;
[0147] A generation module 403, used to integrate the submission rules, the layout rules, and the design rules to generate a rule base for the stock industrial zone;
[0148] Display module 404, used to obtain the preset management object corresponding to the rule base, and obtain the current management object corresponding to the current industrial zone;
[0149] The third acquisition module 405 is used to determine whether the current management object is the preset management object;
[0150] The judgment module 406 is used to obtain the city identification corresponding to the current industrial zone and the city identification corresponding to the preset industrial zone if the current management object is the preset management object;
[0151] The calling module 407 is used to call the submission rule, the layout rule, and the design rule through the calling interface of the rule library when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, and to set the called submission rule as the first control rule of the current industrial zone, set the called layout rule as the second control rule of the current industrial zone, and set the called design rule as the third control rule of the current industrial zone.
[0152] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0153] The beneficial effects of the embodiment of the present application lie in two aspects. On the one hand, the submission rules, the layout rules, and the design rules are integrated to generate a rule library for existing industrial zones, which solves the problem of how to construct a rule library for existing industrial zones. On the other hand, when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rules, the layout rules, and the design rules are called through the calling interface of the rule library, and the called submission rules are set as the first control rules of the current industrial zone, the called layout rules are set as the second control rules of the current industrial zone, and the called design rules are set as the third control rules of the current industrial zone. This can solve the problem of how to call the rule library of existing industrial zones and is conducive to improving the calling efficiency of the rule library.
[0154] See also Figure 5 , Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0155] like Figure 5 As shown, Figure 5 The electronic device 2 includes: at least one processor 20, a memory 21, and a computer program 22 stored in the memory 21 and executable on the at least one processor 20, and when the processor 20 executes the computer program 22, the steps in any of the above-mentioned method embodiments are implemented.
[0156] The electronic device 2 may include, but is not limited to, a processor 20 and a memory 21. Those skilled in the art will appreciate that Figure 5 It is only an example of the electronic device 2 and does not constitute a limitation on the electronic device 2. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0157] The processor 20 is used to run the computer program 22 stored in the memory 21, and implement the following steps when executing the computer program 22:
[0158] Obtain the first rule identifier, the second rule identifier, and the third rule identifier corresponding to the preset industrial zone;
[0159] Obtaining a submission rule corresponding to the first rule identifier, obtaining a layout rule corresponding to the second rule identifier, and obtaining a design rule corresponding to the third rule identifier;
[0160] Integrate the submission rules, the layout rules, and the design rules to generate a rule library for existing industrial areas;
[0161] Obtain the preset management object corresponding to the rule base, and obtain the current management object corresponding to the current industrial zone;
[0162] Determine whether the current management object is the preset management object; if the current management object is the preset management object, obtain the city identifier corresponding to the current industrial zone, and obtain the city identifier corresponding to the preset industrial zone; when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, call the submission rule, the layout rule, and the design rule through the calling interface of the rule library, set the called submission rule as the first control rule of the current industrial zone, set the called layout rule as the second control rule of the current industrial zone, and set the called design rule as the third control rule of the current industrial zone.
[0163] In some embodiments, the processor 20 is configured to implement:
[0164] Obtain a first file path corresponding to the first rule identifier, obtain a second file path corresponding to the second rule identifier, and obtain a third file path corresponding to the third rule identifier;
[0165] The submission rules corresponding to the first rule identifier are imported through the first file path, the layout rules corresponding to the second rule identifier are imported through the second file path, and the design rules corresponding to the third rule identifier are imported through the third file path, wherein the first file path, the second file path, and the third file path are different file paths.
[0166] In some embodiments, the processor 20 is configured to implement:
[0167] When the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, obtaining current scale information of the current industrial zone and obtaining preset scale information of the preset industrial zone;
[0168] Obtain the current land area, current output value, current number of enterprises, and current proportion of high-tech enterprises of the current scale information, and obtain the preset land area, preset output value, preset number of enterprises, and preset proportion of high-tech enterprises of the preset scale information;
[0169] Obtaining a first ratio between the current land area and the preset land area, obtaining a second ratio between the current output value and the preset output value, obtaining a third ratio between the current number of enterprises and the preset number of enterprises, and a fourth ratio between the current proportion of high-tech enterprises and the preset proportion of high-tech enterprises;
[0170] The current coefficient is generated according to the first ratio, the second ratio, the third ratio, the fourth ratio and a preset current coefficient generation model. When the current coefficient is within a preset range, the submission rule, the layout rule and the design rule are called, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone.
[0171] In some embodiments, the processor 20 is configured to implement:
[0172] Obtain a display page corresponding to the current industrial zone, and obtain a first window, a second window, and a third window of the display page;
[0173] The submission rules are displayed in the first window, the layout rules are displayed in the second window, and the design rules are displayed in the third window.
[0174] In some embodiments, the processor 20 is configured to implement:
[0175] Read the preset update time and determine whether the current time is the update time;
[0176] If the current time is the update time, the rule base is updated.
[0177] In some embodiments, the processor 20 is configured to implement:
[0178] The layout rules include one or a combination of general layout rules, building spacing rules, building setback rules, building height rules, and park greening rules.
[0179] In some embodiments, the processor 20 is configured to implement:
[0180] The design rules include one or a combination of roof design rules, plane design rules, facade design rules, corridor design rules, and parking facility design rules.
[0181] The processor 20 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0182] In some embodiments, the memory 21 may be an internal storage unit of the electronic device 2, such as a hard disk or memory of the electronic device 2. In other embodiments, the memory 21 may also be an external storage device of the electronic device 2, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 2. Further, the memory 21 may also include both an internal storage unit of the electronic device 2 and an external storage device. The memory 21 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, such as the program code of the computer program, etc. The memory 21 may also be used to temporarily store data that has been output or is to be output.
[0183] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0184] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0185] The computer-readable storage medium stores program codes, which can be called by a processor to execute the rule base calling method described in the above method embodiment.
[0186] The computer-readable storage medium has a storage space for program codes.
[0187] The program code includes the code of any step in the rule base calling method described in the above method embodiment.
[0188] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0189] The computer-readable storage medium may also be an external storage device of the rule base calling device or the electronic device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium), etc., equipped on the rule base calling device or the electronic device.
[0190] Since the computer program stored in the computer-readable storage medium can execute any one of the rule base calling methods based on existing industrial zones provided in the embodiments of the present application, the computer-readable storage medium can achieve the beneficial effects that can be achieved by any one of the rule base calling methods based on existing industrial zones provided in the embodiments of the present application. For details, please see the previous embodiments and will not be repeated here.
[0191] An embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the above-mentioned rule base calling method.
[0192] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0193] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0194] Based on such understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to an electronic device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0195] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0196] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A rule base calling method based on stock industrial zones, characterized in that: Applied to electronic equipment, the rule base calling method includes: Obtain the first rule identifier, the second rule identifier, and the third rule identifier corresponding to the preset industrial zone; Obtaining a submission rule corresponding to the first rule identifier, obtaining a layout rule corresponding to the second rule identifier, and obtaining a design rule corresponding to the third rule identifier; Integrate the submission rules, the layout rules, and the design rules to generate a rule library for existing industrial areas; Obtain the preset management object corresponding to the rule base, and obtain the current management object corresponding to the current industrial zone; Determining whether the current management object is the preset management object; If the current management object is the preset management object, obtaining the city identifier corresponding to the current industrial zone and obtaining the city identifier corresponding to the preset industrial zone; When the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rule, the layout rule, and the design rule are called through the calling interface of the rule library, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone.
2. The rule base calling method according to claim 1, characterized in that: The obtaining of the submission rule corresponding to the first rule identifier, the obtaining of the layout rule corresponding to the second rule identifier, and the obtaining of the design rule corresponding to the third rule identifier include: Obtain a first file path corresponding to the first rule identifier, obtain a second file path corresponding to the second rule identifier, and obtain a third file path corresponding to the third rule identifier; The submission rules corresponding to the first rule identifier are imported through the first file path, the layout rules corresponding to the second rule identifier are imported through the second file path, and the design rules corresponding to the third rule identifier are imported through the third file path, wherein the first file path, the second file path, and the third file path are different file paths.
3. The rule base calling method according to claim 1, characterized in that: When the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rule, the layout rule, and the design rule are called through the calling interface of the rule library, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone, including: When the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, obtaining current scale information of the current industrial zone and obtaining preset scale information of the preset industrial zone; Obtain the current land area, current output value, current number of enterprises, and current proportion of high-tech enterprises of the current scale information, and obtain the preset land area, preset output value, preset number of enterprises, and preset proportion of high-tech enterprises of the preset scale information; Obtaining a first ratio between the current land area and the preset land area, obtaining a second ratio between the current output value and the preset output value, obtaining a third ratio between the current number of enterprises and the preset number of enterprises, and a fourth ratio between the current proportion of high-tech enterprises and the preset proportion of high-tech enterprises; The current coefficient is generated according to the first ratio, the second ratio, the third ratio, the fourth ratio and a preset current coefficient generation model. When the current coefficient is within a preset range, the submission rule, the layout rule and the design rule are called, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone.
4. The rule base calling method according to claim 1, characterized in that: When the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rule, the layout rule, and the design rule are called through the calling interface of the rule library, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone. Then, the rule library calling method includes: Obtain a display page corresponding to the current industrial zone, and obtain a first window, a second window, and a third window of the display page; The submission rules are displayed in the first window, the layout rules are displayed in the second window, and the design rules are displayed in the third window.
5. The rule base calling method according to claim 1, characterized in that: When the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, the submission rule, the layout rule, and the design rule are called through the calling interface of the rule library, and the called submission rule is set as the first control rule of the current industrial zone, the called layout rule is set as the second control rule of the current industrial zone, and the called design rule is set as the third control rule of the current industrial zone. Then, the rule library calling method includes: Read the preset update time and determine whether the current time is the update time; If the current time is the update time, the rule base is updated.
6. The rule base calling method according to any one of claims 1 to 5, characterized in that: The layout rules include one or a combination of general layout rules, building spacing rules, building setback rules, building height rules, and park greening rules.
7. The rule base calling method according to any one of claims 1 to 5, characterized in that: The design rules include one or a combination of roof design rules, plane design rules, facade design rules, corridor design rules, and parking facility design rules.
8. A rule base calling device based on stock industrial zones, characterized in that: Used in electronic equipment, including: A first acquisition module is used to acquire a first rule identifier, a second rule identifier, and a third rule identifier corresponding to a preset industrial zone; A second acquisition module, configured to acquire a submission rule corresponding to the first rule identifier, acquire a layout rule corresponding to the second rule identifier, and acquire a design rule corresponding to the third rule identifier; A generation module, used to integrate the submission rules, the layout rules, and the design rules to generate a rule library for the stock industrial zone; A display module, used to obtain the preset management object corresponding to the rule base and obtain the current management object corresponding to the current industrial zone; A third acquisition module is used to determine whether the current management object is the preset management object; A judgment module, configured to obtain the city identifier corresponding to the current industrial zone and the city identifier corresponding to the preset industrial zone if the current management object is the preset management object; A calling module is used to call the submission rule, the layout rule, and the design rule through the calling interface of the rule library when the city identifier corresponding to the current industrial zone is the same as the city identifier corresponding to the preset industrial zone, and to set the called submission rule as the first control rule of the current industrial zone, the called layout rule as the second control rule of the current industrial zone, and the called design rule as the third control rule of the current industrial zone.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the rule base calling method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the rule base calling method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Urban design management and control rule base construction method, rule base and rule base calling method
CN111443900A
Service rule configuration method, system and equipment based on rule engine and medium
CN115185613A