CN112083845A - Bubble control processing method and device - Google Patents

Bubble control processing method and device Download PDF

Info

Publication number
CN112083845A
CN112083845A CN202010941879.5A CN202010941879A CN112083845A CN 112083845 A CN112083845 A CN 112083845A CN 202010941879 A CN202010941879 A CN 202010941879A CN 112083845 A CN112083845 A CN 112083845A
Authority
CN
China
Prior art keywords
click
bubble control
bubble
area
clicking
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
CN202010941879.5A
Other languages
Chinese (zh)
Other versions
CN112083845B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010941879.5A priority Critical patent/CN112083845B/en
Publication of CN112083845A publication Critical patent/CN112083845A/en
Application granted granted Critical
Publication of CN112083845B publication Critical patent/CN112083845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application discloses a bubble control processing method and device, relates to the technical field of computer vision in computer technology, and the specific implementation scheme is as follows: the terminal device may further determine a first click area corresponding to the click operation after obtaining the click operation of the user on the bubble control. Because a plurality of click areas are divided in the bubble control, and each click area can determine a click event, the terminal device can determine a first click event and execute the first click event according to a first click area clicked by a user. According to the embodiment of the application, even if a plurality of click areas at any positions are included in one bubble control, the click detection of the bubble control is only needed, on the basis of reducing the complexity required by drawing the bubble control, the complexity of the click operation of the terminal equipment for identifying the user is also reduced, and therefore the processing efficiency of the terminal equipment on the panoramic map data is further improved.

Description

