Method and device for realizing flexible path planning in subway station hall using digital twin technology
Using digital twin technology to build a three-dimensional model of the subway station hall, determine the starting and ending positions, search for available path lines and perform collision detection, it solves the problem of inaccurate path planning and realizes flexible path planning and the generation of the shortest path.
Patent Information
- Application Number
- CN202311741436.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-18
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-12-18
AI Technical Summary
Inaccurate path planning in subway station halls results in unusable paths, especially when the distribution of building facilities is complex.
Digital twin technology is used to construct a three-dimensional model of the subway station hall. Topological points form a minimum unit triangular surface topological point collection circle to determine the starting and ending positions, search for available main path lines, and perform topological point distance collision detection to generate the optimal path to avoid Paths collide with construction facilities.
It realizes flexible path planning, ensures path accuracy and the shortest distance, improves path planning performance, and avoids collisions between paths and building facilities.
Smart Images

Figure CN117933504B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer application technology, and specifically to a method and device, and a computer program medium for implementing flexible path planning in a subway station hall using digital twin technology. Background Art
[0002] Large buildings often require path planning to provide people in the indoor places of large buildings with available paths to quickly reach their destinations. Especially in the more complex indoor places of large buildings such as subway stations, the implementation of path planning is particularly important for the operation of subways and the people in the station halls.
[0003] Facing the subway station hall of each station, various building facilities, such as the distribution of walls, floors, stairs and other building components in space, and the opening and closing of escalators, vertical elevators and other equipment, all affect the accuracy of the planned path. The collision between the planned path and any building facilities will lead to inaccurate path planning, and the planned path will be unavailable.
[0004] Therefore, it is urgent to implement flexible path planning for subway station halls to solve the problem of inaccurate path planning. Summary of the invention
[0005] One purpose of this application is to solve the technical problem of inaccurate path planning and to implement flexible path planning for subway station halls.
[0006] According to one aspect of an embodiment of the present application, a method for implementing flexible path planning in a subway station hall using digital twin technology is disclosed, wherein the method comprises:
[0007] The starting topological point collection circle and the ending topological point collection circle corresponding to the starting position and the ending position are determined through the minimum unit triangle surface topological point collection circle formed by the topological points in the three-dimensional model of the subway station hall;
[0008] Searching for a number of minimum unit triangle surface topological point collection circles between the starting topological point collection circle and the ending topological point collection circle to form an available main path line;
[0009] Perform distance collision detection of topological points between adjacent minimum unit triangle topological point collection circles on the available main path line to obtain the optimal topological point in each minimum unit triangle topological point collection circle;
[0010] The optimal path between the starting position and the end position in the three-dimensional model of the subway station hall is generated through the optimal topological point.
[0011] According to another aspect of the embodiment of the present application, a device for implementing flexible path planning in a subway station hall using digital twin technology is disclosed, the device comprising:
[0012] A surface determination unit is used to determine a starting topological point set circle and an ending topological point set circle corresponding to a starting position and an ending position respectively through a minimum unit triangular surface topological point set circle formed by topological points in a three-dimensional model of a subway station hall;
[0013] A path line construction unit, used for searching for a number of minimum unit triangle surface topological point collection circles between the starting topological point collection circle and the ending topological point collection circle to form an available main path line;
[0014] A collision detection unit is used to perform distance collision detection of topological points between adjacent minimum unit triangle topological point collection circles on the available main path line to obtain the optimal topological point in each minimum unit triangle topological point collection circle;
[0015] A path generation unit is used to generate an optimal path between the starting position and the end position in the three-dimensional model of the subway station hall through the optimal topological point.
[0016] According to another aspect of the embodiments of the present application, a computer program medium is disclosed, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes any one of the methods described above.
[0017] In an embodiment of the present application, a three-dimensional model of a given subway station hall is constructed based on the digital twin technology. The starting topological point set circle and the end topological point set circle corresponding to the starting position and the end position respectively are determined by the minimum unit triangle topological point set circle formed by the topological points in the three-dimensional model of the subway station hall. Then, a number of minimum unit triangle topological point sets are searched between the starting topological point set circle and the end topological point set circle to form an available main route. The distance collision detection of topological points is performed between adjacent minimum unit triangle topological point sets on the available main route to obtain the optimal topological point in each minimum unit triangle topological point set circle. Finally, the optimal path between the starting position and the end position in the three-dimensional model of the subway station hall is generated by the optimal topological point. Therefore, under the control of the topological points in the three-dimensional model of the subway station hall and the minimum unit triangle topological point set circle formed by the topological points, the collision between the planned path and the building facilities can be accurately avoided, thereby realizing flexible path planning. Moreover, the available main path line obtained by searching the minimum unit triangle topological point set circle and the distance collision detection are performed to ensure that the obtained path distance is the shortest, thereby greatly improving the path planning performance and achieving accurate path planning.
[0018] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0019] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and other objects, features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
[0021] Figure 1 A flowchart of a method for implementing flexible path planning in a subway station hall using digital twin technology according to an embodiment of the present application is shown.
[0022] Figure 2 is based on Figure 1 The corresponding embodiment shows a flow chart of the method steps of determining the starting topological point set circle and the ending topological point set circle corresponding to the starting position and the ending position respectively through the minimum unit triangle surface topological point set circle formed by the topological points in the three-dimensional model of the subway station hall.
[0023] Figure 3 is based on Figure 2 The corresponding embodiment shows a method flow chart describing the steps of determining the closest minimum unit triangle topological point set circle from the minimum unit triangle topological point set circle formed by topological points in the three-dimensional model of the subway station hall for the starting position and the end position respectively.
[0024] Figure 4 It is a flow chart of a method for describing the steps of determining several nearest topological points of the intersection points obtained by connecting lines for topological points distributed in a three-dimensional model of a subway station hall, and forming a minimum unit triangular surface topological point collection circle with the nearest topological points according to an embodiment.
[0025] Figure 5 is based on Figure 1 A flowchart of a method for searching for a number of minimum unit triangle surface topological point collection circles between a starting topological point collection circle and an ending topological point collection circle to form an available main path line is shown in a corresponding embodiment.
[0026] Figure 6 is based on Figure 5 The corresponding embodiment shows a method flow chart describing the steps of calculating the distance between adjacent minimum unit triangle topological point set circles for the minimum unit triangle topological point set circle located between the starting topological point set circle and the ending topological point set circle.
[0027] Figure 7 It is a method flow chart describing the steps of performing distance collision detection of topological points between adjacent minimum unit triangle topological point collection circles on the available main path line and obtaining the optimal topological point in each minimum unit triangle topological point collection circle according to the corresponding embodiment 2.
[0028] Figure 8 is based on Figure 2 A method flow chart describing the steps of generating an optimal path between a starting position and an end position in a three-dimensional model of a subway station hall through optimal topological points is shown in the corresponding embodiment.
[0029] Fig. 9 is based on Figure 8 A flowchart of a method for describing the steps of adapting the starting position and the ending position of the topological points in the topological point sequence to generate a single-layer path and / or a cross-layer path and obtaining an optimal path is shown in the corresponding embodiment.
[0030] Fig.10 is based on Figure 2 The corresponding embodiment is a method flow chart describing the steps of searching for a number of minimum unit triangle surface topology point collection circles between the starting topology point collection circle and the ending topology point collection circle to form an available main path line.
[0031] Fig.11 It is a flowchart of a method for implementing flexible path planning in a subway station hall using digital twin technology according to another embodiment of the present application.
[0032] Fig.12 A schematic diagram of a three-dimensional model of a subway station hall in an example is shown.
[0033] Fig.13 A structural block diagram of a device for implementing flexible path planning in a subway station hall using digital twin technology in an example is shown. DETAILED DESCRIPTION
[0034] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present application will be more comprehensive and complete and the concepts of the example embodiments will be fully conveyed to those skilled in the art. The accompanying drawings are only schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0035] In addition, the described features, structures or characteristics may be combined in one or more example embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present application. However, those skilled in the art will appreciate that the technical solution of the present application may be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. may be adopted. In other cases, known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring the present application and making the various aspects of the present application obscure.
[0036] Some of the blocks shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0037] A system architecture used in an embodiment of the present application is to deploy a computing platform on the server side through a space modeling tool and a digital space management platform with the support of a lightweight engine, and to deploy and create the corresponding upper-level application, namely, the flexible path planning of the subway station hall, to the client.
[0038] With the support of the lightweight engine, the spatial modeling tool builds a visual 3D model of the subway station hall based on digital twin technology. The digital space management platform deploys the 3D model of the subway station hall to the client application used to implement flexible path planning of the subway station hall, and then executes the requested path planning task.
[0039] With the support of computing algorithms provided by the constructed lightweight engine, the digital space management platform uses digital twin technology on the server side to implement flexible path planning services for subway station halls based on the deployed three-dimensional model of the subway station hall, and provides it to client applications.
[0040] It should be understood that the system architecture shown in the figure is merely schematic, and other variant architectures may be used according to implementation requirements, which are not listed here one by one.
[0041] See also Figure 1 , Figure 1 A flowchart of a method for implementing flexible path planning in a subway station hall using digital twin technology according to an embodiment of the present application is shown. The present application embodiment provides a method for implementing flexible path planning in a subway station hall using digital twin technology, the method comprising:
[0042] Step S110, determining a starting topological point collection circle and an ending topological point collection circle corresponding to the starting position and the ending position respectively through the minimum unit triangle topological point collection circle formed by the topological points in the subway station hall three-dimensional model;
[0043] Step S120, searching for a number of minimum unit triangle surface topological point collection circles between the starting topological point collection circle and the ending topological point collection circle to form an available main path line;
[0044] Step S130, performing distance collision detection of topological points between adjacent minimum unit triangle topological point collection circles on the available main path line to obtain the optimal topological point in each minimum unit triangle topological point collection circle;
[0045] Step S140, generating an optimal path between a starting position and an end position in the three-dimensional model of the subway station hall through the optimal topological point.
[0046] These steps are described in detail below.
[0047] First of all, it should be noted that the subway station hall 3D model is a three-dimensional spatial model of the station where the route planning is located. A corresponding subway station hall 3D model is constructed for each station based on digital twin technology, and the subway station hall 3D model is used to express the physical and functional characteristics of the subway station hall as a building facility.
[0048] For the existing subway station hall on the site, with the support of digital twin technology, the corresponding subway station hall three-dimensional model is obtained based on its geometric constraints and the resulting spatial attributes, functional attributes, appearance attributes, etc., and rendered and loaded, so that the visualized three-dimensional model of the subway station hall can initiate flexible path planning of the starting and end positions through user control, and finally the optimal path is displayed through the topological network on the subway station hall three-dimensional model. The corresponding path planning topology map is displayed.
[0049] In step S110, the subway station hall that initiates the path planning determines the starting position and the end position of the planned path in the corresponding subway station hall three-dimensional model, and then determines the corresponding starting topological point collection circle for the starting position and the end topological point collection circle for the end position.
[0050] The starting position and the end position are both accessible positions on the three-dimensional model of the subway station hall, which can be defined and constrained by the topological point attribute information configured in the three-dimensional model of the subway station hall.
[0051] Both the start position and the end position map the physical position of the actual subway station hall, that is, therefore, the start position and the end position respectively indicate the start point and the end point of the path planning in the actual subway station hall.
[0052] The starting point and end point of the path planning can be obtained by obtaining the physical location of the actual subway station hall. For example, the physical location in the actual subway station hall can be determined by the barcode information arranged at each physical location in the actual subway station hall, such as a QR code icon, that is, the physical location is used as the starting point or end point of the path planning, and the mapping of the starting point or end point in the three-dimensional model of the subway station hall is the starting position or the end point.
[0053] In addition, the key points of the actual subway station hall are marked with dots, and a QR code icon associated with its physical location is pasted at the marked point. Therefore, the user can obtain the associated physical location by scanning the QR code icon, and then obtain the starting location or the end location according to the mapping of the physical location in the three-dimensional model of the subway station hall.
[0054] For example, a user who needs to initiate route planning at a location in a real subway station hall can trigger the scanning of the QR code icon pasted at the location to obtain the associated physical location, and then locate the starting position of the initiated route planning in the subway station hall.
[0055] It is not limited to the QR code icon, and other specific icons, such as other barcode icons, may also be used, as long as they are associated with the physical location.
[0056] In the actual subway station hall, at least key points of the subway platform are marked, including but not limited to locations frequently used by users, such as escalators, entrances, exits, toilets, platforms, service centers and surrounding key buildings. Corresponding QR code icons can be pasted in all walkable areas to facilitate the determination of the user's current physical location and quickly map the current physical location to the three-dimensional model of the subway station hall.
[0057] At least one QR code icon is pasted in the walkable area where the user is currently located. In the execution of step S110, the QR code icon closest to the user is scanned for path planning, the physical location associated with the QR code icon is obtained, and the starting location is determined based on the mapping of the physical location in the three-dimensional model of the subway station hall.
[0058] By scanning the QR code icon, you can obtain your current physical location and the starting location of the physical location mapping, and display them synchronously on the front-end interface along with the 3D model of the subway station hall.
[0059] In addition to determining the starting position, it is also necessary to determine the end position for path planning. The determination of the end position can be directly obtained by selecting the destination on the three-dimensional model of the subway station hall. It should be understood that the destination selected on the three-dimensional model of the subway station hall must be mapped in the walkable area of the actual subway station hall. Therefore, when the selected destination is not mapped in the walkable area of the actual subway station hall, it means that the selected destination is unreachable and can only reach the walkable area closest to the destination. At this time, the end position will be determined in the walkable area closest to the destination, and the determined end position is the point in the walkable area closest to the destination.
[0060] In addition, for the starting position and the end position, the center of the area in the subway station hall 3D model can be selected as the starting point and / or the end position. Therefore, in the distance planning, even if the position cannot be accurately selected, the path planning can be initiated quickly and conveniently according to the user's intention.
[0061] Specifically, the subway station hall 3D model is distributed with several topological points, which are mapped to the walkable area. In the subway station hall 3D model, an area is constructed with three adjacent topological points, and the constructed area is a circular area corresponding to the three topological points. By analogy, the subway station hall 3D model is distributed with several circular areas.
[0062] Through the user's selection of a circular area in the three-dimensional model of the subway station hall, the selected circular area is located, and then the center position of the circular area is used as the starting position and / or end position selected by the user.
[0063] In another exemplary embodiment, the circular area in the three-dimensional model of the subway station hall can also be constructed in real time according to the currently triggered topological point and its adjacent topological points, and is not limited to a number of pre-constructed circular areas.
[0064] At this point, the starting position and the end position are determined for path planning. Then, in the execution of step S110, the smallest unit triangle surface topological point cluster circle closest to the starting position and the end position will be determined in the three-dimensional model of the subway station hall, namely, the starting topological point cluster circle and the end topological point cluster circle.
[0065] It should be added that the subway station hall three-dimensional model constructs several minimum unit triangle topological point collection circles through the distributed topological points. The minimum unit triangle topological point collection circle is the minimum unit plane determined by several nearest topological points. The minimum unit triangle topological point collection circle is distributed in the walkable area. Through the minimum unit triangle topological point collection circle, multiple paths can be constructed for the path planning, which makes it easier to select the optimal path. The minimum unit triangle topological point collection circle provides the possibility for the multi-scenario multi-path planning principle.
[0066] Therefore, please also refer to Figure 2 , Figure 2 is based on Figure 1 The corresponding embodiment shows a flow chart of the method steps of determining the starting topological point set circle and the ending topological point set circle corresponding to the starting position and the ending position respectively through the minimum unit triangle surface topological point set circle formed by the topological points in the three-dimensional model of the subway station hall.
[0067] The step S110 of determining the starting topological point set circle and the ending topological point set circle corresponding to the starting position and the ending position respectively through the minimum unit triangle surface topological point set circle formed by the topological points in the subway station hall three-dimensional model provided in the embodiment of the present application includes:
[0068] Step S111, for the start position and the end position respectively, determine the smallest unit triangle topological point set circle with the closest distance from the smallest unit triangle topological point set circle formed by the topological points in the subway station hall three-dimensional model;
[0069] Step S112, taking the smallest unit triangle topological point collection circle closest to the starting position as the starting topological point collection circle, and taking the smallest unit triangle topological point collection circle closest to the ending position as the ending topological point collection circle.
[0070] Facing several minimum unit triangle topological point collection circles in the three-dimensional model of the subway station hall, find the smallest unit triangle topological point collection circles closest to the starting position and the ending position respectively, and then take the smallest unit triangle topological point collection circle closest to the starting position as the starting topological point collection circle, and take the smallest unit triangle topological point collection circle closest to the ending position as the ending topological point collection circle.
[0071] That is to say, the starting topological point collection circle and the ending topological point collection circle can be determined by calculating the distance between the starting position and the minimum unit triangle topological point collection circle, and between the ending position and the minimum unit triangle topological point collection circle.
[0072] Exemplarily, the distance calculation performed can be the distance calculation between the intersection point in the minimum unit triangle topological point set circle. The intersection point uniquely maps a minimum unit triangle topological point set circle. Therefore, the intersection point will be used as a representation and identifier of the minimum unit triangle topological point set circle for distance calculation, thereby normalizing the calculation process of finding the minimum unit triangle topological point set circle with the closest distance between the starting position and the end position, thereby ensuring the simplicity and accuracy of the calculation.
[0073] To further illustrate, the minimum unit triangle topological point set circle is composed of several topological points, and the lines between the topological points form an intersection point, which can be used to calculate the distance between the minimum unit triangle topological point set circle and the starting position and the end position.
[0074] See also Figure 3 , Figure 3 is based on Figure 2 The corresponding embodiment shows a method flow chart describing the steps of determining the closest minimum unit triangle topological point set circle from the minimum unit triangle topological point set circle formed by topological points in the three-dimensional model of the subway station hall for the starting position and the end position respectively.
[0075] The embodiment of the present application provides a step S111 of determining the closest minimum unit triangle topological point set circle from the minimum unit triangle topological point set circle formed by the topological points in the subway station hall three-dimensional model for the starting position and the end position respectively, including:
[0076] Step S1111, for the minimum unit triangle topological point set circle formed by the topological points in the subway station hall three-dimensional model, according to the distances between the intersection points in the minimum unit triangle topological point set circle and the starting position and the end position, respectively determine the intersection point closest to the starting position and the intersection point closest to the end position;
[0077] Step S1112, the minimum unit triangle topological point set circle where the intersection is located is the minimum unit triangle topological point set circle with the shortest distance.
[0078] Therefore, by calculating the distance between each intersection point and the starting position and the end position, the intersection point closest to the starting position and the intersection point closest to the end position are determined, and then the smallest unit triangle topological point set circle where the intersection point is located is the smallest unit triangle topological point set circle closest to the starting position or the end position.
[0079] To further illustrate, a minimum unit triangle topological point set circle of a plane is determined, which is composed of at least three topological points. The topological points are connected to form the intersection points of the minimum unit triangle topological point set circle. Therefore, the intersection points can uniquely identify the minimum unit triangle topological point set circle.
[0080] In another exemplary embodiment of the present application, the method for implementing flexible path planning in a subway station hall using digital twin technology further includes, before executing step S110:
[0081] For the topological points distributed in the three-dimensional model of the subway station hall, several nearest topological points of the intersection are determined by connecting the intersection points, and the nearest topological points form a minimum unit triangle surface topological point set circle.
[0082] There are topological points distributed in the walkable area of the three-dimensional model of the subway station hall. The topological lines obtained by connecting the topological points in pairs will produce intersections, and finally the intersections will determine the minimum unit triangle topological point set circle.
[0083] For each intersection, the nearest topological point of the intersection is searched for facing the topological point in the three-dimensional model of the subway station hall. Among them, the nearest topological point of the intersection includes the topological point located on the topological line where the intersection is located and the topological point located within the distance limit. The smallest plane, that is, the smallest unit triangle topological point set circle, is determined by the nearest topological point.
[0084] For further information, please refer to Figure 4 , Figure 4 It is a flow chart of a method for describing the steps of determining several nearest topological points of the intersection points obtained by connecting lines for topological points distributed in a three-dimensional model of a subway station hall, and forming a minimum unit triangular surface topological point collection circle with the nearest topological points according to an embodiment.
[0085] The embodiment of the present application provides a step of determining several nearest topological points of the topological points distributed in the three-dimensional model of the subway station hall by connecting the intersection points, and forming a minimum unit triangle surface topological point set circle with the nearest topological points, including:
[0086] Step S201, loading and rendering the building structure model to obtain a three-dimensional model of the subway station hall;
[0087] Step S202, configuring topological points in the rendered three-dimensional model of the subway station hall, the topological points being attached to the plane presented in the three-dimensional model of the subway station hall;
[0088] Step S203, connecting the topological points to form topological lines, and determining intersections formed between the topological lines;
[0089] Step S204, the topological point of the topological line where the intersection is located and / or the topological point within the distance limit range are regarded as the nearest topological point;
[0090] Step S205, the nearest topological points form a minimum unit triangle topological point set circle.
[0091] These steps are described in detail below.
[0092] In step S201, the 3D model of the subway station hall is displayed on the front end by rendering and loading the architectural structure model constructed by the site, so that the user can obtain the rendered and loaded 3D model of the subway station hall on the front end page.
[0093] The subway station hall 3D model includes various building facilities, that is, the subway station hall 3D model is a digital expression of the physical and functional characteristics of various building facilities. Therefore, by obtaining the subway station hall 3D model, the user can view and select the starting position and the end position through the subway station hall 3D model.
[0094] In step S202, topological points are configured for the rendered 3D model of the subway station hall so that the walkable area in the plane presented by the 3D model of the subway station hall is configured with topological points, so as to control the implementation of path planning under the action of the topological points, and also ensure the availability of the planned path under the action of the topological points to avoid inaccessible locations on the planned path.
[0095] The configured topological points are all attached to the plane presented in the three-dimensional model of the subway station hall, that is, the plane where the various building facilities in the three-dimensional model of the subway station hall are located. It should be further explained that the configured topological points are located in the walkable area of the plane, providing support for path planning.
[0096] The topological point configuration is the execution process of marking points on the rendered three-dimensional model of the subway station hall. In other words, at least the topological points are marked on the key points in the walkable area, so as to construct an accessible path with the key points in the walkable area as the core, avoiding the situation where the planned path collides with the building facilities and is unavailable, and ensuring the reliability of the path planning on the three-dimensional model of the subway station hall.
[0097] In step S203, topological points are connected to obtain topological lines in the three-dimensional model of the subway station hall, and topological lines that intersect each other have intersection points.
[0098] In step S203, the nearest topological point around each intersection is located, so that in the execution of step S204, a minimum unit triangle surface topological point set circle of the intersection is constructed with the nearest topological point.
[0099] As the topological points are connected to form an intersection, the topological points on the line where the intersection is located are located at the points closest to the intersection. For example, the topological points on the line where the intersection is located are located at adjacent points around the intersection, most of which are the points closest to the intersection. Therefore, the topological points on the line where the intersection is located can be used as the nearest topological points of the intersection.
[0100] In addition, a distance limit range can also be set. All topological points within this distance limit range relative to the intersection point can be used as the nearest topological points, so as to further accurately construct the minimum unit triangle topological point set circle, thereby facilitating the provision of a variety of optional paths.
[0101] In summary, the topological points on the topological line where the intersection is located, and / or the topological points within the distance limit can be used as the nearest topological points, thereby working together to construct the minimum unit triangle topological point set circle of the intersection.
[0102] In step S204, the minimum unit triangle topological point set circle is obtained by connecting all the nearest topological points of the intersection. For example, the intersection has at least three nearest topological points, and at least three nearest topological points determine a minimum unit triangle, which is the minimum unit triangle topological point set circle.
[0103] But it is not limited to this. Other shapes such as circles and even faces defined by irregular shapes can also be used as the minimum unit triangular face topological point set circle.
[0104] Through the topological point configuration and the construction process of the minimum unit triangle topological point set circle as described above, the accuracy and reliability of path planning on the three-dimensional model of the subway station hall will be improved.
[0105] Through step S110 as described above, the determination of the starting topological point collection circle and the end topological point collection circle of the path planning initiated on the three-dimensional model of the subway station hall is realized. The starting topological point collection circle defines the first topological point that can be reached by the starting position, and the end topological point collection circle defines the last topological point that can be reached by the end position.
[0106] In step S120, minimum unit triangle topology point collection circles are distributed between the starting topology point collection circle and the ending topology point collection circle, and several minimum unit triangle topology point collection circles are searched therefrom to obtain available main path lines.
[0107] From the starting topological point collection circle to the ending topological point collection circle, the smallest unit triangle surface topological point collection circles with the closest distance to each other are searched one by one. The smallest unit triangle surface topological point collection circles with the closest distance to each other, together with the starting topological point collection circle and the ending topological point collection circle, constitute the main path line available for the current path planning.
[0108] The search for the smallest unit triangle topological point set circles that are closest to each other is to determine the nearest adjacent smallest unit triangle topological point set circles by distance calculation starting from the starting topological point set circle and / or the ending topological point set circle.
[0109] Starting from the starting topological point circle, the distance calculation is used to determine the next-hop minimum unit triangle topological point circle, and so on, to obtain several minimum unit triangle topological point circles distributed between the starting topological point circle and the end topological point circle to form an available main path line.
[0110] In addition, the end topological point circle can be used as the starting point, and the distance calculation can be used to determine the previous minimum unit triangle topological point circle. Similarly, several minimum unit triangle topological point circles distributed between the starting topological point circle and the end topological point circle can be obtained to form an available main path line.
[0111] It is also possible to start with the starting topological point set circle and the ending topological point set circle, and search for the next-hop minimum unit triangle surface topological point set circle and the previous-hop minimum unit triangle surface topological point set circle in parallel, so as to quickly construct an available main path line.
[0112] In summary, the search for the minimum unit triangle topological point circle can start from the starting topological point circle, or from the ending topological point circle, or even from both ends of the starting topological point circle and the ending topological point circle for concurrent calculation. It can be configured and deployed according to actual conditions.
[0113] The available main path line is constructed by multiple minimum unit triangle topological point collection circles, and each minimum unit triangle topological point collection circle along the line contains several topological points. For each minimum unit triangle topological point collection circle, only one of the topological points is needed to form the planned path. Therefore, it can be understood that the available main path line contains several paths, that is, the combination of any topological points in the minimum unit triangle topological point collection circle on the available main path line will constitute a path.
[0114] The available main path line provides multiple choices for the subsequent optimal path, so that the optimal path can be selected according to different optimal path constraints, topological point attribute information, and path attribute information of the topological line, so as to be suitable for various scenarios.
[0115] To further illustrate, in the search for several minimum unit triangle topological point set circles between the starting topological point set circle and the ending topological point set circle, the distance calculation performed is the distance calculation between the intersection points in adjacent minimum unit triangle topological point set circles.
[0116] As mentioned above, the intersection points identify and represent the minimum unit triangle topological point set circle, so the distance between the intersection points is regarded as the distance between two adjacent minimum unit triangle topological point set circles, which is used for searching the minimum unit triangle topological point set circle, reducing the computational cost and improving the response speed of path planning.
[0117] See also Figure 5 , Figure 5 is based on Figure 1 The corresponding embodiment shows a method flow chart of searching for a number of minimum unit triangle surface topological point set circles between the starting topological point set circle and the ending topological point set circle to form a main path line step.
[0118] The step S120 of searching for a plurality of minimum unit triangle surface topological point set circles between the starting topological point set circle and the ending topological point set circle to form an available main path line provided in the embodiment of the present application includes:
[0119] Step S121, for the minimum unit triangle topology point set circle between the starting topology point set circle and the ending topology point set circle, distances between adjacent minimum unit triangle topology point set circles are calculated;
[0120] Step S122, determining the minimum unit triangle topological point set circle corresponding to each other with the shortest distance by calculating the obtained distance;
[0121] Step S123, constructing an available main path line by using the starting topological point set circle, the minimum unit triangle surface topological point set circle corresponding to each other with the shortest distance, and the end point topological point set circle.
[0122] The following is a detailed description of these two steps.
[0123] In step S121, a number of minimum unit triangle topology point collection circles are distributed between the starting topology point collection circle and the ending topology point collection circle. For the starting topology point collection circle and the ending topology point collection circle, it is necessary to select the minimum unit triangle topology point collection circle with the shortest distance between them.
[0124] As pointed out above, starting from the starting topological point set circle or the ending topological point set circle, the distance calculation is iteratively performed on the next smallest unit triangle topological point set circle or the previous smallest unit triangle topological point set circle to determine the smallest unit triangle topological point set circles that are closest to each other, until the distance calculation between the ending topological point set circle or the starting topological point set circle is completed.
[0125] The distance calculations between each other are performed on a minimum unit triangle topological point set circle and several adjacent minimum unit triangle topological point sets respectively, so as to search for the minimum unit triangle topological point set circle with the closest distance to each other.
[0126] As the distance calculation proceeds, in the execution of step S122 , a circle of minimum unit triangle topological points corresponding to each other with the minimum distance is determined according to the calculated distance.
[0127] Therefore, in the execution of step S123, the available main path line is composed of the starting topological point set circle, the minimum unit triangle surface topological point set circle corresponding to each other with the shortest distance, and the end point topological point set circle.
[0128] Through the exemplary embodiment described above, several minimum unit triangle surface topological point collection circles distributed between the starting topological point collection circle and the ending topological point collection circle are screened to further narrow the range of topological point selection, so as to reduce the amount of calculation in the subsequent steps and quickly obtain the optimal topological point.
[0129] For further explanation, see Figure 6 , Figure 6 is based on Figure 5 The corresponding embodiment shows a method flow chart describing the steps of calculating the distance between adjacent minimum unit triangle topological point set circles for the minimum unit triangle topological point set circle located between the starting topological point set circle and the ending topological point set circle.
[0130] The step S121 of calculating the distance between adjacent minimum unit triangle surface topological point set circles provided in the embodiment of the present application for the minimum unit triangle surface topological point set circle located between the starting topological point set circle and the ending topological point set circle includes:
[0131] Step S1211, determining the minimum unit triangle topological point set circle between the starting topological point set circle and the ending topological point set circle;
[0132] Step S1212, starting from the intersection point in the starting topological point set circle and / or the ending topological point set circle, calculate the distance with the intersection point in the adjacent minimum unit triangle topological point set circle to obtain the distance between adjacent minimum unit triangle topological point set circles.
[0133] Both the starting topological point collection circle and the ending topological point collection circle are minimum unit topological point collection circles. Therefore, the distance calculation between adjacent minimum unit triangle surface topological point collection circles includes the distance calculation between the starting topological point collection circle and its adjacent minimum unit triangle surface topological point collection circles, the distance calculation between the ending topological point collection circle and its adjacent minimum unit triangle surface topological point collection circles, and the distance calculation between a minimum unit triangle surface topological point collection circle with the shortest distance from the previous or next minimum unit triangle surface topological point collection circle and its adjacent minimum unit triangle surface topological point collection circles.
[0134] As mentioned above, the intersection point can identify and characterize the smallest unit triangle topological point set circle. Therefore, the distance calculation between the smallest unit triangle topological point set circles is performed based on the corresponding intersection points to reduce the amount of calculation, reduce the calculation cost, and improve the speed.
[0135] After completing the search for available main path lines between the starting topological point set circle and the ending topological point set circle by executing step S120, the optimal topological point can be selected based on the topological points provided by the available main path lines for each node of the planned path.
[0136] The available main path line includes several minimum unit triangle surface topological point set circles including the starting topological point set circle and the ending topological point set circle. Each minimum unit triangle surface topological point set circle includes several topological points on the node that can be selected as the optimal topological points as a node on the planned path. The several topological points referred to are the topological points in the minimum unit triangle surface topological point set.
[0137] As the distance calculation between adjacent minimum unit triangle topological point collection circles is continuously performed recursively between the starting topological point collection circle and the ending topological point collection circle, the distance between adjacent minimum unit triangle topological point collection circles can be obtained, and then the minimum unit triangle topological point set on the available main path line can be determined based on the distance.
[0138] After searching the minimum unit triangle topology point set circle to obtain the available main path line in step S120, the optimal topology point can be selected for each node on the available main path line, that is, each minimum unit triangle topology point set circle.
[0139] Specifically, in step S130, a distance collision detection of topological points is performed on adjacent minimum unit triangle topological point collection circles on the available main path line to determine two topological points corresponding to the minimum topological point distance between two adjacent minimum unit triangle topological point collection circles. It should be noted that the two topological points corresponding to the minimum topological point distance are respectively located in two adjacent minimum unit triangle topological point collection circles.
[0140] Distance collision detection refers to the input of two adjacent minimum unit triangle topological point set circles, iterative calculation of the topological points contained in the two adjacent minimum unit triangle topological point set circles, and output of the distance between the topological points belonging to the two adjacent minimum unit triangle topological point set circles.
[0141] The minimum topological point distance is obtained from the output topological point distances, and then the two topological points mapped by the minimum topological point distance are the optimal topological points in the topological point set circle of the minimum unit triangle face.
[0142] In summary, for two adjacent minimum unit triangle topological point set circles on the available main path line, the topological points in the two adjacent minimum unit triangle topological point set circles are iteratively collided to output the topological point distance. Any two topological points belonging to two adjacent minimum unit triangle topological point sets are mapped by distance collision detection to obtain the topological point distance.
[0143] The available main path line provides the most suitable topological points for screening the optimal topological points on each node, that is, the surface formed by it is closest to the previous node and the next node, which is adapted to the minimum distance principle. On this basis, the secondary screening based on distance collision detection greatly reduces the amount of calculation and improves the calculation speed.
[0144] See also Figure 7 , Figure 7It is a method flow chart describing the steps of performing distance collision detection of topological points between adjacent minimum unit triangle topological point collection circles on the available main path line and obtaining the optimal topological point in each minimum unit triangle topological point collection circle according to the corresponding embodiment 2.
[0145] The step S130 of performing distance collision detection of topological points between adjacent minimum unit triangle topological point collection circles on the available main path line to obtain the optimal topological point in each minimum unit triangle topological point collection circle provided in the embodiment of the present application includes:
[0146] Step S131, for two adjacent minimum unit triangle topology point collection circles on the available main path line, a distance collision detection of topological points between the two minimum unit triangle topology point collection circles is performed to obtain the topological point distance between each topological point in a minimum unit triangle topology point collection circle and each topological point in the next minimum unit triangle topology point collection circle;
[0147] Step S132, determining the minimum topological point distance from the obtained topological point distances;
[0148] Step S133, determining two topological points of the minimum topological point distance mapping, and selecting the topological point as the optimal topological point in the topological point set circle of the minimum unit triangle face.
[0149] These steps are described in detail below.
[0150] As mentioned above, each minimum unit triangle topological point set circle determines a face, and two adjacent minimum unit triangle topological point set circles are the two faces closest to each other. Therefore, by performing distance collision detection on several topological points distributed on one face and several topological points distributed on another face, the optimal topological point of each face can be screened out, that is, the two topological points closest to each other can be further found to continuously ensure that the final path is optimal in distance.
[0151] Through the iterative distance collision detection, the topological point distances of the topological points mapped between two topological points are obtained, and then the minimum topological point distance is determined. At this point, the two topological points with the minimum topological point distance mapped in the two adjacent minimum unit triangle topological point set circles are the optimal topological points, which will be used to construct the optimal path.
[0152] After obtaining the optimal topological point between the starting position and the end position by executing step S130, the optimal path between the starting position and the end position in the three-dimensional model of the subway station hall can be generated by step S140.
[0153] In step S140, the optimal topological point between the starting position and the end position is actually the key point of the planned path, and the optimal path between the starting position and the end position in the three-dimensional model of the subway station hall will be generated based on this.
[0154] The optimal topological point used to generate the optimal path, the line connecting adjacent optimal topological points constitutes a topological line, and the topological line has associated path attribute information. The path attribute information describes the path passage rules applicable to the corresponding topological line, for example, it indicates whether the corresponding topological line is applicable to forward or backward path passage, and the specific scenarios applicable to the forward and / or backward path passage, for example, the forward and / or backward path passage is only valid in the fire fighting scene.
[0155] The path attribute information associated with the topological line is generated based on the topological point attribute information of the two optimal topological points on the topological line. Exemplarily, the topological point attribute information includes plane topological point information, double-layer topological point information, and multi-layer topological point information.
[0156] The plane topological point information refers to the topological point attributes of the plane located on a floor. For example, the plane topological point information indicates whether the corresponding topological point is located on a door, fire escape, room or corridor on a floor.
[0157] Double-layer topological point information refers to the attribute information of topological points located between two floors. For example, for topological points located on facilities that only span one floor, such as escalators, stairs, etc., their double-layer topological point information indicates their path planning, for example, they can only go up or down.
[0158] Multi-layer topological point information refers to the attribute information of topological points located between multiple floors. For example, topological points distributed in vertical elevators and other multi-layered structures can indicate the rules of reachable floors through their multi-layer topological point information, such as odd and even floors, designated floors, high floors, low floors, and excluded floors (unreachable floors).
[0159] The path attribute information associated with the topological line is configured according to the topological point attribute information, so that in the path generation, the optimal topological points can be screened again according to the path attribute information of the topological line formed by the optimal topological points to finally obtain the topological point sequence. The optimal topological points in the topological point sequence are suitable for path passage, for example, excluding the optimal topological points located on the wall and the optimal topological points where the topological line penetrates the room.
[0160] The optimal topological points are screened according to the path attribute information of the topological lines formed by the optimal topological points to obtain a number of topological points, which are arranged in sequence to form a topological point sequence.
[0161] The distribution of the optimal topological points between the starting position and the end position in the three-dimensional model of the subway station hall includes single-layer distribution and multi-layer distribution. Therefore, the topological point sequence needs to be adapted to the distribution of the optimal topological points in the three-dimensional model of the subway station hall to generate the optimal path. Therefore, the obtained optimal path includes a single-layer path and a cross-layer path.
[0162] In an exemplary embodiment, the topological points in the topological point sequence are all distributed on the same floor, that is, the topological points are distributed in a single layer. At this time, the topological points in the topological point sequence can be sequentially connected to obtain the optimal path from the starting position to the end position in the three-dimensional model of the subway station hall.
[0163] In another exemplary embodiment, the topological points in the topological point sequence are cross-layer, that is, the topological points are distributed in multiple layers. The topological points in the topological point sequence belong to different floors. Specifically, for a cross-floor topological line, the two topological points at both ends thereof are distributed in different layers. At this time, it is necessary to calculate and add the cross-layer necessary points between the two, so as to generate a cross-layer path by the topological points in the topological point sequence and the cross-layer necessary points.
[0164] See also Figure 8 , Figure 8 is based on Figure 2 A flowchart of a method for generating an optimal path between a starting position and an end position in a three-dimensional model of a subway station hall through optimal topological points is shown in a corresponding embodiment.
[0165] The step S140 of generating the optimal path between the starting position and the end position in the three-dimensional model of the subway station hall by using the optimal topological point provided in the embodiment of the present application includes:
[0166] Step S141, filtering a topological point sequence according to the path attribute information of the topological line formed by the optimal topological point, wherein the topological point sequence is formed by the sequence of topological points obtained by performing distance collision detection on a set of adjacent minimum unit triangle topological points on the main path line;
[0167] Step S142: adapt the starting position and the ending position of the topological point in the topological point sequence to generate a single-layer path and / or a cross-layer path to obtain an optimal path.
[0168] These two steps are described in detail below.
[0169] In step S141, the optimal topological points obtained in step S130 are screened according to the attribute information of the constructed topological line path to obtain a plurality of topological points, and the topological points sequentially constitute a topological point sequence.
[0170] It can be understood that the execution of step S141 is a secondary screening of the topological points obtained by the distance collision detection, that is, it is performed based on the primary screening of the obtained optimal topological points.
[0171] In step S142, it should be explained first that the path generated by the current path planning can be determined as a single-layer path or a cross-layer path based on the distribution of topological points in the three-dimensional model of the subway station hall and the topological lines obtained by connecting adjacent topological points.
[0172] When the topological points in the topological point sequence are distributed in a single layer in the three-dimensional model of the subway station hall, or when the topological lines obtained by connecting adjacent topological points in the topological point sequence are in the same plane, the topological points in the topological point sequence are sequentially connected to obtain a single-layer path.
[0173] When the topological points in the topological point sequence are distributed in multiple layers in the three-dimensional model of the subway station hall, or when the topological line obtained by connecting adjacent topological points in the topological point sequence crosses floors, the cross-layer points that must be passed between this pair of adjacent topological points are calculated to generate the optimal path.
[0174] See also Fig. 9 , Fig. 9 is based on Figure 8 A flowchart of a method for describing the steps of adapting the starting position and the ending position of the topological points in the topological point sequence to generate a single-layer path and / or a cross-layer path and obtaining an optimal path is shown in the corresponding embodiment.
[0175] The step S142 of adapting the starting position and the ending position of the topological point in the topological point sequence to generate a single-layer path and / or a cross-layer path to obtain the optimal path includes:
[0176] Step S1421, searching the topological point sequence for adjacent topological points belonging to different floors on the three-dimensional model of the subway station hall according to the topological point attribute information, wherein one of the adjacent topological points is a cross-layer topological point relative to another topological point;
[0177] Step S1422, calculating the necessary cross-layer points between adjacent topological points belonging to different floors, and adding the calculated necessary cross-layer points between the adjacent topological points;
[0178] In step S1423, a cross-layer path is generated as an optimal path through the topological points and the cross-layer necessary points in the topological point sequence.
[0179] These steps are described in detail below.
[0180] In step S1421, as mentioned above, the topological point attribute information indicates that its topological point is in the plane of one floor (single-layer topological point information), or is a cross-layer key point of two floors (double-layer topological point information), or is a cross-layer key point of multiple floors (multi-layer topological point information).
[0181] Therefore, according to the topological point attribute information of each topological point in the topological point sequence, it is determined that the topological points in the topological point sequence are distributed in multiple layers. At this time, it is necessary to search for adjacent topological points belonging to different floors on the three-dimensional model of the subway station hall for the multi-layer distributed topological points, that is, two adjacent topological points belong to different floors.
[0182] After finding adjacent topological points belonging to different floors on the three-dimensional model of the subway station hall according to the topological point attribute information or the topological lines obtained by connecting the topological points, the cross-floor necessary points can be calculated through step S1422.
[0183] In step S1422, the cross-layer necessary points refer to the topological points that must be passed in the cross-layer path passage of more than two floors. The cross-layer necessary points are determined by a pre-constructed tree model between the adjacent topological points that are found to belong to different floors. The tree model describes the cross-layer topological points distributed between the floors to which the adjacent topological points belong, the multi-layer topological points located in the transfer layer, etc. For example, the cross-layer topological points can be located in an escalator that spans only one floor. For another example, the multi-layer topological points located in the transfer layer include topological points that can span multiple floors in a vertical elevator, that is, multi-layer topological points, and topological points located on the transfer layer.
[0184] The tree model represents the accessible paths between floors. Therefore, the cross-layer necessary points can be obtained through search calculations on the tree model, and then the obtained cross-layer necessary points can be added between adjacent topological points.
[0185] Thereby, the original topological point sequence is expanded, so that in the execution of step S1423, a cross-layer path can be generated through the original topological points in the topological point sequence and the added cross-layer necessary points.
[0186] It should be understood that the generation of cross-layer paths is not limited to this. The problem of cross-layer passage can also be handled by searching for the smallest unit triangle topological point circle between the starting topological point circle and the ending topological point circle, thereby obtaining an available main path line for cross-layer passage.
[0187] Therefore, based on the available main path line for cross-layer passage, the optimal topological point for cross-layer passage can be obtained by distance collision detection of topological points between adjacent minimum unit triangle face collection circles on it.
[0188] At this point, the optimal path between the starting position and the end position in the three-dimensional model of the subway station hall can be generated through the optimal topological points.
[0189] For details, please refer to Fig.10 , Fig.10 is based on Figure 2The corresponding embodiment is a flow chart of a method for describing the steps of searching for a number of minimum unit triangle surface topological point collection circles between the starting topological point collection circle and the ending topological point collection circle to form an available main path line.
[0190] The step S120 of searching for a plurality of minimum unit triangle surface topological point set circles between the starting topological point set circle and the ending topological point set circle to form an available main path line provided in the embodiment of the present application includes:
[0191] Step S301, constructing a must-pass point topological point set circle between adjacent minimum unit triangle surface topological point set circles belonging to different floors with the cross-layer must-pass point as the center;
[0192] Step S302, forming an available main path line through the must-pass point topological point set circle and the searched minimum unit triangle surface topological point set circles.
[0193] These two steps are described in detail below.
[0194] In step S301, it should be noted that the starting position and the ending position belong to different floors, so the starting topological point set circle and the ending topological point set circle must also belong to different floors.
[0195] There are several minimum unit triangle topological point collection circles between the starting topological point collection circles and the ending topological point collection circles belonging to different floors. On the one hand, it is necessary to search for them to obtain the adjacent minimum unit triangle topological point collection circles with the closest distances to each other.
[0196] As described above, for the minimum unit triangle topological point set circle located between the starting topological point set circle and the ending topological point set circle, the distance between adjacent minimum unit triangle topological point set circles is calculated, and the minimum unit triangle topological point set circles corresponding to the closest distances are determined by calculating the distances.
[0197] On this basis, the topological point set circles of the adjacent minimum unit triangle surfaces belonging to different floors are constructed with the existing cross-layer necessary points as the center.
[0198] As mentioned above, the cross-layer necessary points are the topological points that must be passed in the cross-layer path. The cross-layer necessary points are calculated by the aforementioned tree model. After the cross-layer necessary points are determined, a necessary point topological point set circle is constructed with the cross-layer necessary points as the center.
[0199] Specifically, the topological points of the topological line where the cross-layer necessary points are located and / or the topological points within the distance limit are located, so that the located topological points and the cross-layer necessary points together form a necessary point topological point set circle.
[0200] In step S302, the must-pass topological point set circle and the searched minimum unit triangles together form an available main path line.
[0201] At this point, after obtaining the optimal topological point from the distance collision detection of topological points between adjacent minimum unit triangle face topological point set circles on the available main path line, a topological point sequence is obtained accordingly, and the topological points in the topological point sequence are sequentially connected to obtain a cross-layer path.
[0202] After implementing the path planning between the starting position and the end position in the three-dimensional model of the subway station hall, the obtained optimal path is rendered and displayed on the three-dimensional model of the subway station hall, thereby guiding passengers to quickly reach the end position.
[0203] In the display of the optimal path planned on the 3D model of the subway station hall, as the scene of the 3D model of the subway station hall changes, the path needs to be replanned to ensure that the presented path can adapt to the current scene.
[0204] It should be understood that the scene change referred to includes but is not limited to the change from a normal scene to a fire scene. For a subway station hall, once a scene change occurs, the internal building facilities will also change. For example, after entering a fire scene, some walls or doors may be removed for passage, or some escalators may be suspended. Therefore, the topological points distributed on the three-dimensional model of the subway station hall will change, such as the failure of some configured topological points and / or the addition of new topological points.
[0205] After the topological points are updated, the minimum unit triangle topological point set circle is reconstructed, and then the path replanning is implemented based on the reconstructed minimum unit triangle topological point set circle.
[0206] See also Fig.11 , Fig.11 The method for implementing flexible path planning in subway station halls by applying digital twin technology provided in the present application includes:
[0207] Step S410, responding to the scene change of the 3D model of the subway station hall, linking and updating the topological points configured in the 3D model of the subway station hall;
[0208] Step S420, reconstructing the minimum unit triangle surface topological point set circle distributed in the three-dimensional model of the subway station hall by adapting to the topological points updated in linkage;
[0209] Step S430, replanning the path through the reconstructed minimum unit triangle topological point set circle.
[0210] These steps are described in detail below.
[0211] In step S410, the scene change of the subway station hall 3D model refers to the 3D model of the subway station hall adapting to the changes of the actual subway station hall, and entering a new scene from the current scene. The configuration of the topological points in the new scene is different from that in the current scene, and the topological points configured in the 3D model of the subway station hall will be updated based on the new scene linkage.
[0212] Specifically, the execution process of step S410 includes: sensing the new scene transition caused by the physical environment simulation of the subway station hall three-dimensional model, triggering the acquisition of the association relationship data of the transition to the new scene, and the association relationship data stipulates the building facility changes that occur when the transition to the new scene occurs;
[0213] Then, the three-dimensional model of the subway station hall of the building facilities is transformed according to the association relationship data, and the invalid configured topological points and / or newly added topological points are adapted to the transformation of the building facilities according to the topological point information.
[0214] That is to say, the three-dimensional model of the subway station hall is adapted to the real subway station hall to simulate its physical environment. For example, when a fire alarm occurs, the model enters the fire scene, which is a new scene.
[0215] The association data corresponds to the scene, and the association data corresponding to the new scene stipulates the changes in building facilities that occur when entering the new scene. In other words, the association data defines the changes in building facilities under specific conditions (the conditions correspond to the new scene), for example, the removal of walls or doors in the new scene, the shutdown or start of various building equipment, etc., which are not listed here one by one.
[0216] For the three-dimensional model of the subway station hall rendered and displayed to the user, the building facilities are transformed according to the association relationship data so that the three-dimensional model of the subway station hall entering the new scene is consistent with the actual subway station hall.
[0217] After the transformation of the building facilities in the three-dimensional model of the subway station hall in the new scene is completed, the topological points attached to the corresponding planes of the invalid and demolished building facilities, the out-of-service building facilities, etc., and the new topological points are added to the corresponding planes of the newly added building facilities, such as the opened building facilities.
[0218] Therefore, before invalidating the configured topological points and / or adding new topology, the building facilities in the three-dimensional model of the subway station hall will be transformed, that is: the physical characteristics and / or functional characteristics of the building facilities in the three-dimensional model of the subway station hall will be transformed according to the association relationship data, wherein the transformation of physical characteristics includes the demolition and addition of building facilities, and the transformation of functional characteristics includes the opening and closing of the functions of the building facilities.
[0219] The 3D model of the subway station hall describes the distribution of building facilities, as well as their physical and functional characteristics. Therefore, the entry of new scenes will lead to changes in the distributed building facilities, which include changes in the physical and / or functional characteristics of the building facilities. The topological points are updated as the building facilities in the 3D model of the subway station hall are transformed.
[0220] As the building facilities on the three-dimensional model of the subway station hall change, the building facilities in the three-dimensional model of the subway station hall are demolished and / or added, the topological points distributed on the building facilities are determined according to the topological point attribute information, and according to the distribution of the topological points on the determined building facilities, the configured topological points and / or new topological points are invalidated for the demolished and / or newly added building facilities.
[0221] In addition, the functions of the building facilities in the three-dimensional model of the subway station hall are opened and closed by determining the topological points distributed on the building facilities based on the topological point attribute information. Then, according to the distribution of the topological points on the determined building facilities, the configured topological points are invalidated and / or new topological points are added for the building facilities whose functions are closed and / or opened.
[0222] After the topological points are updated in a linked manner, the distribution of topological points on the three-dimensional model of the subway station hall is different from the distribution of topological points used for path planning before. Therefore, it is necessary to reconstruct the circle of topological points of the smallest unit triangle to provide support for accurate path planning.
[0223] Based on this, the execution process of step S420 includes: for the topological points in the three-dimensional model of the subway station hall obtained by linkage update, several nearest topological points of the intersections are determined by connecting the intersections, and the nearest topological points are formed into a minimum unit triangle surface topological point set circle.
[0224] It should be understood that, facing the new topological point distribution, the reconstruction is carried out according to the construction process of the minimum unit triangle topological point set circle, that is:
[0225] For the new topological point distribution in the three-dimensional model of the subway station hall, several nearest topological points of the intersection are determined by connecting the intersection points, and they constitute the minimum unit triangle surface topological point set circle.
[0226] The nearest topological point is relative to the intersection point, which includes the topological point of the topological line where the intersection point is located and / or the topological point within the distance limit.
[0227] After completing the reconstruction of the minimum unit topological point set circle, the path replanning can be performed based on the reconstructed minimum unit triangle surface topological point set circle.
[0228] Specifically, the starting topological point set circle and the ending topological point set circle corresponding to the starting position and the ending position of the path planning are determined through the minimum unit triangle topological point set circle reconstructed by the topological points in the three-dimensional model of the subway station hall; then, several minimum unit triangle topological point set circles are searched between the starting topological point set circle and the ending topological point set circle to form an available main path line, and the distance collision detection of topological points is performed between adjacent minimum unit triangle topological point set circles on the available main path line to obtain the optimal topological point in each minimum unit triangle topological point set circle; finally, the optimal path between the starting position and the ending position in the three-dimensional model of the subway station hall is generated through the optimal topological point.
[0229] At this point, the path planning that has been carried out is adapted to the scene changes and the path re-planning is realized in a quick response. With the support of topological points, the smallest unit triangle topological point set circle supported by topological points and the optimal topological points, multiple selections are implemented for the distribution of topological points on the three-dimensional model of the subway station hall, so as to finally obtain the optimal path, providing the user side with a lightweight path planning implementation, and under the control of topological points, ensuring that the planned path will not be inaccessible. It is an accurate and flexible path planning process.
[0230] The following is a specific example to illustrate the process of using digital twin technology to achieve flexible path planning in subway station halls as described above.
[0231] See also Fig.12 , Fig.12 The schematic diagram of a three-dimensional model of a subway station hall in an example is shown. In this three-dimensional model of the subway station hall, a number of topological points are configured, such as node1, node2, ... For these topological points, the minimum unit triangular surface topological point set circle is constructed by connecting the respective lines, such as topological lines linke1, linke2, ..., and the intersection points obtained by intersecting are constructed, that is, the closed figure constructed in the figure, which can be a triangle, and other figures, which are not limited here.
[0232] For this purpose, the minimum unit triangle topology point set circle can be searched based on the minimum unit triangle topology point set circle to form an available main path line.
[0233] The optimal topological point is selected for each minimum unit triangle topological point collection circle by performing distance collision detection of topological points between adjacent minimum unit triangle topological point collection circles on the available main path line.
[0234] The topological point sequence is screened according to the path attribute information of the topological line formed by the optimal topological point, thereby excluding the topological points whose paths are not passable, such as Fig.12 The node 20 shown in FIG. 1 makes the optimal path generated based on the topological points in the topological point sequence flexible and accurate.
[0235] See also Fig.13 According to one embodiment of the present application, Fig.13 A device for implementing flexible path planning in a subway station hall using digital twin technology is provided. The device for implementing flexible path planning in a subway station hall using digital twin technology includes:
[0236] The surface determination unit 510 is used to determine the starting topological point set circle and the ending topological point set circle corresponding to the starting position and the ending position respectively through the minimum unit triangular surface topological point set circle formed by the topological points in the subway station hall three-dimensional model;
[0237] A path line construction unit 520 is used to search for a number of minimum unit triangle surface topological point collection circles between the starting topological point collection circle and the ending topological point collection circle to form an available main path line;
[0238] A collision detection unit 530 is used to perform distance collision detection of topological points between adjacent minimum unit triangle topological point collection circles on the available main path line to obtain the optimal topological point in each minimum unit triangle topological point collection circle;
[0239] The path generation unit 540 is used to generate an optimal path between the starting position and the end position in the three-dimensional model of the subway station hall through the optimal topological point.
[0240] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the implementation method of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation method of the present application.
[0241] In an exemplary embodiment of the present application, a computer program medium is further provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer is enabled to execute the method described in the above method embodiment.
[0242] According to one embodiment of the present application, a program product for implementing the method in the above method embodiment is also provided, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited to this. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0243] The program product may be any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0244] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0245] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0246] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0247] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0248] In addition, although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0249] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the implementation method of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation method of the present application.
[0250] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the appended claims.
Claims
1. A flexible path planning method for a subway station hall, characterized in that: The method comprises: Determine the starting topology point collection circle and the ending topology point collection circle corresponding to the starting position and the ending position respectively through the minimum unit triangle surface topology point collection circle formed by the topological points in the three-dimensional model of the subway station hall, the minimum unit triangle surface topology point collection circle is the minimum unit plane determined by a number of nearest topological points, and the minimum unit triangle surface topology point collection circle is distributed in the walkable area, the starting topology and the ending topology point collection circle are determined by the distance calculation between the starting position and the minimum unit triangle surface topology point collection circle, and between the ending position and the minimum unit triangle surface topology point collection circle, and the distance calculation is the distance calculation between the intersection points in the minimum unit triangle surface topology point collection circle; Determine the minimum unit triangle topological point set circle between the starting topological point set circle and the ending topological point set circle; Starting from the intersection point in the starting topological point set circle and / or the ending topological point set circle, the distance between adjacent minimum unit triangle topological point set circles is obtained by calculating the distance with the intersection point in the adjacent minimum unit triangle topological point set circle; Determine the minimum unit triangle topological point set circle corresponding to the closest distance between each other by calculating the distance obtained; The available main path line is constructed by the starting topological point set circle, the minimum unit triangle surface topological point set circle corresponding to the shortest distance between each other, and the end point topological point set circle; Perform distance collision detection of topological points between adjacent minimum unit triangle topological point set circles on the available main path line to obtain the optimal topological point in each minimum unit triangle topological point circle; The optimal path between the starting position and the end position in the three-dimensional model of the subway station hall is generated through the optimal topological point.
2. The method according to claim 1, characterized in that: Before determining the starting topological point set circle and the ending topological point set circle corresponding to the starting position and the ending position respectively through the minimum unit triangle surface topological point set circle formed by the topological points in the subway station hall three-dimensional model, the method further includes: For the topological points distributed in the three-dimensional model of the subway station hall, several nearest topological points of the intersections are determined by connecting the intersections, and the nearest topological points are used to form a minimum unit triangle surface topological point set circle.
3. The method according to claim 2, characterized in that The topological points distributed in the three-dimensional model of the subway station hall are determined by connecting the intersection points to obtain several nearest topological points of the intersection points, and the nearest topological points are used to form a minimum unit triangle surface topological point set circle, including: Load and render the building structure model to obtain a three-dimensional model of the subway station hall; Configuring topological points on the rendered three-dimensional model of the subway station hall, wherein the topological points are attached to the plane presented in the three-dimensional model of the subway station hall; Connecting the topological points to form topological lines, and determining intersection points formed between the topological lines; The topological point of the topological line where the intersection is located and / or the topological point within the distance limit are regarded as the nearest topological point; The nearest topological points constitute a minimum unit triangle topological point set circle.
4. The method according to claim 1, characterized in that The method of determining the starting topological point set circle and the ending topological point set circle corresponding to the starting position and the ending position respectively through the minimum unit triangle surface topological point set circle formed by the topological points in the subway station hall three-dimensional model includes: For the starting position and the end position respectively, determine the smallest unit triangle topological point set circle with the closest distance from the smallest unit triangle topological point set circle formed by the topological points in the three-dimensional model of the subway station hall; The smallest unit triangle topological point collection circle closest to the starting position is taken as the starting topological point collection circle, and the smallest unit triangle topological point collection circle closest to the ending position is taken as the ending topological point collection circle.
5. The method according to claim 1, characterized in that: The distance collision detection of topological points between adjacent minimum unit triangle topological point collection circles on the available main path line to obtain the optimal topological point in each minimum unit triangle topological point collection circle includes: For two adjacent minimum unit triangle topology point collection circles on the available main path line, the distance collision detection of the topology points between the two minimum unit triangle topology point collection circles is performed to obtain the topology point distance between each topology point in a minimum unit triangle topology point collection circle and each topology point in the next hop minimum unit triangle topology point collection circle; Determine the minimum topological point distance from the obtained topological point distances; Determine two topological points of the minimum topological point distance mapping, and select the topological points as the optimal topological points in the topological point set circle of the minimum unit triangle face.
6. The method according to claim 1, characterized in that The optimal topological points sequentially constitute a topological point sequence on the available main path line, and the optimal path between the starting position and the end position in the subway station hall three-dimensional model is generated through the optimal topological points, including: Filter a topological point sequence according to the path attribute information of the topological line formed by the optimal topological point, wherein the topological point sequence is formed by the sequence of topological points obtained by performing distance collision detection on a set of adjacent minimum unit triangle surface topological points on the available main path line; The topological points in the topological point sequence are adapted to the starting position and the ending position to generate a single-layer path and / or a cross-layer path to obtain an optimal path.
7. The method according to claim 1, characterized in that The adjacent minimum unit triangular surface topological point collection circles constituting the available main path line belong to different floors, and the step of searching for a plurality of minimum unit triangular surface topological collection circles between the starting topological point collection circle and the ending topological point collection circle to form the available main path line includes: A must-pass point topological point set circle is constructed between adjacent minimum unit triangle surface topological point set circles belonging to different floors with the cross-layer must-pass point as the center; An available main path line is formed by the must-pass topological point set circle and a number of searched minimum unit triangle surface topological point set circles.
8. A device for implementing flexible path planning in subway station halls using digital twin technology, characterized in that: The device comprises: A surface determination unit is used to determine a starting topology point set circle and an ending topology point set circle corresponding to a starting position and an ending position respectively through a minimum unit triangular surface topology point set circle formed by topological points in a three-dimensional model of a subway station hall, wherein the minimum unit triangular surface topology point set circle is a minimum unit plane determined by a number of nearest topological points, and the minimum unit triangular surface topology point set circle is distributed in a walkable area, and the starting topology and the ending topology point set circle are determined by distance calculation between the starting position and the minimum unit triangular surface topology point set circle, and between the ending position and the minimum unit triangular surface topology point set circle, and the distance calculation is a distance calculation between intersection points in the minimum unit triangular surface topology point set circle; A path line construction unit, used to determine a minimum unit triangular face topological point set circle between a starting topological point set circle and an ending topological point set circle; Starting from the intersection point in the starting topological point set circle and / or the ending topological point set circle, the distance between adjacent minimum unit triangle topological point set circles is obtained by calculating the distance with the intersection point in the adjacent minimum unit triangle topological point set circle; Determine the minimum unit triangle topological point set circle corresponding to the closest distance between each other by calculating the distance obtained; The available main path line is constructed by the starting topological point set circle, the minimum unit triangle surface topological point set circle corresponding to the shortest distance between each other, and the end point topological point set circle; A collision detection unit is used to perform distance collision detection of topological points between adjacent minimum unit triangle topological point collection circles on the available main path line to obtain the optimal topological point in each minimum unit triangle topological point collection circle; A path generation unit is used to generate an optimal path between the starting position and the end position in the three-dimensional model of the subway station hall through the optimal topological point.
9. A computer program medium having computer-readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by a processor of a computer, the computer is caused to perform the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Large-scale virtual crowd routing method
CN101777093A
Variable resolution rapid path searching method
CN104391907A
