CN110378063B - Equipment deployment method and device based on intelligent building space and electronic equipment - Google Patents

Equipment deployment method and device based on intelligent building space and electronic equipment Download PDF

Info

Publication number
CN110378063B
CN110378063B CN201910684382.7A CN201910684382A CN110378063B CN 110378063 B CN110378063 B CN 110378063B CN 201910684382 A CN201910684382 A CN 201910684382A CN 110378063 B CN110378063 B CN 110378063B
Authority
CN
China
Prior art keywords
request
equipment
bim
model
web application
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
CN201910684382.7A
Other languages
Chinese (zh)
Other versions
CN110378063A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910684382.7A priority Critical patent/CN110378063B/en
Publication of CN110378063A publication Critical patent/CN110378063A/en
Application granted granted Critical
Publication of CN110378063B publication Critical patent/CN110378063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Abstract

The embodiment of the application provides an equipment deployment method and device based on intelligent building space and electronic equipment, and relates to the technical field of intelligent buildings. The method comprises the following steps: receiving a device operation request of a user for target devices through a first web application page of an Internet web application program, wherein a building information model BIM to which the target devices belong is displayed in the first web application page, and executing corresponding operation on the target devices based on the device operation request; wherein, BIM is obtained by the following way: receiving a model selection operation of a user through a second web application page of the web application program; based on the model identification of the BIM in the model selection operation, obtaining the model data of the BIM; and controlling the BIM to be displayed in the first web application page according to the model data. Based on the scheme provided by the embodiment of the application, the user can more conveniently, quickly and accurately deploy equipment in the intelligent building space.

Description