Bubble control processing method and device
Technical Field
The invention relates to the technical field of computer vision in computer technology, in particular to a bubble control processing method and device.
Background
The panoramic map is a map capable of representing and displaying a spatial scene, and a user can view 360-degree real-scene street view at different positions at a first view angle through the panoramic map, so that stronger sense of reality and sense of immersion are obtained. With the continuous development and application of the panoramic map, the panoramic map can provide more functions besides a simple viewing position, for example, Information such as names and distances of Point of Information (POI) is displayed in the panoramic map through a bubble control, so that a user can conveniently view POIs corresponding to different bubble controls in the panoramic map at a first view angle.
In the prior art, different POIs can be directly represented on a panoramic map in a bubble control form, but the bubble control can only provide simple display and click functions, and in order to provide more functions related to the POI in one bubble control, controls corresponding to the functions one to one need to be drawn in the bubble control to further realize the functions. When the terminal equipment displays the panoramic map, the clicking operation of the control in the bubble control is detected, and when the situation that the user clicks a certain control in the bubble control is detected, the function corresponding to the control is further executed.
However, with the prior art, when the number of functions included in one bubble control is large, more controls are needed to realize the bubble control, and when each bubble control in the panoramic map includes more functions, the data volume of the panoramic map is large, and the performance of the panoramic map during drawing is also greatly reduced, so that the calculation amount and difficulty of a supplier for drawing the panoramic map are increased, higher requirements are provided for the performance of the terminal equipment during displaying the panoramic map, and the processing efficiency of the panoramic map data is further reduced.
Disclosure of Invention
The application provides a bubble control processing method and device, which are used for improving the processing efficiency of panoramic map data.
An embodiment of the first aspect of the present application provides a bubble control processing method, where after acquiring a click operation of a user on a bubble control, a terminal device may further determine a first click region corresponding to the click operation. Because a plurality of click areas are divided in the bubble control, and each click area can determine a click event, the terminal device can determine a first click event and execute the first click event according to a first click area clicked by a user. Therefore, according to the embodiment, even if a plurality of click areas at any positions are included in one bubble control, the click detection of the bubble control is only needed, and on the basis of reducing the complexity required for drawing the bubble control, the complexity of the terminal equipment for identifying the click operation of the user is also reduced, so that the processing efficiency of the terminal equipment for the panoramic map data is further improved.
In an embodiment of the first aspect of the present application, the terminal device can divide the bubble control in the panoramic map data into different click areas according to a coordinate axis, and display the click areas, so that a subsequent user can click different click areas in the bubble control, and then the terminal device can execute a click event corresponding to the click area. Therefore, the example embodiment enables that even if a plurality of click areas at any positions are included in one bubble control, the click detection of the bubble control is only needed and the detection is realized by combining with the identification of the coordinate axis, and a control or a texture does not need to be drawn separately for each click event in the bubble control, so that the complexity for drawing the bubble control is reduced. And when the number of the bubble controls in the panoramic map is large, the data volume and complexity of drawing the panoramic map can be reduced, the calculation amount and difficulty in drawing the panoramic map are reduced, the difficulty in drawing the panoramic map is reduced, the performance requirement for displaying the panoramic map by the terminal equipment is reduced, the calculation amount when the terminal equipment detects the click operation of a plurality of controls simultaneously can be avoided, the click actions of all click areas in the bubble controls are identified and managed in a unified mode through coordinate axes, the program code logic is simple, the detection program code logic confusion of the controls can be prevented, and the expandability of the bubble control processing method is improved.
In the first embodiment of the first aspect of the present application, each click area may correspond to one click event, and in order to distinguish the click events of each click area, an icon for identifying the click event corresponding to the click area may also be displayed in each click area, so that a user can distinguish different click areas more easily, recognition efficiency and click efficiency when clicking a bubble control are improved, and processing efficiency of a terminal device on the bubble control can also be further improved.
In an embodiment of the first aspect of the present application, the determined second position information is, specifically, an X-axis distance and a Y-axis distance between the second target position of the click region and the origin, and a length and a width of the click region in an X-Y coordinate system established with the first target position of the bubble control as the origin. Therefore, in this embodiment, after the bubble control is established with the coordinate system, each bubble control is identified by the relative position between the target position of the clicking area in the bubble control and the origin, so that even though a plurality of clicking areas including any position in one bubble control can be realized in a simpler manner, click detection only needs to be performed through the bubble control, and the identification of the coordinate axis is combined to realize, and a control or texture does not need to be drawn for each clicking event in the bubble control, thereby improving the processing efficiency of the terminal device on the panoramic map data.
In an embodiment of the first aspect of the present application, the first target position is an upper left vertex, a lower left vertex, an upper right vertex, or a lower right vertex of the rectangular bubble control; the second target position is an upper left vertex, a lower left vertex, an upper right vertex or a lower right vertex of the rectangular click region. Therefore, in this embodiment, based on the coordinate system established by the bubble control, any vertex of the bubble control and any vertex of the click region can be set as a relative position, and the relationship between the two vertices is calculated, so that the position of the click region can be more simply and effectively represented, the subsequent coordinate of each region can be conveniently represented, and the region specifically corresponding to the click event is determined to be searched.
In an embodiment of the first aspect of the present application, after obtaining a click operation of a user on a bubble control, a terminal device may further determine a first click region corresponding to the click operation. Because a plurality of click areas are divided in the bubble control, and each click area can determine a click event, the terminal device can determine a first click event and execute the first click event according to a first click area clicked by a user. Therefore, according to the embodiment, the terminal equipment can execute the click event corresponding to the click area by clicking different click areas in the bubble control by the user of the terminal equipment. Even if a plurality of click areas at any positions are included in one bubble control, click detection of the bubble control is only needed, and the detection is realized by combining the marks of the coordinate axes, and a control or texture does not need to be drawn for each click event in the bubble control, so that on the basis of reducing the complexity required for drawing the bubble control, the complexity of click operation of a terminal device for identifying a user is also reduced (only the coordinates of the area corresponding to the click operation specifically need to be compared), and the processing efficiency of the terminal device for panoramic map data is further improved.
A second aspect of the present application provides a bubble control processing apparatus, which is configured to execute the bubble control processing method according to the first aspect of the present application, and the apparatus includes: the device comprises a display module, a detection module, a determination module and an execution module. The display module is used for displaying the bubble control on the display interface; the bubble control comprises a plurality of clicking areas, and each clicking area corresponds to a clicking event; the detection module is used for acquiring the clicking operation of the bubble control; the determining module is used for determining that the position of the clicking operation falls in a first clicking area in the plurality of clicking areas; and the execution module is used for executing a first click event corresponding to the first click area.
In an embodiment of the second aspect of the present application, the bubble control processing apparatus further includes: the acquisition module is used for acquiring panoramic map data to be displayed; wherein the panoramic map data comprises: the bubble control comprises a panoramic image of a target position, first position information of the bubble control on the panoramic image, and a plurality of second position information of a plurality of click areas in the bubble control; the display module is specifically configured to divide the multiple click areas in the bubble control according to the second position information; and displaying the panoramic image in the display interface, and displaying the bubble control on the panoramic image according to the first position information.
In an embodiment of the second aspect of the present application, the display module is further configured to display a plurality of icons in a one-to-one correspondence on a plurality of click areas in the display bubble, respectively; and each icon is used for identifying a click event corresponding to the click area where the icon is located.
In an embodiment of the second aspect of the present application, the second location information includes: and in an X-axis-Y-axis coordinate system established by taking the first target position of the bubble control as an origin, the X-axis distance and the Y-axis distance between the second target position of the clicking area and the origin, and the length and the width of the clicking area.
In an embodiment of the second aspect of the present application, the first target position is an upper left vertex, a lower left vertex, an upper right vertex, or a lower right vertex of the rectangular bubble control; the second target position is an upper left vertex, a lower left vertex, an upper right vertex or a lower right vertex of the rectangular click area.
In an embodiment of the second aspect of the present application, the bubble control processing apparatus further includes: the identification module is used for distributing a plurality of different identification information for the plurality of second position information; a sending module, configured to send, by the rendering engine, the identification information corresponding to the first click region to a processor, so that the processor executes the first click event.
A third aspect of the present application provides an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method according to any one of the first aspects of the present application.
A fourth aspect of the present application provides a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method according to any one of the first aspects of the present application.
According to the bubble control processing method and device, the bubble controls in the panoramic map data can be divided into different click areas according to coordinate axes and displayed, so that a subsequent user can click the different click areas in the bubble controls to realize that the terminal equipment executes click events corresponding to the click areas. Even if a plurality of click areas at any positions are included in one bubble control, the click detection of the bubble control is only needed to be realized by combining the identification of the coordinate axis, and a control or texture does not need to be drawn for each click event in the bubble control, so that the complexity for drawing the bubble control is reduced firstly. And when the number of the bubble controls in the panoramic map is large, the data volume and the complexity of the drawing of the panoramic map can be reduced, the calculation amount and the difficulty of the drawing of the panoramic map are reduced, the difficulty of the drawing of the panoramic map is improved, the performance requirement of displaying the panoramic map on the terminal equipment is reduced, the calculation amount of the terminal equipment during the click operation of a plurality of controls can be avoided, the click actions of all click areas in the bubble controls are identified and managed in a unified mode through coordinate axes, the program code logic is simple, the logic confusion of the detection program codes of the controls can be prevented, and the expandability of the bubble control processing method is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present application, nor do they limit the scope of the present application. Other features of the present application will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a first schematic diagram of an application scenario of the present application;
FIG. 2 is a second schematic diagram of an application scenario of the present application;
FIG. 3 is a third schematic diagram of an application scenario of the present application;
FIG. 4 is a fourth schematic diagram illustrating an application scenario of the present application;
FIG. 5 is a fifth schematic view of an application scenario of the present application;
FIG. 6 is a schematic diagram of a bubble control;
FIG. 7 is a schematic diagram of another bubble control design;
fig. 8 is a schematic flowchart of a bubble control processing method according to a first embodiment of the present disclosure;
FIG. 9 is a schematic illustration of second location information provided herein;
FIG. 10 is a schematic diagram of a second embodiment of processing position information provided herein;
FIG. 11 is a schematic diagram of a partitioned click zone provided herein;
FIG. 12 is a schematic illustration of a panoramic map display provided herein;
fig. 13 is a schematic flowchart of a second embodiment of a bubble control processing method provided in the present application;
FIG. 14 is a schematic diagram of a click operation on a bubble control provided herein;
fig. 15 is a schematic flowchart of a third embodiment of a bubble control processing method provided in the present application;
fig. 16 is a schematic structural diagram of an embodiment of a bubble control processing apparatus provided in the present application;
fig. 17 is a schematic structural diagram of an embodiment of a bubble control processing apparatus provided in the present application;
fig. 18 is a schematic structural diagram of an embodiment of a bubble control processing apparatus provided in the present application;
fig. 19 is a block diagram of an electronic device illustrating a bubble control processing method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Before formally describing the embodiments of the present application, a description will be given below of the application scenarios and the problems in the prior art with reference to the accompanying drawings.
Fig. 1 is a schematic view of an application scenario of the present application, where a terminal device 1 used by a user may obtain map data provided by a provider and display the map data on a display interface 11, so that the user views the map data in a two-dimensional plane manner through the display interface 11. In the embodiments of the present application, the terminal device 1 is taken as a mobile phone as an exemplary illustration, but not limited thereto. The terminal device 1 may store the map data in advance, or acquire the map data of the viewing area from the server of the provider in real time when the user needs to view it.
With the increasing demand of people for map data and the more mature related technologies, some suppliers also provide a 'panoramic' map, and display visual images at different positions to users in a three-dimensional plane mode, so that the users can know the real conditions at different positions more intuitively. In the two-dimensional planar map shown in fig. 1, after entering the panoramic mode, the user can view the panoramic map of the clicked position by clicking the display interface 11. For example, when the user clicks the intersection of the road a and the road B in fig. 1, the terminal device 1 displays the panoramic map of the intersection clicked by the user through its display interface 11.
Fig. 2 is a schematic diagram of an application scenario of the present application, in which the terminal device 1 displays a panoramic map of intersections of the road a and the road B through its display interface 11, wherein street views such as streets, buildings and the like that can be seen when the user stands at the intersections and faces the road a are more realistically displayed through a first viewing angle in a three-dimensional image manner. At the same time, the user can also rotate the display direction in the display interface 11 shown in fig. 2, for example, from the direction toward road a to the direction toward road B, and view the street view that can be seen when facing road B. Such a map may be referred to as a "panoramic" map since the user may view the real street view from all arbitrary angles at the location of the click through the display interface 11 as shown in fig. 2. Optionally, a worker of the map provider may drive the map collection vehicle to travel on the target road, so that the map collection device mounted on the vehicle collects initial data of the panoramic map, and the map provider may provide the panoramic map data of the target road after the technician performs post-processing on the collected initial data.
Further, in the panoramic map mode, a user views the map at a first person viewing angle, and the user can visually see the street views such as the nearby floors, shops, and the like, and at this time, the panoramic map can also provide an indication of the positions of different Information Points (POI). Among them, one POI in the map data may be a house, a shop, a bus station, a movie theater, etc. Fig. 3 is a third schematic diagram of an application scenario of the present application, where a search control 111 is added to the terminal device 1 through the display interface 11 of the terminal device on the basis of displaying a panoramic map. The user of the terminal device 1 can click on the "restaurant" icon within the find control 111 when he wants to view a nearby restaurant in the mode of the panoramic map.
Subsequently, fig. 4 is a diagram of an application scenario of the present application, and the terminal device 1 may display, in a panoramic map in the display interface 11, prompt information according to a location of each restaurant, where the prompt information may indicate names of the restaurants and distances from the current location, and the prompt information relates to the locations of the restaurants, and where the displayed location of the prompt information may indicate directions and distances between the current location of the user and the restaurants. For example, in the example shown in FIG. 4, the reminder shows restaurant a 500 meters directly in front of road A, restaurant b 50 meters on the right floor, restaurant c 100 meters on the left street, and so on. Meanwhile, since the panoramic map is displayed on the display interface 11 of the terminal device 1 in the panoramic map mode at present, at this time, each prompt message is displayed in the form of a "bubble control" that can float on the map data because the controls such as buttons cannot be directly added on the map data. In the schematic diagram shown in fig. 4, each bubble control may be used to indicate information of one POI in the map data, and thus the hint information presented through the bubble control may also be referred to as a map representation of a POI point, a visual representation of a POI, or the like.
In the scenario shown in fig. 4, if the user clicks the bubble control corresponding to "restaurant c", the terminal device 1 may display the panoramic map of restaurant c according to the click of the user. For example, fig. 5 is a schematic diagram of an application scenario of the present application, at this time, the terminal device 1 displays a panoramic map at a position in front of a restaurant c according to a bubble control corresponding to a restaurant c clicked by the user, and similarly, the user may also rotate the display direction in the display interface 11 shown in fig. 5, so that the user can view a real street view at any angle around the position in front of the restaurant c through the display interface 11.
In the application scenarios shown in fig. 1 to 5, although the terminal device 1 displays the panoramic map through the displayable interface 11, the user can obtain a more real sense of view, and provide prompts of different POI points under the panoramic map, which is convenient for the user to search and view POIs more directly in the panoramic map mode.
Taking the display interface 11 in fig. 4 as an example, since the POI needs to be indicated in the panoramic map in the form of a bubble control, the bubble control in the prior art is only used for displaying information, and only simple display and click functions are available, and more functions cannot be implemented in one bubble control. For example, fig. 6 is a design diagram of a bubble control, under the concept of fig. 6, at least three functions may be included in the bubble control 112 for indicating POI of restaurant b, and "restaurant b |50 m" corresponds to a function of viewing information of restaurant b, and a user may click to view specific information of restaurant b; the 'ordering' corresponds to the ordering function of the restaurant b, and the user can click to perform the operation of ordering in the restaurant b; and "navigation" corresponds to a function of navigating to restaurant b, and a user can give a navigation route to restaurant b at the current location after clicking. The user may wish to enable more functionality with one bubble control 112 when the bubble control 112 shown in fig. 6 is displayed in the panoramic map within the display interface 11 shown in fig. 4. In addition, fig. 7 is a design schematic diagram of another bubble control, and fig. 7 shows a functional schematic diagram in the bubble control 112 for indicating POI of hotel x, identification and distance of hotel x, room-booking function of hotel x, and function for viewing details of hotel x. The design is only different from that of fig. 6 in layout, and the design ideas provided in combination with fig. 6 and 7 are the same, and it is desirable to realize different functions in one bubble control.
However, if the prior art implements different functions in the bubble control as shown in fig. 6 or fig. 7, a plurality of different controls 1121 need to be drawn in the bubble control to correspond to a plurality of functional meanings. Each of the drawn controls 1121 is configured to represent a different function in the bubble control 112, and is configured to detect a click action, and as for the terminal device 1, it is also required to identify and detect multiple controls respectively through parallel time. For example, when drawing the bubble control 112 shown in fig. 6, it is first necessary to draw the main body of the bubble control 112, and then draw three model controls in the bubble control 112, which correspond to three functions of navigating, viewing restaurant b information, and ordering food. Then, the terminal device may simultaneously detect the click operation on the three model controls, and if the click operation on the navigation model control is detected, the subsequent navigation function may be executed.
Therefore, if the bubble control shown in fig. 6 or fig. 7 is implemented by the prior art, if the bubble control includes a plurality of different functions, a control corresponding to the plurality of functions one to one needs to be drawn in the bubble control, so as to identify a click event for each function and trigger subsequent execution. In fig. 6 or fig. 7, only three functions included in the bubble control are taken as an example, and when more functions are included in one bubble control, more controls are needed to implement the one bubble control, and when the bubble controls are applied to the panoramic map shown in fig. 4 and more functions are included in each bubble control in the panoramic map, great complexity is brought to drawing of panoramic map data, so that the data size of the panoramic map shown in fig. 4 is great, the performance of drawing the panoramic map is also greatly reduced, the calculation amount and difficulty of drawing the panoramic map by a provider are increased, and higher requirements are provided for the performance of displaying the panoramic map by a terminal device. Meanwhile, the terminal device also needs to detect the click events of all controls in the panoramic map at the same time, and since the controls are logically parallel, the calculated amount of the terminal device is increased, and the logic of the program codes for detection in the terminal device is disordered, which is not beneficial to the expansion of the subsequent program codes.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 8 is a flowchart of a first embodiment of a bubble control processing method provided by the present application, and as shown in the first embodiment of fig. 8, the first embodiment shows a terminal device 1 in a scene as shown in fig. 1 to 5, and when displaying panoramic map data, a specific implementation manner of a bubble control including multiple functions as shown in fig. 6 or fig. 7 is displayed on a panoramic map. The execution subject of the method may be any electronic device with a display interface, or the execution subject may be a processor or the like in the electronic device. In a specific implementation manner, the method shown in fig. 8 may be performed by a rendering engine for rendering map data in the terminal device, where the engine may be a separately configured processor in a physical entity, or may be implemented in other processors in the electronic device through a software program, and this embodiment is not limited in this embodiment. In addition, in the embodiments of the present application, taking a terminal device such as a mobile phone with a display screen as an example, the display screen of the mobile phone may further have a touch and click function, and the mobile phone may detect a click action of a user by touching the display screen with a finger of the user. Specifically, the bubble control processing method provided in this embodiment includes:
s101: and acquiring panoramic map data to be displayed.
In this embodiment, a terminal device serving as an execution subject may first acquire panoramic map data to be displayed, where the panoramic map data specifically includes: the method comprises the steps of obtaining a panoramic image of a target position, first position information of a bubble control on the panoramic image, and a plurality of second position information of a plurality of click areas in the bubble control.
Specifically, the target position may be a position clicked by the user, or a position where the terminal device is currently located. Meanwhile, the terminal device may acquire the panoramic map data from a server provided by a map provider through the internet, may refer to a scene as shown in fig. 1, and when detecting a click operation of a user on a crossing intersection between a road a and a road B, the terminal device transmits the clicked crossing intersection as a target position to the server, and receives the panoramic map data at the target position transmitted by the server. The panoramic image of the target position in the panoramic map data may be as shown in fig. 2, where the panoramic image refers to an image of the target position at 360 degrees, that is, when the user rotates the panoramic image in fig. 2, the street view at any angle may be seen. Or, the terminal device may also read the panoramic map data from the storage device, and if the terminal device has downloaded or stored the panoramic map data of some positions in advance, for example, when a click of a user on a crossing intersection between the road a and the road B is detected, the terminal device may directly read the panoramic map data of the target position from the storage device.
Optionally, the first position information of the bubble control on the panoramic image includes data of a relative position between the POI indicated by the bubble control with respect to the current target position, and a length and a width of the bubble control when displayed within the display interface. Referring to the example shown in fig. 4, taking the bubble control of "restaurant a |500 meters" as an example, the first position information of the bubble control in the present embodiment may include a position indicating that the bubble control is 500 meters away from the current target position and is in front of the road a in the direction; meanwhile, the first position information also includes the length and width of the bubble control, such as m pixels long, n pixels wide, and the like. The data in the first location information for indicating the relative location of the bubble control may be obtained by a server of a map provider through calculation according to a panoramic image of a current target location, a relative distance between the target location and the current location, a relative direction and other data, or may also be obtained by calculation of a terminal device; alternatively, it may be calculated and stored in advance by the server.
Optionally, the second location information comprises: and in an X-axis-Y-axis coordinate system established by taking the first target position of the bubble control as an origin, the X-axis distance and the Y-axis distance between the second target position of the click region and the origin, and the length and the width of the click region. For example, fig. 9 is a schematic diagram of second position information provided by the present application, where the second position information is specifically used to indicate multiple click regions 1122 within the bubble control 112, and the purpose of drawing each click region 1122 with a dotted line is to indicate that the second position information is only used to indicate that these regions exist within the bubble control 112, and is not actually divided within the bubble control 112 within the panoramic map data. The click area 1122 shown in fig. 9 may be designed by a designer of a map provider, and may be represented by an image, a character, or a program code, and transmitted to a server or a terminal device for drawing a map. Moreover, each click area corresponds to a click event, and the corresponding click event may also be designed by the designer.
S102: and dividing a plurality of click areas in the bubble control according to the second position information.
Specifically, after acquiring the panoramic map data to be displayed in S101, the terminal device serving as the execution subject may divide the bubble control to be displayed into a plurality of click areas according to the second position information in the panoramic map data by the engine through which the terminal device may draw a map before displaying the panoramic map data.
For example, assuming that the second location information shown in fig. 9 is received, reference may be made to fig. 10 for processing the second location information, and fig. 10 is a schematic diagram of a processing manner of the second location information provided in this application. First, an X-Y coordinate system of the left X positive direction and the upper Y positive direction is established according to the origin P (0, 0) at a first target position (the first target position may be an upper left vertex, a lower left vertex, an upper right vertex, or a lower right vertex of the rectangular bubble control, and the upper left vertex is taken as an example and not limited in this embodiment) on the bubble control 112. Then, in this coordinate system, according to the specific position of the click region 1122 indicated by the second position information shown in fig. 9, the X-axis distance and the Y-axis distance from the origin at the second target position (the second target position may be the upper left vertex, the lower left vertex, the upper right vertex, the lower right vertex, or the like of the rectangular bubble control, and the upper left vertex is taken as an example and not limited in this embodiment) of each click region may be represented by the pixel points in between. For example, for the bubble control a, the distance from the upper left Q1 to the P point is (xa, ya), the distance from the upper left Q2 to the P point is (xb, yb) … …, and if the bubble control includes N click regions, the distance from the upper left QN to the P point of the nth bubble control is (xN, yN). Similarly, the length and width of each click region can also be represented by a pixel point between the coordinates shown in fig. 10, for example, (w, h), and in combination with the above distance, the second position information of each bubble control can be represented as the following array, which is denoted as array 1:
“(xa,ya,wa,ha)
(xb,yb,wb,hb)
……
(xN,yN,wN,hN)”
finally, fig. 11 is a schematic diagram of dividing the click area provided by the present application, as shown in fig. 11, after the terminal device obtains the array 1 by establishing a coordinate system according to the second position information, a plurality of click areas 1123 may be actually divided in the bubble control 112 in fig. 11, and the positions of the plurality of click areas are obtained, assuming that there are N click areas, a total of N click areas are divided in fig. 11, and each click area corresponds to one click event.
S103: and displaying the panoramic image in the display and interface, and displaying a bubble control on the panoramic image according to the first position information.
Specifically, with reference to fig. 12, fig. 12 is a schematic display diagram of a panoramic map provided by the present application regarding the content displayed by the terminal device S103, where after receiving the panoramic map data in S101, the content that the terminal device 1 can display on its display interface 11 is as follows: panoramic images of target positions in panoramic map data, namely panoramic images of intersections where roads A and B cross in the map 12, are provided for users to view. And secondly, displaying bubble controls 112, such as bubble controls corresponding to POIs of a restaurant a, a restaurant b and a restaurant c in the map, on the panoramic map according to the first position information. Each bubble control is divided into different click areas according to the S102 method, and illustratively, each bubble control corresponding to a POI in fig. 12 includes three click areas. It should be noted that the three contents of (i) - (iii) above may be displayed simultaneously or sequentially, and the panoramic map data shown in fig. 12 is finally presented to the user.
In the display diagram of the panoramic map shown in fig. 12, it can be seen that, through the processing of this embodiment S101 to S103, in the panoramic map finally presented to the user through the display interface 11, the terminal device 1 includes a plurality of click areas (fig. 12 only uses three as an exemplary illustration and is not limited to fig. 12), meanwhile, each click area may correspond to one click event, and in order to distinguish the click events of each click area, in the interface described in fig. 12, an icon for identifying the click event corresponding to the click area may also be displayed in each click area, for example, three click areas are included in the bubble control 112 shown in fig. 12, each click area corresponds to one click event, for example, the "navigation" click area in the figure corresponds to the click event for implementing the function of navigating from the current position to the restaurant b, The "restaurant b |50 m" click region corresponds to a click event of the function of viewing information of the restaurant b and the "order" click region corresponds to a click event of implementing an order function at the restaurant b, and the terminal device may also display an icon (e.g., one compass image) for indicating navigation, information (e.g., text at a distance of 50 m) for indicating the restaurant b, an icon control (e.g., one knife and fork image) for indicating an order, and the like, respectively, in the three click regions when displaying the bubble control 112. The user can distinguish different click areas more easily, and the recognition efficiency and the click efficiency when the bubble control is clicked are improved.
In summary, in the bubble control processing method provided in the foregoing embodiment of the present application, the bubble control in the panoramic map data can be divided into different click areas according to the coordinate axis and displayed, so that a subsequent user can click different click areas in the bubble control, and then the terminal device can execute a click event corresponding to the click area. Even if a plurality of click areas at any positions are included in one bubble control, the click detection of the bubble control is only needed to be realized by combining the identification of the coordinate axis, and a control or texture does not need to be drawn for each click event in the bubble control, so that the complexity for drawing the bubble control is reduced firstly. And when the number of the bubble controls in the panoramic map is large, the data volume and complexity of drawing the panoramic map can be reduced, the calculation amount and difficulty in drawing the panoramic map are reduced, the difficulty in drawing the panoramic map is reduced, the performance requirement for displaying the panoramic map by the terminal equipment is reduced, the calculation amount when the terminal equipment detects the click operation of a plurality of controls at the same time can be avoided, the click actions of all click areas in the bubble controls are identified and managed in a unified mode through coordinate axes, the program code logic is simple, the detection program code logic confusion of the controls can be prevented, and the expandability of the bubble control processing method is improved.
Fig. 13 is a flowchart of a second embodiment of the bubble control processing method provided by the present application, and as shown in the second embodiment of fig. 13, the second embodiment shows that the terminal device 1 in the scene shown in fig. 12 displays a plurality of bubble controls, and when each bubble control includes a plurality of click areas, the terminal device 1 detects that a user clicks on a click area in a bubble control, and then performs an operation. Specifically, the bubble control processing method provided in this embodiment includes:
s201: and displaying the bubble control on the display interface.
The specific implementation of S201 may refer to S102-S103 shown in fig. 8, which is implemented in the same manner as the principle, and finally, the terminal device 1 is caused to display the panoramic map shown in fig. 12 through the display interface 11 thereof according to the panoramic map data. Each bubble control comprises a plurality of click areas in the panoramic map displayed on the display interface, and each click area corresponds to one click event.
S202: and acquiring the clicking operation of the bubble control by the user.
Specifically, the terminal device serving as the execution subject may obtain, through the detection module of the terminal device, a click operation of a user of the terminal device on a bubble control on the display interface, where the click operation may be any bubble control on the display interface. For example, when the terminal device 1 is a mobile phone, the touch operation of the user on the bubble control may be detected by the touch detection module; when the terminal device 1 is a computer, the clicking operation of the bubble control by the mouse pointer by the user can be achieved through the mouse detection module.
S203: it is determined that the click operation acquired in S202 falls in the first click region among the multiple click regions in the bubble control.
Specifically, fig. 14 is a schematic diagram of the click operation on the bubble control provided in the present application, and as shown in fig. 14, after the terminal device obtains the click operation of the user in S202, it is further determined that the click operation of the user corresponds to the position in the bubble control 112. Assuming that the user clicks the bubble control corresponding to the restaurant a shown in fig. 12, and the specific clicking operation corresponds to the R point shown in fig. 14, in S203, the position (Rx, Ry) of the R point relative to the coordinate axis with the P as the origin in the bubble control 112 may be determined, and the position (Rx, Ry) is compared with the array 1, and it is determined that the R point clicked by the user falls in the click area corresponding to the "order" function in the bubble control 112, and this area is recorded as the first click area.
S204: and executing a first click event corresponding to the first click area.
Specifically, after the terminal device determines the first click area in S203, the terminal device may execute the first click event corresponding to the first click area, for example, in the example shown in fig. 14, if it is determined that the R point clicked by the user falls in the click area corresponding to the "order" function in the bubble control 112, the terminal device may execute an order operation for restaurant a in S204. The method and the device have the advantages that the click events of the click areas are not limited, the corresponding relation between the click areas and the click events can be stored in the storage device of the terminal device, and the terminal device determines the first click event of the first click area from the storage device; or, the corresponding relationship between the click area and the click event may also be stored in a server of the provider, and after determining the first click area, the terminal device sends the first click area to the server, receives the first click event sent by the server, and then executes the first click event.
In summary, in the bubble control processing method provided in the second embodiment of the present application, after obtaining the click operation of the user on the bubble control, the terminal device may further determine the first click region corresponding to the click operation. Because a plurality of click areas are divided in the bubble control, and each click area can determine a click event, the terminal device can determine a first click event and execute the first click event according to a first click area clicked by a user. Therefore, according to the embodiment, the terminal equipment can execute the click event corresponding to the click area by clicking different click areas in the bubble control by the user of the terminal equipment. Even if a plurality of click areas at any positions are included in one bubble control, click detection of the bubble control is only needed, and the detection is realized by combining the marks of the coordinate axes, and a control or texture does not need to be drawn for each click event in the bubble control, so that on the basis of reducing the complexity required for drawing the bubble control, the complexity of click operation of a terminal device for identifying a user is also reduced (only the coordinates of the click operation need to be compared), and the processing efficiency of the terminal device on panoramic map data is further improved.
In the second embodiment shown in fig. 13, the terminal device is used as an execution main body, and the first click event corresponding to the first click area can be directly executed after the terminal device can detect the click operation and determine the first click area corresponding to the click operation. In some specific implementations, a special rendering engine for rendering the panoramic map may be provided in the terminal device, the rendering engine may be a physical processor or a virtual processing module implemented by a software program, and the rendering engine is dedicated to processing and displaying the panoramic map, and the first click event needs to be executed by a main processor such as a CPU of the terminal device.
For example, fig. 15 is a flowchart of a third embodiment of the bubble control processing method provided by the present application, and as shown in the third embodiment of fig. 15, S201 to S203 may all be executed by the rendering engine, and after the first click region is determined, the identification information corresponding to the first click region may be sent to the processor, so that the processor executes the first click time according to the identification information. Before S201 shown in fig. 15, the rendering engine of the terminal device may further assign different identification information (which may also be referred to as an identification key) to the click region in the bubble control, for example, the identification information of the click region a is denoted by ka, and the identification information of the click region b is denoted by kb … …, and the identification information of the click region N is denoted by kN. After the identification information may be carried in the second position information of each click area in the array 1, the array 2 is obtained as follows:
“(xa,ya,wa,ha,ka)
(xb,yb,wb,hb,kb)
……
(xN,yN,wN,hN,kN)”
finally, in S203, after the rendering engine within the terminal device determines that the position of the click operation falls within a first click region (e.g., click region a) of the plurality of click regions, the rendering engine may transmit identification information ka of the first click region to the processor of the terminal device in S304, so that the processor of the terminal device determines the first click region according to the identification information ka, and further determines a first click event according to the first click region, and finally executes the first click event by the processor.
In summary, in the bubble control processing method provided in the third embodiment of the present application, after obtaining the click operation of the user on the bubble control, the drawing engine may further determine a first click area corresponding to the click operation, send identification information of the first click area to the processor, and execute a first click event corresponding to the first click area by the processor. On the basis of reducing the complexity required for drawing the bubble control, the complexity of identifying the click operation of the user by the terminal equipment is also reduced (only the coordinates of the click operation need to be compared), the click area can be transmitted and identified through the identification information between the drawing engine and the processor, more application scenes can be met, and the expandability of the bubble control processing method is improved.
In the foregoing embodiment, the bubble control processing method provided in the embodiment of the present application is described, and in order to implement each function in the method provided in the embodiment of the present application, the terminal device serving as the execution subject may include a hardware structure and/or a software module, and implement each function in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
For example, fig. 16 is a schematic structural diagram of an embodiment of a bubble control processing apparatus provided in the present application, and the apparatus shown in fig. 16 may be used to execute the bubble control processing method in the foregoing embodiment of the present application, specifically, the bubble control processing apparatus 1600 shown in fig. 16 includes: a display module 1601, a detection module 1602, a determination module 1603, and an execution module 1604. The display module 1601 is configured to display a bubble control on a display interface; the bubble control comprises a plurality of clicking areas, and each clicking area corresponds to a clicking event; the detection module 1602 is configured to obtain a click operation on the bubble control; the determining module 1603 is configured to determine that the position of the click operation falls in a first click region of the multiple click regions; the execution module 1604 is configured to execute a first click event corresponding to the first click zone.
Fig. 17 is a schematic structural diagram of an embodiment of a bubble control processing apparatus provided in the present application, and the apparatus shown in fig. 17 further includes, on the basis of the apparatus shown in fig. 16: an obtaining module 1701 for obtaining panoramic map data to be displayed; wherein the panorama map data includes: the method comprises the steps of obtaining a panoramic image of a target position, first position information of a bubble control on the panoramic image, and a plurality of second position information of a plurality of click areas in the bubble control; the display module 1601 is specifically configured to divide a plurality of click areas in the bubble control according to the second position information; and displaying the panoramic image in the display interface, and displaying the bubble control on the panoramic image according to the first position information.
Optionally, a plurality of icons corresponding to one another are respectively displayed on a plurality of click areas in the display bubble; and each icon is used for identifying the click event corresponding to the click area.
Optionally, the second location information comprises: and in an X-axis-Y-axis coordinate system established by taking the first target position of the bubble control as an origin, the X-axis distance and the Y-axis distance between the second target position of the click region and the origin, and the length and the width of the click region.
Optionally, the first target position is an upper left vertex, a lower left vertex, an upper right vertex, or a lower right vertex of the rectangular bubble control; the second target position is an upper left vertex, a lower left vertex, an upper right vertex or a lower right vertex of the rectangular click region.
Fig. 18 is a schematic structural diagram of an embodiment of a bubble control processing apparatus provided in the present application, and the apparatus shown in fig. 18 may not include the execution module 1604, and adds an identification module 1801 and a sending module 1802 at the same time on the basis of the apparatus shown in fig. 16. The identification module 1801 is configured to allocate a plurality of different identification information to a plurality of second location information; the sending module 1802 is configured to send, by the rendering engine, the identification information corresponding to the first click region to the processor, so that the processor executes the first click event.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the processing module may be a separate processing element, or may be integrated into a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and a processing element of the apparatus calls and executes the functions of the above determination module. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when some of the above modules are implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can call program code. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 19 is a block diagram of an electronic device according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 19, the electronic apparatus includes: one or more processors 1901, a memory 1902, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 19 illustrates an example of one processor 1901.
The memory 1902 is a non-transitory computer readable storage medium provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the bubble control processing method provided herein. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the bubble control processing method provided herein.
The memory 1902, as a non-transitory computer-readable storage medium, may be used for storing non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules (e.g., a determination module and an execution module shown in fig. 16, etc.) corresponding to the bubble control processing method in the embodiment of the present application. The processor 1901 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 1902, that is, implements the bubble control processing method in the above-described method embodiment.
The memory 1902 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the electronic device of the bubble control processing method, and the like. Further, the memory 1902 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1902 optionally includes memory located remotely from the processor 1901, and such remote memory may be connected to the bubble control processing method electronics over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the bubble control processing method may further include: an input device 1903 and an output device 1904. The processor 1901, the memory 1902, the input device 1903, and the output device 1904 may be connected by a bus or other means, and fig. 19 illustrates an example of a connection by a bus.
The input device 1903 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device of the bubble control handling method, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointer, one or more mouse buttons, a track ball, a joystick, or other input device. The output devices 1904 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server, which can also be a data server of a distributed system, or a data server that incorporates a blockchain), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (14)

