Map construction and loading method and device
By constructing a standardized safety verification model and virtual simulation technology of a pictorial panoramic map, it solves the problem of difficulty in testing autonomous vehicles in complex environments, realizes safety verification and testing of high-level autonomous vehicles, and supports mass production and commercialization. change.
Patent Information
- Application Number
- CN201811289132.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-10-31
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2038-10-31
AI Technical Summary
It is difficult for autonomous vehicles to cope with various elements in complex traffic environments, resulting in the need for humans to take over, and existing technology cannot effectively test dangerous working conditions and accident conditions, resulting in safety testing standards and specifications for high-level autonomous vehicles before mass production insufficient.
By building a three-level standardized safety verification model, using autonomous driving virtual simulation technology to generate a picture panoramic map, and switching the display state of the environment image based on the location information of the simulated vehicle, virtual simulation testing of autonomous vehicles is realized.
It reduces the cost of actual road testing of autonomous vehicles, solves the testing problems of hazardous working conditions and accident conditions, provides standardized certification testing for high-level autonomous vehicles, improves safety, and supports mass production and commercialization.
Smart Images

Figure CN111125270B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method and device for map construction and loading. Background Art
[0002] Autonomous vehicles have been able to realize autonomous driving functions in closed and open roads. However, faced with various complex elements in the traffic environment, autonomous vehicles always encounter problems that they cannot cope with and handle, and human drivers need to take over. To this end, the autonomous vehicle industry needs a "fault model" to provide a reliable safety verification process and rules that can be used as a reference for decision-making software to verify the safety of autonomous vehicles.
[0003] Using autonomous driving virtual simulation technology, a three-level standardized safety verification model is systematically constructed from the perspective of computer virtual simulation. Through standardized safety simulation scenario models, virtual simulation tests can be conducted to determine whether high-level autonomous driving vehicles can drive safely. This greatly reduces the testing costs of autonomous driving vehicles on actual roads, while solving the problem that it is impossible or difficult to conduct dangerous and accident conditions tests on actual roads for autonomous driving vehicles. This makes it possible for high-level autonomous driving vehicles to undergo standardized certification tests before mass production, and solves the problem that there are no or seriously insufficient safety test standards and specifications for high-level autonomous driving vehicles before mass production, which in turn makes it impossible to mass produce and commercialize them. This provides key support for the mass production and road driving of high-level autonomous driving vehicles.
[0004] Self-driving cars are intelligent cars that achieve unmanned driving through computer systems. They can bring many benefits to humans, such as reducing traffic accidents, reducing traffic congestion, saving energy, and allowing people to have more free time. They are the future development direction of automobiles.
[0005] In the process of developing self-driving cars, it is necessary to use corresponding test systems to evaluate and test the performance of self-driving vehicles. In related technologies, the testing of self-driving vehicles usually uses actual vehicles for testing, which is costly and easily restricted by road test scenarios and traffic environments. Therefore, it is impossible to fully test the performance of self-driving vehicles.
[0006] The above information disclosed in the Background section is only for enhancement of understanding of the background of the invention and therefore it may contain information that does not form the prior art that is known to a person of ordinary skill in the art. Summary of the invention
[0007] The embodiment of the present invention provides a method and device for map construction and loading to solve one or more technical problems in the prior art.
[0008] In a first aspect, an embodiment of the present invention provides a method for constructing a map, comprising:
[0009] Generate a pictorial panoramic map according to the original map data; the pictorial panoramic map includes a plurality of environmental images;
[0010] Setting a display state for each of the environment images, and placing each of the environment images in a hidden state, wherein the display state includes the hidden state and the visible state;
[0011] A display interface is provided, wherein the display interface is used to receive a display request, so as to switch each of the environment images between the hidden state and the visible state according to the display request.
[0012] In one embodiment, it further comprises:
[0013] Dividing the pictorial panoramic map into a plurality of areas according to a preset division rule;
[0014] The position information of each of the regions in the pictorial panoramic map is identified, and the position information is used to enable the display interface to search for the corresponding region according to the position request in the display request.
[0015] In one embodiment, after identifying the location information of each area in the pictorial panoramic map, the method further includes:
[0016] An index is established for each of the environment images in each of the regions, and the index is used to enable the display interface to search for the corresponding environment image in the region and switch the display state of the corresponding environment image from the hidden state to the visible state.
[0017] In one embodiment, it further comprises:
[0018] The display range of the environment image is set so that the display interface only displays a portion of the environment image within the display range.
[0019] In one embodiment, generating a pictorial panoramic map according to original map data includes:
[0020] According to the original map data, a plurality of the pictorial panoramic maps with different picture qualities are generated at different pixel levels.
[0021] In a second aspect, an embodiment of the present invention provides a method for loading a map, comprising:
[0022] receiving a display request of a simulated vehicle, wherein the display request contains position information;
[0023] According to the display request, searching for a plurality of environment images in an area corresponding to the location information in the pictorial panoramic map;
[0024] Determining, according to the vehicle position information of the simulated vehicle, an environmental image located within the field of view of the simulated vehicle among the plurality of environmental images;
[0025] The display state of the environment image within the field of view of the simulated vehicle is switched from a hidden state to a visible state, and loaded and displayed within the field of view of the simulated vehicle.
[0026] In one embodiment, determining an environment image within a field of view of the simulated vehicle according to the vehicle position information of the simulated vehicle includes:
[0027] Acquiring vehicle position information of the simulated vehicle in real time during driving;
[0028] Acquiring the visual field of the simulated vehicle in real time according to the vehicle position information;
[0029] Based on the field of view of the simulated vehicle, determining index information of the environment image within the field of view;
[0030] The corresponding environment image is matched according to the index information.
[0031] In one embodiment, the display state of the environment image within the field of view of the simulated vehicle is switched from a hidden state to a visible state, and loaded and displayed within the field of view of the simulated vehicle, including:
[0032] The environment image within the field of view is loaded and displayed within the field of view of the simulated vehicle according to a preset display range.
[0033] In a third aspect, an embodiment of the present invention provides a map construction device, including:
[0034] A picture module, used to generate a picture panoramic map according to the original map data; the picture panoramic map includes a plurality of environment images;
[0035] A display state module, used to set a display state for each of the environment images and put each of the environment images in a hidden state, wherein the display state includes the hidden state and the visible state;
[0036] The setting module is used to set a display interface, and the display interface is used to receive a display request, so as to switch each of the environment images between the hidden state and the visible state according to the display request.
[0037] In one embodiment, it further comprises:
[0038] A division module, used for dividing the pictorial panoramic map into a plurality of areas according to a preset division rule;
[0039] The identification module is used to identify the location information of each of the areas in the pictorial panoramic map, and the location information is used to enable the display interface to search for the corresponding area according to the location request in the display request.
[0040] In one embodiment, it further comprises:
[0041] An index module is used to create an index for each of the environmental images in each of the areas, wherein the index is used to enable the display interface to find the corresponding environmental image in the area and switch the display state of the corresponding environmental image from the hidden state to the visible state.
[0042] In a fourth aspect, an embodiment of the present invention provides a map loading device, comprising:
[0043] A receiving module, used for receiving a display request of a simulated vehicle, wherein the display request contains position information;
[0044] A search module, configured to search for a plurality of environment images in an area corresponding to the location information in the pictorial panoramic map according to the display request;
[0045] A determination module, configured to determine, according to the vehicle position information of the simulated vehicle, an environmental image located within the field of view of the simulated vehicle among the plurality of environmental images;
[0046] The loading module is used to switch the display state of the environment image within the field of view of the simulated vehicle from a hidden state to a visible state, and load the display within the field of view of the simulated vehicle.
[0047] In one embodiment, the determining module includes:
[0048] A position acquisition submodule, used for acquiring the vehicle position information of the simulated vehicle in real time during the driving process;
[0049] A field of view acquisition submodule, used for acquiring the field of view of the simulated vehicle in real time according to the vehicle position information;
[0050] A determination submodule, configured to determine index information of an environment image within the field of view based on the field of view of the simulated vehicle;
[0051] A matching submodule is used to match the corresponding environment image according to the index information.
[0052] In a fifth aspect, an embodiment of the present invention provides a map construction terminal, including:
[0053] The functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions.
[0054] In one possible design, the structure of the terminal for visualizing the map includes a processor and a memory, the memory is used to store a program for supporting the terminal for visualizing the map to execute the map construction method in the first aspect, and the processor is configured to execute the program stored in the memory. The terminal for constructing the map may also include a communication interface for communicating the terminal for constructing the map with other devices or a communication network.
[0055] In a sixth aspect, an embodiment of the present invention provides a map loading terminal, including:
[0056] The functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions.
[0057] In one possible design, the structure of the terminal for visualizing the map includes a processor and a memory, the memory is used to store a program for supporting the terminal for visualizing the map to execute the method for loading the map in the second aspect, and the processor is configured to execute the program stored in the memory. The terminal for loading the map may also include a communication interface for communicating the terminal for loading the map with other devices or a communication network.
[0058] In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer software instructions used by a map construction terminal, which includes a program involved in the map construction terminal for executing the map construction method in the first aspect mentioned above.
[0059] In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer software instructions used by a map loading terminal, which includes a program involved in the map loading terminal for executing the map loading method in the first aspect mentioned above.
[0060] In a ninth aspect, an embodiment of the present invention provides a computer program product, including a computer program, which implements the method described above when executed by a processor.
[0061] One of the above technical solutions has the following advantages or beneficial effects: by processing the original map data into images and only displaying part of the environment image in the map according to the display request, the map is effectively encrypted to prevent the original map data from being leaked.
[0062] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present invention and should not be regarded as limiting the scope of the present invention.
[0064] Figure 1 A flowchart of a map construction method provided in an embodiment of the present invention.
[0065] Figure 2 A flowchart of a map construction method provided in another embodiment of the present invention.
[0066] Figure 3 A flowchart of a map loading method provided in an embodiment of the present invention.
[0067] Figure 4 This is a specific flow chart of step S30 of the map loading method provided in an embodiment of the present invention.
[0068] Figure 5 A schematic diagram of the structure of a map construction device provided in an embodiment of the present invention.
[0069] Figure 6 A schematic structural diagram of a map construction device provided in another embodiment of the present invention.
[0070] Figure 7 A schematic structural diagram of a map loading device provided in an embodiment of the present invention.
[0071] Figure 8 A schematic diagram of the structure of a determination module of a map loading device provided in an embodiment of the present invention.
[0072] Fig. 9 A schematic diagram of the structure of a map or a loading terminal provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0073] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0074] The embodiment of the present invention provides a method for constructing a map, such as Figure 1 As shown, the following steps are included:
[0075] S100: Generate a pictorial panoramic map based on the original map data. The pictorial panoramic map includes a number of environmental images. Since the original map data is processed into a pictorial panoramic map, when the map is provided to the user, the user only obtains a map in a picture format, which does not contain the original map data. This prevents the user from using reverse engineering to obtain the original map data for constructing the map, effectively avoiding the leakage of the original map data.
[0076] It should be noted that the environmental image can be understood as the map elements that constitute the pictorial panoramic map. The environmental image can be a single thing (for example, a traffic light, a house, a road, etc.), or a combination of multiple things (for example, an intersection with a traffic light, a road with plants, pedestrians and houses, a road with several vehicles and pedestrians, etc.). The original map data can be understood as data information such as the affairs contained in the map, the location of the affairs, and the longitude and latitude coordinates.
[0077] S200: Setting a display state for each environment image and making each environment image in a hidden state. The display state includes a hidden state and a visible state. The hidden state is a state in which the image is not visible or cannot be clearly seen in the map, and the visible state is a state in which the image can be clearly seen in the map. When the map is not in operation or the environment image is not activated, each environment image is in a hidden state.
[0078] S300: Setting a display interface, the display interface is used to receive a display request, so as to switch each environment image between a hidden state and a visible state according to the display request. The display interface can be understood as an inherent function of the map, an operation interface for receiving a display request, or a functional window for receiving a display request, etc., which is not specifically limited here.
[0079] In one embodiment, in order to further prevent the leakage of map original data, when generating a pictorial panoramic map, the map original data may be screened, and some map original data may be removed before generating the pictorial panoramic map, so that the environment image corresponding to the removed map original data will not be displayed in the pictorial panoramic map. It is also possible to perform offset processing on each environment image generated based on the map original data, so that the coordinate position of each environment image presented in the pictorial panoramic map is not its actual coordinate position, so that the user cannot reversely obtain the actual coordinate position of the environment image in the real environment based on the position of the environment image in the map.
[0080] In one embodiment, Figure 2As shown, the steps include:
[0081] S400: Divide the pictorial panoramic map into multiple regions according to a preset division rule. The preset division rule can be any rule such as division by longitude and latitude, division by road information, division by geographical region, etc. The specific preset division rule can be selected and adjusted according to the number of regions to be cut and the size of the region range, and is not limited to the above-mentioned division rules.
[0082] S500: Identify the location information of each region in the pictorial panoramic map, the location information is used to enable the display interface to search for the corresponding region according to the location request in the display request. The location information can be understood as the specific coordinate position of each region in the pictorial panoramic map.
[0083] In one embodiment, after identifying the location information of each area in the pictorial panoramic map, it also includes: indexing each environmental image in each area, the index is used to enable the display interface to find the corresponding environmental image in the area, and switch the display state of the corresponding environmental image from a hidden state to a visible state. Indexing each environmental image in each area can be understood as establishing coordinate position information relative to the area for each environmental image, so as to achieve finding the environmental image corresponding to the coordinate position information in the area according to the coordinate position information in the index request.
[0084] In one embodiment, the steps further include:
[0085] Set the display range of the environment image so that the display interface only displays the part of the environment image that is within the display range. The display range can be understood as limiting the distance that the user can see. Only the part of the environment image that is within the display range will be shown to the user, while the part of the environment image that is not within the display range will be hidden. This ensures that the user cannot obtain a complete pictorial panoramic map by stitching the images within the field of view.
[0086] In one embodiment, generating a panoramic map in a picture format according to the original map data includes: generating a plurality of panoramic maps in a picture format with different picture qualities at different pixel levels according to the original map data, so as to meet the use of display devices with different resolutions and ensure that users can obtain clear images.
[0087] The embodiment of the present invention provides a map loading method, which is applied to simulated driving of a vehicle. Figure 3 As shown, including:
[0088] S10: receiving a display request of a simulated vehicle, wherein the display request includes position information.
[0089] S20: According to the display request, multiple environmental images in the area corresponding to the location information in the pictorial panoramic map are searched. The pictorial panoramic map in this step can be the pictorial panoramic map constructed in the above-mentioned map construction method embodiment. Since it is a panoramic map, the environmental image in the fan-shaped or environmental area should be presented according to the display request. Therefore, after obtaining the location information in the display request, the environmental images in the area around the location should be searched for use in subsequent steps.
[0090] S30: Determine, according to the vehicle position information of the simulated vehicle, an environmental image located within the field of view of the simulated vehicle among the multiple environmental images. The field of view of the simulated vehicle can be understood as an area that can be seen from the front of the simulated vehicle as a main perspective, or an area that can be seen from a vehicle window. The position information of the simulated vehicle includes the direction of the vehicle, the speed of the vehicle, the azimuth of the vehicle, etc.
[0091] S40: Switching the display state of the environment image within the field of vision of the simulated vehicle from a hidden state to a visible state, and loading and displaying it within the field of vision of the simulated vehicle.
[0092] In one embodiment, based on the vehicle position information of the simulated vehicle, an environmental image within the field of view of the simulated vehicle is determined, such as Figure 4 As shown, including:
[0093] S31: Real-time acquisition of vehicle position information of the simulated vehicle during driving. Since the vehicle is in a driving state, it is necessary to acquire relevant information of the vehicle in real time to ensure that the environment image can be displayed smoothly.
[0094] S32: Acquire the field of view of the simulated vehicle in real time according to the vehicle position information. Since the vehicle's driving process is not only straight-line driving, but may also include driving behaviors such as turning or U-turning according to different driving strategies, it is necessary to acquire the field of view of the simulated vehicle in real time, so as to accurately display the environmental information in the space where the field of view is facing.
[0095] S33: Based on the field of view of the simulated vehicle, determine the index information of the environment image within the field of view. Regardless of whether the vehicle is traveling in a straight line or turning, the field of view of the simulated vehicle changes in real time, so it is necessary to obtain the detection area (i.e., index information) of the field of view in real time, and further search for the corresponding environment image according to the detection index area of the field of view.
[0096] S34: Matching the corresponding environment image according to the index information.
[0097] In one embodiment, the display state of the environment image within the field of view of the simulated vehicle is switched from a hidden state to a visible state, and loaded and displayed within the field of view of the simulated vehicle, including:
[0098] The environmental image within the field of view is loaded and displayed within the field of view of the simulated vehicle according to the preset display range.
[0099] In an application example, the map loading method includes the following process:
[0100] The user sends a display request to start the simulated driving at the entrance of B shopping mall in area A (location information). After receiving the location information in the display request, the map locates the simulation scene at the entrance of B shopping mall in area A of the pictorial panoramic map (at this time, no map environment image is displayed in the user's visual range).
[0101] The map finds out the environment image within a certain range around the entrance of B shopping mall (at this time, no map environment image is displayed within the user's visual range).
[0102] The front of the detected vehicle is facing the north of B Mall, and the vehicle is located on a road 50 meters away from the entrance of B Mall in a straight line. Based on the above vehicle position information, it is determined that the environmental image of the road ahead should be presented in the vehicle's field of view.
[0103] The environmental image of the road ahead is switched from a hidden state to a visible state and displayed within the field of vision of the vehicle (at this time, the environmental image of the road ahead is displayed within the user's visual range).
[0104] When the vehicle starts to move on the road, the map obtains the vehicle's field of view in real time, and gradually displays the environment images within the field of view to the user according to the vehicle's speed and display range. The environment images that disappear from the field of view are switched from the visible state to the hidden state and are no longer visible to the user.
[0105] The embodiment of the present invention provides a map construction device, such as Figure 5 As shown, including:
[0106] The image module 1 is used to generate an image-based panoramic map based on the original map data. The image-based panoramic map includes a number of environment images.
[0107] The display state module 2 is used to set the display state of each environment image and put each environment image in a hidden state. The display state includes a hidden state and a visible state.
[0108] The setting module 3 is used to set a display interface, and the display interface is used to receive a display request, so as to switch each environment image between a hidden state and a visible state according to the display request.
[0109] In one embodiment, Figure 6 As shown, it also includes:
[0110] The division module 4 is used to divide the pictorial panoramic map into multiple areas according to a preset division rule.
[0111] The identification module 5 is used to identify the position information of each area in the pictorial panoramic map, and the position information is used to enable the display interface to search for the corresponding area according to the position request in the display request.
[0112] In one embodiment, Figure 6 As shown, it also includes:
[0113] The index module 6 is used to create an index for each environment image in each area. The index is used to enable the display interface to find the corresponding environment image in the area and switch the display state of the corresponding environment image from a hidden state to a visible state.
[0114] The embodiment of the present invention provides a map loading device, such as Figure 7 As shown, including:
[0115] The receiving module 10 is used to receive a display request of a simulated vehicle, wherein the display request contains position information.
[0116] The search module 20 is used to search for multiple environment images in the area corresponding to the location information in the pictorial panoramic map according to the display request.
[0117] The determination module 30 is used to determine, according to the vehicle position information of the simulated vehicle, an environmental image located within the field of view of the simulated vehicle among the multiple environmental images.
[0118] The loading module 40 is used to switch the display state of the environment image within the field of view of the simulated vehicle from a hidden state to a visible state, and load the display within the field of view of the simulated vehicle.
[0119] In one embodiment, Figure 8 As shown, the determination module 30 includes:
[0120] The position acquisition submodule 31 is used to acquire the vehicle position information of the simulated vehicle in real time during the driving process.
[0121] The field of view acquisition submodule 32 is used to acquire the field of view of the simulated vehicle in real time according to the vehicle position information.
[0122] The determination submodule 33 is used to determine the index information of the environment image within the field of view based on the field of view of the simulated vehicle.
[0123] The matching submodule 34 is used to match the corresponding environment image according to the index information.
[0124] The embodiment of the present invention provides a terminal for constructing or loading a map, such as Fig. 9 As shown, including:
[0125] The memory 910 and the processor 920 store a computer program that can be run on the processor 920. When the processor 920 executes the computer program, the map construction or loading method in the above embodiment is implemented. The number of the memory 910 and the processor 920 can be one or more.
[0126] The communication interface 930 is used for the memory 910 and the processor 920 to communicate with the outside.
[0127] The memory 910 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0128] If the memory 910, the processor 920, and the communication interface 930 are implemented independently, the memory 910, the processor 920, and the communication interface 930 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0129] Optionally, in a specific implementation, if the memory 910, the processor 920, and the communication interface 930 are integrated on a chip, the memory 910, the processor 920, and the communication interface 930 can communicate with each other through an internal interface.
[0130] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements a method for constructing or loading a map as described in any one of the above embodiments.
[0131] An embodiment of the present invention provides a computer program product, including a computer program / instruction, which implements the method described in any of the above embodiments when executed by a processor.
[0132] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0133] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0134] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0135] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0136] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0137] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0138] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a disk or an optical disk, etc.
[0139] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for constructing a map, characterized in that: include: Generate a pictorial panoramic map based on the original map data; The pictorial panoramic map includes a plurality of environmental images, wherein the original map data is screened when the pictorial panoramic map is generated, and some original map data are removed before the pictorial panoramic map is generated, so that the environmental images corresponding to the removed original map data are not displayed in the pictorial panoramic map, and the environmental images generated according to the original map data are offset, so that the coordinate positions of the environmental images presented in the pictorial panoramic map are not their actual coordinate positions, and the original map data for constructing the map cannot be obtained through reverse engineering; Setting a display state for each of the environment images, and placing each of the environment images in a hidden state, wherein the display state includes the hidden state and the visible state; A display interface is set up, and the display interface is used to receive a display request, so that each of the environmental images is switched between the hidden state and the visible state according to the display request, the field of view of the simulated vehicle is obtained in real time, and the environmental images within the field of view are gradually displayed to the user according to the driving speed and display range of the simulated vehicle, and the environmental images that disappear from the field of view are switched from the visible state back to the hidden state and are no longer visible to the user, wherein the display request contains location information, including the direction of the vehicle's driving, the vehicle's driving speed, and the vehicle's azimuth.
2. The method according to claim 1, characterized in that Also includes: Dividing the pictorial panoramic map into a plurality of areas according to a preset division rule; The position information of each of the regions in the pictorial panoramic map is identified, and the position information is used to enable the display interface to search for the corresponding region according to the position request in the display request.
3. The method according to claim 2, characterized in that After identifying the location information of each of the regions in the pictorial panoramic map, the method further includes: An index is established for each of the environment images in each of the regions, and the index is used to enable the display interface to search for the corresponding environment image in the region and switch the display state of the corresponding environment image from the hidden state to the visible state.
4. The method according to claim 1, characterized in that Also includes: The display range of the environment image is set so that the display interface only displays a portion of the environment image within the display range.
5. The method according to claim 1, characterized in that Generate a pictorial panoramic map based on the original map data, including: According to the original map data, a plurality of the pictorial panoramic maps with different picture qualities are generated at different pixel levels.
6. A map loading method, applied to vehicle driving simulation, characterized in that: include: receiving a display request of a simulated vehicle, wherein the display request contains position information; According to the display request, multiple environment images in the area corresponding to the location information in the pictorial panoramic map are searched, wherein the original map data is screened when the pictorial panoramic map is generated, and some original map data are removed before the pictorial panoramic map is generated, so that the environment images corresponding to the removed original map data will not be displayed in the pictorial panoramic map, and the environment images generated according to the original map data are offset, so that the coordinate position of each environment image presented in the pictorial panoramic map is not its actual coordinate position, and the original map data for constructing the map cannot be obtained through reverse engineering; Determine, according to the vehicle position information of the simulated vehicle, an environmental image located within the field of view of the simulated vehicle among the multiple environmental images, wherein the vehicle position information includes the direction in which the vehicle is traveling, the speed at which the vehicle is traveling, and the azimuth of the vehicle; The display state of the environmental image within the field of view of the simulated vehicle is switched from a hidden state to a visible state, and the display is loaded within the field of view of the simulated vehicle, the field of view of the simulated vehicle is acquired in real time, and the environmental image within the field of view is gradually displayed to the user according to the driving speed and display range of the simulated vehicle, and the environmental image that disappears from the field of view is switched from the visible state back to the hidden state and is no longer visible to the user.
7. The method according to claim 6, characterized in that Determining an environment image within a field of view of the simulated vehicle according to the vehicle position information of the simulated vehicle includes: Acquiring vehicle position information of the simulated vehicle in real time during driving; Acquiring the visual field of the simulated vehicle in real time according to the vehicle position information; Based on the field of view of the simulated vehicle, determining index information of the environment image within the field of view; The corresponding environment image is matched according to the index information.
8. The method according to claim 6, characterized in that Switching the display state of the environment image within the field of view of the simulated vehicle from a hidden state to a visible state, and loading and displaying the environment image within the field of view of the simulated vehicle, including: The environment image within the field of view is loaded and displayed within the field of view of the simulated vehicle according to a preset display range.
9. A map construction device, characterized in that: include: A picture module, used to generate a picture panoramic map based on the original map data; The pictorial panoramic map includes a plurality of environmental images, wherein the original map data is screened when the pictorial panoramic map is generated, and some original map data are removed before the pictorial panoramic map is generated, so that the environmental images corresponding to the removed original map data are not displayed in the pictorial panoramic map, and the environmental images generated according to the original map data are offset, so that the coordinate positions of the environmental images presented in the pictorial panoramic map are not their actual coordinate positions, and the original map data for constructing the map cannot be obtained through reverse engineering; A display state module, used to set a display state for each of the environment images and put each of the environment images in a hidden state, wherein the display state includes the hidden state and the visible state; A setting module is used to set a display interface, and the display interface is used to receive a display request, so as to switch each of the environmental images between the hidden state and the visible state according to the display request, obtain the field of view of the simulated vehicle in real time, and gradually display the environmental images within the field of view to the user according to the driving speed and display range of the simulated vehicle, and the environmental images that disappear from the field of view are switched from the visible state back to the hidden state and are no longer visible to the user, wherein the display request contains location information, including the direction of the vehicle, the speed of the vehicle, and the azimuth of the vehicle.
10. The device according to claim 9, characterized in that Also includes: A division module, used for dividing the pictorial panoramic map into a plurality of areas according to a preset division rule; The identification module is used to identify the location information of each of the areas in the pictorial panoramic map, and the location information is used to enable the display interface to search for the corresponding area according to the location request in the display request.
11. The device according to claim 10, characterized in that Also includes: An index module is used to create an index for each of the environmental images in each of the areas, wherein the index is used to enable the display interface to find the corresponding environmental image in the area and switch the display state of the corresponding environmental image from the hidden state to the visible state.
12. A map loading device, characterized in that: include: A receiving module, used for receiving a display request of a simulated vehicle, wherein the display request contains position information; A search module, for searching for multiple environment images in the area corresponding to the location information in the pictorial panoramic map according to the display request, wherein the original map data is screened when the pictorial panoramic map is generated, and some original map data are removed before the pictorial panoramic map is generated, so that the environment images corresponding to the removed original map data will not be displayed in the pictorial panoramic map, and the environment images generated according to the original map data are offset, so that the coordinate position of each environment image presented in the pictorial panoramic map is not its actual coordinate position, and the original map data for constructing the map cannot be obtained through reverse engineering; A determination module, configured to determine, according to the vehicle position information of the simulated vehicle, an environmental image located within the field of view of the simulated vehicle among the plurality of environmental images, wherein the vehicle position information includes the direction in which the vehicle is traveling, the speed at which the vehicle is traveling, and the azimuth of the vehicle; The loading module is used to switch the display state of the environmental image within the field of view of the simulated vehicle from a hidden state to a visible state, and load the display within the field of view of the simulated vehicle, obtain the field of view of the simulated vehicle in real time, and gradually display the environmental image within the field of view to the user according to the driving speed and display range of the simulated vehicle. The environmental image that disappears from the field of view is switched from the visible state back to the hidden state and is no longer visible to the user.
13. The device according to claim 12, characterized in that The modules are determined to include: A position acquisition submodule, used for acquiring the vehicle position information of the simulated vehicle in real time during the driving process; A field of view acquisition submodule, used for acquiring the field of view of the simulated vehicle in real time according to the vehicle position information; A determination submodule, configured to determine index information of an environment image within the field of view based on the field of view of the simulated vehicle; A matching submodule is used to match the corresponding environment image according to the index information.
14. A map visualization terminal, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method according to any one of claims 1 to 8.
15. A computer-readable storage medium storing a computer program, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
16. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Online exhibition platform system constructed by using panoramic electronic map and construction method thereof
CN101763607A
House property display system and method based on panoramic electronic map
CN101937449A
Streetscape image storing method and device based on road codes
CN103942258A
Navigation method and system for panoramic map
CN105157711A
Smart city three-dimensional visual display system
CN106846466A
