Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of a map resource visualization method according to an embodiment of the present invention. Fig. 2 is a schematic flowchart of a map resource visualization method according to an embodiment of the present invention. The map resource visualization method is applied to a server, the server and a terminal carry out data interaction, the server constructs a three-dimensional map of a rail transit station, acquires a station visualization command from the terminal, and superimposes the three-dimensional map of a target station on any real scene through an AR technology for visualization display according to the station visualization command, so that a user can know the internal structure of the rail transit station more intuitively; the three-dimensional map can display required functional equipment, access channels, pipelines and the like on the three-dimensional map, and is convenient for providing effective data support for emergency command decisions when an emergency event occurs.
Fig. 2 is a flowchart illustrating a map resource visualization method according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S150.
And S110, constructing a three-dimensional map of the rail transit station.
In the embodiment, a three-dimensional map of a rail transit station is constructed, the three-dimensional map is used as a carrier, video information, data information and spatial information of the rail transit station are integrated, and various dynamic, static, historical and real information are reflected to the comprehensive situation of real-time development and change states by means of information visualization technologies such as the three-dimensional map, three-dimensional simulation and virtual reality, and diversified visual visualization display is performed on the three-dimensional electronic map. The three-dimensional map has powerful visual performance capability, is beneficial to spatial analysis of a user based on three-dimensional lower level, and provides effective data support for emergency and early warning of rail transit.
Referring to FIG. 3, in one embodiment, step S110 includes steps S111-S114.
And S111, constructing an indoor structure three-dimensional map of each layer of space of the rail transit station.
In this embodiment, normally, most of the rail transit stations are of a multi-layer structure, the rail transit stations are firstly decomposed into a plurality of single-layer space structures, and the whole three-dimensional map of the whole rail transit station can be obtained by constructing the three-dimensional map of the indoor structure of each layer of space. Meanwhile, when the rail transit station three-dimensional map is used, the whole three-dimensional map of the rail transit station can be subjected to spring type stretching according to different levels, so that the structure of the rail transit station is clearer, and in addition, the three-dimensional map of the rail transit station can be subjected to perspective so as to visually check the indoor structure layout of each layer.
And S112, identifying the functional equipment and the access passage of the rail transit station at the corresponding position of the three-dimensional map.
In the embodiment, the functional equipment comprises an escalator, a gate, a ticket office, a customer service center and a toilet, and the access passage comprises an entrance, a fire passage, an emergency escape passage and a rescue passage. Through sign function device and access passage, can be quick fix a position concrete function device and access passage, when taking place emergency, quick issue early warning information, guide passenger or staff to evacuate through the access passage that corresponds.
And S113, dividing the three-dimensional map into different functional areas according to the application, and displaying the different functional areas in different colors in a distinguishing way.
In the present embodiment, the functional areas include, among others, an office area, a public area, a charging area, a non-charging area, a storage area, and a first aid area. Different functional areas are displayed in different colors in a distinguishing mode, and users can visually judge the different functional areas through the colors displayed on the three-dimensional map, so that resources and manpower can be rapidly scheduled. For example, the location of the storage area may be quickly located by area color and the staff may be notified to go to the storage area to remove emergency items, such as fire extinguishers and the like.
And S114, displaying pipelines in the rail transit station on the three-dimensional map in different colors.
In the embodiment, on the three-dimensional map, the pipelines (strong and weak electricity, fire protection, water supply and drainage, air exhaust and the like) in the rail transit station are distributed and trend in different colors, can be conveniently displayed or hidden according to types, and are convenient for maintenance and management and emergency response of emergent leakage events.
And S120, acquiring a site visualization command.
In this embodiment, the site visualization command includes the target site information. The rail transit stations in a large area can be multiple, each rail transit station is numbered or named in advance, corresponding three-dimensional map data are associated, when a station visualization command is issued, the corresponding number or name is added to the station visualization command, the corresponding three-dimensional map data can be obtained, and visualization display is carried out on the basis of the three-dimensional map data.
And S130, according to the site visualization command, superposing the three-dimensional map of the target site on any real scene through an AR technology for visualization display.
In the embodiment, the three-dimensional map of the target station is overlaid on any real scene through the AR technology for visual display, the requirement on the display scene is not high, the display can be carried out by means of the AR equipment at any time and any place, and the user can know the internal structure of the rail transit station more intuitively. Furthermore, various dynamic information, static information, historical information and actual information can be displayed on the three-dimensional electronic map in a diversified and visual manner. The three-dimensional map has powerful visual performance capability, is beneficial to spatial analysis of a user based on three-dimensional lower level, and provides effective data support for emergency and early warning of rail transit.
According to the method, the three-dimensional map of the rail transit station is constructed, and the three-dimensional map of the target station is superposed on any real scene through the AR technology for visual display according to the acquired station visual command, so that the internal structure of the rail transit station can be more visually known to a user; the three-dimensional map can display required functional equipment, access channels, pipelines and the like on the three-dimensional map, and is convenient for providing effective data support for emergency command decisions when an emergency event occurs.
Fig. 4 is a flowchart illustrating a method for visualizing a map resource according to another embodiment of the present invention. As shown in fig. 4, the map resource visualization method of the present embodiment includes steps S210 to S240. Steps S210 to S230 are similar to steps S110 to S130 in the above embodiments, and are not described herein again. The added step S240 in the present embodiment is explained in detail below.
And S240, acquiring a display command, and visually displaying the three-dimensional map according to the display command.
In this embodiment, after the three-dimensional map of the rail transit station is visually displayed, the area formulated in the three-dimensional map may be further displayed based on a display command continuously issued by the user through the terminal.
Referring to FIG. 5, in one embodiment, step S240 includes steps S241-S243.
And S241, analyzing the display command to acquire the scene information to be displayed and/or the path information to be displayed.
In this embodiment, the further presentation command includes the scene information to be presented and/or the path information to be presented, and by analyzing the presentation command, the scene information to be presented and/or the path information to be presented can be acquired, and corresponding scene presentation is performed based on the scene information to be presented and/or the path information to be presented.
And S242, positioning and displaying the corresponding functional area on the three-dimensional map according to the scene information to be displayed, and displaying/hiding functional equipment, access channels and pipelines in the functional area.
In this embodiment, according to the scene information to be displayed, the three-dimensional map can be controlled to further specifically display the corresponding functional area, and meanwhile, the user can adjust the display or hiding of the functional equipment, the access channel and the pipeline in the functional area according to the needs of the user, so as to perform better resource scheduling.
And S243, automatically cruising the three-dimensional map according to the information of the path to be displayed and the specific path, and automatically playing the video picture of the monitoring point when the monitoring point is automatically cruising.
In this embodiment, the three-dimensional map is automatically navigated according to the specific route according to the information of the path to be displayed, that is, automatically navigated along the preset specific route, so as to set the navigation speed, and when the scene navigates to the set monitoring point, the monitoring video picture corresponding to the monitoring point is automatically popped up, so as to better combine with the reality.
Specifically, the automatic cruise can be realized by using an AR suite device, and when the automatic cruise device is used, a user can freely ascend, descend, look up, overlook, turn left, turn right, fly and the like by supporting the operations of mouse, keyboard and rocker roaming in a site visual scene. Comprehensive functions and convenient operation.
Fig. 6 is a schematic block diagram of a map resource visualization apparatus provided in an embodiment of the present invention. As shown in fig. 6, the present invention also provides a map resource visualization apparatus corresponding to the above map resource visualization method. The map resource visualization device comprises a unit for executing the map resource visualization method, and the device can be configured in a desktop computer, a tablet computer, a portable computer, and the like. Specifically, referring to fig. 6, the map resource visualization method apparatus includes a map building unit 10, a command obtaining unit 20, a visualization unit 30, and an obtaining presentation unit 40.
The map building unit 10 is used for building a three-dimensional map of the rail transit station.
In the embodiment, a three-dimensional map of a rail transit station is constructed, the three-dimensional map is used as a carrier, video information, data information and spatial information of the rail transit station are integrated, and various dynamic, static, historical and real information are reflected to the comprehensive situation of real-time development and change states by means of information visualization technologies such as the three-dimensional map, three-dimensional simulation and virtual reality, and diversified visual visualization display is performed on the three-dimensional electronic map. The three-dimensional map has powerful visual performance capability, is beneficial to spatial analysis of a user based on three-dimensional lower level, and provides effective data support for emergency and early warning of rail transit.
Referring to FIG. 7, in one embodiment, the map building unit 10 includes a map building module 11, an identification module 12, an area display module 13, and a pipeline display module 14.
And the map building module 11 is used for building an indoor structure three-dimensional map of each layer of space of the rail transit station.
In this embodiment, normally, most of the rail transit stations are of a multi-layer structure, the rail transit stations are firstly decomposed into a plurality of single-layer space structures, and the whole three-dimensional map of the whole rail transit station can be obtained by constructing the three-dimensional map of the indoor structure of each layer of space. Meanwhile, when the rail transit station three-dimensional map is used, the whole three-dimensional map of the rail transit station can be subjected to spring type stretching according to different levels, so that the structure of the rail transit station is clearer, and in addition, the three-dimensional map of the rail transit station can be subjected to perspective so as to visually check the indoor structure layout of each layer.
The identification module 12 is used for identifying functional equipment and an access channel of the rail transit station at a corresponding position of the three-dimensional map, the functional equipment comprises an escalator, a gate, a ticket selling department, a customer service center and a toilet, and the access channel comprises an access, a fire fighting channel, an emergency escape channel and a rescue channel.
In the embodiment, the functional equipment comprises an escalator, a gate, a ticket office, a customer service center and a toilet, and the access passage comprises an entrance, a fire passage, an emergency escape passage and a rescue passage. Through sign function device and access passage, can be quick fix a position concrete function device and access passage, when taking place emergency, quick issue early warning information, guide passenger or staff to evacuate through the access passage that corresponds.
And the area display module 13 is used for dividing the three-dimensional map into different functional areas according to the use, and displaying the different functional areas in different colors, wherein the functional areas comprise an office area, a public area, a charging area, a non-payment area, a storage area and a first-aid area.
In the present embodiment, the functional areas include, among others, an office area, a public area, a charging area, a non-charging area, a storage area, and a first aid area. Different functional areas are displayed in different colors in a distinguishing mode, and users can visually judge the different functional areas through the colors displayed on the three-dimensional map, so that resources and manpower can be rapidly scheduled. For example, the location of the storage area may be quickly located by area color and the staff may be notified to go to the storage area to remove emergency items, such as fire extinguishers and the like.
And the pipeline display module 14 is used for displaying pipelines in the rail transit station on the three-dimensional map in different colors.
In the embodiment, on the three-dimensional map, the pipelines (strong and weak electricity, fire protection, water supply and drainage, air exhaust and the like) in the rail transit station are distributed and trend in different colors, can be conveniently displayed or hidden according to types, and are convenient for maintenance and management and emergency response of emergent leakage events.
The command obtaining unit 20 is configured to obtain a site visualization command, where the site visualization command includes target site information.
In this embodiment, the site visualization command includes the target site information. The rail transit stations in a large area can be multiple, each rail transit station is numbered or named in advance, corresponding three-dimensional map data are associated, when a station visualization command is issued, the corresponding number or name is added to the station visualization command, the corresponding three-dimensional map data can be obtained, and visualization display is carried out on the basis of the three-dimensional map data.
And the visualization unit 30 is configured to superimpose the three-dimensional map of the target site on any real scene through an AR technology for visual display according to the site visualization command.
In the embodiment, the three-dimensional map of the target station is overlaid on any real scene through the AR technology for visual display, the requirement on the display scene is not high, the display can be carried out by means of the AR equipment at any time and any place, and the user can know the internal structure of the rail transit station more intuitively. Furthermore, various dynamic information, static information, historical information and actual information can be displayed on the three-dimensional electronic map in a diversified and visual manner. The three-dimensional map has powerful visual performance capability, is beneficial to spatial analysis of a user based on three-dimensional lower level, and provides effective data support for emergency and early warning of rail transit.
And the obtaining and displaying unit 40 is used for obtaining the displaying command and visually displaying the three-dimensional map according to the displaying command.
In this embodiment, after the three-dimensional map of the rail transit station is visually displayed, the area formulated in the three-dimensional map may be further displayed based on a display command continuously issued by the user through the terminal.
Referring to fig. 8, in one embodiment, the acquisition presentation unit 40 includes a command parsing module 41, a first presentation module 42, and a second presentation module 43.
The command parsing module 41 is configured to parse the display command to obtain the information of the scene to be displayed and/or the information of the path to be displayed.
In this embodiment, the further presentation command includes the scene information to be presented and/or the path information to be presented, and by analyzing the presentation command, the scene information to be presented and/or the path information to be presented can be acquired, and corresponding scene presentation is performed based on the scene information to be presented and/or the path information to be presented.
And the first display module 42 is configured to position and display a corresponding functional area on the three-dimensional map according to the scene information to be displayed, and display/hide functional devices, access channels, and pipelines in the functional area.
In this embodiment, according to the scene information to be displayed, the three-dimensional map can be controlled to further specifically display the corresponding functional area, and meanwhile, the user can adjust the display or hiding of the functional equipment, the access channel and the pipeline in the functional area according to the needs of the user, so as to perform better resource scheduling.
And the second display module 43 is configured to perform automatic cruising on the three-dimensional map according to the information of the path to be displayed and the specific route, and automatically play the video image of the monitoring point when the monitoring point is automatically cruising.
In this embodiment, the three-dimensional map is automatically navigated according to the specific route according to the information of the path to be displayed, that is, automatically navigated along the preset specific route, so as to set the navigation speed, and when the scene navigates to the set monitoring point, the monitoring video picture corresponding to the monitoring point is automatically popped up, so as to better combine with the reality.
Specifically, the automatic cruise can be realized by using an AR suite device, and when the automatic cruise device is used, a user can freely ascend, descend, look up, overlook, turn left, turn right, fly and the like by supporting the operations of mouse, keyboard and rocker roaming in a site visual scene. Comprehensive functions and convenient operation.
According to the method, the three-dimensional map of the rail transit station is constructed, and the three-dimensional map of the target station is superposed on any real scene through the AR technology for visual display according to the acquired station visual command, so that the internal structure of the rail transit station can be more visually known to a user; the three-dimensional map can display required functional equipment, access channels, pipelines and the like on the three-dimensional map, and is convenient for providing effective data support for emergency command decisions when an emergency event occurs.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation processes of the map resource visualization apparatus and each unit may refer to the corresponding descriptions in the foregoing method embodiments, and for convenience and brevity of description, no further description is provided herein.
Referring to fig. 9, fig. 9 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 9, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 comprise program instructions that, when executed, cause the processor 502 to perform a map resource visualization method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be caused to execute a map resource visualization method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 9 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application may be applied, and that a particular computer device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is adapted to run a computer program 5032 stored in the memory.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.