Equipment deployment method and device based on intelligent building space and electronic equipment
Technical Field
The application relates to the technical field of intelligent buildings, in particular to an equipment deployment method and device based on intelligent building space and electronic equipment.
Background
With the rapid development of economy and science, intelligent building has become one of the mainstream technologies of building development today. As a tool for architecture, a building information model (building information modeling, BIM) simulates real information of a building by digital information based on various pieces of information data (called BIM data) related to a building engineering project.
BIM software is professional software, three basic dimensions are given out from the resources, behaviors and delivery of BIM design process, a specific method and practical content of implementation standards of a design enterprise are given out, BIM software provides an asset and equipment management scheme, and BIM modeling is provided, but the equipment deployment in BIM needs professional personnel to use BIM software to create, has a higher threshold for users, needs special training for personnel, and needs to have a certain knowledge on the construction field. In the existing scheme, the equipment deployment in the BIM is complex to implement, and the requirements on operators are high.
Disclosure of Invention
In order to solve at least one of the problems in the prior art, the embodiment of the application provides a device deployment method and device based on an intelligent building space, and an electronic device. The technical scheme provided by the embodiment of the application is as follows:
In a first aspect of an embodiment of the present application, there is provided a device deployment method based on a smart building space, the method including:
receiving a device operation request of a user for target devices through a first web application page of a web (Internet) application program, wherein a building information model BIM to which the target devices belong is displayed in the first web application page;
based on the equipment operation request, executing corresponding operation on the target equipment;
wherein, BIM is obtained by the following way:
receiving model selection operation of a user through a second web application page of the web application program, wherein the model selection operation comprises a model identifier of the BIM;
based on the model identification, obtaining BIM model data from a server;
according to the model data, the BIM is displayed in the first web application page.
In an alternative implementation of the first aspect, the device operation request includes any one of the following:
device addition request, device query request, device update request, device delete request.
In an optional implementation manner of the first aspect, if the device operation request is a device addition request, the target device is a device to be added, and based on the device operation request, a corresponding operation is performed on the target device, including:
Receiving a first device icon of a device to be added selected by a user and a first screen position of the device to be added; determining a first spatial position of equipment to be added in a BIM model space according to the first screen position;
displaying a first device icon in a model space according to the first spatial location;
receiving first equipment attribute information of equipment to be added, which is input by a user;
and sending the first equipment related information of the equipment to be added to a server so that the server can store the first equipment related information of the equipment to be added and the BIM in a correlated mode, wherein the first equipment related information comprises first equipment attribute information, a first space position and a first equipment icon.
In an optional implementation manner of the first aspect, if the device operation request is a device query request, the device query request includes indication information of the target device;
based on the device operation request, performing corresponding operations on the target device, including:
acquiring second equipment related information of the target equipment according to the indication information, wherein the second equipment information comprises second equipment attribute information, a second space position and a second equipment icon of the target equipment;
the second device icon is displayed in the model space based on the second device attribute information and the second spatial location.
In an optional implementation manner of the first aspect, the indication information includes area information of the target device in the BIM or identification information of the target device;
if the indication information includes the area information of the target device in the BIM, obtaining the second device related information of the target device according to the indication information includes:
transmitting the area information to a server;
receiving second equipment related information of target equipment, which is returned by the server and is positioned in a target area corresponding to the area information;
if the indication information of the target device includes identification information of the target device, obtaining second device related information of the target device according to the indication information includes:
transmitting the identification information to a server;
and receiving second equipment related information of the target equipment returned by the server according to the identification information.
In an optional implementation manner of the first aspect, when the indication information includes area information of the target device in the BIM, if the indication information further includes type information of the target device, the target device is a device located in the target area and conforming to the type information.
In an optional implementation manner of the first aspect, if the device operation request is a device update request, the device update request includes at least one of an attribute information update request or a spatial location update request;
If the device update request is a spatial location update request, the spatial location update request is a movement operation of a third device icon of the target device by a user, and based on the device operation request, executing a corresponding operation on the target device includes:
determining a destination screen position of a moving operation; determining a new spatial position of the target device in the model space of the BIM according to the target screen position;
displaying a third equipment icon in the model space according to the new space position, and sending the new space position to a server so that the server updates the original space position of the target equipment according to the new space position;
if the device update request is an attribute information update request, performing corresponding operations on the target device based on the device operation request includes:
receiving new attribute information of target equipment input by a user;
and sending the new attribute information to the server so that the server updates the original attribute information of the target device according to the new attribute information.
In an alternative implementation of the first aspect, displaying the BIM in the first web application page according to the model data includes:
converting the data format of the model data according to a preset data conversion rule;
The converted model data is rendered to display the BIM on the first web application page.
In an optional implementation manner of the first aspect, after displaying the BIM in the first web application page, the method further includes:
receiving a model operation request of a user for the BIM through a third web application page, wherein the model operation request comprises at least one of a model rotation request, a model translation request, a model amplification request or a model shrinkage request; and executing corresponding operation on the BIM according to the model operation request.
In a second aspect of the embodiments of the present application, there is provided a device deployment method based on a smart building space, the method including:
receiving a BIM-specific model data acquisition request sent by a terminal, wherein the acquisition request carries a BIM model identifier, the acquisition request is generated by the terminal based on a user model selection operation, the model selection operation is received by the terminal through a second web application page of a web application program, and the model selection operation comprises the model identifier;
and sending the BIM model data to the terminal according to the model identification, so that the terminal displays the BIM in a first web application page of the web application program according to the model data, receives a device operation request of a user for the target device through the first web application page of the web application program, and executes corresponding operation on the target device based on the device operation request.
In a third aspect of embodiments of the present application, there is provided an apparatus deployment device based on a smart building space, the device comprising:
the receiving and transmitting module is used for receiving a device operation request of a user for the target device through a first web application page of the web application program, and BIM (building information modeling) of the target device is displayed in the first web application page;
the execution module is used for executing corresponding operation on the target equipment based on the equipment operation request;
the receiving and transmitting module is further used for receiving a model selection operation of the user through a second web application page of the web application before receiving a device operation request of the user for the target device through a first web application page of the web application, wherein the model selection operation comprises a model identifier of the BIM;
the receiving and transmitting module is also used for acquiring the model data of the BIM from the server based on the model identification;
and the display module is used for displaying the BIM in the first web application page according to the model data.
In an alternative embodiment of the third aspect, the device operation request includes any one of:
device addition request, device query request, device update request, device delete request.
In an optional implementation manner of the third aspect, if the device operation request is a device addition request, the target device is a device to be added, and the execution module is specifically configured to, when executing a corresponding operation on the target device based on the device operation request:
Receiving a first device icon of a device to be added selected by a user and a first screen position of the device to be added; determining a first spatial position of equipment to be added in a BIM model space according to the first screen position;
displaying a first device icon in a model space according to the first spatial location;
receiving first equipment attribute information of equipment to be added, which is input by a user;
and sending the first equipment related information of the equipment to be added to a server so that the server can store the first equipment related information of the equipment to be added and the BIM in a correlated mode, wherein the first equipment related information comprises first equipment attribute information, a first space position and a first equipment icon.
In an optional implementation manner of the third aspect, if the device operation request is a device query request, the device query request includes indication information of the target device; the execution module is specifically configured to, when executing a corresponding operation on the target device based on the device operation request:
acquiring second equipment related information of the target equipment according to the indication information, wherein the second equipment related information comprises second equipment attribute information, a second space position and a second equipment icon of the target equipment;
The second device icon is displayed in the model space based on the second device attribute information and the second spatial location.
In an optional implementation manner of the third aspect, the indication information includes area information of the target device in the BIM or identification information of the target device;
if the indication information includes the area information of the target device in the BIM, the execution module is specifically configured to, when obtaining the second device related information of the target device according to the indication information:
transmitting the area information to a server;
receiving second equipment related information of target equipment, which is returned by the server and is positioned in a target area corresponding to the area information;
if the indication information of the target device includes identification information of the target device, the execution module is specifically configured to, when obtaining second device related information of the target device according to the indication information:
transmitting the identification information to a server;
and receiving second equipment related information of the target equipment returned by the server according to the identification information.
In an optional implementation manner of the third aspect, when the indication information includes area information of the target device in the BIM, if the indication information further includes type information of the target device, the target device is a device located in the target area and conforming to the type information.
In an optional implementation manner of the third aspect, if the device operation request is a device update request, the device update request includes at least one of an attribute information update request or a spatial location update request;
if the device update request is a spatial location update request, the spatial location update request is a movement control operation of a third device icon of the target device by the user, and the execution module is specifically configured to:
determining a destination screen position of a moving operation; determining a new spatial position of the target device in the model space of the BIM according to the target screen position;
displaying a third equipment icon in the model space according to the new space position, and sending the new space position to a server so that the server updates the original space position of the target equipment according to the new space position;
if the device update request is an attribute information update request, the execution module is specifically configured to, when executing a corresponding operation on the target device based on the device operation request:
receiving new attribute information of target equipment input by a user;
and sending the new attribute information to the server so that the server updates the original attribute information of the target device according to the new attribute information.
In an optional implementation manner of the third aspect, the display module is specifically configured to, when displaying the BIM in the first web application page according to the model data:
converting the data format of the model data according to a preset data conversion rule;
the converted model data is rendered to display the BIM on the first web application page.
In an optional implementation manner of the third aspect, the transceiver module is further configured to receive, through the third web application page, a model operation request for the BIM by a user after displaying the BIM in the first web application page, where the model operation request includes at least one of a model rotation request, a model translation request, a model zoom-in request, or a model zoom-out request;
and the execution module is also used for executing corresponding operation on the BIM according to the model operation request.
In a fourth aspect of embodiments of the present application, there is provided an apparatus deployment device based on a smart building space, the device comprising:
the receiving and transmitting module is used for receiving a BIM-specific model data acquisition request sent by the terminal, sending BIM model data to the terminal according to a BIM model identification in the acquisition request, so that the terminal can display the BIM in a first web application page of the web application program according to the model data, receiving a device operation request of a user for target device through the first web application page of the web application program, and executing corresponding operation on the target device based on the device operation request;
The acquisition request is generated by the terminal based on a model selection operation of a user, wherein the model selection operation is received by the terminal through a second web application page of the web application program, and the model selection operation comprises a model identification.
In a fifth aspect of embodiments of the present application, there is provided an electronic device including a memory and a processor; a memory having a computer program stored therein; the processor is configured to perform the method of any of the first aspect and its alternative embodiments, and the second aspect and its alternative embodiments, when the computer program is run.
In a sixth aspect of embodiments of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the first aspect and its optional implementation manner and the second aspect and its optional implementation manner.
The beneficial effects that this application provided technical scheme brought are:
according to the scheme provided by the embodiment of the application, the BIM which needs to be deployed is acquired and displayed through the web application page of the web application program, and the device operation request of the user for the displayed BIM can be received through the web application page, so that the deployment of the corresponding device in the model is realized based on the device operation request. Based on the scheme provided by the embodiment of the application, the scheme based on the web application enables a user to conveniently, quickly and intuitively realize the deployment operation of the equipment in the BIM, and the operation mode based on the web application page is more friendly to the user, is simple and visual, has a lower use threshold, can better meet the actual application requirement, and solves the problems of high operation threshold and complex equipment deployment implementation of the existing professional BIM software.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 shows a flow diagram of a device deployment method based on a smart building space according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a device adding method according to an embodiment of the present application;
FIG. 3 is a flow chart of another method for deploying devices based on smart building space according to an embodiment of the present application;
FIG. 4 illustrates a flow diagram of a device deployment method provided in an example of the present application;
FIG. 5 illustrates a schematic flow diagram for performing device addition provided in an example of the present application;
FIG. 6 is a schematic flow chart of a device warehousing provided in an example of the present application;
FIG. 7 is a schematic diagram of a smart building space-based equipment deployment device according to an embodiment of the present application;
fig. 8 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of illustrating the present application and are not to be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
It should be noted that, the device deployment method based on the smart building space according to the embodiment of the present application may be applied to each stage of the deployment of the building construction based on the smart building, for example, may be applied to an initial stage of the deployment of the device in the building model, that is, BIM, to perform the addition of the device in the model space, so that a constructor performs the deployment of the construction according to the constructed model, and may specifically correspond to the embodiment of the added device shown in fig. 2 below. The method for deploying the equipment based on the intelligent building space can be applied to the process of construction deployment, in the practical application, the situation that deviation exists between the practical deployment and the deployment in the model often occurs, so that the method for deploying the equipment based on the intelligent building space can be applied to the application scene that related personnel (such as modeling personnel and constructors) of the building modify equipment deployed in the model according to the practical deployment requirement, and the method can particularly correspond to the embodiment of correspondingly processing equipment update requests. In addition, in practical application, based on the related schemes provided by the embodiments of the present application, each related person may query the device deployment scheme in the model at any time, and specifically may correspond to the embodiments of performing corresponding processing on the device query request hereinafter.
Furthermore, it will be clear to a person skilled in the art that the devices referred to in the embodiments of the present application refer to device models, i.e. device models added in a building model.
Fig. 1 shows a flowchart of a device deployment method based on a smart building space, where the method may be applied to a terminal, and the terminal may be a desktop device or a mobile terminal, as shown in fig. 1, and the method may mainly include:
step S101: receiving model selection operation of a user through a second web application page of the web application program, wherein the model selection operation comprises a model identifier of the BIM;
the web application program is an application program which is installed on a terminal of the user and corresponds to the scheme of the embodiment of the application, and the user can realize the deployment of the equipment in the BIM through a user interface of the application program. The second web application page and the first web application page in the following are user interfaces of the application program, and the first web application page and the second web application page may be the same user interface or different user interfaces.
The model identifier is information capable of uniquely identifying a BIM, the specific form of the model identifier is not limited in the embodiment of the application, and one or more identifiers can be configured for the model according to actual requirements. For example, the model identifier may be a name of a building (e.g., a building) to which the model corresponds, or may be an abbreviation or other information set according to a certain naming rule.
The specific operation mode of the model selection operation can be configured according to actual requirements, and as an alternative, a corresponding model identification input area is provided for a user on a web application page, and the user can input the identification of the model in the area. As another alternative, a corresponding model selection trigger identifier may be set on the web application page, and the user may perform input of the model identifier by triggering the identifier, for example, the model selection trigger identifier may be a voice input identifier displayed on the page and triggering a model search function, and the user may initiate a model selection operation by clicking the identifier and then by means of voice input. As another alternative, a list of BIMs may be displayed in the web application page, with identifications of the individual BIMs that have been created, and the user may select the BIM in the list for which device deployment is desired.
Step S102: based on the model identification, obtaining BIM model data from a server;
step S103: according to the model data, BIM is displayed in the first web application page;
step S104: receiving a device operation request of a user for a target device through a first web application page of a web application program;
Step S105: based on the device operation request, corresponding operation is executed on the target device.
After receiving the model selection operation of the user through the web application page, the terminal can initiate a corresponding model data acquisition request to the server based on the acquired model identification so as to acquire the corresponding BIM model data from the server, and display the BIM on the web application page based on the acquired model data. And then, the user can deploy the target equipment in the BIM through the web application page, namely, initiate an equipment operation request. The target device is the device in the BIM that the user wants to operate, and may be different for different device operation requests.
In an alternative embodiment of the present application, the device operation request may be any one of a device addition request, a device query request, a device update request, or a device delete request.
Accordingly, when the device operation request is a device addition request, the target device may be a device to be added. When the device operation request is a request other than the device addition request, the target device is a device which has been added to the BIM based on the device addition request, that is, the related information of the target device is already stored in the server, the terminal may acquire the related information of the target device from the server by initiating a corresponding request to the server, and display the target device in the model space based on the acquired related information of the target device, so that the user may further perform a corresponding operation on the target device.
It should be noted that, in practical applications, for implementation of device deployment in a BIM, the steps S101 to S103 are not required to be performed each time the user performs device deployment on the BIM, and generally only need to be performed when the BIM is initialized, that is, the steps S101 to S103 only need to be performed each time model data of the BIM is reacquired, for example, when the user opens the web application program for the first time, or when the user has opened the application program, first time performs operation on the BIM, or when the user has performed operation on the model in the opened application program, but intermediate performs closing operation on an interface of the model, and so on. In practical applications, specific application scenarios need to execute steps S101 to S103, and may also be configured according to requirements.
According to the equipment deployment method, BIM is acquired and displayed through the web application page of the web application program, and the equipment operation request of the user for the displayed BIM can be received through the web application page, so that the deployment of corresponding equipment in the model is realized based on the equipment operation request. According to the scheme based on the web application, a user can conveniently, quickly and intuitively realize the deployment operation of the equipment in the BIM, and the operation mode based on the web application page is more friendly to the user, is simple and visual, has a lower use threshold, can better meet the actual application requirement, and solves the problems that the operation threshold of the existing professional BIM software is high and the equipment deployment implementation is complex.
In an optional embodiment of the present application, displaying the BIM in the first web application page according to the model data specifically includes:
converting the data format of the model data according to a preset data conversion rule;
the converted model data is rendered to display the BIM on the first web application page.
In practical applications, the model data of the BIM is usually stored in a server in a unified and well-agreed storage format, so after the terminal obtains the model data in the storage format, in order to render the model data, the model data needs to be parsed first, specifically, the model data may be parsed by a data parser, and when the data parser parses the model data, the data parser usually splits the model into a plurality of geometric objects for parsing.
The data parser may convert model data in units of geometric objects, where the data parser splits the BIM into at least one geometric object, and typically each geometric object represents a building in a building space, for example, the BIM is a multi-story building, where one geometric object obtained by splitting the BIM is an office, for each geometric object in the model data, the data parser performs data conversion on the model data corresponding to the geometric object to obtain data in N-dimensional format, where N is a positive integer greater than or equal to 3, and the data in N-dimensional exchange format may be data in a graphic language exchange format (GL TransmissionFormat, gltf), for example, the geometric object may be converted into data in 3-dimensional format by creating the geometric object as an extraudegeometry object, rendering the data in N-dimensional format for each geometric object in the model data to obtain an N-dimensional visual model, and finally presenting the N-dimensional visual model of the complete BIM to a user. Rendering data in an N-dimensional format may be rendered using a renderer provided by three.js, or may be rendered using a graphics processor (Graphics Processing Unitt, GPU). When the model data after format conversion is rendered, the renderer can comprehensively determine whether to completely render the model at a specific frame number according to the hardware performance of the terminal and the screen refresh rate, and if the refresh rate is lower, the renderer can render at a frequency with a lower frame number.
In an alternative embodiment of the present application, after displaying the BIM in the first web application page, the method may further include:
receiving a model operation request of a user for the BIM through a third web application page, wherein the model operation request comprises at least one of a model rotation request, a model translation request, a model amplification request or a model shrinkage request;
and executing corresponding operation on the BIM according to the model operation request.
In this way, the user can perform a control operation of the model on the BIM, such as a rotation operation, a scaling operation, or the like on the model as described above. The rotation operation may be up-and-down rotation or left-and-right rotation. The corresponding control operation can be realized by means of mouse dragging or screen touch control. Based on the scheme, a user can control display modes of the content such as equipment in the digital space of the BIM, for example, the display content can be displayed in more refined detail through an enlarged model, and the content in the model can be displayed more globally through a reduced model. After receiving the model operation request of the user, the terminal may re-render the model data based on the request, so as to display the re-rendered BIM (e.g. the enlarged BIM and the reduced BIM) corresponding to the request in the application page.
It should be noted that, in order to better meet the actual requirements, the method may further include:
receiving a local operation request of a user for the BIM;
based on the local operation request, a corresponding operation is performed on a corresponding portion of the BIM.
That is, the user may also perform local operations on the BIM, such as local scaling, shrinking, rotating, etc., to meet the local operation requirements of the user.
As can be seen from the foregoing description, the device operation request initiated by the user through the web application page may be a device addition request, a device query request, a device update request, or a device deletion request. The operations performed by the terminal on the target device are different for different device operation requests, and these four device operation requests are described in connection with specific embodiments respectively.
In an optional embodiment of the present application, if the device operation request is a device addition request, the target device is a device to be added, and in the step S105, based on the device operation request, the performing a corresponding operation on the target device may specifically include:
receiving a first device icon of a device to be added selected by a user and a first screen position of the device to be added;
Determining a first spatial position of equipment to be added in a BIM model space according to the first screen position;
displaying a first device icon in a model space according to the first spatial location;
receiving first equipment attribute information of equipment to be added, which is input by a user;
and sending the first equipment related information of the equipment to be added to a server so that the server can store the first equipment related information of the equipment to be added and the BIM in a correlated mode, wherein the first equipment related information comprises first equipment attribute information, a first space position and a first equipment icon.
As an example, a schematic flow chart of this one of device addition is shown in fig. 2, and this example describes the solution of the present application from the point of double-sided interaction of the terminal and the server, and the terminal may be a desktop device or a mobile terminal. The server may be a separate physical server or virtual server, or may be a cluster of physical servers or virtual servers, as shown in fig. 2, and the method may specifically include:
step 201: the terminal receives a device adding request of a user for a device to be added through a first web application page of a web application program;
as an alternative, a device add button may be displayed in the first web application page, and various device icons may also be displayed, and the user may initiate a device add request by clicking the button.
Step S202: receiving a first device icon of a device to be added selected by a user and a first screen position of the device to be added;
step S203: the terminal determines a first space position of equipment to be added in a BIM model space according to the first screen position;
step S204: the terminal controls the first equipment icon to be displayed in the model space according to the first space position;
wherein the screen position (first screen position or second screen position hereinafter) refers to a position on the terminal screen. The spatial position (which may be a first spatial position, or may be a second spatial position, an original spatial position, or a new spatial position, etc.) is a position of the device in the model space, but is a position coordinate of the device in the model space of the BIM.
As an alternative manner, after the user initiates the device adding request, the terminal may determine, by means of space mapping, the spatial position of the device to be added in the BIM space based on the screen position selected by the user after detecting the operation of the user by dragging the device icon to be deployed to the target position on the screen, that is, the first screen position, that is, the screen position is converted into the position of the device in the BIM space, and display the device icon in the model space based on the spatial position.
Step S205: the terminal receives first equipment attribute information of equipment to be added, which is input by a user;
step S206: the terminal sends the first equipment related information of the equipment to be added to the server;
step S207: and the first device related information of the device to be added by the server is stored in association with the BIM.
Specifically, after the position of the device to be added in the target space is set, the user can perform the operation of adding the device attribute information to the device. As an alternative, the user may select a device icon (e.g. click on the device icon), and then may pop up a property setting interface (e.g. window) of the device in the page, where the user may edit or fill in property information of the device, where the property information may specifically include a name of the property and a corresponding property value.
For a device, the device attribute information in the embodiments of the present application may include, but is not limited to, at least one of the following: device name, standard coding of the device (e.g. device DIN (Deutsches Institut f ur Normulg e.V.), device German standards institute), other relevant information of the device, such as device type, device color, etc. After the user sets the attribute, position and other information of the equipment on the page, the user can finish the addition of the equipment by clicking and saving. The terminal can send the equipment related information containing the equipment attribute information, the space position and the equipment icon to the server so that the server can store the BIM model data and the first equipment related information in a correlated mode, and the real input of the equipment into a background database of the digital space is realized.
If the information related to the display of the device icon exists in the device attribute information added by the user, the terminal device may perform corresponding display control on the display mode of the device icon according to the information related to the display of the device icon after the user completes the setting of the device attribute information.
In this example of the application, after the terminal receives the device adding request of the user for the target device through the web application page, the BIM to which the device to be added belongs is displayed in the web application page, the terminal may convert to obtain a spatial position according to the screen position determined by the user, display the device icon in the model space according to the spatial position, and may send the acquired related information of the device to be added to the server, so that the server stores the model data of the BIM and the related information of the first device of the device to be added in an associated manner, thereby completing the process of adding the device. Therefore, the process of adding equipment can be completed through the web application program, the web application program is used for adding equipment, the equipment is simple and easy to operate for a user, and the problem that the use threshold of the user is high when the existing BIM software is used for building a model is solved.
In an optional embodiment of the present application, if the device operation request is a device query request, the device query request includes indication information of the target device, and in the step S105, based on the device operation request, the performing a corresponding operation on the target device may specifically include:
acquiring second equipment related information of the target equipment according to the indication information, wherein the second equipment related information comprises second equipment attribute information, a second space position and a second equipment icon of the target equipment;
the second device icon is displayed in the model space based on the second device attribute information and the second spatial location.
The indication information may specifically be direct indication information of the target device, such as a name or other identifier of the target device, or indirect indication information of the target device, such as a type of the target device, an area where the target device is located, and the like. In practical application, according to practical application requirements, the target device to be queried can be one or a plurality of target devices, such as all devices in a certain type or a certain area in the BIM. After the device query request of the user is acquired through the web application page, the relevant information of the target device can be acquired from the server based on the indication information, and the device image of the target device is presented in the BIM based on the acquired relevant information and is displayed to the user.
In an optional embodiment of the present application, the indication information includes area information of the target device in the BIM or identification information of the target device;
if the indication information includes the area information of the target device in the BIM, obtaining the second device related information of the target device according to the indication information includes:
transmitting the area information to a server;
receiving second equipment related information of target equipment, which is returned by the server and is positioned in a target area corresponding to the area information;
if the indication information of the target device includes identification information of the target device, obtaining second device related information of the target device according to the indication information includes:
transmitting the identification information to a server;
and receiving second equipment related information of the target equipment returned by the server according to the identification information.
Further, when the indication information includes the area information of the target device in the BIM, if the indication information further includes the type information of the target device, the target device is a device in accordance with the type information located in the target area.
That is, the user can query the device of the specified type of the specified area as needed. Of course, in practical application, the user may query the designated area and/or the designated type of device first, after the server returns the designated area and/or the designated type of device according to the query request of the user, the user may further select one or more target devices to be checked based on the related information of the device returned by the server, and based on this manner, even if the user does not accurately remember the information such as the name or the identifier of the device, the device to be queried may be queried in a step-by-step query manner.
The area information refers to area information of the device in the BIM, for example, may be a building, a floor, a room number, an area in a certain room, and the like where the device is located. The identifier of the device may be a unique identifier such as a name of the device, or may be a query keyword, a keyword, etc. provided by the user.
As an alternative, a device query button, such as a query input box, may be displayed in the web application page, and the user may input the indication information of the device to be queried in the query input box, and click on the query initiates a device query request, such as querying the device of the specified floor, where the page may be automatically zoomed to all areas of the device in the BIM at the specified floor, and may be displayed in a prompting manner such as highlighting. The page can also be provided with a device type list and the like, a user can check the device type in the page to check different types of devices, the terminal device can only display the devices of the type in the current page according to the selection of the user each time the user finishes the selection of the device type, or the devices of the type in the current page can be highlighted or otherwise displayed. Furthermore, the user can initiate a device update request by clicking a device icon and the like, modify related attribute information of the device by using a pop-up device attribute window, and modify a spatial position of the device in the BIM by using a drag and the like.
Optionally, if the indication information of the target device includes identification information of the target device, the acquiring, according to the indication information, second device related information of the target device may specifically include: and sending the identification information to the server, and receiving second equipment related information of the target equipment returned by the server according to the identification information.
That is, the terminal may directly transmit the identification information of the device to the server, so that the server returns the relevant information of the corresponding device to the terminal based on the identification information. If the identification information is a keyword, the server may return the queried device-related information to the terminal based on the keyword.
It can be understood that, in practical application, if the identification information of the target device is information capable of uniquely identifying one device, the server returns related information of the device, if the identification information is not uniquely corresponding to information of one device, for example, a query keyword is likely to be incapable of uniquely identifying one device, and at this time, the server returns related information of one or more devices queried based on the keyword, and of course, may also return related information of one or more devices with highest matching degree according to configuration information.
In an alternative embodiment of the present application, if the device operation request is a device update request, the device update request may include at least one of an attribute information update request or a spatial location update request.
Optionally, if the device update request is a spatial location update request, the spatial location update request is a movement operation of a third device icon of the target device by the user, and the executing, based on the device operation request, a corresponding operation on the target device includes:
determining a destination screen position of a moving operation; determining a new spatial position of the target device in the model space of the BIM according to the target screen position;
and displaying the third equipment icon in the model space according to the new space position, and sending the new space position to the server so that the server updates the original space position of the target equipment according to the new space position.
Optionally, if the device update request is an attribute information update request, the performing, based on the device operation request, a corresponding operation on the target device includes:
receiving new attribute information of target equipment input by a user;
and sending the new attribute information to the server so that the server updates the original attribute information of the target device according to the new attribute information.
Based on the above-mentioned spatial location update request, the user can conveniently and rapidly modify the spatial location of the device in the BIM, and based on the above-mentioned attribute information update request, the user can modify the related attribute information of the device.
Specifically, for the spatial location update request, the user may drag the device icon of the target device displayed in the page in a mouse or touch manner, that is, initiate a movement operation, and after the user moves the device icon of the target device to the destination screen location through the movement operation, the terminal may determine the current destination screen location of the device icon according to the operation of the user acting on the terminal. The terminal can determine a new spatial position of the target device in the model space of the BIM through a spatial mapping algorithm according to the target screen position of the target device, so that the device icon is displayed at the new spatial position.
The spatial mapping algorithm may be specifically packaged as a spatial mapping module of the terminal device, where the module determines a corresponding spatial position based on a screen position, and the specific implementation may include:
after the user selects the target device, the user can drag and other mobile operations on the target device, and at the moment, a space mapping module of the device model is triggered, and the module calculates the space position of the device. For BIM in digital space, a device model is added (i.e. a device is deployed) on the BIM, and the BIM cannot be directly mapped from screen coordinates to space coordinates, and the module accurately drags a user to the screen pixel distance d of the device through a conversion algorithm px Conversion to spatial distance d space After conversion, the user can implement the spatial location setting of the device in the digital space and the deployment of the device, including updating the device location and adding the device as described in the previous embodiments.
In addition, in practical application, in order to support the dragging or touch behavior of the device model (i.e., the device in the embodiment of the present application), it is necessary to implement modeling of the motion mode of the device model, and the spatial model may be rotated up and down, rotated left and right, and implement the zoom function by using a mouse wheel by means of a mouse dragging or a screen touch. After the space model is positioned, an equipment model can be created, the equipment model is supported to move to a specific position in a mode of mouse dragging or screen touch operation and the like, clicking or touch popup equipment information windows (such as equipment attribute information modification windows, equipment deletion windows and the like) are supported, the equipment model can have different motion expression forms in space, and in practical application, a motion module is required to calculate a motion track of the equipment model and trigger a renderer to re-render.
For the above-mentioned attribute information update request, as an alternative way, the user may click the device icon of the target device in the BIM displayed on the page by means of a mouse or touch, and after clicking, may display the attribute information window of the device, and the user may modify one or more attribute information of the device through the window, and after modification is completed, may complete modification of attribute information of the device through a "complete" button.
In the embodiment of the application, the relevant information of each device added to the BIM is stored in a server, and the server stores the relevant information of each device in association with the corresponding BIM. Therefore, after the user completes the corresponding operations (including adding, updating, deleting, etc. of the device) on the user, the terminal needs to send the related information to the server, so that the server updates the stored related information of the device correspondingly, for example, the user modifies the attribute information of the device, and the terminal needs to send the modified attribute information (which may be all the attribute information or just the modified attribute information) of the device to the server, so that the server can modify the stored attribute information of the device correspondingly according to the received information.
In an optional embodiment of the present application, the device operation request may also be a device deletion request, that is, the user wants to delete a certain device in the model, and in particular, as an optional manner, if a device that the user wants to delete is already displayed in the page, the user may click on a device icon of the device, for example, by clicking with a mouse, or by clicking with a finger or operating a pen, after clicking, a key such as deleting, modifying, etc. a corresponding device may be presented in the page, the user may initiate a device deletion request of the device by triggering the deletion key, and after receiving the deletion request, the terminal may send unique identification information of the device to the server, so that the server deletes stored relevant information of the device. As another alternative, if the device that the user wants to delete is not displayed in the current page, the user may first query the corresponding device by initiating a device query request, and then perform the device deletion operation in the above manner. Of course, a device deletion operation key may be provided in the page, and if the user knows the identity of the device that wants to be deleted, a device deletion request may be initiated by directly inputting the identity of the device in the page.
Based on the same principle as the method shown in fig. 1, the embodiment of the application also provides a device deployment method based on a smart building space, as shown in fig. 3, the method may include the following steps:
step S301: receiving a model data acquisition request aiming at BIM sent by a terminal, wherein the acquisition request carries a model identifier of BIM;
the method comprises the steps that an acquisition request is generated by a terminal based on a model selection operation of a user, wherein the model selection operation is received by the terminal through a second web application page of a web application program, and the model selection operation comprises a model identifier;
step S302: and sending BIM model data to the terminal according to the model identification, so that the terminal displays the BIM in a first web application page of the web application program according to the model data, receives a device operation request of a user for the target device through the first web application page of the web application program, and executes corresponding operation on the target device based on the device operation request.
It should be noted that the method shown in fig. 3 is substantially the same technical solution as the method shown in fig. 1, and only the difference is that the method shown in fig. 1 is described with a terminal as an execution body of the method, and the method shown in fig. 3 is described with a server as an execution body of the method. Thus, the solution of the method and the alternative embodiment shown in fig. 3 may be referred to in detail in the foregoing description of the method and the alternative embodiment shown in fig. 1, and will not be described herein.
As is apparent from the foregoing description, the related data of the BIM (hereinafter, abbreviated as BIM data, including model data of the BIM, related information of each device in the BIM, and the like) is stored at the server side. In practical applications, since BIM data is usually large-scale data, filtering and compression of redundant data of a device model need to be considered in storage of the device model, as an alternative, compression may be performed by converting coordinate data of a model geometry into topological storage, and meanwhile, the device model data may be stored using a distributed database.
In addition, when there are a large number of devices deployed in the field, entry of a large amount of data is required. In order to solve the problem, as an alternative, the server may be erected in the cloud, that is, a cloud server is adopted, and mass storage and computing capacity of the cloud are utilized to perform mass equipment data entry, where the data entry specifically may include:
after receiving the request of the user, the deployment tool background (i.e. the server) enters a mass request concurrency processing module, the module can rapidly respond to the user according to the request mode by using load balancing, caching and other modes, if the user is the existing equipment in the library, the request for inquiring equipment information can directly use distributed redis storage to cache and return the inquiry result, if the request is a modification or deletion method, the database needs to be updated, the information modification is needed to be carried out on the existing equipment, and then the database of BIM data is synchronously stored.
In order to better illustrate the solution provided by the embodiments of the present application, the following further describes the solution from the point of view of interaction between the terminal and the server in connection with a specific embodiment.
Examples
In practical application, based on the device deployment system (including the terminal and the server) provided by the embodiment of the application, a corresponding web app, i.e. a web application program, can be generated through programming, and a user can perform deployment of a device model in the BIM digital space by opening the web application program on a terminal (such as a mobile terminal device) of the user. The entire deployment system can be divided into two parts, a front-end (i.e., the client of the application on the user terminal) and a server-side.
As can be seen from the foregoing description, the front end may mainly include a model parsing module (for implementing parsing, format conversion, etc. of model data), a rendering module (for implementing rendering of a model), a spatial mapping module, and a model motion module (implementing control over BIM and movement of a device), etc. The server side may mainly include a device information storage module (for storing BIM data) and a mass device data concurrency processing module (for responding to mass requests of the front end).
Fig. 4 shows a flow chart of a device deployment method in this embodiment, and as shown in the figure, the method may mainly include:
1. Parsing module using BIM model parser
Specifically, after receiving a model selection request of a user, the terminal acquires corresponding BIM model data from the server based on a model identifier in the request, analyzes the model data by a model analyzer, converts the data into a 3D exchange format which can be used by a renderer, and then the renderer performs data rendering to display the BIM in an application page.
2. Processing of device operation requests
Specifically, in the application page displayed with the BIM, the user may initiate a corresponding device operation request based on the manner described above, and after receiving the request of the user, the terminal may perform a corresponding operation according to the type of the request: firstly, the terminal can determine the type of the request, as can be seen from the foregoing description, the device operation request can be generally divided into two large types, namely an operation request of an existing device and an addition request of a new device, so that the terminal can firstly determine whether the operation request of a user is an operation request of the new device (i.e. a judging step of whether the new device is shown in the figure), if so, the device movement module of the terminal can respond to the drag and touch actions of the user on the new device, acquire the screen position and the device attribute information of the device, and the like, the device space position mapping module performs space mapping based on the screen position, determines the space position of the device, and sends related information (the device information shown in the figure) of the device to the server so as to enable the server to store the related information of the device, and complete the warehousing and the storage of the new device information. If the operation request of the user is not an addition request for a new device, the corresponding operation for the added device can be completed based on the operation of the user, specifically, after the related information of the device is obtained (the existing device is searched in the figure), the modification for the related information of the device can be realized, for example, the addition, the deletion, the modification, the query (the addition, the deletion and the modification shown in the figure) for the information of the device can be realized.
A schematic flow chart of a device adding method in this embodiment is shown in fig. 5, and as shown in the figure, the method may mainly include:
1. loading and rendering a digital space BIM model;
the method mainly achieves the acquisition and rendering of the BIM model data, and the BIM is displayed in the web application page at the front end. Specifically, the front end first determines the building ID (model identifier in this embodiment) of the BIM selected by the user, accesses the server through the ID to obtain model data of the BIM, parses the obtained data, converts the data into a data exchange format that can be processed by the renderer, and then renders the data by the renderer, and displays the rendered BIM in the web application page.
2. Creating equipment, rendering on the model, dragging the equipment, mapping the spatial position of the equipment model, inputting equipment information, concurrently processing mass equipment data, and warehousing the equipment.
The method mainly comprises the steps of adding equipment and storing equipment related information in a warehouse (namely, storing the equipment related information in a server side), specifically, a user can trigger equipment adding operation to start equipment creation by clicking an equipment adding button on a terminal screen, and add an icon of an equipment model to be added into a BIM digital space in a touch or dragging mode, wherein at the moment, the equipment position is mapped onto the model space through space mapping, icon data are rendered and then displayed in the model space, and of course, the position of the equipment can be adjusted after the user drags the icon into the space. After the setting of the attribute and the position of the equipment is completed, the user can truly record the relevant information of the equipment into a background database of the digital space, namely a database of the server by clicking and storing.
Because the scheme provided by the embodiment of the application is realized based on the web application program, the deployment operation of the equipment can be synchronously performed on the multi-terminal, the server side can synchronously perform concurrent processing of mass data, namely, a mass data request (such as the warehousing request of the related information of the added equipment) of the multi-terminal is received, the server can store the data in association with the corresponding BIM after receiving the data sent by the terminal, and the server can use the distributed database to synchronously store the mass data.
As an example, fig. 6 shows a schematic flow chart of warehousing equipment information, which mainly includes: firstly, one or more user terminals can initiate a data warehouse-in request (equipment data is shown in the figure to initiate a warehouse-in request) to a server according to an equipment adding request or an equipment updating request of a user on an application page, the server side can perform concurrent processing after receiving the massive warehouse-in request, for each request, the server can inquire whether the equipment is an existing equipment in a database according to equipment identification carried in the request, if the equipment is the existing equipment, the relevant information of the equipment stored in the database is modified, so that the data in the database is synchronized, and if the equipment is not the existing equipment, namely newly added equipment (newly built equipment shown in the figure), the server stores the relevant information of the newly built equipment and synchronizes into the database, so that the synchronous updating of the data in the database is realized.
The scheme provided by the embodiment of the application ensures that equipment deployment in the BIM has interactivity, visualization, convenience and high availability. The user of the on-site deployment personnel or other scenes can deploy the equipment on the model only by opening an application page on the terminal (such as the mobile equipment) and selecting a corresponding floor. And the personnel do not need to be trained in a professional way, and compared with the traditional professional software, the method has lower learning cost and more convenient operation. The method has the advantages that the mode can be visually touched on the application page, then the equipment can be dragged, the equipment deployment can be carried out by the user in a very friendly way, the deployed position can be seen very intuitively, and the subsequent inquiry or modification is facilitated. Meanwhile, the background which is high in availability and supports massive deployment requests can well meet the requirement of mass deployment of a large number of devices in a building, the distributed storage mode simultaneously achieves real-time response, and a user can timely see effects by searching and information modification.
Specifically, when the device deployment is performed, only a web application is required to be opened on the mobile terminal device, then a specific building is selected, the application can start loading and analyzing BIM corresponding to the building, and the BIM can be rendered after being converted into a standard 3D exchange format through a parser. Then, the user can touch or drag the device model to be added on the mobile terminal screen to be added into the digital space, the device position is mapped to the space by using a space mapping algorithm, the final position and the attribute of the device can be set, and then the device is put in storage.
In general, the embodiments of the present application provide a solution that can be processed more accurately in real time for equipment deployment, can be deployed in a more friendly touch manner in a building digital space, and can be deployed in a more convenient manner such as a mobile terminal, and the solution has at least the following advantages:
1. deployment of the device is to set the spatial location of the device directly in the 3D model. This has the advantage of enabling a visual, better interactive deployment of the device.
2. The web-based cross-terminal solution can deploy equipment in a cross-platform and cross-terminal mode, and overcomes the disadvantage that special software depends on a specific system or a specific hardware platform.
3. Position adjustment can be carried out on 3D space in real time, and its advantage lies in: the equipment deployment can be processed more accurately in real time; moreover, the touch or drag mode is provided for deployment, so that the deployment is more convenient for users, and the use difficulty is greatly reduced.
4. The device deployment solution of the digital space is finally realized through a web application, the solution aims to reduce the use threshold, a user does not need to have deep knowledge of the building field, and an enterprise can perform device deployment without spending excessive training resources for training the user.
5. The technical architecture of the digital space device deployment solution is a web-based high-availability and high-concurrency supporting technical architecture, and can process massive requests and realize a distributed storage mode, which is not possessed by traditional professional software. In other words, the solution of the embodiment of the present application is more advantageous than conventional dedicated software in a scenario where there are a large number of devices deployed at the same time.
6. In practical applications, the equipment deployment is usually performed after the building drawing CAD (Computer Aided Design ) is converted into the BIM model, and the deployment is not performed strictly according to the drawing or the description document when the equipment is typically constructed and deployed. After the equipment is deployed in the field, the equipment needs to be put into storage, and the process of entering the database can be realized by adopting a mode of digital space equipment deployment. The subsequent parameter change or readjustment of the actual position of the device can also be realized by the scheme provided by the embodiment of the application.
Corresponding to the method provided in the embodiment of the present application, the embodiment of the present application further provides a device deployment apparatus based on a smart building space, as shown in fig. 7, the device deployment apparatus 700 based on a smart building space may include a transceiver module 701, an execution module 702, and a display module 703, where:
The transceiver module 701 is configured to receive, through a first web application page of an internet web application, a device operation request of a user for a target device, where a building information model BIM to which the target device belongs is displayed in the first web application page;
an execution module 702, configured to execute a corresponding operation on the target device based on the device operation request;
the transceiver module 701 is further configured to, before receiving, through a first web application page of the web application, a device operation request of a user for a target device, receive, through a second web application page of the web application, a model selection operation of the user, where the model selection operation includes a model identifier of the BIM;
the transceiver module 701 is further configured to obtain model data of the BIM from the server based on the model identifier;
a display module 703 for displaying the BIM in the first web application page according to the model data.
In an alternative embodiment, the device operation request includes any one of the following:
device addition request, device query request, device update request, device delete request.
In an optional implementation manner, if the device operation request is a device addition request, the target device is a device to be added, and the execution module is specifically configured to, when executing a corresponding operation on the target device based on the device operation request:
Receiving a first device icon of a device to be added selected by a user and a first screen position of the device to be added; determining a first spatial position of equipment to be added in a BIM model space according to the first screen position;
displaying a first device icon in a model space according to the first spatial location;
receiving first equipment attribute information of equipment to be added, which is input by a user;
and sending the first equipment related information of the equipment to be added to a server so that the server can store the first equipment related information of the equipment to be added and the BIM in a correlated mode, wherein the first equipment related information comprises first equipment attribute information, a first space position and a first equipment icon.
Optionally, if the device operation request is a device query request, the device query request includes indication information of the target device; the execution module is specifically configured to, when executing a corresponding operation on the target device based on the device operation request:
acquiring second equipment related information of the target equipment according to the indication information, wherein the second equipment related information comprises second equipment attribute information, a second space position and a second equipment icon of the target equipment;
the second device icon is displayed in the model space based on the second device attribute information and the second spatial location.
Optionally, the indication information includes area information of the target device in the BIM or identification information of the target device; if the indication information includes the area information of the target device in the BIM, the execution module is specifically configured to, when obtaining the second device related information of the target device according to the indication information:
transmitting the area information to a server;
receiving second equipment related information of target equipment, which is returned by the server and is positioned in a target area corresponding to the area information;
if the indication information of the target device includes identification information of the target device, the execution module is specifically configured to, when obtaining second device related information of the target device according to the indication information:
transmitting the identification information to a server;
and receiving second equipment related information of the target equipment returned by the server according to the identification information.
Optionally, when the indication information includes area information of the target device in the BIM, if the indication information further includes type information of the target device, the target device is a device located in the target area and conforming to the type information.
Optionally, if the device operation request is a device update request, the device update request includes at least one of an attribute information update request or a spatial location update request;
If the device update request is a spatial location update request, the spatial location update request is a movement control operation of a third device icon of the target device by the user, and the execution module is specifically configured to:
determining a destination screen position of a moving operation; determining a new spatial position of the target device in the model space of the BIM according to the target screen position;
displaying a third equipment icon in the model space according to the new space position, and sending the new space position to a server so that the server updates the original space position of the target equipment according to the new space position;
if the device update request is an attribute information update request, the execution module is specifically configured to, when executing a corresponding operation on the target device based on the device operation request:
receiving new attribute information of target equipment input by a user; and sending the new attribute information to the server so that the server updates the original attribute information of the target device according to the new attribute information. Optionally, the display module is specifically configured to, when displaying the BIM in the first web application page according to the model data:
Converting the data format of the model data according to a preset data conversion rule;
the converted model data is rendered to display the BIM on the first web application page.
Optionally, the transceiver module is further configured to receive, through the third web application page, a model operation request for the BIM by the user after the BIM is displayed in the first web application page, where the model operation request includes at least one of a model rotation request, a model translation request, a model zoom-in request, or a model zoom-out request; correspondingly, the execution module is further used for executing corresponding operation on the BIM according to the model operation request.
Corresponding to the method provided by the embodiment of the application, the embodiment of the application also provides a device deployment device based on the smart building space, which may include a transceiver module, where:
the receiving and transmitting module is used for receiving a BIM-specific model data acquisition request sent by the terminal, sending BIM model data to the terminal according to a BIM model identification in the acquisition request, so that the terminal can display the BIM in a first web application page of the web application program according to the model data, receiving a device operation request of a user for target device through the first web application page of the web application program, and executing corresponding operation on the target device based on the device operation request;
The acquisition request is generated by the terminal based on a model selection operation of a user, wherein the model selection operation is received by the terminal through a second web application page of the Internet web application program, and the model selection operation comprises a model identification.
Since the apparatus provided in the embodiment of the present invention is an apparatus capable of executing the corresponding method in the embodiment of the present invention, based on the method provided in the embodiment of the present invention, a person skilled in the art can understand the specific implementation of the apparatus in the embodiment of the present invention and various modifications thereof, so how the apparatus implements the method in the embodiment of the present invention will not be described in detail herein. The means employed by those skilled in the art to practice the methods of embodiments of the present invention are within the intended scope of the present application.
Based on the same principle as the method provided by the embodiment of the application, the embodiment of the application also provides electronic equipment, which comprises a memory and a processor; a memory having a computer program stored therein; the processor is configured to perform the methods provided in any of the alternative embodiments of the present application when the computer program is run.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor, can implement a method provided in any of the alternative embodiments of the present application.
As an example, a schematic structural diagram of an electronic device 8000 to which the present application can be applied is shown in fig. 8, the electronic device including a memory 8003 and a processor 8001, the memory 8003 storing a computer program, the processor 8001 being configured to execute any of the methods described above when the computer program is run. In particular, the electronic device may be a terminal, server or other possible device, and fig. 8 shows only an alternative schematic structure of the electronic device. The structure of the electronic device 8000 shown in fig. 8 is not limiting to the embodiments of the present application.
Processor 8001 is coupled to memory 8003, such as via bus 8002. Optionally, electronic device 8000 may also include a transceiver 8004. In practice, the transceiver 8004 is not limited to one, and the transceiver 8004 may be specifically used for the electronic device 8000 to communicate with other devices. The processor 8001 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor 8001 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of DSP and microprocessor, etc.
Bus 8002 may include a path to transfer information between the components. Bus 8002 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, etc. Bus 8002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 8, but not only one bus or one type of bus.
Memory 8003 may be, but is not limited to, ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, EEPROM (Electrically Erasable Programmable Read Only Memory ), CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 8003 is used to store application code for executing the present application and is controlled by the processor 8001 to execute. Processor 8001 is used to execute application code stored in memory 8003 to implement what is shown in any of the method embodiments above.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present invention, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations should and are intended to be comprehended within the scope of the present invention.