1. A bubble control processing method is characterized by comprising the following steps:
displaying a bubble control on a display interface; the bubble control comprises a plurality of clicking areas, and each clicking area corresponds to a clicking event;
acquiring a clicking operation on the bubble control;
determining that the position of the click operation falls in a first click region of the plurality of click regions;
and executing a first click event corresponding to the first click area.
2. The method of claim 1,
before the bubble control is displayed on the display interface, the method further comprises the following steps:
acquiring panoramic map data to be displayed; wherein the panoramic map data comprises: the bubble control comprises a panoramic image of a target position, first position information of the bubble control on the panoramic image, and a plurality of second position information of a plurality of click areas in the bubble control;
the displaying of the bubble control on the display interface includes:
dividing the plurality of click areas in the bubble control according to the second position information;
and displaying the panoramic image in the display interface, and displaying the bubble control on the panoramic image according to the first position information.
3. The method of claim 2, wherein after displaying the bubble control on the display interface, further comprising:
respectively displaying a plurality of icons in one-to-one correspondence on a plurality of click areas in the display bubble; and each icon is used for identifying a click event corresponding to the click area where the icon is located.
4. The method according to claim 2 or 3,
the second location information includes: and in an X-axis-Y-axis coordinate system established by taking the first target position of the bubble control as an origin, the X-axis distance and the Y-axis distance between the second target position of the clicking area and the origin, and the length and the width of the clicking area.
5. The method of claim 4,
the first target position is an upper left vertex, a lower left vertex, an upper right vertex or a lower right vertex of the rectangular bubble control;
the second target position is an upper left vertex, a lower left vertex, an upper right vertex or a lower right vertex of the rectangular click area.
6. The method according to any one of claims 2 to 5,
before the bubble control is displayed on the display interface, the method further comprises the following steps:
assigning a plurality of different identification information to the plurality of second location information;
determining, by a rendering engine, a location of the click operation, the determining that the location of the click operation falls after a first click region of the plurality of click regions, further comprising:
and the drawing engine sends the identification information corresponding to the first click area to a processor, so that the processor executes the first click event.
7. An apparatus for processing a bubble control, comprising:
the display module is used for displaying the bubble control on the display interface; the bubble control comprises a plurality of clicking areas, and each clicking area corresponds to a clicking event;
the detection module is used for acquiring the clicking operation of the bubble control;
the determining module is used for determining that the position of the clicking operation falls in a first clicking area in the plurality of clicking areas;
and the execution module is used for executing a first click event corresponding to the first click area.
8. The apparatus of claim 7, further comprising:
the acquisition module is used for acquiring panoramic map data to be displayed; wherein the panoramic map data comprises: the bubble control comprises a panoramic image of a target position, first position information of the bubble control on the panoramic image, and a plurality of second position information of a plurality of click areas in the bubble control;
the display module is specifically configured to divide the multiple click areas in the bubble control according to the second position information; and displaying the panoramic image in the display interface, and displaying the bubble control on the panoramic image according to the first position information.
9. The apparatus of claim 8, wherein the display module is further configured to,
respectively displaying a plurality of icons in one-to-one correspondence on a plurality of click areas in the display bubble; and each icon is used for identifying a click event corresponding to the click area where the icon is located.
10. The apparatus according to claim 8 or 9,
the second location information includes: and in an X-axis-Y-axis coordinate system established by taking the first target position of the bubble control as an origin, the X-axis distance and the Y-axis distance between the second target position of the clicking area and the origin, and the length and the width of the clicking area.
11. The apparatus of claim 10,
the first target position is an upper left vertex, a lower left vertex, an upper right vertex or a lower right vertex of the rectangular bubble control;
the second target position is an upper left vertex, a lower left vertex, an upper right vertex or a lower right vertex of the rectangular click area.
12. The apparatus of any one of claims 8-11, further comprising:
the identification module is used for distributing a plurality of different identification information for the plurality of second position information;
a sending module, configured to send, by the rendering engine, the identification information corresponding to the first click region to a processor, so that the processor executes the first click event.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-6.
CN202010941879.5A 2020-09-09 2020-09-09 Bubble control processing method and device Active CN112083845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010941879.5A CN112083845B (en) 2020-09-09 2020-09-09 Bubble control processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010941879.5A CN112083845B (en) 2020-09-09 2020-09-09 Bubble control processing method and device

