CN112667941A - Webpage map processing method and device based on vehicle-mounted intelligent equipment - Google Patents

Webpage map processing method and device based on vehicle-mounted intelligent equipment Download PDF

Info

Publication number
CN112667941A
CN112667941A CN202110274094.1A CN202110274094A CN112667941A CN 112667941 A CN112667941 A CN 112667941A CN 202110274094 A CN202110274094 A CN 202110274094A CN 112667941 A CN112667941 A CN 112667941A
Authority
CN
China
Prior art keywords
map
displayed
picture
map data
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110274094.1A
Other languages
Chinese (zh)
Other versions
CN112667941B (en
Inventor
贾双成
朱磊
贾郭峰
王斌
孟鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhidao Network Technology Beijing Co Ltd
Original Assignee
Zhidao Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhidao Network Technology Beijing Co Ltd filed Critical Zhidao Network Technology Beijing Co Ltd
Priority to CN202110274094.1A priority Critical patent/CN112667941B/en
Publication of CN112667941A publication Critical patent/CN112667941A/en
Application granted granted Critical
Publication of CN112667941B publication Critical patent/CN112667941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Instructional Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to a webpage map processing method and device based on vehicle-mounted intelligent equipment. The method comprises the following steps: detecting an appointed event, and analyzing to obtain map data to be displayed corresponding to the appointed event; sending the map data to be displayed to a server, and calling the server to convert the map data to be displayed into a map picture to be displayed; and receiving a map picture to be displayed. The scheme that this application provided can practice thrift development cost, shortens development time, and the later maintenance of being convenient for improves later maintenance efficiency. The conversion of the map data can be realized by utilizing the existing server resources, the memory of the converted map picture is smaller than that of the map data, the receiving speed of the user side is increased, and the display efficiency of the user side is improved.

Description

Webpage map processing method and device based on vehicle-mounted intelligent equipment
Technical Field
The application relates to the technical field of webpage maps, in particular to a webpage map processing method and device based on vehicle-mounted intelligent equipment.
Background
In the related art, WebGL (Web Graphics Library) is a 3D drawing protocol, and WebGL can provide accelerated rendering for drawing Graphics. Therefore, WebGL is also commonly used for rendering of electronic maps in web pages.
However, since the WebGL is technically complicated to apply, a professional technician is required to separately perform development and post-maintenance, the construction takes a long time, and the post-maintenance cost is high.
Disclosure of Invention
In order to solve or partially solve the problems in the related art, the application provides a method and a device for processing a webpage map based on vehicle-mounted intelligent equipment.
The application provides a method for processing a webpage map based on an on-vehicle intelligent device, which comprises the following steps:
detecting a specified event, and analyzing to obtain map data to be displayed corresponding to the specified event;
sending the map data to be displayed to a server, and calling the server to convert the map data to be displayed into a map picture to be displayed;
and receiving the map picture to be displayed.
In one embodiment, the detecting a specified event and analyzing and acquiring the map data to be displayed corresponding to the specified event includes:
detecting a specified event, wherein the specified event is a map translation event or a map zooming event;
when the specified event is a map translation event, analyzing and obtaining corresponding position information when the map is translated;
and when the specified event is a map zooming event, analyzing and obtaining the corresponding data level information when zooming the map.
In one embodiment, the sending the map data to be displayed to a server and invoking the server to convert the map data to be displayed into a map picture to be displayed includes:
generating a dynamic link library at the server in advance;
calling the dynamic link library, and obtaining a real-time rendering picture according to the map data to be displayed;
and converting the real-time rendering picture into a map picture to be displayed.
In one embodiment, the invoking the dynamic link library to obtain a real-time rendered picture according to the map data to be displayed includes:
and calling the dynamic link library, and rendering the map data to be displayed in real time to obtain an OpenGL picture.
In one embodiment, after receiving the map picture to be displayed, the method further includes:
and displaying the map picture to be displayed according to a preset frame rate.
In one embodiment, the corresponding preset frame rate is set according to the specified event.
In one embodiment, a specified event is detected in an HTML5 page, and/or the map picture to be displayed is displayed in the HTML5 page.
The second aspect of the present application provides a processing apparatus for a web map based on an on-vehicle smart device, which includes:
the detection analysis module is used for detecting a specified event and analyzing to obtain the map data to be displayed corresponding to the specified event;
the image processing module is used for sending the map data to be displayed obtained by the detection and analysis module to a server and calling the server to convert the map data to be displayed into a map image to be displayed;
and the receiving module is used for receiving the map picture to be displayed obtained by the picture processing module.
A third aspect of the present application provides an electronic device comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method as described above.
A fourth aspect of the present application provides a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform a method as described above.
The technical scheme provided by the application can comprise the following beneficial effects:
according to the webpage map processing method based on the vehicle-mounted intelligent equipment, the specified event is directly detected at the user side, the corresponding map data to be displayed are obtained through analysis according to the specified event, then the map data to be displayed are sent to the server side, the resources of the server side are called to convert the map data to be displayed into the map picture to be displayed, and the user side receives and displays the map picture to be displayed. According to the design, on one hand, the WebGL platform does not need to be developed and built independently, development cost is saved, development time is shortened, later maintenance is facilitated, and later maintenance efficiency is improved. On the other hand, the map data can be converted by using the existing server resources, the memory of the converted map picture is smaller than that of the map data, the receiving speed of the user side is increased, and the display efficiency of the user side is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular descriptions of exemplary embodiments of the application, as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the application.
Fig. 1 is a flowchart illustrating a method for processing a web map based on an on-vehicle smart device according to an embodiment of the present application;
fig. 2 is another flowchart illustrating a method for processing a web map based on an on-vehicle smart device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a processing apparatus for a web map based on an on-vehicle smart device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While embodiments of the present application are illustrated in the accompanying drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application 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 also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the related art, the display of the web map is generally processed by using the WebGL technology. Due to the complexity and independence of the WebGL technology, professional technicians are required to develop, construct and maintain the WebGL, construction time is long, and later maintenance cost is high.
In order to solve the above problems, an embodiment of the application provides a method for processing a webpage map based on an on-vehicle intelligent device, which can improve development efficiency and reduce later maintenance cost.
The technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Example one
Fig. 1 is a flowchart illustrating a method for processing a web map based on an on-vehicle smart device according to an embodiment of the present application.
Referring to fig. 1, in an embodiment of the present application, a method for processing a web map based on an on-vehicle smart device is provided, which includes:
step S110, detecting a specified event, and analyzing to obtain the map data to be displayed corresponding to the specified event.
In one embodiment, the specified event may be a map pan event or a map zoom event. The user views the electronic map in the webpage of the user end, and translates the electronic map or zooms the electronic map in the screen display range of the user end according to needs, so that the webpage displays the map content which the user needs to view. And the user side detects the designated event corresponding to the operation according to the operation of the user. In one embodiment, the user terminal may be an in-vehicle smart device.
It can be understood that different designated events correspond to different map data to be displayed, and the map data to be displayed obtained by analysis are also different. And analyzing and obtaining the map data to be displayed corresponding to the appointed event by detecting the appointed event.
And step S120, sending the map data to be displayed to a server, and calling the server to convert the map data to be displayed into a map picture to be displayed.
In one embodiment, a dynamic link library is generated in the server in advance; calling the dynamic link library, and obtaining a real-time rendering picture according to the map data to be displayed; and converting the real-time rendering picture into a map picture to be displayed.
Specifically, a Dynamic Link Library (DLL) is a way for microsoft corporation to implement the concept of shared function Library in microsoft operating systems. Updates can be more easily applied to individual modules using dynamically linked libraries without affecting other parts of the program. And after the user side sends the map data to be displayed after the designated event is analyzed to the server side, the user side calls a dynamic link library of the server side, obtains a real-time rendering picture at the server side through the dynamic link library, and converts the real-time rendering picture into a map picture to be displayed. In one embodiment, the server may be a server. The server stores all map data of the electronic map in advance.
Step S130, receiving the map picture to be displayed.
In one embodiment, the user terminal receives the map picture to be displayed in real time. The user side can refresh and display the map picture to be displayed in real time, or the user side can receive and store the map picture to be displayed and display the map picture according to the user requirements.
In the foregoing embodiment, according to the webpage map processing method based on the vehicle-mounted intelligent device, the specified event is directly detected at the user side, the corresponding map data to be displayed is obtained through analysis according to the specified event, then the map data to be displayed is sent to the server side, the resource of the server side is called to convert the map data to be displayed into the map picture to be displayed, and the user side receives and displays the map picture to be displayed. According to the design, on one hand, a WebGL platform does not need to be developed and built independently, and resource calling can be realized only by arranging the dynamic link library at the server side in advance, so that the development cost is saved, the development time is shortened, the later maintenance is facilitated, and the later maintenance efficiency is improved. On the other hand, the map data can be converted by using the existing server resources, the memory of the converted map picture is smaller than that of the map data, the receiving speed of the user side is increased, and the display efficiency of the user side is improved.
Example two
For further introduction of the method for processing a web map based on an on-vehicle intelligent device of the present application, referring to fig. 2, the method for processing a web map based on an on-vehicle intelligent device includes:
step S210, detecting a specified event on the HTML5 page, and analyzing the detected specified event by the HTML5 page to obtain corresponding map data to be displayed.
In the related art, HTML5 is a specification of core language HTML in the Web, and content viewed by a user when browsing a Web page by any means is originally in HTML format, and is converted into information recognizable by a browser through related art processing. By directly utilizing the HTML5 page to detect the specified event, the corresponding map data to be displayed can be obtained in real time, the program operation efficiency is improved, and the user waiting time is reduced.
In one embodiment, a specified event is detected, the specified event being a map panning event or a map zooming event; when the specified event is a map translation event, analyzing and obtaining corresponding position information when the map is translated; and when the specified event is a map zooming event, analyzing and obtaining the corresponding data level information when zooming the map.
It is to be appreciated that different scales can correspond to different data levels. And inquiring the data hierarchy corresponding to the scaling in the pre-stored data hierarchy according to the scaling input by the user. When the data hierarchy in the data hierarchy is sorted by arabic numbers, layer 1 may represent the top layer data, and layer 2, layer 3, and … … are arranged sequentially downward. When the scaling is a reduction scale, the lower the reduction scale, the higher the corresponding data level, for example, the data level corresponding to the reduction scale of 20% of the normal display size is higher than the data level corresponding to the reduction scale of 50% of the normal display size. When the zoom-in scale is an enlargement scale, the larger the enlargement scale, the lower the corresponding data level, for example, the data level corresponding to the enlargement scale of 2 times the normal display size is lower than the data level corresponding to the enlargement scale of 2 times the normal display size.
In one embodiment, the HTML5 page detects specified events in real time, and analyzes in real time to obtain the map data to be displayed corresponding to the specified events when each detected specified event occurs. It will be appreciated that for a map panning event, the data hierarchy of the electronic map within the screen display range does not change, but rather changes the geographical area of the same data hierarchy in the electronic map. When the specified event is a map translation event, the HTML5 page analyzes to obtain corresponding position information in the process of translating the map. In one embodiment, the location information may be latitude and longitude coordinates. Specifically, within the screen display range before panning the map, the HTML5 page may obtain the screen pixel coordinates of the initial position set by the user within the screen display range. The initial position may be the position where the user's finger first touches the electronic map in the screen. Of course, the initial position may be set by the user in other ways. After the user pans the map, the HTML5 page may obtain the screen pixel coordinates of the end position within the screen display range. The termination position may be a position of the user's finger after moving within the screen display range. Accordingly, between the initial position and the end position, i.e., the path that the user has traversed to pan the map, the path includes corresponding screen pixel coordinates. In the related art, the screen pixel coordinates may be converted into corresponding geographic coordinates, i.e., longitude and latitude coordinates. That is, for a map panning event, the HTML5 page may parse longitude and latitude coordinates corresponding to the initial position, the end position, and a path traversed between the initial position and the end position when the panning map is acquired, as the map data to be displayed.
Similarly, when the specified event is a map zooming event, the HTML5 page parses the corresponding data level information when obtaining the zoomed map. For a map zoom event, the data hierarchy of the electronic map within the screen display range changes. Prior to zooming the map, the HTML5 page may parse the corresponding data hierarchy before the map is zoomed. After zooming the map, the HTML5 page parse obtains the corresponding data level after the map is zoomed. During zooming, the HTML5 page parses the data hierarchy that gets the map traversed. That is, for a map zoom event, the HTML5 page may parse and acquire the data level before zooming, the data level traversed during zooming, and the data level when zooming is finally stopped, etc. as the map data to be displayed.
Step S220, the HTML5 page transmits the map data to be displayed to a Java layer, the Java layer sends the map data to be displayed to a server, and the server is called to convert the map data to be displayed into a map picture to be displayed.
In the related art, the Android operating system is a Linux-based operating system, and is mainly used for portable devices. Development of upper-layer applications in the Android system is generally completed based on Java. When the user side is a portable device, it can be understood that the operating system of the user side further includes a Java layer. Further, in one embodiment, the server may generate the dynamic link library in the server through C + + in advance. Wherein, C + + is a computer programming language, which is the inheritance of C language, and can be used for both the procedural programming of C language, the object-based programming characterized by abstract data types, and the object-oriented programming characterized by inheritance and polymorphism. By adopting C + + to establish the dynamic link library at the server, the system resources of the server are fully utilized, and no additional platform development and construction tasks need to be developed, so that the development efficiency can be improved. Further, the dynamic link library may contain a dynamic link library file with ". so" as an extension for Java layer calls.
After the HTML5 page transmits the map data to be displayed corresponding to the different specified events obtained by parsing in step S210 to the Java layer, in one embodiment, after the Java layer sends the map data to be displayed to the server, the Java layer calls the dynamic link library of the server to obtain a real-time rendering picture. That is, for example, for a map panning event, the real-time rendering screen is a screen of the entire panning process of the map from the initial position to the end position. Aiming at the map zooming event, the real-time rendering picture is a picture of the map traversing all levels of data levels before and after zooming. Further, the Java layer calls a dynamic link library of the server to obtain an OpenGL picture which is rendered in real time, each frame of map data to be displayed is obtained by utilizing an off-screen rendering technology of OpenGL, and then the OpenGL picture is coded into a map picture to be displayed in a specific format according to a related technology. OpenGL (Open Graphics Library, or "Open Graphics Library") is a cross-language, cross-platform application programming interface for rendering 2D, 3D vector Graphics. Further, in order to ensure that the map picture to be displayed in real time is displayed in the subsequent steps, the dynamic link library obtains an OpenGL picture which is rendered in real time according to a preset frame rate. Correspondingly, the OpenGL picture is converted into a map picture to be displayed according to a preset frame rate.
It can be understood that, for the map translation event, when the user translates the map in real time within the screen display range of the user terminal, the HTML5 page parses in real time to obtain all the map data to be displayed of the map during the translation process and transmits the map data to the Java layer. That is, the HTML5 page translates the map to the location information experienced during the process
In step S230, the Java layer receives the map picture to be displayed sent by the server.
Further, when a map translation event or a map zooming event is detected, the display content of the electronic map changes in real time within the screen display range. In order to enable the screen of the user side to display the changing content of the electronic map in real time, in one embodiment, the Java layer refreshes and receives the map picture to be displayed according to a preset frame rate. Further, according to different specified events, the occupied resources are different in size, and the sizes of the picture memories to be displayed are different, in one embodiment, the corresponding preset frame rate is set according to the system resources occupied by the specified events. Or, in other embodiments, the corresponding preset frame rate is set according to the changed data size of the electronic map. When the map data change is large, the preset frame rate can be set to be 30 frames/second; when the map data change is small, the preset frame rate may be set to be less than 30 frames/second. By setting the preset frame rate, the Java layer can refresh and receive the map picture to be displayed according to the preset frame rate.
And according to the preset frame rate, the Java layer refreshes and receives the map picture to be displayed sent by the server side in real time so as to ensure that the user side subsequently displays the real-time electronic map picture.
In step S240, the Java layer transmits the map picture to be displayed to the HTML5 page, and displays the map picture to be displayed on the HTML5 page.
It can be understood that, as the Java layer refreshes the map picture to be displayed sent by the receiving server in real time, the Java layer transmits the map picture to be displayed to the HTML5 page in real time. In one embodiment, the HTML5 page displays the map picture to be displayed according to a preset frame rate, so that the user end can display the real-time rendered and converted electronic map picture in time.
In the above embodiment, when the user views the electronic map on the HTML5 page at the user end, a specified event such as panning or zooming is performed on the electronic map within the display range of the screen. And when the HTML5 page detects a corresponding specified event, analyzing the specified event to obtain corresponding map data to be displayed. Then the HTML5 page transmits the parsed map data to be displayed to a Java layer at the user end. And the Java layer sends the map data to be displayed to a remote server, wherein the server generates a dynamic link library by using C + + in advance. After the server receives the map database to be displayed, the Java layer calls a remote dynamic link library to render the map data to be displayed into an OpenGL picture in real time according to a preset frame rate. Meanwhile, the Java layer further calls a dynamic link library to convert each OpenGL picture into a map picture to be displayed in a specific format in a real-time coding manner. And the server transmits the converted map picture to be displayed to the Java layer. And the Java layer refreshes and receives the map picture to be displayed in real time according to the preset frame rate, and transmits the map picture to be displayed to the HTML5 page for real-time display, so that a user can check the real-time change of the electronic map within the screen display range.
In summary, in the method for processing the webpage map based on the vehicle-mounted intelligent device in the embodiment of the application, the resources of the remote server can be directly called according to the HTML5 page and the Java layer existing at the user side, and the map data to be displayed is converted into the map picture to be displayed with a smaller memory. On one hand, the design ensures that the whole framework is simple and easy to develop, is convenient to maintain, and reduces the technical difficulty and cost; on the other hand, the electronic map is refreshed and displayed in real time in a picture mode, system loads of a user side and a server side are reduced, display efficiency is high, and experience instant experience of a user for checking the map is improved.
Corresponding to the embodiment of the application function implementation method, the application also provides a processing device of the webpage map, the electronic equipment and a corresponding embodiment.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a processing apparatus for a web map based on an in-vehicle smart device according to an embodiment of the present application.
Referring to fig. 3, a processing apparatus for a web map based on an on-vehicle smart device according to an embodiment of the present application includes: a detection parsing module 310, a picture processing module 320, and a receiving module 330. Wherein:
the detection and analysis module 310 is configured to detect a specified event, and analyze the specified event to obtain to-be-displayed map data corresponding to the specified event. The image processing module 320 is configured to send the map data to be displayed obtained by the detection and analysis module 310 to a server, and call the server to convert the map data to be displayed into a map image to be displayed. The receiving module 330 is configured to receive the map picture to be displayed obtained by the picture processing module 320.
Further, in one embodiment, the detection and parsing module 310 at the user side detects the specified event through the HTML5 page, and parses the detected specified event through the HTML5 page to obtain the corresponding map data to be displayed. When the specified event is a map translation event, analyzing and obtaining corresponding position information when the map is translated; and when the specified event is a map zooming event, analyzing and obtaining the corresponding data level information when zooming the map.
Further, in one embodiment, the image processing module 320 at the user side receives the map data to be displayed after the HTML5 page processing, and generates the map data to be displayed to the server side through the Java layer. And the Java layer remotely calls a dynamic link library of the server, obtains OpenGL pictures rendered in real time through the dynamic link library, and codes each OpenGL picture into a map picture to be displayed.
Further, in one embodiment, the receiving module 330 at the user side receives the map picture to be displayed, which is processed at the server side, through the Java layer. Further, the Java layer of the receiving module 330 refreshes in real time according to a preset frame rate, and receives a map picture to be displayed at the server.
Further, in one embodiment, the processing apparatus for the webpage map based on the on-vehicle intelligent device further includes a display module 340. The display module 340 is configured to display the map picture to be displayed received by the receiving module 330. In order to ensure timely display of the electronic map, the HTML5 page may receive the map picture to be displayed in the Java layer in real time according to a preset frame rate.
To sum up, the processing apparatus for the webpage map based on the vehicle-mounted intelligent device obtains the map data to be displayed of the designated event through the detection and analysis module 310, sends the map data to be displayed to the server through the picture processing module 320, transfers the resource of the server to convert the map data to be displayed into the map picture to be displayed, finally receives the map picture to be displayed through the receiving module 330, and displays the map picture to be displayed through the display module 340, so that the user can find the electronic map. Due to the design, the processing modules of the user side and the server side are easy to develop and build, the same webpage map display effect can be achieved without additionally adopting a complex technology for building, the account opening maintenance cost is low, the image format with smaller memory is adopted for displaying, the display speed is higher, and the user experience is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.
Referring to fig. 4, an electronic device 400 includes a memory 410 and a processor 420.
The Processor 420 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 410 may include various types of storage units, such as system memory, Read Only Memory (ROM), and permanent storage. Wherein the ROM may store static data or instructions that are required by the processor 420 or other modules of the computer. The persistent storage device may be a read-write storage device. The persistent storage may be a non-volatile storage device that does not lose stored instructions and data even after the computer is powered off. In some embodiments, the persistent storage device employs a mass storage device (e.g., magnetic or optical disk, flash memory) as the persistent storage device. In other embodiments, the permanent storage may be a removable storage device (e.g., floppy disk, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as a dynamic random access memory. The system memory may store instructions and data that some or all of the processors require at runtime. Further, the memory 410 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic and/or optical disks, may also be employed. In some embodiments, memory 410 may include a removable storage device that is readable and/or writable, such as a Compact Disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (e.g., SD card, min SD card, Micro-SD card, etc.), a magnetic floppy disc, or the like. Computer-readable storage media do not contain carrier waves or transitory electronic signals transmitted by wireless or wired means.
The memory 410 has stored thereon executable code that, when processed by the processor 420, may cause the processor 420 to perform some or all of the methods described above.
Furthermore, the method according to the present application may also be implemented as a computer program or computer program product comprising computer program code instructions for performing some or all of the steps of the above-described method of the present application.
Alternatively, the present application may also be embodied as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) having stored thereon executable code (or a computer program, or computer instruction code) which, when executed by a processor of an electronic device (or electronic device, server, etc.), causes the processor to perform some or all of the various steps of the above-described methods in accordance with the present application.
Having described embodiments of the present application, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A webpage map processing method based on vehicle-mounted intelligent equipment is characterized by comprising the following steps:
detecting a specified event, and analyzing to obtain map data to be displayed corresponding to the specified event;
sending the map data to be displayed to a server, and calling the server to convert the map data to be displayed into a map picture to be displayed;
and receiving the map picture to be displayed.
2. The method of claim 1, wherein: the detecting the appointed event and analyzing and acquiring the map data to be displayed corresponding to the appointed event comprise the following steps:
detecting a specified event, wherein the specified event is a map translation event or a map zooming event;
when the specified event is a map translation event, analyzing and obtaining corresponding position information when the map is translated;
and when the specified event is a map zooming event, analyzing and obtaining the corresponding data level information when zooming the map.
3. The method of claim 1, wherein: the method for sending the map data to be displayed to a server and calling the server to convert the map data to be displayed into a map picture to be displayed comprises the following steps:
generating a dynamic link library at the server in advance;
calling the dynamic link library, and obtaining a real-time rendering picture according to the map data to be displayed;
and converting the real-time rendering picture into a map picture to be displayed.
4. The method of claim 3, wherein: the calling the dynamic link library to obtain a real-time rendering picture according to the map data to be displayed comprises the following steps:
and calling the dynamic link library, and rendering the map data to be displayed in real time to obtain an OpenGL picture.
5. The method of claim 1, wherein: after receiving the map picture to be displayed, the method further comprises:
and displaying the map picture to be displayed according to a preset frame rate.
6. The method of claim 5, wherein: and setting the corresponding preset frame rate according to the specified event.
7. The method of claim 1, wherein:
detecting a specified event on an HTML5 page, and/or displaying the map picture to be displayed on the HTML5 page.
8. The utility model provides a processing apparatus of webpage map based on-vehicle smart machine which characterized in that:
the detection analysis module is used for detecting a specified event and analyzing to obtain the map data to be displayed corresponding to the specified event;
the image processing module is used for sending the map data to be displayed obtained by the detection and analysis module to a server and calling the server to convert the map data to be displayed into a map image to be displayed;
and the receiving module is used for receiving the map picture to be displayed obtained by the picture processing module.
9. An electronic device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method of any one of claims 1-7.
10. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the method of any one of claims 1-7.
CN202110274094.1A 2021-03-15 2021-03-15 Webpage map processing method and device based on vehicle-mounted intelligent equipment Active CN112667941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110274094.1A CN112667941B (en) 2021-03-15 2021-03-15 Webpage map processing method and device based on vehicle-mounted intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110274094.1A CN112667941B (en) 2021-03-15 2021-03-15 Webpage map processing method and device based on vehicle-mounted intelligent equipment

Publications (2)

Publication Number Publication Date
CN112667941A true CN112667941A (en) 2021-04-16
CN112667941B CN112667941B (en) 2021-07-16

Family

ID=75399352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110274094.1A Active CN112667941B (en) 2021-03-15 2021-03-15 Webpage map processing method and device based on vehicle-mounted intelligent equipment

Country Status (1)

Country Link
CN (1) CN112667941B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090100342A1 (en) * 2007-10-12 2009-04-16 Gabriel Jakobson Method and system for presenting address and mapping information
CN103187003A (en) * 2011-12-31 2013-07-03 北京图盟科技有限公司 Access method, device and system of electronic map
CN108444495A (en) * 2017-11-02 2018-08-24 环达电脑(上海)有限公司 Onboard navigation system and its method that vehicle mounted guidance information is provided
CN109448075A (en) * 2018-10-15 2019-03-08 网宿科技股份有限公司 A kind of image processing method and server
CN111445399A (en) * 2020-03-11 2020-07-24 西安万像电子科技有限公司 Image processing method and system
CN112468970A (en) * 2020-11-03 2021-03-09 广州理工学院 Campus navigation method based on augmented reality technology

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090100342A1 (en) * 2007-10-12 2009-04-16 Gabriel Jakobson Method and system for presenting address and mapping information
CN103187003A (en) * 2011-12-31 2013-07-03 北京图盟科技有限公司 Access method, device and system of electronic map
CN108444495A (en) * 2017-11-02 2018-08-24 环达电脑(上海)有限公司 Onboard navigation system and its method that vehicle mounted guidance information is provided
CN109448075A (en) * 2018-10-15 2019-03-08 网宿科技股份有限公司 A kind of image processing method and server
CN111445399A (en) * 2020-03-11 2020-07-24 西安万像电子科技有限公司 Image processing method and system
CN112468970A (en) * 2020-11-03 2021-03-09 广州理工学院 Campus navigation method based on augmented reality technology

Also Published As

Publication number Publication date
CN112667941B (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN106991154B (en) Webpage rendering method and device, terminal and server
CN108279966B (en) Webpage screenshot method, device, terminal and storage medium
CN106201514B (en) A kind of building and application method of the WebGIS Development Framework based on OpenLayers
CN112770188B (en) Video playing method and device
CN113095995B (en) Webpage watermark adding method and device, electronic equipment and storage medium
CN109472852B (en) Point cloud image display method and device, equipment and storage medium
CN107885645B (en) Method and device for calculating rendering duration of first screen of page and electronic equipment
CN109658325B (en) Three-dimensional animation rendering method and device
CN108021356B (en) Cross-screen and cross-platform measurable live-action map organization method
CN111339458A (en) Page presenting method and device
US20210012455A1 (en) Method and device for loading image
CN104850388A (en) Method and apparatus for drafting webpage
US20220215192A1 (en) Two-dimensional code display method, apparatus, device, and medium
CN109814868B (en) Network transmission simulation method and device, computer equipment and storage medium
CN109885301B (en) Method, device, storage medium and equipment for generating scalable vector graphics
CN111882634A (en) Image rendering method, device and equipment and storage medium
CN115439609B (en) Three-dimensional model rendering method, system, equipment and medium based on map service
CN110909896A (en) Visual operation and maintenance monitoring method and device
CN109145128B (en) Online visualization method for large-scale data
CN112667941B (en) Webpage map processing method and device based on vehicle-mounted intelligent equipment
CN111460342B (en) Page rendering display method and device, electronic equipment and computer storage medium
CN109992698B (en) Data processing method and device, electronic equipment and readable storage medium
CN116503529A (en) Rendering, 3D picture control method, electronic device, and computer-readable storage medium
CN110688116A (en) Image file analysis method, device, equipment and readable medium
CN111198731A (en) Interface implementation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant