Building space resource visualization method and device
By analyzing the floor layout file to generate resource layout data and store it in the database, the client renders and displays the target floor resource layout diagram, solving the problems of complex building space resource visualization methods, high maintenance costs and poor flexibility in the existing technology, and realizing intelligent management of building resources.
Patent Information
- Application Number
- CN202411992463.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-11
AI Technical Summary
The existing building space resource visualization method has problems such as complex operation, high maintenance cost, poor flexibility, waste of manpower and large workload.
By obtaining and analyzing the floor layout file, the floor resource layout data is generated and stored in the database. The client obtains and renders the target floor resource layout data according to the request, and realizes the systematic, comprehensive and intelligent management of the building resource layout.
It realizes systematic, comprehensive and intelligent management of building resource layout, saves manpower, reduces the difficulty of visualizing building resource layout, and improves management flexibility.
Smart Images

Figure CN119807496A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of building space resource visualization, and in particular to a building space resource visualization method and device. Background Art
[0002] Large enterprises, hospitals and other institutions face the problem of large numbers of people and decentralized management. For example, enterprises have different office buildings in different office locations, and the layout of workstation area resources and functional area resources on each floor of each office building is different. For example, hospitals have branches in different places, and the distribution of beds and functional resources (such as outpatient areas and examination areas) in each branch is different. For institutional management, visual management and intelligent resource integration face huge challenges.
[0003] In the prior art, methods for visualizing workstations in real office buildings mainly include the following two categories:
[0004] The first category is graphic analysis and recognition. The server identifies the workstation number and position through graphic recognition. The server generates a workstation layout diagram of the actual scene for the workstation after graphic analysis and recognition. The image recognition technology used in this type of workstation visualization method is relatively complex, and there is a problem of high maintenance cost in order to improve recognition accuracy.
[0005] The second type is manually configuring the workstation layout diagram. The server responds to the workstation selection instructions of each workstation object, and determines the target style information of each workstation object according to each workstation selection instruction and preset rules; and generates a target workstation diagram according to each of the target style information and the workstation layout information. This type of manual configuration method requires manual maintenance of data, which has the problems of poor flexibility, waste of manpower and high workload. Summary of the invention
[0006] The present invention is used to solve the problems of the existing building space resource visualization method, such as complex operation, high maintenance cost, poor flexibility, waste of manpower and heavy workload.
[0007] In order to solve the above technical problems, the first aspect of the present invention provides a building space resource visualization method, which is applied to a server, comprising:
[0008] Acquire a floor layout file, the floor layout file comprising a plurality of cells, the position and size information of the cells reflecting the arrangement information of the regions, the cells having fill information reflecting the region type information, and the cells having text information representing the region attribute information;
[0009] Parsing cells in the floor layout file to obtain cell arrangement information, area type information, and area attribute information;
[0010] The arrangement information of cells, the area type information and the area attribute information in the floor layout file are combined into floor resource layout data and stored in a database;
[0011] A target floor resource request sent by a client is received, target floor resource layout data is searched from the database according to the target floor resource request, and the target floor resource layout data is sent to the client for display.
[0012] As a further embodiment of the present invention, the cells in the floor layout file are parsed to obtain the arrangement information, area type information and area attribute information of the cells, including:
[0013] Parsing the position and size information of the cells in the floor layout file to obtain the arrangement information of the cells;
[0014] Parsing the filling information of the cell in the floor layout file to obtain the area type information of the cell;
[0015] Parse the text information in the cells in the floor layout file to obtain the area attribute information of the cells.
[0016] As a further embodiment of the present invention, after parsing the cells in the floor layout file to obtain the arrangement information, area type information and area attribute information of the cells, the method further includes:
[0017] Locate a first cell and a second cell according to the area type information of each cell in the floor layout file, each first cell is an object area, and a plurality of second cells constitute a functional area;
[0018] Traversing each two adjacent second cells in the floor layout file one by one, and if the area type information of the adjacent second cells is the same, classifying the adjacent second cells as a functional area;
[0019] Determine arrangement information, area type information and area attribute information of the functional area according to arrangement information, area type information and area attribute information of cells in the functional area;
[0020] Setting the arrangement information, region type information and region attribute information of the first cell as the arrangement information, region type information and region attribute information of the object region;
[0021] The arrangement information of cells in the floor layout file, the area type information and the area attribute information are composed of floor resource layout data and stored in the database, which is further as follows: the arrangement information of areas in the floor layout file, the area type information and the area attribute information are composed of floor resource layout data and stored in the database, wherein the areas include object areas and functional areas.
[0022] As a further embodiment of the present invention, it also includes:
[0023] For each object area, determine whether there is a personnel identification in the area attribute information of the object area. If there is, obtain the basic information of the personnel from the personnel database according to the personnel identification, and add the basic information of the personnel to the floor resource layout data;
[0024] The personnel database stores basic information of existing personnel.
[0025] As a further embodiment of the present invention, after obtaining the arrangement information, the type information and the attribute information of the region, the following is further included:
[0026] Calculate statistical information of the floor according to the arrangement information, area type information and area attribute information of the area in the floor layout file, the statistical information including one or more of the number of occupied areas of each object, the total number of each object area, the occupancy rate of each object area, the total number of object areas, the total occupancy rate of object areas and the number of each functional area;
[0027] Get the floor manager information related to the floor layout file;
[0028] Add the statistical information of the floor layout file and the floor manager information to the floor resource arrangement data of the floor layout file.
[0029] As a further embodiment of the present invention, it also includes:
[0030] Receiving resource query conditions sent by a client, wherein a query control is provided in a display interface of the client, and a user inputs the resource query conditions by operating the query control;
[0031] The information satisfying the resource query condition is queried from the database, and the queried information is sent to the client.
[0032] As a further embodiment of the present invention, it also includes:
[0033] Receiving a navigation request sent by a client, the navigation request including a starting position and a navigation target, a navigation control being provided in a display interface of the client, and a user inputting a target position by operating the navigation control;
[0034] Query the location information of the navigation target from the database;
[0035] Planning and obtaining navigation route information according to the starting position, the position information of the navigation target, and the road information of the floor where the navigation target is located;
[0036] The navigation route information is sent to the client.
[0037] As a further embodiment of the present invention, after obtaining the arrangement information, the area type information and the area attribute information of the area; or before querying the target floor resource layout data, the method further includes:
[0038] For each object area's area attribute information, obtaining a person's status from a person database according to a person identifier in the area attribute information;
[0039] If the personnel status is changed (resignation or transfer), the regional attribute information is deleted; and / or
[0040] For each object area's area attribute information, the area attribute information is obtained from the area database according to the area identifier in the area attribute information; if the obtained area attribute information is different from the area attribute information, the area attribute information is updated to the obtained area attribute information;
[0041] The personnel database stores basic information and status information of personnel; the area database stores area attribute information of object areas.
[0042] In one embodiment of the present invention, it further includes:
[0043] The regional attribute information of each object area is compared, and if the regional attribute information of different object areas is the same, a reminder message is sent to the management personnel.
[0044] In one embodiment of the present invention, the floor layout file is an EXCEL file and is maintained by a designer.
[0045] A second aspect of the present invention provides a building space resource visualization method, which is applied to a client and includes:
[0046] Send the target floor resource request to the server;
[0047] Receiving target floor resource layout data sent by the server, wherein the target floor resource layout data includes area arrangement information, area type information and area attribute information; the area includes an object area and a functional area;
[0048] Determine the online layout framework of the target floor resources according to the arrangement information of the area;
[0049] According to the arrangement information of the area, the area type information and the area attribute information are rendered and displayed in the online layout diagram framework of the target floor resources.
[0050] As a further embodiment of the present invention, it also includes:
[0051] According to the personnel identification of the area attribute information of the object area, basic information of the personnel is obtained from a personnel database, wherein the basic information of the personnel is stored in the personnel database;
[0052] Basic information of the area and personnel of the associated object;
[0053] According to the arrangement information of the area, basic information of the personnel is rendered and displayed in the online layout diagram framework of the target floor resources.
[0054] A third aspect of the present invention provides a building space resource visualization device, which is applied to a server, and includes:
[0055] An acquisition unit, used to acquire a floor layout file, wherein the floor layout file includes a plurality of cells, wherein the position and size information of the cells reflect the arrangement information of the regions, the cells have fill information reflecting the region type information, and the cells are configured with text information representing the region attribute information;
[0056] A parsing unit, used to parse the cells in the floor layout file to obtain the arrangement information, area type information and area attribute information of the cells;
[0057] A storage unit, used to store floor resource layout data composed of arrangement information of cells, area type information and area attribute information in the floor layout file in a database;
[0058] The interaction unit is used to receive a target floor resource request sent by a client, query the target floor resource layout data from the database according to the target floor resource request, and send the target floor resource layout data to the client for display.
[0059] A fourth aspect of the present invention provides a building space resource visualization device, applied to a client, comprising:
[0060] A sending unit, used for sending a target floor resource request to a server;
[0061] A receiving unit, configured to receive target floor resource layout data sent by the server, wherein the target floor resource layout data includes area arrangement information, area type information and area attribute information; the area includes an object area and a functional area;
[0062] A rendering and display unit is used to determine the target floor resource online layout diagram framework according to the arrangement information of the area; and render and display the area type information and area attribute information in the target floor resource online layout diagram framework according to the arrangement information of the area.
[0063] A fifth aspect of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any of the foregoing embodiments when executing the computer program.
[0064] A sixth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of a computer device, the method described in any of the above embodiments is implemented.
[0065] A seventh aspect of the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor of a computer device, the method described in any of the above embodiments is implemented.
[0066] The building space resource visualization method and device provided by the present invention obtain resource layout data through the server side identifying the floor layout file, storing the resource layout data in the database, and sending the target floor resource layout data to the client when the client calls it; the client determines the target floor resource online layout diagram framework according to the area layout information in the target floor resource layout data, and renders and displays the area type information and area attribute information in the target floor resource online layout diagram framework according to the area layout information, which can realize the systematic, comprehensive and intelligent management of the building resource layout, save manpower, reduce the difficulty of visualizing the building resource layout, and improve management flexibility.
[0067] In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technical objects in this field, other drawings can be obtained based on these drawings without paying creative work.
[0069] Figure 1 The structure diagram of the building space resource visualization system according to the embodiment of the present invention is shown;
[0070] Figure 2A A schematic diagram of a floor layout file according to an embodiment of the present invention is shown;
[0071] Figure 2B It shows a schematic diagram before functional area division in a floor resource distribution file according to an embodiment of the present invention;
[0072] Figure 2C It shows a schematic diagram of functional area division in a floor resource distribution file according to an embodiment of the present invention;
[0073] Figure 2D A schematic diagram of an online layout diagram of floor resources according to an embodiment of the present invention is shown;
[0074] Figure 3 A first flow chart of a method for visualizing building space resources applied to a server according to an embodiment of the present invention is shown;
[0075] Figure 4 A second flow chart of the building space resource visualization method applied to a server according to an embodiment of the present invention is shown;
[0076] Figure 5 A third flow chart of a building space resource visualization method applied to a server according to an embodiment of the present invention is shown;
[0077] Figure 6 A fourth flow chart of a building space resource visualization method applied to a server according to an embodiment of the present invention is shown;
[0078] Figure 7 A fifth flow chart of a building space resource visualization method applied to a server according to an embodiment of the present invention is shown;
[0079] Figure 8 A first flow chart of a method for visualizing building space resources applied to a client according to an embodiment of the present invention is shown;
[0080] Fig. 9 A second flow chart of the building space resource visualization method applied to a client according to an embodiment of the present invention is shown;
[0081] Fig.10 The structure diagram of the building space resource visualization device applied to the server side according to the embodiment of the present invention is shown;
[0082] Fig.11 A structural diagram showing a building space resource visualization device applied to a client according to an embodiment of the present invention;
[0083] Fig.12 A structural diagram of a computer device according to an embodiment of the present invention is shown.
[0084] Description of the accompanying symbols:
[0085] 101. Server;
[0086] 102. Client;
[0087] 1001. Acquisition unit;
[0088] 1002, parsing unit;
[0089] 1003. Storage unit;
[0090] 1004, interactive unit;
[0091] 1101, sending unit;
[0092] 1102, receiving unit;
[0093] 1103, rendering display unit;
[0094] 1202. Computer equipment;
[0095] 1204, processor;
[0096] 1206. Memory;
[0097] 1208, driving mechanism;
[0098] 1210, input / output module;
[0099] 1212. Input device;
[0100] 1214. Output device;
[0101] 1216. Presentation equipment;
[0102] 1218. Graphical user interface;
[0103] 1220, network interface;
[0104] 1222, communication link;
[0105] 1224. Communication bus. DETAILED DESCRIPTION
[0106] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical objects in the field without creative work are within the scope of protection of the present invention.
[0107] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0108] This specification provides method operation steps as described in the embodiments or flow charts, but more or fewer operation steps may be included based on routine or non-creative work. The order of steps listed in the embodiments is only one way of executing the order of many steps and does not represent the only execution order. When the system or device product is executed in practice, it can be executed in the order of the method shown in the embodiments or the drawings or in parallel.
[0109] It should be noted that the building space resource visualization method and device of the present invention can be used for workstation management in various fields, and can also be used in fields other than workstation management that require object visualization, such as hospital bed management.
[0110] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the acquisition, transmission, storage, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0111] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0112] The existing building space resource visualization methods are mainly based on image analysis and recognition, and manual configuration of workstation layout diagrams. These methods have the problems of complex operation, high maintenance cost, poor flexibility, waste of manpower and heavy workload.
[0113] In order to solve the above technical problems, in one embodiment of the present invention, a building space resource visualization system is provided. Figure 1 As shown, it includes: a server 101 and a client 102.
[0114] The server 101 obtains a floor layout file in advance, wherein the floor layout file includes a plurality of cells, wherein the position and size information of the cells reflect the arrangement information of the regions, the cells have fill information reflecting the region type information, and the cells are provided with text information representing the region attribute information; the cells in the floor layout file are parsed to obtain the arrangement information of the cells, the region type information and the region attribute information; the arrangement information of the cells in the floor layout file, the region type information and the region attribute information are combined into floor resource layout data and stored in a database.
[0115] Among them, the floor layout file is a floor plan in the format of EXCEL, WPS, etc., which displays the real building floor shape and layout such as personnel workstation information, floor room function room information, etc., and is pre-designed by relevant personnel according to the actual division of the area in the floor. The area includes object area and functional area, among which the object area is, for example, the actual operation area such as workstation and bed, and the functional area is, for example, the auxiliary operation area such as office, warehouse, machine room, printing area, tea room, elevator room, toilet, conference room, etc. Both the object area and the functional area can include multiple types. Taking the floor workstation distribution as an example, the workstation types include, for example, the general manager's office workstation, employee workstation, manufacturer workstation, other workstation, equipment workstation, idle workstation, etc.
[0116] If the cell is filled with information, the corresponding position of the cell is the object area or functional area, and if the cell is not filled with information, the corresponding position of the cell is a wall or a corridor, etc. In some embodiments, the information filled in the cell is, for example, color, pattern, etc., and different filled information reflects different area types.
[0117] Taking office building space resources as an example, the floor layout file is as follows: Figure 2A shown.
[0118] In some implementations, for a function area, the area attribute information includes a function name. For an object area, the area attribute information includes: object number, name, work number, unit, telephone number, etc.
[0119] The server 101 receives the target floor resource request sent by the client, queries the target floor resource layout data from the database according to the target floor resource request, and sends the target floor resource layout data to the client for display.
[0120] The client 102 is used to send a target floor resource request to the server; receive the target floor resource layout data sent by the server, wherein the target floor resource layout data includes area layout information, area type information and area attribute information; the area includes an object area and a functional area; according to the arrangement information of the area, determine the target floor resource online layout diagram framework; according to the arrangement information of the area, render and display the area type information and area attribute information in the target floor resource online layout diagram framework.
[0121] In some embodiments of this specification, the client may be a desktop computer, a tablet computer, a laptop computer, a smart phone, a digital assistant, a smart wearable device, etc. Among them, the smart wearable device may include a smart bracelet, a smart watch, smart glasses, a smart helmet, etc. Of course, the client is not limited to the above-mentioned electronic devices with a certain entity, and it can also be software running in the above-mentioned electronic devices.
[0122] Through the server and the client, this embodiment can obtain the arrangement information, area type information and area attribute information of the cells in the floor layout file by analyzing the floor layout file without collecting images and designing in the modeling software. When the user requests the target floor resource request, the target floor resource layout data is obtained, and the client renders and displays according to the target floor resource layout data, thereby realizing the systematic, comprehensive and intelligent management of the building resource layout, saving manpower, reducing the difficulty of visualizing the building resource layout, and improving management flexibility. It can also provide a visual management basis for the centralized scheduling, management and adjustment of personnel positions in major engineering projects of enterprises, facilitating decision-making.
[0123] In one embodiment of the present invention, a building space resource visualization method applied to a server is provided, such as Figure 3 As shown, including:
[0124] Step 301, obtain the floor layout file.
[0125] The floor layout file includes a plurality of cells, the position and size information of the cells reflect the arrangement information of the regions, the cells have fill information reflecting the region type information, and the cells are provided with text information representing the region attribute information.
[0126] Step 302, parse the cells in the floor layout file to obtain the cell arrangement information, area type information and area attribute information.
[0127] Specifically, the cells in the floor layout file are parsed to obtain the cell arrangement information, area type information and area attribute information, including:
[0128] The position and size information of the cells in the floor layout file are parsed to obtain the arrangement information of the cells, wherein the arrangement information includes the position and size. The position of the cells includes the row position and column position of the cells, which can be interpreted as the plane position x / y of the cells.
[0129] The filling information (e.g., color, pattern, etc.) of the cell in the floor layout file is parsed to obtain the area type information of the cell, where the area type information is, for example, workstation / bed, conference room, pantry, etc. Taking the filling information as color as an example, the filling color of the cell is parsed, the parsed filling color is converted into a standard RGB format, and the area type information of the cell is determined based on the standard RGB color.
[0130] Parse the text information in the cell in the floor layout file to obtain the area attribute information of the cell. Specifically, for the function area, the area attribute information includes the function name. For the object area, the area attribute information includes: object number, name, work number, unit, telephone number, etc.
[0131] Step 303: The arrangement information of the cells, the area type information and the area attribute information in the floor layout file are combined into floor resource arrangement data and stored in a database.
[0132] In some implementations, the floor resource layout data stored in the database is labeled with a floor identifier, wherein the floor identifier may reflect information such as location, building, floor, organization, etc. The floor resource layout data is displayed in the following Table 1.
[0133] Table 1
[0134]
[0135] Step 304: receiving a target floor resource request sent by the client, querying target floor resource layout data from the database according to the target floor resource request, and sending the target floor resource layout data to the client for display.
[0136] The target floor resource request includes a target floor identifier, and target floor resource layout data corresponding to the target floor identifier can be queried from the database.
[0137] In one embodiment of the present invention, a building space resource visualization method applied to a server is also provided. Figure 4 As shown, including:
[0138] Step 401, obtain the floor layout file.
[0139] Step 402, parse the cells in the floor layout file to obtain the cell arrangement information, area type information and area attribute information.
[0140] Step 403: Locate the first cell and the second cells according to the area type information of each cell in the floor layout file. Each first cell is an area for an object (such as a bed / workstation, etc.), and multiple second cells form a functional area.
[0141] Step 404: Traverse each pair of adjacent second cells in the floor layout file one by one. If the area type information of the adjacent second cells is the same, classify the adjacent second cells as a functional area. Here, adjacent second cells refer to the second cells that are directly adjacent horizontally and vertically (i.e., in rows and columns), and can be called similar cells.
[0142] When implementing this step, it can be traversed row by row or column by column. If traversing row by row, when there is a cross-row area, the following algorithm is used to calculate and determine whether it is the same area.
[0143] Traverse all cells c[row, col]. When starting to traverse c[1, 1], create the first area type A[1]. When traversing to the next cell, if it meets the conditions of area A[n] (i.e., it is a similar cell), add the new cell c[row, col] to A[n]; otherwise, create a new area A[n + 1] and add c[row, col] to A[n + 1]. The final set of all areas A is the result after classification and merging. The core of the algorithm is to determine whether the new cell meets the conditions of the existing area type.
[0144] The specific determination process is as follows:
[0145] (1) Obtain the maximum row number maxRow included in area A[n], obtain the maximum column number maxCol of area A[n], and obtain the column width colLength of area A[n].
[0146] (2) Calculate the row distance rowDiff between the row number row of the current c[row, col] and the maximum row number, and calculate the column distance colDiff between the column number col of the current cell c[row, col] and the maximum column number;
[0147] If rowDiff = 0 and colDiff < colLength, it means the cell is in the same row and the same area;
[0148] If rowDiff = -1 and colDiff = colLength, it means the cell is in the same area in a new row;
[0149] In other cases, it indicates that the cell does not belong to the current area A[n]. At this time, a new area A[n + 1] is created;
[0150] At the same time, the maximum row maxRow = Max (maxRow, row) and the maximum column maxCol = Max (maxCol, col) are updated.
[0151] The pseudo code of the algorithm is as follows:
[0152] Input: all cell sets S1;
[0153] Output: classified cell set S2;
[0154]
[0155] For example, Figure 2B shows the functional resource distribution diagram before the second cell is merged, Figure 2C The functional resource distribution diagram after the second cell merger is shown.
[0156] Step 405 , determining arrangement information, area type information and area attribute information of the functional area according to arrangement information, area type information and area attribute information of the cells in the functional area.
[0157] Specifically, the arrangement information of the functional area is determined according to the arrangement information of the cells in the functional area, and the area type information and area attribute information of the cells in the functional area are assigned to the area type information and area attribute information of the functional area.
[0158] Step 406: Set the arrangement information, region type information and region attribute information of the first cell as the arrangement information, region type information and region attribute information of the object region.
[0159] That is, the arrangement information, region type information and region attribute information of the first cell are the arrangement information, region type information and region attribute information of the object region.
[0160] Step 407, the arrangement information of the area, the area type information and the area attribute information in the floor layout file are combined into floor resource arrangement data and stored in the database, wherein the area includes an object area and a functional area.
[0161] For the floor resource layout data obtained in this embodiment, the floor resource online layout diagram displayed on the client is as follows: Figure 2D As shown, for the object (workstation) area, one workstation occupies one cell, and the size of the cell is determined in proportion to the actual workstation size. For the functional area, multiple cells (second cells) are classified. During implementation, legend information is also displayed on the floor resource online layout diagram, and the type of each area in the floor resource online layout diagram is determined according to the legend information, such as blue for dressing room, orange for printing area, green for meeting room, etc.
[0162] This embodiment merges cells representing functional areas so that the building space resources displayed on the client are consistent with the actual functional areas, making it easier for users to locate the functional areas.
[0163] In one embodiment of the present invention, the building space resource visualization method applied to the server also includes:
[0164] For each object area, determine whether there is a personnel identification in the area attribute information of the object area. If there is, obtain the basic information of the personnel from the personnel database according to the personnel identification, and add the basic information of the personnel to the floor resource layout data;
[0165] The personnel identification is used to uniquely locate the user, for example, a unique identification code (such as a work number), etc. The personnel database stores basic information of existing personnel.
[0166] This embodiment searches for basic personnel information from a personnel database and adds it to floor resource layout data, thereby enriching the content of the online floor resource layout diagram displayed by the client and improving the user experience.
[0167] In one embodiment of the present invention, Figure 5 As shown, after obtaining the arrangement information, area type information and area attribute information of the area, it also includes:
[0168] Step 501, calculating the statistical information of the floor according to the arrangement information, area type information and area attribute information of the area in the floor layout file.
[0169] The statistical information includes one or more of the number of occupied object areas, the total number of object areas, the occupancy rate of each object area, the total number of object areas, the total occupancy rate of object areas, and the number of each functional area.
[0170] Step 502, obtaining floor manager information related to the floor layout file.
[0171] Step 503: Add the statistical information of the floor layout file and the floor manager information to the floor resource arrangement data of the floor layout file.
[0172] Based on the floor resource layout data stored in this embodiment, the client can display statistical information and administrator information while displaying the online layout of the target floor resources, so that decision makers can timely grasp the workstation utilization rate and provide accurate data support for subsequent workstation transformation, workstation addition, relocation and adjustment in combination with the layout of the existing functional rooms on the floor. Figure 2DAs shown, according to the statistical information and administrator information displayed in the upper left corner, the occupancy of the object area and the proportion of the functional area in the target floor can be clearly determined, and appropriate adjustments can be made to the object area and functional area according to actual business needs.
[0173] In one embodiment of the present invention, Figure 6 As shown, the building space resource visualization method applied to the server also includes:
[0174] Step 601: receiving a resource query condition sent by a client. A query control is provided in the display interface of the client, and a user inputs the resource query condition by operating the query control.
[0175] Specifically, the resource query conditions include, but are not limited to, object names and function names (such as conference rooms) of certain floors. In specific implementation, all fields stored in the database are available for user input.
[0176] Step 602: query the database for information that meets the resource query condition, and send the query information to the client.
[0177] This embodiment can facilitate users to find resource information through resource query, thereby improving user experience.
[0178] During specific implementation, the search records can also be recorded (the search records include the searcher and the search conditions), and analysis can be performed based on the search records, so as to optimize the workstation configuration and management according to personnel business transactions and promote business development.
[0179] In one embodiment of the present invention, Figure 7 As shown, the building space resource visualization method applied to the server also includes:
[0180] Step 701: receiving a navigation request sent by a client.
[0181] The navigation request includes a starting position and a navigation target. A navigation control is provided in the display interface of the client, and the user inputs the target position by operating the navigation control.
[0182] The starting position is the user's position, which can be obtained by obtaining the position of the user's terminal device. The navigation target includes the target object identifier (such as the workstation identifier), the building, floor, specific location information and target seat related attribute information.
[0183] Step 702: query the location information of the navigation target from the database.
[0184] In specific implementation, if the location information of the navigation target cannot be queried from the database, then it is returned to the user end that no relevant workstation information is found.
[0185] Step 703, planning and obtaining navigation route information according to the starting position, the position information of the navigation target, and the road information of the floor where the navigation target is located.
[0186] In specific implementation, first determine whether the starting position and the location information of the navigation target are located on the same floor. If the starting position and the location information of the navigation target are located on the same floor, then plan and obtain navigation route information based on the starting position, the location information of the navigation target, and the road information of the floor where the navigation target is located. If the starting position and the location information of the navigation target are not located on the same floor, obtain the elevator room position of the floor where the navigation target is located, and plan and obtain navigation route information based on the elevator room position, the location information of the navigation target, and the road information of the floor where the navigation target is located.
[0187] In the specific implementation, the existing path planning method can be used, and the present invention does not limit this. Optionally, the A-star search algorithm can be used, as follows:
[0188] f(n)=g(n)+h(n);
[0189] Among them, f(n) is the estimated cost from the initial state via point n to the target state, g(n) is the actual cost from the initial state to point n in the state space, and h(n) is the estimated cost of the best path from point n to the target state.
[0190]
[0191] Among them, (y g ,y g ),(x n ,y n ) respectively identify the coordinate positions of the target point and the current point n.
[0192] Step 704: Send the navigation route information to the client.
[0193] This embodiment can improve the query efficiency of the target.
[0194] In one embodiment of the present invention, after obtaining the arrangement information, the area type information and the area attribute information of the area; or before querying the target floor resource layout data, the following is further included:
[0195] For each object area's area attribute information, obtaining a person's status from a person database according to a person identifier in the area attribute information;
[0196] If the personnel status is changed (resignation or transfer), the regional attribute information is deleted; and / or
[0197] For each object area's area attribute information, the area attribute information is obtained from the area database according to the area identifier in the area attribute information; if the obtained area attribute information is different from the area attribute information, the area attribute information is updated to the obtained area attribute information;
[0198] The personnel database stores basic information and status information of personnel; the area database stores area attribute information of object areas.
[0199] This embodiment can automatically adjust the area attribute information of the object area according to the change of the status of the personnel in the object area and the reallocation of the object area, so that the online layout diagram of the target floor resources displayed by the client can be consistent with the actual situation.
[0200] In one embodiment of the present invention, when the status of relevant personnel in the building changes (such as joining, leaving, transferring, etc.), the corresponding information in the database is automatically updated according to the status of the personnel in the building. When updating the data, it is also checked whether the personnel identification in the object area of the database complies with the naming rules. If it does not comply with the rules, a reminder message is issued to facilitate timely modification to ensure the accuracy of the system data. Taking the visual display of an office building as an example, if the personnel status is a transfer, etc., it is also determined whether the workstation area assigned to the transfer is idle: if it is idle, the original workstation area of the transferred personnel is released and the new workstation area assigned to the transfer is bound; if it is occupied, it is prompted that the new workstation assigned to the adjustment is already occupied, please release the new workstation assigned to the adjustment first.
[0201] In one embodiment of the present invention, the building space resource visualization method applied to the server also includes:
[0202] The regional attribute information of each object area is compared, and if the regional attribute information of different object areas is the same, a reminder message is sent to the management personnel.
[0203] During the specific implementation, managers can be reminded to correct errors by sending emails, text messages, etc.
[0204] This embodiment can timely discover abnormalities in the floor layout file by analyzing whether the area attribute information of the object area is repeated, thereby ensuring the accuracy of the data.
[0205] In one embodiment of the present invention, a method for visualizing building space resources applied to a client is also provided. Figure 8 As shown, including:
[0206] Step 801, sending a target floor resource request to the server.
[0207] In one implementation, the target floor resource request includes information such as a target address ID, a target building ID, and a target floor ID.
[0208] Step 802, receiving the target floor resource layout data sent by the server, wherein the target floor resource layout data includes area arrangement information, area type information and area attribute information; the area includes an object area and a functional area.
[0209] Step 803: Determine the online layout diagram framework of the target floor resources according to the arrangement information of the area.
[0210] When this step is implemented, the maximum range of the arrangement area is calculated according to the arrangement information of each area, that is, the display canvas size m*n is obtained, where m and n are the length and width respectively. The online layout diagram framework of the target floor resources is determined according to the display canvas size.
[0211] Step 804: Render and display the area type information and area attribute information in the target floor resource online layout diagram framework according to the arrangement information of the area.
[0212] In specific implementation, the functional area layout filling in the canvas area can be realized based on the area attribute information (such as color, position, shape and other data) of the functional area (such as conference room, tea room, elevator room, printing area, etc.). Then, the object area layout filling in the canvas area can be realized based on the area attribute information of the object area.
[0213] Taking the distribution of workstations on a floor as an example, when rendering the object area, it supports mouse movement and floating to display detailed workstation information (workstation number, work number, name, telephone number, affiliated organization, etc.). It can also render statistical information to display the occupancy of different types of workstations on the floor, the occupancy of workstations in different departments, and other information.
[0214] In one embodiment of the present invention, Fig. 9 As shown, the building space resource visualization method applied to the client also includes:
[0215] Step 901: acquiring basic information of a person from a person database according to the person identification of the area attribute information of the object area, wherein the basic information of the person is stored in the person database.
[0216] Step 902: Associating the object area and basic information of the person.
[0217] Step 903: Render and display basic personnel information in the target floor resource online layout diagram framework according to the arrangement information of the area.
[0218] In one embodiment of the present invention, a query control is provided in the client display interface, and the user inputs resource query conditions by operating the query control.
[0219] If a certain person is being searched for, the server will return the corresponding floor resource layout data and detailed information of the person being searched based on the person information sent by the client. The client will render the layout diagram and specially display the person's workstation.
[0220] If you search for information about an organization on a certain floor, the server will return the resource layout data of the corresponding floor and the organization information you are searching for based on the organization information sent by the client. The client will render the layout diagram and highlight the workstations of the organization you are searching for.
[0221] Based on the same inventive concept, the present invention also provides a building space resource visualization device applied to a server and a client, as described in the following embodiments. Since the principle of solving the problem by the building space resource visualization device is similar to that of the building space resource visualization method, the implementation of the building space resource visualization device can refer to the building space resource visualization method, and the repeated parts will not be repeated.
[0222] Specifically, Fig.10 As shown, the building space resource visualization device applied to the server includes:
[0223] The acquisition unit 1001 is used to acquire a floor layout file, wherein the floor layout file includes a plurality of cells, wherein the position and size information of the cells reflect the arrangement information of the regions, the cells have fill information reflecting the region type information, and the cells are configured with text information representing the region attribute information;
[0224] The parsing unit 1002 is used to parse the cells in the floor layout file to obtain the arrangement information, area type information and area attribute information of the cells;
[0225] The storage unit 1003 is used to store the floor resource arrangement data composed of the arrangement information of the cells, the area type information and the area attribute information in the floor layout file in a database;
[0226] The interaction unit 1004 is configured to receive a target floor resource request sent by a client, query target floor resource layout data from the database according to the target floor resource request, and send the target floor resource layout data to the client for display.
[0227] like Fig.11 As shown, the building space resource visualization device applied to the client includes:
[0228] The sending unit 1101 is used to send a target floor resource request to the server;
[0229] The receiving unit 1102 is used to receive the target floor resource layout data sent by the server, wherein the target floor resource layout data includes the arrangement information of the area, the area type information and the area attribute information; the area includes the object area and the function area;
[0230] The rendering and display unit 1103 is used to determine the target floor resource online layout diagram framework according to the arrangement information of the area; and render and display the area type information and area attribute information in the target floor resource online layout diagram framework according to the arrangement information of the area.
[0231] The present invention breaks through the problems of being limited to the high cost of graphic analysis and identification and the construction of workstations, and the inflexible management of the manual configuration layout diagram. It generates floor resource layout data in response to the direct import of floor layout files (such as EXCEL floor layout diagrams). When requested by the client, the target floor resource layout data is sent to the client, and the client displays the floor resource online layout diagram based on the floor resource layout data. The present invention can realize the online management of the floor resource online layout diagram, and improve the floor resource online layout diagram in combination with the basic information of personnel in the system (name, work number, functional unit, workstation type, landline, etc.), and display the basic information of personnel and the floor room function room as a whole. It provides decision-making data support for the management of related resources at the management level, and is conducive to optimizing the configuration and management of workstations according to personnel business transactions, and promoting business development.
[0232] When the floor layout file is an EXCEL floor layout diagram, the present invention can achieve the following functions:
[0233] (1) In response to the mapping method of directly inputting the EXCEL floor layout diagram, the real building floor shape and layout such as personnel position information, floor room function room information, etc. are displayed as a whole.
[0234] (2) Support parsing cell colors in EXCEL to distinguish workstation types, rooms, and functional room types, etc.
[0235] (3) Supports the statistics and presentation of floor personnel and workstation occupancy information, supports personnel workstation retrieval and workstation retrieval of different departments and units, and saves all retrieval data for data analysis.
[0236] (5) Automatically identify the accuracy of source data such as workstation information, and provide error correction reminders for duplicate workstation information; match employee entry, resignation, job transfer and other status, automatically track and match adjustments and updates of workstation information, and maintain data accuracy at all times.
[0237] In one embodiment of the present invention, a computer device is also provided, such as Fig.12As shown, the computer device 1202 may include one or more processors 1204, such as one or more central processing units (CPUs), each of which may implement one or more hardware threads. The computer device 1202 may also include any memory 1206, which is used to store any kind of information such as code, settings, data, etc. Non-limitingly, for example, the memory 1206 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent a fixed or removable component of the computer device 1202. In one case, when the processor 1204 executes an associated instruction stored in any memory or a combination of memories, the computer device 1202 may perform any operation of the associated instruction. The computer device 1202 also includes one or more drive mechanisms 1208 for interacting with any memory, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.
[0238] The computer device 1202 may also include an input / output module 1210 (I / O) for receiving various inputs (via input devices 1212) and for providing various outputs (via output devices 1214). A specific output mechanism may include a presentation device 1216 and an associated graphical user interface (GUI) 1218. In other embodiments, the input / output module 1210 (I / O), input device 1212, and output device 1214 may not be included, and the computer device 1202 may be used as a computer device in a network. The computer device 1202 may also include one or more network interfaces 1220 for exchanging data with other devices via one or more communication links 1222. One or more communication buses 1224 couple the components described above together.
[0239] The communication link 1222 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 1222 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc. governed by any protocol or combination of protocols.
[0240] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are executed.
[0241] An embodiment of the present invention further provides a computer-readable instruction, wherein when a processor executes the instruction, the program therein causes the processor to execute the method described in any of the aforementioned embodiments.
[0242] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0243] It should also be understood that in the embodiments of the present invention, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects before and after are in an "or" relationship.
[0244] A person skilled in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0245] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0246] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0247] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0248] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0249] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0250] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for general technical objects in the field, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A building space resource visualization method, characterized in that: Applied to the server, including: Acquire a floor layout file, the floor layout file comprising a plurality of cells, the position and size information of the cells reflecting the arrangement information of the regions, the cells having fill information reflecting the region type information, and the cells having text information representing the region attribute information; Parsing cells in the floor layout file to obtain cell arrangement information, area type information, and area attribute information; The arrangement information of cells, the area type information and the area attribute information in the floor layout file are combined into floor resource layout data and stored in a database; A target floor resource request sent by a client is received, target floor resource layout data is searched from the database according to the target floor resource request, and the target floor resource layout data is sent to the client for display.
2. The method according to claim 1, characterized in that Parse the cells in the floor layout file to obtain the cell arrangement information, area type information and area attribute information, including: Parsing the position and size information of the cells in the floor layout file to obtain the arrangement information of the cells; Parsing the filling information of the cell in the floor layout file to obtain the area type information of the cell; Parse the text information in the cells in the floor layout file to obtain the area attribute information of the cells.
3. The method according to claim 1, characterized in that After parsing the cells in the floor layout file to obtain the arrangement information, area type information and area attribute information of the cells, the method further includes: According to the area type information of each cell in the floor layout file, locate the first cell and the second cell, each first cell is an object area, and a plurality of second cells constitute a functional area; Traversing each two adjacent second cells in the floor layout file one by one, and if the area type information of the adjacent second cells is the same, classifying the adjacent second cells as a functional area; Determine arrangement information, area type information and area attribute information of the functional area according to arrangement information, area type information and area attribute information of cells in the functional area; Setting the arrangement information, region type information and region attribute information of the first cell as the arrangement information, region type information and region attribute information of the object region; The arrangement information of cells in the floor layout file, area type information and area attribute information are composed of floor resource layout data and stored in the database, which is further as follows: the arrangement information of areas in the floor layout file, area type information and area attribute information are composed of floor resource layout data and stored in the database, wherein the areas include object areas and functional areas.
4. The method according to claim 3, characterized in that Also includes: For each object area, determine whether there is a personnel identification in the area attribute information of the object area. If there is, obtain the basic information of the personnel from the personnel database according to the personnel identification, and add the basic information of the personnel to the floor resource layout data; The personnel database stores basic information of existing personnel.
5. The method according to claim 3, characterized in that After obtaining the region arrangement information, region type information and region attribute information, it also includes: Calculate statistical information of the floor according to the arrangement information, area type information and area attribute information of the area in the floor layout file, wherein the statistical information includes one or more of the number of occupied areas of each object, the total number of each object area, the occupancy rate of each object area, the total number of object areas, the total occupancy rate of object areas and the number of each functional area; Get the floor manager information related to the floor layout file; Add the statistical information of the floor layout file and the floor manager information to the floor resource arrangement data of the floor layout file.
6. The method according to claim 3, characterized in that Also includes: Receiving resource query conditions sent by a client, wherein a query control is provided in a display interface of the client, and a user inputs the resource query conditions by operating the query control; The information satisfying the resource query condition is queried from the database, and the queried information is sent to the client.
7. The method according to claim 3, characterized in that Also includes: Receiving a navigation request sent by a client, the navigation request including a starting position and a navigation target, a navigation control being provided in a display interface of the client, and a user inputting a target position by operating the navigation control; Query the location information of the navigation target from the database; Planning navigation route information according to the starting position, the position information of the navigation target, and the road information of the floor where the navigation target is located; The navigation route information is sent to the client.
8. The method according to claim 3, characterized in that After obtaining the area arrangement information, area type information and area attribute information; or before querying the target floor resource layout data, it also includes: For each object area's area attribute information, obtaining a person's status from a person database according to a person identifier in the area attribute information; If the person's status is changed, then delete the area attribute information; and / or For each object area's area attribute information, the area attribute information is obtained from the area database according to the area identifier in the area attribute information; if the obtained area attribute information is different from the area attribute information, the area attribute information is updated to the obtained area attribute information; The personnel database stores basic information and status information of personnel; the area database stores area attribute information of object areas.
9. The method according to claim 3, characterized in that Also includes: The regional attribute information of each object area is compared, and if the regional attribute information of different object areas is the same, a reminder message is sent to the management personnel.
10. The method according to claim 1, characterized in that The floor layout file is an EXCEL file and is maintained by the designer.
11. A method for visualizing building space resources, characterized in that: Applied to the client, including: Send the target floor resource request to the server; Receiving target floor resource layout data sent by the server, wherein the target floor resource layout data includes area arrangement information, area type information and area attribute information; the area includes an object area and a functional area; Determine the online layout framework of the target floor resources according to the arrangement information of the area; According to the arrangement information of the area, the area type information and the area attribute information are rendered and displayed in the online layout diagram framework of the target floor resources.
12. The method according to claim 11, characterized in that Also includes: According to the personnel identification of the area attribute information of the object area, basic information of the personnel is obtained from a personnel database, wherein the basic information of the personnel is stored in the personnel database; Basic information of the area and personnel of the associated object; According to the arrangement information of the area, basic information of the personnel is rendered and displayed in the online layout diagram framework of the target floor resources.
13. A building space resource visualization device, characterized in that: Applied to the server, including: An acquisition unit, used to acquire a floor layout file, wherein the floor layout file includes a plurality of cells, wherein the position and size information of the cells reflect the arrangement information of the regions, the cells have fill information reflecting the region type information, and the cells are configured with text information representing the region attribute information; A parsing unit, used to parse the cells in the floor layout file to obtain the arrangement information, area type information and area attribute information of the cells; A storage unit, used to store floor resource layout data composed of arrangement information of cells, area type information and area attribute information in the floor layout file in a database; The interaction unit is used to receive a target floor resource request sent by a client, query the target floor resource layout data from the database according to the target floor resource request, and send the target floor resource layout data to the client for display.
14. A building space resource visualization device, characterized in that: Applied to the client, including: A sending unit, used for sending a target floor resource request to a server; A receiving unit, configured to receive target floor resource layout data sent by the server, wherein the target floor resource layout data includes area arrangement information, area type information and area attribute information; the area includes an object area and a functional area; A rendering and display unit is used to determine the target floor resource online layout diagram framework according to the arrangement information of the area; and render and display the area type information and area attribute information in the target floor resource online layout diagram framework according to the arrangement information of the area.
15. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 12 is implemented.
16. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor of a computer device, the method according to any one of claims 1 to 12 is implemented.
17. A computer program product, comprising a computer program, characterized in that: When the computer program is executed by a processor of a computer device, the method according to any one of claims 1 to 12 is implemented.