Publications (2)

Publication Number Publication Date
CN112083845A true CN112083845A (en) 2020-12-15
CN112083845B CN112083845B (en) 2022-04-26

Family

ID=73732188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010941879.5A Active CN112083845B (en) 2020-09-09 2020-09-09 Bubble control processing method and device

Country Status (1)

Country Link
CN (1) CN112083845B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287250A (en) * 2020-12-25 2021-01-29 智道网联科技(北京)有限公司 Map engine anchor event response method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040684A1 (en) * 2006-08-14 2008-02-14 Richard Crump Intelligent Pop-Up Window Method and Apparatus
CN102402789A (en) * 2010-09-17 2012-04-04 腾讯科技(深圳)有限公司 Image drawing method and device
US8433512B1 (en) * 2009-11-12 2013-04-30 Google Inc. Enhanced identification of interesting points-of-interest
CN103514290A (en) * 2013-10-08 2014-01-15 百度在线网络技术(北京)有限公司 Electronic map information point acquisition method, acquisition device and server
CN104881313A (en) * 2015-06-05 2015-09-02 北京金山安全软件有限公司 Method and device for starting functions in terminal application
CN107168602A (en) * 2017-04-07 2017-09-15 深圳市金立通信设备有限公司 One kind control application drawing calibration method and terminal
US20170357414A1 (en) * 2016-06-12 2017-12-14 Apple Inc. Map Application with Novel Search, Browsing and Planning Tools
CN109791547A (en) * 2016-11-21 2019-05-21 谷歌有限责任公司 Electronic map interface
CN111316333A (en) * 2018-09-30 2020-06-19 华为技术有限公司 Information prompting method and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040684A1 (en) * 2006-08-14 2008-02-14 Richard Crump Intelligent Pop-Up Window Method and Apparatus
US8433512B1 (en) * 2009-11-12 2013-04-30 Google Inc. Enhanced identification of interesting points-of-interest
CN102402789A (en) * 2010-09-17 2012-04-04 腾讯科技(深圳)有限公司 Image drawing method and device
CN103514290A (en) * 2013-10-08 2014-01-15 百度在线网络技术(北京)有限公司 Electronic map information point acquisition method, acquisition device and server
CN104881313A (en) * 2015-06-05 2015-09-02 北京金山安全软件有限公司 Method and device for starting functions in terminal application
US20170357414A1 (en) * 2016-06-12 2017-12-14 Apple Inc. Map Application with Novel Search, Browsing and Planning Tools
CN109791547A (en) * 2016-11-21 2019-05-21 谷歌有限责任公司 Electronic map interface
CN107168602A (en) * 2017-04-07 2017-09-15 深圳市金立通信设备有限公司 One kind control application drawing calibration method and terminal
CN111316333A (en) * 2018-09-30 2020-06-19 华为技术有限公司 Information prompting method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287250A (en) * 2020-12-25 2021-01-29 智道网联科技(北京)有限公司 Map engine anchor event response method and device