Claims (13)

1. A method for deploying equipment based on intelligent building space, comprising:
receiving a device operation request of a user for target devices through a first web application page of an internet web application program, wherein a building information model BIM to which the target devices belong is displayed in the first web application page, the first web application page is a device deployment page for deploying devices in the BIM, and the device operation request comprises any one of a device addition request, a device query request, a device update request or a device deletion request;
based on the equipment operation request, executing corresponding operation on the target equipment;
if the equipment operation request is an equipment addition request, the first web application page of the web application program of the Internet receives an equipment operation request of a user for target equipment; based on the device operation request, executing corresponding operation on the target device, including:
displaying a device add button and a device icon of at least one device that has been added to the BIM in the first web application page;
initiating a device addition request to the target device by clicking a device addition button in the first web application page;
When a drag operation of a first device icon of the target device is detected, acquiring a first screen position selected based on the drag operation, and determining a first space position corresponding to the first screen position in a model space of the BIM;
displaying the first device icon on a first spatial location of a BIM of the first web application page;
wherein the BIM is obtained by:
receiving a model selection operation of the user through a second web application page of the web application program, wherein the model selection operation comprises a model identifier of the BIM;
based on the model identification, obtaining model data of the BIM from a server;
and displaying the BIM in the first web application page according to the model data.
2. The method according to claim 1, wherein if the device operation request is a device addition request, the target device is a device to be added, and the performing, based on the device operation request, a corresponding operation on the target device includes:
receiving a first equipment icon of the equipment to be added selected by the user and a first screen position of the equipment to be added;
Determining a first space position of the equipment to be added in a model space of the BIM according to the first screen position;
displaying the first device icon in the model space according to the first spatial position;
receiving first equipment attribute information of the equipment to be added, which is input by the user;
and sending the first equipment related information of the equipment to be added to a server so that the server can store the first equipment related information of the equipment to be added and the BIM in a correlated mode, wherein the first equipment related information comprises the first equipment attribute information, the first space position and the first equipment icon.
3. The method of claim 1, wherein if the device operation request is a device query request, the device query request includes the indication information of the target device;
the executing the corresponding operation on the target device based on the device operation request comprises the following steps:
acquiring second equipment related information of the target equipment according to the indication information, wherein the second equipment related information comprises second equipment attribute information, a second space position and a second equipment icon of the target equipment;
The second device icon is displayed in the model space based on the second device attribute information and the second spatial location.
4. A method according to claim 3, wherein the indication information comprises area information of the target device in the BIM or identification information of the target device;
if the indication information includes the area information of the target device in the BIM, the obtaining, according to the indication information, the second device related information of the target device includes:
transmitting the area information to the server;
receiving second equipment related information of target equipment, which is returned by the server and is positioned in a target area corresponding to the area information;
if the indication information of the target device includes identification information of the target device, the obtaining, according to the indication information, second device related information of the target device includes:
transmitting the identification information to the server;
and receiving second equipment related information of the target equipment returned by the server according to the identification information.
5. The method of claim 4, wherein when the indication information includes area information of the target device in the BIM, if the indication information further includes type information of the target device, the target device is a device located within the target area and conforming to the type information.
6. The method of claim 1, wherein if the device operation request is a device update request, the device update request comprises at least one of an attribute information update request or a spatial location update request;
if the device update request is a spatial location update request, the spatial location update request is a movement operation of the user on a third device icon of the target device, and executing, based on the device operation request, a corresponding operation on the target device includes:
determining a destination screen position of the move operation;
determining a new spatial position of the target device in a model space of the BIM according to the target screen position;
displaying the third equipment icon in the model space according to the new space position, and sending the new space position to a server so that the server updates the original space position of the target equipment according to the new space position;
if the device update request is an attribute information update request, the performing, based on the device operation request, a corresponding operation on the target device includes:
receiving new attribute information of the target equipment input by the user;
And sending the new attribute information to the server so that the server updates the original attribute information of the target equipment according to the new attribute information.
7. The method of any one of claims 1 to 6, wherein the displaying the BIM in the first web application page in accordance with the model data includes:
converting the data format of the model data according to a preset data conversion rule;
rendering the converted model data to display the BIM on the first web application page.
8. The method of any one of claims 1 to 6, wherein after the BIM is displayed in the first web application page, the method further comprises:
receiving a model operation request of a user on the BIM through a third web application page, wherein the model operation request comprises at least one of a model rotation request, a model translation request, a model amplification request or a model shrinkage request;
and executing corresponding operation on the BIM according to the model operation request.
9. A method for deploying equipment based on intelligent building space, comprising:
Receiving a model data acquisition request for a building information model BIM sent by a terminal, wherein the acquisition request carries a model identifier of the BIM, the acquisition request is generated by the terminal based on a model selection operation of a user, the model selection operation is received by the terminal through a second web application page of an Internet web application program, and the model selection operation comprises the model identifier;
according to the model identification, sending the model data of the BIM to the terminal so that the terminal can display the BIM in a first web application page of the web application program according to the model data, receiving a device operation request of the user for target device through the first web application page of the web application program, and executing corresponding operation on the target device based on the device operation request;
the first web application page is a device deployment page for deploying devices in the BIM, and the device operation request comprises any one of a device addition request, a device query request, a device update request or a device deletion request;
wherein, the first web application page displays a device adding button and a device icon of at least one device added to the BIM; if the equipment operation request is an equipment adding request, the equipment adding request is initiated by clicking an equipment adding button in the first web application page; when the terminal detects a drag operation of a first device icon of the target device, the terminal acquires a first screen position selected based on the drag operation, and determines a first space position corresponding to the first screen position in a model space of the BIM; and the terminal displays the first equipment icon on a first space position of the BIM of the first web application page.
10. An intelligent building space-based equipment deployment device, comprising:
the system comprises a receiving and transmitting module, a first web application page and a second web application page, wherein the receiving and transmitting module is used for receiving a device operation request of a user for target equipment through a first web application page of an internet web application program, the first web application page displays a building information model BIM (building information model) of the target equipment, the first web application page is a device deployment page for deploying equipment in the BIM, and the device operation request comprises any one of a device addition request, a device query request, a device update request or a device deletion request;
the execution module is used for executing corresponding operation on the target equipment based on the equipment operation request;
if the device operation request is a device addition request, the transceiver module is specifically configured to display a device addition button and a device icon that is added to at least one device in the BIM in the first web application page; initiating a device addition request to the target device by clicking a device addition button in the first web application page; the execution module is specifically configured to, when a drag operation on a first device icon of the target device is detected, obtain a first screen position selected based on the drag operation, and determine a first spatial position corresponding to the first screen position in a model space of the BIM; displaying the first device icon on a first spatial location of a BIM of the first web application page;
The receiving and transmitting module is further configured to receive, through a second web application page of the web application, a model selection operation of the user before receiving, through a first web application page of the web application, a device operation request of the user for a target device, where the model selection operation includes a model identifier of the BIM;
the receiving and transmitting module is further used for acquiring the model data of the BIM from a server based on the model identifier;
and the display module is used for displaying the BIM in the first web application page according to the model data.
11. An intelligent building space-based equipment deployment device, comprising:
the receiving and transmitting module is used for receiving a model data acquisition request aiming at a building information model BIM sent by a terminal, wherein the acquisition request is generated by the terminal based on a model selection operation of a user, the model selection operation is received by the terminal through a second web application page of an Internet web application program, and the model selection operation comprises the model identifier;
the receiving and transmitting module is further configured to send, to the terminal, model data of the BIM according to a model identifier of the BIM in the obtaining request, so that the terminal displays the BIM in a first web application page of the web application according to the model data, receives, through the first web application page of the web application, a device operation request of the user for a target device, and executes a corresponding operation on the target device based on the device operation request; the first web application page is a device deployment page for deploying devices in the BIM, and the device operation request comprises any one of a device addition request, a device query request, a device update request or a device deletion request;
Wherein, the first web application page displays a device adding button and a device icon of at least one device added to the BIM; if the equipment operation request is an equipment adding request, the equipment adding request is initiated by clicking an equipment adding button in the first web application page; when the terminal detects a drag operation of a first device icon of the target device, the terminal acquires a first screen position selected based on the drag operation, and determines a first space position corresponding to the first screen position in a model space of the BIM; and the terminal displays the first equipment icon on a first space position of the BIM of the first web application page.
12. An electronic device comprising a memory and a processor;
the memory stores a computer program;
the processor for performing the method of any of claims 1-9 when the computer program is run.
13. A computer readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements the method of any of claims 1-9.
CN201910684382.7A 2019-07-26 2019-07-26 Equipment deployment method and device based on intelligent building space and electronic equipment Active CN110378063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910684382.7A CN110378063B (en) 2019-07-26 2019-07-26 Equipment deployment method and device based on intelligent building space and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910684382.7A CN110378063B (en) 2019-07-26 2019-07-26 Equipment deployment method and device based on intelligent building space and electronic equipment

Publications (2)

Publication Number Publication Date
CN110378063A CN110378063A (en) 2019-10-25
CN110378063B true CN110378063B (en) 2023-07-14

Family

ID=68256431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910684382.7A Active CN110378063B (en) 2019-07-26 2019-07-26 Equipment deployment method and device based on intelligent building space and electronic equipment

Country Status (1)

Country Link
CN (1) CN110378063B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159609A (en) * 2019-12-20 2020-05-15 万翼科技有限公司 Attribute information modification method and related device
CN111143741A (en) * 2019-12-20 2020-05-12 万翼科技有限公司 Model component moving method and related device
CN111814232A (en) * 2020-06-29 2020-10-23 万翼科技有限公司 Device management method and related device
CN112241294A (en) * 2020-10-20 2021-01-19 深圳供电局有限公司 BIM-based client program and webpage interaction method and device
CN112257135B (en) * 2020-10-30 2023-09-05 久瓴(上海)智能科技有限公司 Model loading method and device based on multithreading, storage medium and terminal
CN112307534A (en) * 2020-11-02 2021-02-02 武汉光谷联合集团有限公司 Park weak current scheme online design method and device based on electronic map
CN112463005A (en) * 2020-12-04 2021-03-09 久瓴(江苏)数字智能科技有限公司 Multi-screen interaction method and device, computer equipment and storage medium
CN116319236A (en) * 2023-03-20 2023-06-23 深圳绿米联创科技有限公司 Space configuration method, device, terminal equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101741038B1 (en) * 2017-04-25 2017-06-15 한국건설기술연구원 BIM data lightweight method and apparatus for BIM model application based on HTML5 WebGL
CN108363528A (en) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 Startup method, apparatus, storage medium and the electronic equipment of five application page

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120310906A1 (en) * 2011-06-03 2012-12-06 Dwayne Miller Building Information Tracking System and Method of Use
US9412245B2 (en) * 2013-08-08 2016-08-09 Honeywell International Inc. System and method for visualization of history of events using BIM model
CN105095323A (en) * 2014-05-23 2015-11-25 上海仪电控股(集团)公司 Webpage display and control system for three-dimensional building of Internet of Things based on BIM and WebGL
CN106547420B (en) * 2015-09-23 2020-06-02 阿里巴巴集团控股有限公司 Page processing method and device
JP6231169B1 (en) * 2016-07-07 2017-11-15 東芝エレベータ株式会社 BIM system, method and program
US20180114368A1 (en) * 2016-10-25 2018-04-26 Adobe Systems Incorporated Three-dimensional model manipulation and rendering
CN107890671B (en) * 2017-12-05 2020-10-30 腾讯科技(深圳)有限公司 Three-dimensional model rendering method and device for WEB side, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101741038B1 (en) * 2017-04-25 2017-06-15 한국건설기술연구원 BIM data lightweight method and apparatus for BIM model application based on HTML5 WebGL
CN108363528A (en) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 Startup method, apparatus, storage medium and the electronic equipment of five application page