Also Published As

Publication number Publication date
CN112083845B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN111708858B (en) Map data processing method, device, equipment and storage medium
US9996982B2 (en) Information processing device, authoring method, and program
JP6056178B2 (en) Information processing apparatus, display control method, and program
US9639988B2 (en) Information processing apparatus and computer program product for processing a virtual object
CN110375755A (en) Solution for the interactive moving map that height customizes
US9213422B2 (en) Method of automatically moving a cursor within a map viewport and a device incorporating the method
JP2021185408A (en) Building block data merging method, device, electronic apparatus, computer readable storage medium, and computer program
CN111737603B (en) Method, device, equipment and storage medium for judging whether interest points are visible
CN113077548B (en) Collision detection method, device, equipment and storage medium for object
US11694405B2 (en) Method for displaying annotation information, electronic device and storage medium
CN112083846A (en) Method and device for detecting click area of map display mark and electronic equipment
CN111858996B (en) Indoor positioning method and device, electronic equipment and storage medium
CN112035209A (en) Map data processing method, map data processing device, map data processing equipment and computer storage medium
CN112083845B (en) Bubble control processing method and device
US20210110646A1 (en) Systems and methods of geolocating augmented reality consoles
CN114187509B (en) Object positioning method and device, electronic equipment and storage medium
US11714534B2 (en) Map displaying method, electronic device, storage medium and terminal device
CN114266876B (en) Positioning method, visual map generation method and device
CN114564526A (en) Three-dimensional earth data display method, device, equipment and storage medium
CN111694921A (en) Method and apparatus for displaying point of interest identification
CN113008262B (en) Method and device for showing interest points, electronic equipment and storage medium
CN113051491B (en) Map data processing method, apparatus, storage medium, and program product
KR20240062353A (en) Electronic device for providing information in virtual space and method thereof
CN117968659A (en) Direction indication method and device, storage medium and electronic equipment
CN113449373A (en) Overlap detection method and device and electronic equipment

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