Also Published As

Publication number Publication date
CN110378063A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN110378063B (en) Equipment deployment method and device based on intelligent building space and electronic equipment
US11650910B2 (en) Automated testing method and apparatus, storage medium and electronic device
US9720658B2 (en) Application creation method and apparatus
CN102012906B (en) Three-dimensional scene management platform based on SaaS architecture and editing and browsing method
JP5807686B2 (en) Image processing apparatus, image processing method, and program
US10275122B2 (en) Semantic card view
CN111931097B (en) Information display method and device, electronic equipment and storage medium
US9986060B2 (en) Persistent caching of map imagery and data
CN109219813B (en) Method, electronic device and computer readable medium for conversion of CAD descriptions
US20220092225A1 (en) Floorplan image tiles
CN108304239B (en) Rapid interface interaction method and device for remote operation
US11721052B2 (en) Floorplan image tiles
KR20160003683A (en) Automatically manipulating visualized data based on interactivity
CN109298806B (en) Remote quick interface interaction method and device based on object recognition
KR20160125401A (en) Inline and context aware query box
WO2023226371A1 (en) Target object interactive reproduction control method and apparatus, device and storage medium
CN112256790A (en) WebGL-based three-dimensional visualization display system and data visualization method
WO2021072046A1 (en) Systems and methods of geolocating augmented reality consoles
CN106846431B (en) Unified Web graph drawing system supporting multiple expression forms
KR101425672B1 (en) Building Information Modeling Based Communication System, Building Information Modeling Based Communication Server, and Building Information Modeling Based Communication Method in Mobile Terminal and Recording Medium Thereof
CN108491457A (en) A kind of method and apparatus for synchronizing public cloud resource
CN114416270A (en) Page display method, device, equipment and medium
KR101371584B1 (en) Method of displaying screen of web browser
CN106610855B (en) Method and device for importing 3D model into 3dsMAX
CN109388457B (en) Multi-scene remote rapid interface interaction method and device

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