Object display method and device, equipment and medium
By dynamically displaying marked objects at different regional levels on the map page, the problem of single map content in the existing technology is solved, and the richness and detailed content during hierarchy switching is achieved.
Patent Information
- Application Number
- CN202411258030.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-27
AI Technical Summary
The existing map display technology has a relatively single content at different levels, and cannot effectively display multi-level map marking objects, which lacks the richness of content during hierarchical switching.
By displaying the area marking objects corresponding to the first area level in the first target area on the map page, and in response to user operations, dynamically switching to display the area marking objects corresponding to the second area level in the second target area, using the client and A method of server collaboration to realize dynamic display of different regional levels.
It improves the richness of the display content of the map page, meets the needs of users to view maps at different levels, and provides more detailed and diverse geographical information display.
Smart Images

Figure CN119200902A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, specifically to the field of data display technology, and in particular to an object display method, device, equipment and medium. Background Art
[0002] Currently, when a user opens a map, the map corresponding to the street level is usually displayed with the user's location as the center. The map can display marked objects for the street level (such as various types of points of interest). Users have the need to view maps of different levels (such as city level, country level) by zooming in and out on the map. However, at this time, the map still displays marked objects for the street level. This means that when the map is at any level, marked objects for a fixed level are usually displayed indiscriminately, which makes the displayed content on the map relatively simple. Summary of the invention
[0003] The embodiments of the present application provide an object display method, apparatus, device and medium, which can enhance the richness of displayed content on a map.
[0004] In one aspect, an embodiment of the present application provides an object display method, the method comprising:
[0005] Displaying the region marking object corresponding to the first region level in the first target region on the map page; the region marking object includes one or more of the first type of region marking object and the second type of region marking object, and the first type of region marking object refers to a region marking object that aggregates multiple second type of region marking objects;
[0006] In response to a trigger operation on a first-category area marking object, a plurality of second-category area marking objects aggregated from the first-category area marking object corresponding to the trigger operation are displayed on a map page; or,
[0007] In response to a trigger operation on a second-type area marking object, if there is a second area hierarchy under the first area hierarchy, an area marking object corresponding to the second area hierarchy in the second target area is displayed on a map page; the second target area is determined based on the second-type area marking object and / or the second area hierarchy corresponding to the trigger operation.
[0008] On the other hand, an embodiment of the present application provides an object display method, the method comprising:
[0009] A first object acquisition request is received; the first object acquisition request is obtained by triggering an operation on a first type of area marking object on a map page; an area marking object corresponding to a first area level in a first target area is displayed on the map page, and the area marking object includes one or more of a first type of area marking object and a second type of area marking object;
[0010] Acquire multiple second-category area marking objects aggregated by the first-category area marking object corresponding to the trigger operation based on the first object acquisition request, and return the aggregated multiple second-category area marking objects in response to the first object acquisition request, so as to display the aggregated multiple second-category area marking objects on a map page;
[0011] receiving a second object acquisition request; the second object acquisition request is obtained by triggering an operation on a second type of area marking object on a map page;
[0012] In a case where it is determined based on the second object acquisition request that a second region hierarchy exists under the first region hierarchy, determining a second target region based on the second type region marking object and / or the second region hierarchy corresponding to the triggering operation;
[0013] Obtain an area marking object corresponding to the second area level within the second target area, and return the area marking object corresponding to the second area level in response to a request to obtain the second object, so that when the second target area is displayed on a map page, the area marking object corresponding to the second area level is displayed.
[0014] In one aspect, an embodiment of the present application provides an object display system, the object display system comprising a client and a server; wherein:
[0015] The client is used to display, on a map page, an area marking object corresponding to a first area level in a first target area; the area marking object includes one or more of a first-category area marking object and a second-category area marking object, wherein the first-category area marking object refers to an area marking object that aggregates a plurality of second-category area marking objects;
[0016] The client is further configured to generate a first object acquisition request in response to a trigger operation on a first type of area marking object;
[0017] The server is configured to obtain, based on the first object acquisition request, a plurality of second-category area marking objects aggregated by the first-category area marking object corresponding to the trigger operation;
[0018] The client is further used to display on the map page a plurality of second-category area marking objects aggregated by the first-category area marking objects corresponding to the triggering operation;
[0019] The client is further configured to generate a second object acquisition request in response to a trigger operation on a second type of area marking object;
[0020] The server is further configured to, when it is determined based on the second object acquisition request that a second regional hierarchy exists under the first regional hierarchy, determine the second target region based on the second type of regional marking object and / or the second regional hierarchy corresponding to the triggering operation, and acquire the regional marking object corresponding to the second regional hierarchy within the second target region;
[0021] The client is further used to display the area marking object corresponding to the second area level in the second target area on the map page.
[0022] In one aspect, an embodiment of the present application provides an object display device, the device comprising:
[0023] An object display module is used to display, on a map page, an area marking object corresponding to a first area level in a first target area; the area marking object includes one or more of a first type of area marking object and a second type of area marking object, wherein the first type of area marking object refers to an area marking object that aggregates a plurality of second type of area marking objects;
[0024] An object triggering module, configured to, in response to a triggering operation on a first-type area marking object, display on a map page a plurality of second-type area marking objects aggregated from the first-type area marking object corresponding to the triggering operation; or
[0025] The object trigger module is also used to respond to a trigger operation on the second-type area marking object, and when there is a second area level under the first area level, display the area marking object corresponding to the second area level in the second target area on the map page; the second target area is determined based on the second-type area marking object and / or the second area level corresponding to the trigger operation.
[0026] On the other hand, an embodiment of the present application provides an object display device, the device comprising:
[0027] A request receiving module, used for receiving a first object acquisition request; the first object acquisition request is obtained by triggering an operation on a first type of area marking object on a map page; an area marking object corresponding to a first area level in a first target area is displayed on the map page, and the area marking object includes one or more of a first type of area marking object and a second type of area marking object;
[0028] An object acquisition module, configured to acquire a plurality of second-category area marking objects aggregated by the first-category area marking object corresponding to the trigger operation based on the first object acquisition request, and return the aggregated plurality of second-category area marking objects in response to the first object acquisition request, so as to display the aggregated plurality of second-category area marking objects on a map page;
[0029] The request receiving module is further used to receive a second object acquisition request; the second object acquisition request is obtained by triggering an operation on a second type of area marking object on the map page;
[0030] The object acquisition module is further configured to determine the second target area based on the second type of area marking object and / or the second area hierarchy corresponding to the triggering operation, when it is determined that there is a second area hierarchy under the first area hierarchy based on the second object acquisition request;
[0031] The object acquisition module is also used to obtain the area marking object corresponding to the second area level within the second target area, and in response to the second object acquisition request, return the area marking object corresponding to the second area level, so that when the second target area is displayed through the map page, the area marking object corresponding to the second area level is displayed.
[0032] On the one hand, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute some or all of the steps in the above method.
[0033] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program includes program instructions, which, when executed by a processor, are used to execute some or all of the steps in the above method.
[0034] Accordingly, according to one aspect of the present application, a computer program product or a computer program is provided. The computer program product or the computer program includes program instructions. When the program instructions are executed by a processor, some or all of the steps in the above method can be implemented.
[0035] In an embodiment of the present application, a region marking object corresponding to a first region level in a first target region and a region marking object corresponding to a second region level in a second target region can be displayed on a map page, that is, a region marking object adapted to the region level where the map page is located can be displayed, and the region marking object corresponding to the first region level can include a first type of region marking object and a second type of region marking object, wherein the first type of region marking object refers to a region marking object that aggregates a plurality of second type of region marking objects, and different information can be displayed on the map page according to different triggered region marking objects, that is, different interactive data can be presented respectively, and region marking objects for different region levels can be displayed on the map page, for example, when the user wants to pay more attention to the first region level, the region marking object corresponding to the first region level is displayed, and when the user wants to pay more attention to the second region level, the region marking object corresponding to the second region level is displayed by triggering the second type of region marking object, thereby improving the richness of display content for different levels on the map page and satisfying the user's demand to view the map page at different levels (e.g., on a map page corresponding to the city level, the region marking object corresponding to the city level can be a city-level marking object, which can satisfy the user's demand to pay more attention to the city). BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0037] Figure 1 A schematic diagram of a network architecture provided for an embodiment of the present application;
[0038] Figure 2 A schematic diagram of an object display scene provided in an embodiment of the present application;
[0039] Figure 3 A flowchart of an object display method provided in an embodiment of the present application;
[0040] Figure 4 A schematic diagram of a map layer provided in an embodiment of the present application;
[0041] Figure 5 A schematic diagram of a map page provided in an embodiment of the present application;
[0042] Figure 6 A schematic diagram of another map page provided in an embodiment of the present application;
[0043] Figure 7A schematic diagram of a triggering scenario for a marking object provided in an embodiment of the present application;
[0044] Figure 8 A schematic diagram of another triggering scenario of a marking object provided in an embodiment of the present application;
[0045] Figure 9a A schematic diagram of a scenario for triggering a marking object provided in an embodiment of the present application;
[0046] Figure 9b A schematic diagram of another scenario for triggering a marking object provided in an embodiment of the present application;
[0047] Fig.10 A flowchart of an object display method provided in an embodiment of the present application;
[0048] Fig.11a A schematic diagram of a display scene of a map page provided in an embodiment of the present application;
[0049] Fig.11b A schematic diagram of another display scenario of a map page provided in an embodiment of the present application;
[0050] Fig.11c A schematic diagram of a display scenario of another map page provided in an embodiment of the present application;
[0051] Fig.12a A schematic diagram of a region card provided in an embodiment of the present application;
[0052] Figure 12b A schematic diagram of another area card provided in an embodiment of the present application;
[0053] Fig.13 A flowchart of an object display method provided in an embodiment of the present application;
[0054] Fig.14 A schematic diagram of an interactive process of object display provided in an embodiment of the present application;
[0055] Fig.15a A schematic diagram of the structure of an object display device provided in an embodiment of the present application;
[0056] Fig.15b A schematic diagram of the structure of another object display device provided in an embodiment of the present application;
[0057] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The object display method proposed in the embodiment of the present application is implemented in an electronic device, which can be a server or a terminal. Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to this.
[0059] Among them, a network architecture diagram based on the object display method can be shown as follows: Figure 1 As shown, the network architecture may include a server 100 (with no limitation on the number of servers) and a terminal device cluster (with no limitation on the number of terminal devices, such as terminal device 200a, terminal device 200b, ..., terminal device 200n), wherein there may be a communication connection between the servers. At the same time, the server may have a communication connection with any terminal device, so that the server can exchange data with the terminal device through the communication connection. The above-mentioned communication connection does not limit the connection method, and may be directly or indirectly connected through a wired communication method, or directly or indirectly connected through a wireless communication method, or through other methods, which are not limited in this application. In addition, it can be understood that the electronic device involved in the embodiments of the present application may be Figure 1 The terminal device shown can also be Figure 1 The server shown.
[0060] It should be understood that Figure 1 Each terminal device in the terminal device cluster shown may be installed with a client for displaying a map page. The client may be any type of client, such as a social client, an instant messaging client (e.g., a conference client), an entertainment client (e.g., a live broadcast client), a multimedia client (e.g., a video client), an information client (e.g., a news client), a shopping client, a multimedia client, etc., which has the function of displaying data information such as text, images, audio, and video. The specific type of the client is not limited here.
[0061] For example, a client is a client that can send and receive Internet messages instantly and has an object display function. Figure 1A map page is displayed in a client on the terminal device 200a shown in FIG. 1 , and an area marking object corresponding to the first area level (such as a first type of area marking object) is displayed on the map page. When a user performs a trigger operation on the first type of area marking object on the map page, the terminal device can send a first object acquisition request to the server (such as a first type of area marking object) through the client. Figure 1 The server 100 shown in the figure obtains a plurality of second-type area identification objects aggregated by the first-type area marking objects based on the first object acquisition request. The terminal device can display the plurality of second-type area identification objects through a map page.
[0062] Among them, the technical solution of this application proposes an object display system, the system includes: a client and a server (such as Figure 1 The terminal device 200a shown in FIG. 1 is equipped with a client), a server (such as Figure 1 The server 100 shown in the figure) is characterized in that: the client is used to display the area marking object corresponding to the first area level in the first target area on the map page; the area marking object includes one or more of the first type area marking object and the second type area marking object, and the first type area marking object refers to the area marking object that aggregates multiple second type area marking objects; the client is also used to generate a first object acquisition request in response to a trigger operation on the first type area marking object; the server is used to acquire multiple second type area marking objects aggregated by the first type area marking object corresponding to the trigger operation based on the first object acquisition request; the client is also used to display multiple second type area marking objects aggregated by the first type area marking object corresponding to the trigger operation on the map page; the client is also used to generate a second object acquisition request in response to a trigger operation on the second type area marking object; the server is also used to determine the second target area based on the second type area marking object and / or the second area level corresponding to the trigger operation, and acquire the area marking object corresponding to the second area level in the second target area when it is determined that there is a second area level under the first area level based on the second object acquisition request; the client is also used to display the area marking object corresponding to the second area level in the second target area on the map page.
[0063] Optionally, the terminal device and the server may be based on logical division. Therefore, when the terminal device and the server are mentioned below, they may be physically the same device or different devices.
[0064] For further understanding, please refer to Figure 2 , Figure 2A schematic diagram of an object display scene provided in an embodiment of the present application. In which, a map page 20a can be displayed, and a first target area for a first area level can be displayed on the map page 20a, and an area marking object corresponding to the first area level in the first target area can be displayed, and the area marking object can include a first type of area marking object (such as marking object Xa1) and / or a second type of area marking object (such as marking object Xb1), wherein the first type of area marking object aggregates multiple second type of area marking objects (it can be understood that when the first type of area marking object is displayed, the aggregated second type of area marking object is not displayed).
[0065] Among them, by triggering the first type of area marking object (marking object Xa1), multiple aggregated second type of area marking objects (such as marking object Xb2 and marking object Xb3) can be displayed on the map page 20a.
[0066] Among them, by triggering the second type of regional marking object (such as marking object Xb1), when there is a second regional level under the first regional level, the second target area for the second regional level can be displayed on the map page 20b, and the regional marking object corresponding to the second regional level in the second target area (such as marking object Xc1, marking object Xc2) can be displayed. In other words, different target areas can be displayed on the map page according to different regional levels, and different regional marking objects in the target area can be displayed, thereby improving the richness of the content displayed on the map page according to different regional levels.
[0067] Optionally, in some embodiments, the electronic device may execute the object display method to enrich the display content on the map page according to actual business needs. The regional level refers to the level where the map layer in the map page is located, which can be divided according to the scale, such as being divided into a large-scale level, a medium-scale level, and a small-scale level. The large-scale level is usually used to display the geographic information of a local area in detail; the medium-scale level is suitable for displaying the geographic information of a larger area; and the scale of the small-scale level is mainly used to display geographic information over a large range.
[0068] For example, the large-scale level corresponds to the street level (the corresponding map layer specifically displays detailed map information such as streets and places), the medium-scale level corresponds to the city level (the corresponding map layer displays at the city granularity), the small-scale level corresponds to the country level (the corresponding map layer displays at the country granularity), etc. It can be understood that the street level is the next level of the city level, that is, it corresponds to the detailed map information in a certain city, and the city level is the next level of the country level, that is, it corresponds to the specific city information in a certain country.
[0069] It is understandable that as the business develops, there can be more regional levels, which are not limited here.
[0070] It can be understood that on a map page, the map layers corresponding to different regional levels can be displayed by zooming in and out on the map layer (the geographical location displayed on the map layer is the target area for the current regional level). For example, on the map layer corresponding to the city level (it can be understood that the geographical range displayed on the map layer at this time is the target area for the city level), the map layer corresponding to the street level can be entered by zooming in on the map layer (it can be understood that the geographical range displayed on the map layer at this time is the target area for the street level). For another example, on the map layer corresponding to the street level, the map layer corresponding to the city level can be entered by zooming out on the map layer.
[0071] Among them, different regional marking objects may correspond to different regional levels. For example, the regional marking object corresponding to the street level may be the identification object corresponding to the point of interest. Points of interest refer to objects that can be identified on a map page based on their geographical locations. Points of interest may be places (such as food, etc.), group chats, live broadcasts, videos, images, texts, commodities, activities, routes, virtual objects, and so on. In other words, points of interest can have multiple dimensions. There is no limitation on points of interest here.
[0072] It is understood that the target account (i.e., the user) can trigger the POI on the map page. For example, when the POI is a location, the corresponding location details page or the corresponding location card can be entered by triggering the location on the map page. For another example, when the POI is a group chat, the corresponding group chat inner page or the corresponding group chat card can be entered by triggering the group chat on the map page. For another example, when the POI is a live broadcast, the corresponding live broadcast page or the corresponding live broadcast card can be entered by triggering the live broadcast on the map page.
[0073] For another example, the region mark object corresponding to the city level may be a mark object corresponding to the city (i.e., the mark displayed on the map page for the city region). For another example, the region mark object corresponding to the country level may be a mark object corresponding to the country (i.e., the mark displayed on the map page for the country region).
[0074] It can be understood that the above-mentioned regional marking objects of different regional levels can include one or more, such as a first type of regional marking object used to aggregate the second type of regional marking objects corresponding to the same regional level, or a second type of regional marking object used to evoke the regional marking object corresponding to the next regional level. For the sake of convenience, the following describes the technical solution of the present application by taking the first regional level as the city level and the second regional level as the street level as an example.
[0075] Optionally, the data involved in this application, such as the account data of the target account, can be stored in a database, or can be stored in a blockchain, such as through a blockchain distributed system, which is not limited in this application.
[0076] It should be noted that in the specific implementation of the present application, when it comes to scenarios involving obtaining relevant data such as user information, such as obtaining user information (such as account data of the target account, etc.) for user search, etc., it is necessary to obtain user permission or consent. That is, when the embodiments of the present application are applied to specific products or technologies, the collection, use and processing of relevant user data comply with relevant laws, regulations and standards in the relevant regions. For example, a prompt message can be issued in the form of an interactive page to prompt which data will be collected or obtained. Specifically, the type and content of these data can be prompted to the user through a list or other method. Only after receiving a confirmation operation or instruction allowing the collection of data on the interactive page, the collection and processing of relevant data will be further performed.
[0077] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0078] Based on the above description, the present application embodiment proposes an object display method, which can be executed by the electronic device mentioned above, and can be specifically Figure 1 See the terminal equipment shown. Figure 3 , Figure 3 The following is a flow chart of an object display method provided in an embodiment of the present application. Figure 3 As shown, the process of the object display method in the embodiment of the present application may include the following:
[0079] S101: Displaying an area marking object corresponding to a first area level in a first target area on a map page.
[0080] The map layer on the map page is at the first regional level, and the geographical range displayed in the map layer is the first target area corresponding to the first regional level.
[0081] The first target area displays a map area related to the first area level, and displays an area marking object corresponding to the first area level.
[0082] For example, when the first regional level is the city level, multiple map areas (i.e., city areas) are displayed with cities as the granularity in the first target area on the map page, and the area identification object can be an object identified with map areas as the granularity, such as an object identified with cities as the granularity (such as identifying city area A).
[0083] For another example, when the first regional level is the country level, a plurality of map areas (i.e., country areas) are displayed with country as the granularity in the first target area on the map page, and the area identification object may be an object identified with country as the granularity (such as identification for country area A).
[0084] Alternatively, when the first area level is the street level, detailed geographic information is displayed at the street level in the first target area on the map page, and the area identification object can be an object identified at the point of interest level (such as identification for locations, group chats, etc.).
[0085] It can be understood that, depending on the regional level, the displayed regional granularity is different, and the information identified by the displayed regional marker object is also different. Regional marker objects for different regional levels can be adaptively displayed on the map page.
[0086] The region marking object may include one or more of the first type of region marking object and the second type of region marking object. The first type of region marking object refers to a region marking object that aggregates multiple (or at least one) second type of region marking objects, that is, aggregates region identification objects in the same region level.
[0087] For example, the second type of area marking object is a marking object corresponding to a map area (i.e., one map area corresponds to one second type of area marking object). The second type of area marking objects corresponding to multiple map areas can be aggregated to obtain the first type of area marking objects for the multiple map areas (aggregated map areas).
[0088] For another example, the second type of region marking object is a marking object corresponding to a point of interest (ie, one point of interest corresponds to one second type of region marking object). The second type of region marking objects corresponding to multiple points of interest may be aggregated to obtain the first type of region marking objects for the multiple points of interest (aggregated points of interest).
[0089] Correspondingly, the second type of regional mark object is used to associate regional identification objects corresponding to different regional levels (such as the next regional level of the first regional level). For example, the first regional level is the city level, and the second regional level as the next regional level of the first regional level can be the street level. For another example, the first regional level is the country level, and the second regional level as the next regional level of the first regional level can be the city level.
[0090] For example, Figure 4 As shown, Figure 4 A schematic diagram of a map layer provided for an embodiment of the present application; wherein, according to different regional levels, the regional granularity of the displayed map area in the target area in the map layer of the map page is different. For example, when the regional level is the country level, the map layer in the map page 40a is used to display various country regions (such as country 1, country 2, country 3). For another example, when the regional level is the next level of the country level (city level), the map layer in the map page 40b is used to display various city regions (such as city 1, city 2, city 3, city 4, city 5, city 6, etc.). For another example, when the regional level is the next level of the city level (street level), the map layer in the map page 40c is used to display detailed geographic information (such as street 1, place 1, place 2, etc.).
[0091] Among them, the regional marking objects corresponding to the country level can be displayed on the map page 40a (such as the second-type regional marking object 401a corresponding to country 1, the second-type regional marking object 401a can display the name, image, country description information "XXX", etc. of country 1).
[0092] Among them, the area marking objects corresponding to the city level can be displayed on the map page 40b (such as the second-type area marking object 402a corresponding to city 2, the second-type area marking object 402a can display the name, image, city description information "XXX", etc. of city 2).
[0093] Among them, the area marking objects corresponding to the street level can be displayed on the map page 40c (such as the second-type area marking object 403a corresponding to the point of interest XX1, the second-type area marking object 403a can display the name, image, and number of associated published contents "XX pieces of content" of the point of interest XX1, etc.).
[0094] It is understandable that the second type of area identification objects in the first target area may be recalled and displayed on the map page (such as displaying the second type of area identification objects corresponding to each city area, or the second type of area identification objects corresponding to each point of interest).
[0095] Alternatively, when the second-category region identification object is recalled and displayed, multiple second-category region marking objects in the first target region are aggregated based on the region distance, and the corresponding first-category region marking objects (and non-aggregated second-category region marking objects) are recalled and displayed. That is, the first-category region marking object is aggregated with multiple second-category region marking objects in the first target region based on the region distance.
[0096] For example, the second-category regional marking object is a marking object corresponding to a map area related to the first regional level, and the map area related to the first regional level in the first target area includes a first reference area and a second reference area. If the area distance between the first reference area and the second reference area is less than a preset distance, the second-category regional marking objects corresponding to the first reference area and the second reference area are aggregated to obtain a first-category regional marking object. For example, the first-category regional marking object is displayed at any position on the area range where the first reference area and the second reference area are located.
[0097] That is, if there is a second reference area that is closer to the first reference area, the second type area marking objects corresponding to the first reference area and the second reference area are aggregated to obtain the first type area marking objects for the first reference area and the second reference area.
[0098] Similarly, if the second-type area marking object corresponding to the first reference area will not be aggregated, the second-type area marking object corresponding to the first reference area is directly displayed. If the distance between the geographical location of the first reference area and the geographical location of the second reference area is greater than or equal to the preset distance, the second-type area marking object corresponding to the first reference area is displayed in the area range where the first reference area is located.
[0099] That is to say, if there is no second reference area that is close to the first reference area, the second type area marker object corresponding to the first reference area will not be aggregated with the second type area marker objects corresponding to any other area, but the second type area marker object corresponding to the first reference area will be displayed separately.
[0100] The area distance between the first reference area and the second reference area is obtained by the distance between the geographical location of the first reference area and the geographical location of the second reference area. The geographical location of a map area can be the center of the map area, or the location of a specific identifier (such as a government) in the map area.
[0101] It can be understood that the area distance between the first reference area and the second reference area can also be regarded as the distance between the second type area identification object corresponding to the first reference area and the second type area identification object corresponding to the second reference area. That is to say, in the map page, if there are multiple second type area identification objects with a relatively close distance, the multiple second type area identification objects are aggregated and displayed. If there is no second type area identification object with a relatively close distance, the second type area identification object is displayed independently.
[0102] Optionally, it may be determined whether to display the second type of area identification objects corresponding to all map areas in the current first target area independently or in aggregate. It may also be determined whether to display the second type of area identification objects independently or in aggregate for a specific map area in all map areas. It is understood that for the second type of area identification objects displayed independently, the corresponding map area is a non-aggregated map area, and for the second type of area identification objects displayed in aggregate, the corresponding map area is an aggregated map area.
[0103] For example, a specific map area may be selected from multiple map areas according to the density of the map areas in the first target area, and the second type of area identification object corresponding to each specific map area may be displayed. Alternatively, it may be determined whether to display the second type of area identification object corresponding to the specific map area independently or in an aggregated manner (the principle of which can be found in the above description).
[0104] For example, a map layer is divided into multiple layer areas, and a specified number of map areas are selected from the map areas contained in each layer area as specific map areas. For example, the specific map areas can be determined based on the interactive information associated with the map areas (such as the number of published content and the number of points of interest in the map area) and / or the regional popularity of the map areas, such as by weighted summation, and the map area with the largest weighted summation result is selected as the specific map area.
[0105] Among them, you can also select according to the distance from the user, for example, select a specific map area from the map area within a first distance range from the user, and select a specific map area from the map area within a second distance range, etc. The selection method is not limited here.
[0106] For example, when the terminal device needs to display an area marking object on a map page, it sends a data acquisition request to the server. The server determines the first area level and the first target area according to the data acquisition request. The map area in the first target area is the map area displayed on the map page, and the aggregated map area and the non-aggregated map area are determined based on the area distance of the map area. For example, a specific map area (area a, area b, area c) is determined from the map area. If the area distance between the geographical location of area a and the geographical location of area b is less than a preset distance, area a and area b can be used as aggregated map areas, and the second type of area identification object corresponding to area a and the second type of area identification object corresponding to area b are aggregated to obtain the first type of area identification object for area a and area b. If the area distance between the geographical location of area c and the geographical location of any area is greater than or equal to the preset distance, area c is determined to be a non-aggregated map area, and the terminal device displays the first type of area identification objects for area a and area b and the second type of area identification object corresponding to area c.
[0107] It can be understood that when the second-category area marking object is a marking object corresponding to a point of interest, the aggregation principle is the same. For example, the points of interest in the first target area include a first point of interest and a second point of interest. If the area distance between the first point of interest and the second point of interest (point of interest distance) is less than a preset distance, the second-category area marking objects corresponding to the first point of interest and the second point of interest are aggregated to obtain a first-category area marking object. At this time, the first-category area marking objects aggregated for the points of interest and the non-aggregated second-category area marking objects can be displayed.
[0108] For example, Figure 5 As shown, Figure 5 A schematic diagram of a map page provided in an embodiment of the present application; wherein a map page 50a (such as Figure 4 Multiple map areas (such as cities) can be displayed on the example map page 40b), and the second-type area identification object corresponding to a specific map area among the multiple map areas can be displayed on the map page 50a (such as the specific map area is City 2, City 3, City 5, City 6, and the second-type area identification object specifically displays the city's name, image, area description information "XXX", etc.).
[0109] Alternatively, on the map page 50b (e.g. Figure 4 In the multiple map areas in the example map page 40b), if the distance between city 4 and city 6 is less than the preset distance, the first type of area marking object 501a aggregated with the second type of area identification object corresponding to city 4 and the second type of area identification object corresponding to city 6 is displayed (such as displaying the number of aggregated map areas, such as "number of aggregated cities: 2"). If the distance between city 1 and city 2 is less than the preset distance, the first type of area marking object 501b aggregated with the second type of area identification object corresponding to city 1 and the second type of area identification object corresponding to city 2 is displayed (such as displaying the number of aggregated map areas, such as "number of aggregated cities: 2"). If the area distance between city 3 and any city is greater than or equal to the preset distance, the second type of area identification object corresponding to city 3 is displayed. If the area distance between city 5 and any city is greater than or equal to the preset distance, the second type of area identification object corresponding to city 5 is displayed. At this time, city 4 and city 6 are aggregated map areas, city 1 and city 2 are aggregated map areas, and city 3 and city 5 are non-aggregated map areas.
[0110] Optionally, for a map area where no area marking object is displayed, a corresponding second type of area marking object may be displayed through a trigger operation, for example, by long pressing a map area where no area marking object is displayed, the second type of area marking object corresponding to the map area is displayed.
[0111] It can be understood that the display and aggregation of the above-mentioned second-category area identification objects are determined based on the area distance of the corresponding map area. In addition, it can also be determined based on the area theme of the map area. That is, the first-category area marking object is aggregated with multiple (or at least one) second-category area marking objects in the first target area based on the area theme, and one first-category area marking object has one area theme. For example, the area theme includes the first area theme and the second area theme.
[0112] For example, a map area belonging to the first regional theme is obtained from a map area related to the first regional level in the first target area, and the second-category regional marker objects corresponding to the map area belonging to the first regional theme are aggregated to obtain a first-category regional marker object for the first regional theme. And a map area belonging to the second regional theme is obtained, and the second-category regional marker objects corresponding to the map area belonging to the second regional theme are aggregated to obtain a first-category regional marker object for the second regional theme. At this time, the first-category regional marker objects for each regional theme can be displayed. The first-category regional marker object on the first target area is aggregated with at least one second-category regional marker object under the corresponding regional theme in the first target area.
[0113] That is to say, if a regional theme corresponds to a map area related to the first regional level in the first target area, the second-type regional marking objects corresponding to the map area corresponding to the regional theme in the first target area can be aggregated to obtain the first-type regional marking object related to the regional theme (such as the first-type regional marking object can display the regional theme and the number of corresponding map areas).
[0114] Among them, the regional theme can be a regional theme in an existing regional theme set, and the regional theme set can be based on user search behavior, or based on relevant hot topics, or hot activities, or can be set by business personnel. For example, it can be some relevant hot topics, such as "cultural ancient capital" for the city, "seaside tourist city" for the city, etc. Another example is that it can be a hot activity, such as "sunrise watching activities" for points of interest, etc. Another example is that it can be obtained based on the hot search terms counted for user search behavior, such as "a city suitable for special forces tourism" for the city, "a city suitable for tourism on weekends" for the city, "a place suitable for dating" for points of interest, etc.
[0115] The map areas corresponding to different regional themes can be retrieved by the intelligent model or set by business personnel. A map area can belong to different regional themes. The method for determining the regional theme is not limited here.
[0116] It can be understood that for different regional levels, the method of determining the regional theme and the preset distance corresponding to the regional distance may be different.
[0117] It can be that, in the regional theme set, when any regional theme has a corresponding map area in the first target area, the first type of regional identification object for the regional theme can be aggregated. Alternatively, the target regional theme can be screened out from the regional themes corresponding to the map areas, and the first type of regional identification object for the target regional theme can be aggregated.
[0118] For example, it can be determined based on the target account's account portrait, account viewing data (such as the regional themes that the target account frequently views, or the map areas that the target account frequently views, etc.). For example, the target account's interest level in the regional theme can be determined based on the target account's account portrait and / or account viewing data, and the regional themes with interest levels greater than a threshold (or a specified number of regional themes with the largest interest levels) can be used as target regional themes, thereby achieving regional theme aggregation for thousands of people with thousands of faces.
[0119] It can be understood that at this time, the first type of regional identification objects are displayed with the regional theme as a dimension, and no regional identification object may be displayed for the map area that does not correspond to the regional theme.
[0120] For example, when the terminal device needs to display a region marking object on a map page, it sends a data acquisition request to the server. The server determines the first region level and the first target region according to the data acquisition request. The map area in the first target region is the map area displayed on the map page, and determines the region theme corresponding to each map area, such as region a corresponds to region theme 1, region b corresponds to region theme 1, and region c corresponds to region theme 2. At this time, the second-class region identification object corresponding to region a and the second-class region identification object corresponding to region b can be aggregated to obtain the first-class region identification object for region theme 1, and the second-class region identification object corresponding to region c can be aggregated to obtain the first-class region identification object related to region theme 2. At this time, the terminal device can display the first-class region identification object aggregated according to the region theme. Alternatively, the target account's interest level in region theme 1 and region theme 2 is determined, and the terminal device displays the first-class region identification object whose interest level is greater than the level threshold (such as region theme 2).
[0121] It can be understood that when the second-category region marking object is a marking object corresponding to a point of interest, the aggregation principle is the same, such as determining the regional theme (point of interest theme) to which the point of interest in the first target area belongs, and aggregating the second-category region identification objects corresponding to the point of interest corresponding to the regional theme to obtain the first-category region identification object. At this time, the first-category region marking object aggregated by the regional theme for the point of interest can be displayed.
[0122] For example, Figure 6 As shown, Figure 6A schematic diagram of a map page provided in an embodiment of the present application; wherein a map page 60a (such as Figure 4 The illustrated map page 40b) may display multiple map areas (i.e., cities), wherein different map areas may correspond to different regional themes in the multiple map areas, such as city 1, city 3, and city 4 corresponding to regional theme 1, city 5 and city 6 corresponding to regional theme 2, and city 2 corresponding to regional theme 3. At this time, the second-class regional identification objects corresponding to city 1, city 3, and city 4 are used to aggregate to obtain the first-class regional marking objects related to regional theme 1 (such as displaying the theme name of regional theme 1 and the number of aggregated map areas, such as "3 cities under this theme"). The second-class regional identification objects corresponding to city 5 and city 6 are used to aggregate to obtain the first-class regional marking objects related to regional theme 2 (such as displaying the theme name of regional theme 2 and the number of aggregated map areas, such as "2 cities under this theme"). The second-class regional identification objects corresponding to city 2 are used to aggregate to obtain the first-class regional marking objects related to regional theme 3 (such as displaying the theme name of regional theme 3 and the number of aggregated map areas). At this time, city 1, city 3, and city 4 are the aggregate map areas for regional theme 1, city 5 and city 6 are the aggregate map areas for regional theme 2, and city 2 is the aggregate map area for regional theme 3.
[0123] Optionally, when the number of map areas corresponding to the regional theme is one, the second-type regional identification object corresponding to the corresponding map area (i.e., city 2) can also be directly used as the first-type regional marking object related to the regional theme (i.e., the second-type regional identification object corresponding to city 2 is directly displayed at this time, and the corresponding regional theme 3 can be displayed on the second-type regional identification object). It can be understood that at this time, city 1, city 3, and city 4 are aggregated map areas, city 5 and city 6 are aggregated map areas, and city 2 is a non-aggregated map area.
[0124] S102: In response to a trigger operation on a first-type area marking object, display on a map page a plurality of second-type area marking objects aggregated from the first-type area marking object corresponding to the trigger operation.
[0125] Among them, the first type of area marking object can be triggered to display multiple second type area marking objects aggregated by the first type of area marking object, that is, the second type of area marking objects corresponding to the multiple map areas (or points of interest) aggregated by the first type of area marking object.
[0126] For example, the first type of area marking object aggregates the second type of area marking object corresponding to map area 1 and the second type of area marking object corresponding to map area 2. After the first type of area marking object is triggered, the first type of area marking object can be hidden, and the second type of area marking object corresponding to map area 1 can be displayed in the area range where map area 1 is located, and the second type of area marking object corresponding to map area 2 can be displayed in the area range where map area 2 is located.
[0127] Optionally, all the area identification objects on the first map layer may be hidden, and only the aggregated multiple second-category area marking objects may be displayed.
[0128] Optionally, when the first type of area marking object is triggered, the first marking object aggregation page can also be displayed, and the information corresponding to the aggregated multiple second type of area marking objects can be displayed in the first marking object aggregation page, such as the information of the aggregated multiple map areas (or points of interest) (such as the name, image, etc. of the map area or point of interest).
[0129] For example, Figure 7 As shown, Figure 7 A schematic diagram of a triggering scenario of a marking object provided in an embodiment of the present application; wherein, on the map page 70a (eg Figure 6 In the example map page 60a), when the first type of area marking object (such as the area marking object corresponding to the area theme 1) is triggered, all area marking objects on the map page 70a can be hidden, and the second type of area identification objects corresponding to the aggregated cities 1, 3, and 4 can be displayed on the map page 70b, such as the city name, image, and city description information "XXX".
[0130] Alternatively, the first tag object aggregation page 70c may be displayed, on which the topic information related to regional theme 1 (such as topic introduction, topic image, topic popularity, etc.) may be displayed, and the regional information of city 1, city 3, and city 4 may also be displayed. For example, the name, image, city description information "XXX" of city 1, city 3, and city 4, as well as points of interest related to city 1, city 3, and city 4 may be displayed (for example, by clicking "points of interest", you can view the published content, group chat, live broadcast, points of interest, etc. related to the current city). In addition, the regional information of more cities corresponding to regional theme 1 may also be displayed.
[0131] Optionally, the map page 70b may also display a theme-related entry of the triggered regional theme. By expanding the theme-related entry, the theme-related layer may be expanded, and theme information (such as theme introduction, theme image, theme popularity, etc.) related to the triggered regional theme may be viewed on the theme-related layer.
[0132] S103: In response to a trigger operation on a second type of area marking object, if a second area level exists under the first area level, displaying an area marking object corresponding to the second area level in the second target area on the map page.
[0133] The second type of regional marking object may correspond to a map area or a point of interest. For example, the second type of regional marking object corresponds to a country area, and when the second type of regional marking object is triggered, the regional marking object corresponding to the city area in the city level may be displayed. For another example, the second type of regional marking object corresponds to a city area, and when the second type of regional marking object is triggered, the regional marking object corresponding to the point of interest in the street level may be displayed.
[0134] For example, when there is a second area hierarchy, the area marking object corresponding to the second area hierarchy in the second target area displayed on the map page may be: displaying the second target area on the map page (it can be understood that at this time the area hierarchy of the map page is changed from the first area hierarchy to the second area hierarchy); the second target area is determined by the position bound to the second type of area marking object corresponding to the trigger operation under the second area hierarchy; displaying the area marking object corresponding to the second area hierarchy on the map page, and displaying a prompt area marking object for indicating that the area hierarchy on the map page is changed to the second area hierarchy; the prompt area marking object is the second type of area marking object corresponding to the trigger operation.
[0135] It is understood that the second type of area marking object corresponding to the trigger operation can be displayed on the map page to prompt the user to enter the next area level of the first area level corresponding to the second type of area marking object, but it cannot be triggered. Alternatively, the map page corresponding to the first area level can be returned to by triggering.
[0136] That is, the map layer of the map page is changed to a second map layer adapted to the second region level (i.e., a layer that displays more detailed geographic information than the first map layer), and the region mark object is displayed on the second map layer. Figure 4 When the second type of regional mark object corresponding to a country is triggered on the map page 40a in the example, the map page 40b is displayed, and the regional mark object corresponding to the city is displayed on the map page 40b. Figure 4 When the second type of area mark object corresponding to the country is triggered on the map page 40b shown in the example, the map page 40c is displayed, and the area mark object corresponding to the point of interest is displayed on the map page 40c.
[0137] It can be understood that the display principle of the region marking objects corresponding to the second region level is the same as the display principle of the region marking objects corresponding to the first region level. For example, the region marking objects of the first type and the region marking objects of the second type can also be included, and the region marking objects of the first type are obtained by aggregating the region marking objects of the second type on the second target region according to the region distance or the region theme.
[0138] The second target area is determined by the position bound to the second type area mark object corresponding to the trigger operation at the second area level, that is, the second target area is an area constructed with the bound position as the center and displayed on the map page corresponding to the second area level.
[0139] It can be understood that at this time, the second type of area mark object corresponding to the triggering operation can be displayed on the map page based on the bound position.
[0140] Optionally, the second type of regional marking object may display regional hot topics. In this case, when the second type of regional marking object is triggered, the regional level of the map page is changed from the first regional level to the second regional level, and the second target area is displayed on the changed map page; the second type of regional marking object corresponding to the second regional level and related to the regional hot topics is displayed on the changed map page.
[0141] The second target area is determined by the position of the second type of regional marking object related to the regional hot topic or the position bound to the regional hot topic at the second regional level.
[0142] The second target area is an area displayed on the map page corresponding to the second area level and constructed with the target location as the center. The target location can be the location bound to the regional hot topic at the second area level, or can be determined based on the second type of area marker object related to the regional hot topic (such as the closest second type of area marker object, or the second type of area marker object with the highest popularity).
[0143] The regional hot topics may be hot topics of the current period counted for the map area (such as topics related to the college entrance examination, topics related to a certain kind of food), or may be regional activities participated in by the map area.
[0144] Wherein, when the second type of regional marking object corresponds to a map area, the second type of regional marking object related to the regional hot topic may be the second type of regional marking object corresponding to the map area related to the regional hot topic in the map area within the second target area. Or when the second type of regional marking object corresponds to a point of interest, the second type of regional marking object related to the regional hot topic may be the second type of regional marking object corresponding to the point of interest related to the regional hot topic among the points of interest in the second target area.
[0145] Optionally, when the second type of regional marking object is triggered, a marking object aggregation page may be displayed, and object information of the second type of regional marking object corresponding to the second regional level (or the second type of regional marking object related to the regional hot topic) may be displayed in the marking object aggregation page.
[0146] Optionally, when there is no second area level under the first area level (such as the second type of area marking object corresponding to the first area level corresponds to a point of interest, such as the first area level is a street level), when the second type of area marking object is triggered, a point of interest card or a point of interest details page of the point of interest corresponding to the second type of area marking object may be displayed.
[0147] For example, Figure 8 As shown, Figure 8 A schematic diagram of a triggering scenario of a marking object provided in an embodiment of the present application; wherein a map page 80a (such as Figure 4 The map page 40a shown in the example can display the second type of area mark object corresponding to a country (such as country 1). By triggering the second type of area mark object corresponding to country 1, the map layer in the map page 80a can be changed to the map layer corresponding to the city level, such as the map page 80b (such as Figure 7 In the example map page 70a), the map page 80b locates the location to which the second type of regional marker object is bound (at this time, "country 1" can be displayed), and the second type of regional marker object corresponding to country 1 is displayed in association to prompt the level change.
[0148] It can be understood that at this time, the second type of regional marking object corresponding to country 1 is in an untriggerable state, or returns to the map page corresponding to the country level (ie, map page 80a) when triggered.
[0149] Among them, the map page 80b can display the regional marking objects corresponding to the city level (such as regional marking objects for the city, and the recalled regional marking objects are aggregated according to regional themes).
[0150] For example, Figure 9a-9b As shown, Figure 9a-9b A schematic diagram of a triggering marking object provided in an embodiment of the present application; wherein, Figure 9a In the map page 90a (such as Figure 5 On the map page 50a shown in the example, by triggering the second type of area identification object corresponding to the map area (such as city 2), the map layer in the map page can be changed to a map layer corresponding to the street level, such as on the map page 90b (such as Figure 4In the example of map page 40c), the map page 90b locates the location to which the second type of area mark object is bound (at this time, "city 2" may be displayed), and the second type of area mark object corresponding to city 2 is displayed in association to prompt the level change.
[0151] Among them, at this time, the area marking objects corresponding to the street level can be displayed on the map page 90b, such as area marking objects for points of interest (such as point of interest XX1, point of interest XX2, point of interest XX3, which can specifically display the name, image and the number of associated published contents "XX pieces of content") (here, all second-category area marking objects are taken as an example).
[0152] Optionally, the second type of area identification object corresponding to the triggered city 2 may also display the second identification object aggregation page 90c, and display the object information of the point of interest in the second identification object aggregation page, such as displaying the corresponding point of interest XX1, point of interest XX2 (which may be the display name, image, etc.), for example, the location, group chat, live broadcast, and further, the related published content may also be displayed.
[0153] When the second type of area marking object corresponding to a point of interest (such as point of interest XX2) is triggered, a point of interest card or a point of interest details page may be displayed.
[0154] Optionally, in Figure 9b In the map page 90a, the second-category regional identification object can display regional hot topics. For example, on the second-category regional identification object corresponding to city 2, the regional hot topics of city 2 (such as topic Tx1) can be displayed. After the regional hot topics are triggered, the regional marking objects displayed on the map page 90b can be second-category regional interactive marking objects related to the regional hot topics (such as the second-category regional interactive marking objects corresponding to point of interest XX2, the second-category regional interactive marking objects corresponding to point of interest XX3, and the second-category regional interactive marking objects corresponding to point of interest XX4), and the second-category regional interactive marking objects can carry topic tags of regional hot topics.
[0155] Alternatively, the second identification object aggregation page may be displayed, and points of interest related to the regional hot topics may be displayed in the second identification object aggregation page.
[0156] Optionally, a virtual marker object identified based on the geographic location of the target account may be displayed on the map page, such as a virtual marker object 901a of the target account may be displayed on a map page 90b corresponding to the street level.
[0157] In an embodiment of the present application, a region marking object corresponding to a first region level in a first target region and a region marking object corresponding to a second region level in a second target region can be displayed on a map page, that is, a region marking object adapted to the region level where the map page is located can be displayed, and the region marking object corresponding to the first region level can include a first type of region marking object and a second type of region marking object, wherein the first type of region marking object refers to a region marking object that aggregates a plurality of second type of region marking objects, and different information can be displayed on the map page according to different triggered region marking objects, that is, different interactive data can be presented respectively, and region marking objects for different region levels can be displayed on the map page, for example, when the user wants to pay more attention to the first region level, the region marking object corresponding to the first region level is displayed, and when the user wants to pay more attention to the second region level, the region marking object corresponding to the second region level is displayed by triggering the second type of region marking object, thereby improving the richness of display content for different levels on the map page and satisfying the user's demand to view the map page at different levels (e.g., on a map page corresponding to the city level, the region marking object corresponding to the city level can be a city-level marking object, which can satisfy the user's demand to pay more attention to the city).
[0158] Based on the above description, the present application embodiment proposes an object display method, which can be executed by the electronic device mentioned above, and can be specifically Figure 1 See the terminal equipment shown. Fig.10 , Fig.10 The following is a flow chart of an object display method provided in an embodiment of the present application. Fig.10 As shown, the process of the object display method in the embodiment of the present application may include the following:
[0159] S201. Display a map page corresponding to a first area level.
[0160] When it is determined that the map page is at the first area level, a first target area corresponding to the first area level in the map page may be determined.
[0161] For example, in response to a level change operation on a map page, a first regional level and a first target area are determined. The level change operation may be a zoom operation on the map page. At this time, the first regional level of the map page may be determined according to the zoom ratio corresponding to the zoom operation, and the area displayed on the map page for the first regional level is the first target area.
[0162] For example, a map page may be associated with a map entry control, and the map page may be entered by touching the map entry control. The map page is a map page constructed based on the location indicated by the map entry control (such as the current geographic location of the target account) (such as the area displayed on the map page is the area centered on the geographic location of the target account), and the map page is at the street level, and displays the area identification object corresponding to the point of interest. Among them, the map page corresponding to the city level can be entered by zooming in and out (at this time, the map page changes from the street level to the city level, and the area identification object corresponding to the point of interest on the map page changes to the area marking object corresponding to the city area).
[0163] Optionally, the first area level and the first target area may be determined in response to a triggering operation on an area mark object entry on another page.
[0164] For example, the other page is a published content details page. The published content details page displays a region mark object entrance, which can be associated with the geographic location configured by the target account (such as a location corresponding to a certain regional level). By triggering the region mark object entrance, you can enter the map page corresponding to the certain regional level, and the first target area on the map page is obtained with the geographic location associated with the region mark object entrance as the center. Optionally, the geographic location associated with the region mark object entrance is the central map area (central geographic location) of the map page.
[0165] For example, if the geographical location associated with the regional mark object entry is a location corresponding to the street level (such as a certain community or a certain point of interest, etc.), then the first regional level of the map page is the street level. For another example, if the geographical location associated with the regional mark object entry is a location corresponding to the city level (such as a certain city, etc.), then the first regional level of the map page is the city level. For another example, if the geographical location associated with the regional mark object entry is a location corresponding to the country level (such as a certain country, etc.), then the first regional level of the map page is the country level.
[0166] Optionally, the first area level and the first target area may be determined in response to a trigger operation on an area marking object (such as a first-type area marking object or a second-type area marking object) on the map page. It is understood that the first area level is the area level where the triggered first-type area marking object is located, or the next area level of the area level where the triggered second-type area marking object is located.
[0167] For example, if the region marking object on the map page is a first-type region marking object corresponding to a country region, then after the first-type region marking object corresponding to a country region is triggered, the first region level of the map page is the country level where the country region is located, and the first target area of the map page is the area displayed on the current map page. For another example, if the region marking object on the map page is a second-type region marking object corresponding to a country region, then after the second-type region marking object corresponding to a country region is triggered, the first region level of the map page is the next level (city level) of the country level where the country region is located, and the first target area of the map page is the area centered on the position to which the second-type region marking object corresponding to the country region is bound at the city level.
[0168] Optionally, the first regional level and the first target area may be determined in response to an object search operation on a map page. The object search operation is used to search for a location corresponding to a certain regional level, in which case the first regional level is the certain regional level, and the first target area is an area centered on the searched location. Optionally, the searched location is the central map area (central geographic location) of the map page.
[0169] For example, if the location being searched is a location corresponding to the street level (such as the location of a certain community or a certain point of interest, etc.), the first regional level of the map page is the street level. For another example, if the location being searched is a location corresponding to the city level (such as the location of a certain city, etc.), the first regional level of the map page is the city level. For another example, if the location being searched is a location corresponding to the country level (such as the location of a certain country, etc.), the first regional level of the map page is the country level.
[0170] Optionally, the account intent of the target account may be determined when entering the map page. For example, in response to a map entry operation on the map page (such as a trigger operation on a map entry control), the first region level and the first target region are determined by the account intent of the target account, and the account intent is determined based on the account data of the target account.
[0171] For example, if the account intent is a preset intent related to the city level, the first regional level is the city level, and the first target area can be the area centered on the city area where the target account is located. For another example, if the account intent is a preset intent related to the country level, the first regional level is the country level, and the first target area can be the area centered on the country area where the target account is located.
[0172] It can be understood that when the account intention is not the preset intention related to the city level and the preset intention related to the country level, it can be displayed according to the default display method of the map page, that is, the first area level is the street level. At this time, the first target area can be the area centered on the geographic location of the target account.
[0173] For example, in response to a map entry operation, the terminal device may generate a map acquisition request and send the map acquisition request to the server. The server may determine the account intent of the target account, use the regional level indicated by the account intent as the first regional level, and when determining the first target area corresponding to the first regional level, generate map data of the first target area. The terminal device may display the first target area on the map page according to the map data. The specific method of determining the account intent of the target account may refer to the relevant description of the following embodiment.
[0174] For example, Figure 11a-Figure 11c As shown, Figure 11a-Figure 11c A schematic diagram of a display scene of a map page provided in an embodiment of the present application; wherein, in Fig.11a In the example, a region exploration control as a map entry control may be displayed on the target page (such as displaying published content 1, published content 2, etc.), and the map page 110a may be entered by clicking the region exploration control. At this time, the map page 110a is at the street level, and the displayed target area is obtained based on the geographic location of the target account (such as displaying the virtual identifier 110b of the target account). Among them, the map page 110a can display the region identification object corresponding to the point of interest (such as the second type of region identification object corresponding to the point of interest XX1, the point of interest XX2, and the point of interest XX3, such as displaying the name of the point of interest, the image, and the number of associated published contents "XX pieces of content").
[0175] The map page 110a can be zoomed in and out to change the region level of the map page to the city level, that is, the map page 110c can display multiple city regions, and can display region marker objects for the city regions (such as Figure 9a The illustrated map page 90a).
[0176] Similarly, by performing a zoom operation on the map page 110c, the regional level of the map page can be changed to the country level, that is, multiple country regions are displayed on the map page 110d, and regional marking objects for country regions can be displayed (such as the second type of regional identification objects corresponding to country 1, country 2, and country 3, such as displaying the country's name, image, country description information "XXX", etc.).
[0177] For example, when the area exploration control is clicked, the account intention of the target account is determined, and when the area level indicated by the account intention is the city level, the map page entered is the map page 110c'. For example, the target area on the map page 110c' is centered on the city where the target account is located.
[0178] Alternatively, when the region level indicated by the account intention is the country level, the map page entered is the map page 110d'. For example, the target region on the map page 110d' is centered on the country where the target account is located.
[0179] Otherwise, when the area level indicated by the account intention is the street level, the map page entered is the map page 110a'. For example, the target area on the map page 110a' is centered on the geographical location where the target account is located.
[0180] Among them, Fig.11b In the example, the published content details page 111a may carry a region mark object entry 111b associated with the geographic location X, and a map page may be entered by triggering an operation on the region mark object entry.
[0181] The published content details page 111a may display the avatar and name of the publishing account, and may also display the title XXX, the text "XXX...ABC...XX", content images, etc. of the published content. The geographic location X may be displayed on the region mark object entrance.
[0182] For example, when the geographic location X is a location corresponding to the street level (such as location A1), the map page 112a is a map page corresponding to the street level (such as Fig.11a The target area on the map page 110a is centered on the location A and displays the corresponding street geographic information and the area identification objects corresponding to the points of interest (such as point of interest XX1, point of interest XX2, and point of interest XX3).
[0183] For another example, when the geographic location X is a location corresponding to the city level (such as city 4), the map page 112b is a map page corresponding to the city level (such as Fig.11a In the example map page 110c), the target area on the map page 112b displays the corresponding city geographic information and the area identification objects corresponding to the city areas (such as the identification objects corresponding to city 2, city 3, city 5, and city 6) with city 4 as the center.
[0184] For another example, when the geographical location X is a location corresponding to the country level (such as country 2), the map page 112c is a map page corresponding to the country level (such as Fig.11aIn the illustrated map page 110d), the target area on the map page 112c displays corresponding national geographic information and regional identification objects corresponding to national regions (such as country 1, country 2, and country 3) with country 2 as the center.
[0185] Among them, Fig.11c In the map page 121a (such as Fig.11b The object search is performed on the map page 112a in the figure. If an object search bar 122a is displayed on the map page, the location Y to be searched can be entered in the object search bar 122a.
[0186] For example, when location Y is a location corresponding to the street level (such as location 2), the map page 123a is a map page corresponding to the street level. The target area on the map page 123a displays the corresponding street geographic information and the area identification objects corresponding to the points of interest (such as point of interest XX4, point of interest XX5, point of interest XX6) with location 2 as the center.
[0187] For another example, when location Y is a location corresponding to the city level (such as city 4), the map page 123b is a map page corresponding to the city level (such as Fig.11b In the example map page 112b), the target area on the map page 123b displays the corresponding city geographic information and the area identification objects corresponding to the city areas (such as the identification objects corresponding to city 2, city 3, city 5, and city 6) with city 4 as the center.
[0188] For another example, when location Y is a location corresponding to the country level (such as country 2), the map page 123c is a map page corresponding to the country level (such as Fig.11b In the example map page 112c), the target area on the map page 123c displays the corresponding national geographic information and the regional identification objects corresponding to the national regions (such as country 1, country 2, and country 3) with country 2 as the center.
[0189] S202: Displaying an area marking object corresponding to a first area level in a first target area displayed on a map page.
[0190] The terminal device may request the server to display the area marking object in the first target area. For example, the server may determine the first target area and determine the area marking object to be displayed on the map page from the second type of area identification object corresponding to the first area level in the first target area according to the area theme or area distance.
[0191] For example, the second type of area identification object to be displayed independently and the second type of area identification object to be used for aggregation are determined from the second type of area identification object corresponding to the first target area, and the first type of area marking object to be displayed is obtained through the second type of area identification object to be used for aggregation, and the second type of area identification object to be displayed independently and the first type of area marking object are returned to the terminal device as area marking objects. The method of determining the area theme or geographic location can refer to the relevant description of the above embodiment, which will not be repeated here.
[0192] S203: In response to a trigger operation on a first-type area marking object, display on a map page a plurality of second-type area marking objects aggregated from the first-type area marking object corresponding to the trigger operation.
[0193] S204: In response to the trigger operation for the second type of area mark object, if there is a second area level under the first area level, display the area mark object corresponding to the second area level in the second target area on the map page. The specific implementation of steps S203-S204 can refer to the relevant description of the above embodiment, which will not be repeated here.
[0194] S205: Display the first area card of the target map area on the map page.
[0195] The second type of area marking object corresponds to the map area related to the first area level.
[0196] Among them, the target map area is the map area corresponding to the second type of area marking object corresponding to the trigger operation, or the central map area of the first target area; the central map area is the map area in the map area related to the first area level.
[0197] For example, when there is a central map area in the map area related to the first area level in the map page, and the central map area has a second type of area marker object, the first area card of the central map area can be displayed on the map page.
[0198] Optionally, at this time, the second type of area mark object corresponding to the central map area may be fixedly displayed on the map page (ie, it will not be aggregated).
[0199] For example, Fig.11c In the map page 123b of , the central map area is city 4, then the second type of area mark object and the first area card corresponding to city 4 can be displayed. Fig.11c In the map page 123a of , the central map area is location 2. If location 2 has a second-type area marking object (such as location 2 is a point of interest), the second-type area marking object corresponding to location 2 and the first area card (i.e., the point of interest card) can be displayed. Fig.11c In the map page 123c, the central map area is country 2, and the second type of area mark object corresponding to country 2 and the first area card can be displayed.
[0200] In addition, optionally, when the second type of area marker object is triggered, the first area card of the corresponding map area can also be displayed. For example, when a request is made to the server to display the area marker object in the second area hierarchy, the first area card of the map area corresponding to the triggered second type of area marker object is displayed.
[0201] Among them, the first area card can display the area image, area name, and interactive information related to the map area (such as the number of published contents in the map area, information extracted from the published contents, hot spot area marker objects in the map area, etc.).
[0202] S206: When a region recommendation entrance is displayed on the map page, in response to a trigger operation on the region recommendation entrance, a region recommendation layer is displayed on the map page.
[0203] Optionally, when the area marking object on the map page corresponds to a map area, the map page can display an area recommendation layer, on which the second area card of the map area related to the first area level in the first target area is displayed (for example, if the first area level is the city level, area cards for each city are displayed. Similarly, for the street level, point of interest cards for each point of interest are displayed).
[0204] Among them, the second area card can display the area image, area name, and interactive information related to the map area (such as the number of published content in the map area, information extracted from the published content, hot spot area marker objects in the map area, etc.).
[0205] S207: In response to a trigger operation on the first area card or the second area card, display an area details page of the corresponding map area.
[0206] Optionally, by triggering the first area card or the second area card, the area details page of the corresponding map area can be displayed (such as requesting from the server). The area details page can display the area information of the map area (such as the area image, the area name), and the interactive information related to the map area (such as the published content and the number of published content, or the group chat and the number of group chats, or the live broadcast and the number of live broadcasts, the points of interest and the number of points of interest, etc. in the map area).
[0207] Optionally, a hotspot region marking object associated with the corresponding map region is displayed on the first region card and / or the second region card. The hotspot region marking object is obtained from the region marking object (such as the second type region marking object) corresponding to the second region level in the corresponding map region. If the second type region marking object corresponding to the second region level corresponds to a map region (such as a city), the map region with the highest popularity may be selected from the map region of the next level in the corresponding map region (such as a country), so that the corresponding second type region marking object is used as the hotspot region marking object.
[0208] For example, the point of interest corresponding to the second type of area marking object corresponding to the second area level can be selected from the points of interest of the next level in the corresponding map area (such as a city) to select the corresponding second type of area marking object as the hot spot area marking object.
[0209] At this time, in response to the triggering operation on the hotspot area mark object on the first area card or the second area card, the hotspot area mark object can be displayed on the map page. That is, on the map page, the area level can be changed to the second area level, and the hotspot area mark object can be displayed with the hotspot area mark object as the center, and the area mark objects at the same level as the hotspot area mark object can be displayed at the same time (when the area mark objects are displayed, the second type of area mark objects can be displayed, and they can be aggregated and displayed according to the area theme or area distance).
[0210] Optionally, when the hotspot area marking object is positioned and displayed, a first area card (or a point of interest card) corresponding to the hotspot area marking object may also be displayed.
[0211] For example, a trigger request for a hotspot area marking object is generated and sent to a server, so that the server generates map data for a map page for displaying the hotspot area marking object and the hotspot area marking object, and returns the request to the terminal device, so that when the terminal device displays a map page for displaying the hotspot area marking object according to the map data, the hotspot area marking object is displayed on the map page.
[0212] For example, Figure 12a-12b As shown, Figure 12a-12b A schematic diagram of a region card provided in an embodiment of the present application; wherein, on the map page 1210a (eg Fig.11c By triggering the second type of regional marking object (such as the marking object corresponding to city 2) on the map page 123b shown in the example, the regional marking object corresponding to the second level on the map page 1210b (such as Figure 9aWhen the map page 90b is shown in the example, the triggered second-type area marking object and the first area card 1220a of the map area (city 2) corresponding to the triggered second-type area marking object are displayed, such as the area image of city 2, the area name, and interactive information related to the map area (such as information extracted from the published content, such as recommended information XXX for the map area).
[0213] Among them, triggering the second type of area mark object corresponding to city 2 on the map page 1210b can be returning to the map page 1210a, or it can be displaying the first area card corresponding to city 2.
[0214] Optionally, by Fig.11c It can be seen that the central map area is city 4, and the second type of area mark object corresponding to city 4 and the first area card corresponding to city 4 can be displayed on the map page 1210a.
[0215] Among them, by triggering the first area card corresponding to city 2, the area details page 1230a corresponding to city 2 can be displayed, for example, the area image, area name, and interactive information related to the map area (such as the published content in the map area, or group chat, or live broadcast, places of interest (such as display name, related images), etc.) can be displayed.
[0216] Optionally, a regional recommendation entrance 1240a may be displayed on the map page 1210a. By triggering an operation (such as a pull-up operation) on the regional recommendation entrance, a regional recommendation layer is displayed, and a second regional card of each map area (such as city 1, city 2, city 3, etc.) on the current map page is displayed in the regional recommendation layer.
[0217] The second area card can display the area image, area name, and interactive information related to the map area (such as information extracted from the published content, such as recommended information for the map area). By triggering the second area card 1220b of city 2, the area details page of the corresponding map area can be displayed.
[0218] Optionally, in Figure 12b In the figure, the first area card 1220a and / or the second area card 1220b can also display the hot spot area marking object corresponding to city 2 (such as the second type of area marking object corresponding to the point of interest XX1, for example, the name and image can be displayed). By triggering the hot spot area marking object, the hot spot area marking object can be located and displayed on the map page 1210b, and the point of interest card of the point of interest corresponding to the hot spot area marking object can be displayed (such as the name and image of the point of interest XX1, and the associated published content "XX article of content").
[0219] At the same time, the area marking objects around the hot spot area marking object can be displayed (such as the second area marking object corresponding to the point of interest XXa, and the first type of area marking object that aggregates the second type of area marking objects corresponding to two points of interest according to the distance between the points of interest, such as displaying "Number of aggregated interest points: 2").
[0220] That is to say, when the hotspot area marking object is used to mark a city, the map layer corresponding to the city level can be displayed on the map page, and the city marked by the hotspot area marking object can be located on the map layer, and the hotspot area marking object for the city can be displayed. At the same time, the cities around the city and the corresponding area marking objects can be displayed.
[0221] Alternatively, when a hotspot area marking object is used to mark a point of interest, a map layer corresponding to the street level can be displayed on the map page, and the point of interest marked by the hotspot area marking object can be located on the map layer, and the hotspot area marking object for the point of interest can be displayed. At the same time, the points of interest around the point of interest and the corresponding area marking objects can be displayed.
[0222] In an embodiment of the present application, a variety of marking objects suitable for the regional level where the map page is located can be displayed on the map page. Depending on the different triggered regional marking objects, different aggregated information can be displayed accordingly on the map page, that is, different interactive data can be presented separately, thereby improving the richness of the display content for different levels on the map page.
[0223] Based on the above description, the present application embodiment proposes an object display method, which can be executed by the electronic device mentioned above, and can be specifically Figure 1 See the server shown in Fig.13 , Fig.13 The following is a flow chart of an object display method provided in an embodiment of the present application. Fig.13 As shown, the process of the object display method in the embodiment of the present application may include the following:
[0224] S301: Receive a first object acquisition request.
[0225] Among them, the first object acquisition request is obtained by triggering the first type of area marking object on the map page; the map page displays the area marking object corresponding to the first area level in the first target area, and the area marking object includes one or more of the first type of area marking object and the second type of area marking object.
[0226] It can be understood that when the terminal device needs to obtain the area marking object on the map page (for example, when sliding or zooming on the map page, or opening the map page and requesting relevant map data, it is necessary to synchronously obtain the area identification object displayed on the map page), it can generate a data acquisition request for the map page and send it to the server.
[0227] Optionally, the server can determine the regional level of the map page based on the screen range information carried by the data acquisition request or the trigger information of the map page to determine the actual geographic range displayed in the map layer of the map page. For example, when the regional level of the map page is determined to be the first regional level, the first target area displayed in the map page is determined, that is, the map areas of different granularities displayed are determined according to different regional levels.
[0228] For example, during the sliding or zooming process of a map page, the generated data acquisition request may carry screen range information, and the first area level and the first target area of the map page may be determined according to the screen range information.
[0229] For example, when opening a map page, if the trigger information indicates that the user is triggered by a published content details page, and the area identification object entry carried on the published content details page is associated with a geographic location, the first area level and the first target area of the map page can be determined based on the associated geographic location.
[0230] For another example, when opening a map page, the trigger information indicates that the user is currently requesting a map page, and the first area level and the first target area of the map page can be determined through the account data of the target account.
[0231] For example, when a map entry operation for a map page is detected (such as the terminal device generates a map acquisition request, i.e., a data acquisition request, in response to the map entry operation), the account data of the target account is obtained, and the account intent of the target account is determined based on the account data; the regional level indicated by the account intent is used as the first regional level, and the first target area is determined based on the map area or geographic location where the target account is located.
[0232] For example, if the account data indicates that the target account has browsed the map area corresponding to the city level, the regional level indicated by the account intent is the city level. For example, if the account data indicates that the target account has browsed the map area corresponding to the country level, the regional level indicated by the account intent is the country level. For example, if the account data indicates that the target account has not browsed the map area corresponding to the city level and has not browsed the map area corresponding to the country level, the regional level indicated by the account intent is the street level.
[0233] It can be understood that when the terminal device receives the map data and the area mark object returned by the server, the terminal device displays the map page through the map data, and displays the area mark object corresponding to the first area level in the map page.
[0234] Among them, the account data includes the search terms entered by the target account when performing search behavior within the target time period (such as the past three hours). The account intention of the target account can be determined by, if the search terms include regional keywords related to the map area corresponding to the city level, and the ratio between the number of included regional keywords and the number of search terms is greater than the preset ratio, it means that the user has conducted a large number of searches on the map area corresponding to the city level (i.e., has browsed the map area corresponding to the city level).
[0235] The regional keyword may be a map region or a specific region, such as "city" or a specific city name. For example, if the target account has conducted a large number of searches for "city" or a specific city name in the search term, it means that the target account's account intention is related to the city level. At this time, the map page corresponding to the city level can be displayed (the center of the map layer can be the city where the user is located).
[0236] For example, the account data includes topics browsed by the target account during the target time period (such as topics clicked on, topics participated in). The account intention of the target account can be determined by, if the browsed topics include topics related to the map area corresponding to the city level (such as regional hot topics, or topics carrying regional keywords), it indicates that the user is paying attention to the map area corresponding to the city level (i.e., has browsed the map area corresponding to the city level).
[0237] For example, if the topics browsed by the target account include regional hot topics of a certain city, or topics containing the keyword "city", etc., it means that the account intention of the target account is related to the city level. At this time, the map layer corresponding to the city level can be displayed.
[0238] Similarly, if the search terms include regional keywords related to the map area corresponding to the city level, and the ratio between the number of included regional keywords and the number of search terms is greater than a preset ratio, and the browsed topics include topics related to the map area corresponding to the city level (such as regional hot topics, or topics carrying regional keywords), then the account intention of the target account is determined to be an intention related to the city level.
[0239] It can be understood that the principle of determining that the account intention is an intention related to the national level is the same. In addition, when the account intention is not an intention related to the city level and an intention related to the national level, it is expressed as an intention related to the street level.
[0240] Optionally, the first type of region marker objects aggregated with the second type of region marker objects may be obtained through the second type of region marker objects on the first target region, for example, by aggregating according to region themes or region distances.
[0241] Among them, taking the second type of area marking object corresponding to the map area related to the first area level as an example, it may be that when it is determined that the area level of the map page is the first area level and the first target area displayed on the map page is determined, based on the area theme or area distance, the aggregated map area and the non-aggregated map area are determined from the map area related to the first area level within the first target area; the map areas included in the aggregated map area belong to the same area theme or the area distance between any two map areas included is less than the preset distance; the non-aggregated map area is the map area other than the aggregated map area; the second type of area marking objects corresponding to the aggregated map area are aggregated to obtain the first type of area marking objects for the aggregated map area; the first type of area marking objects for the aggregated map area and the second type of area marking objects corresponding to the non-aggregated map area are used as the area marking objects corresponding to the first area level in the first target area to be displayed on the map page.
[0242] It can be understood that the same applies to points of interest, that is, aggregated points of interest and non-aggregated points of interest can be determined from the points of interest in the first target area based on regional themes or regional distances; the points of interest included in the aggregated points of interest belong to the same regional theme or the regional distance between any two included points of interest is less than the preset distance; non-aggregated points of interest are points of interest other than aggregated points of interest; the second-category regional marking objects corresponding to the aggregated points of interest are aggregated to obtain the first-category regional marking objects for the aggregated points of interest; the first-category regional marking objects for the aggregated points of interest and the second-category regional marking objects corresponding to the non-aggregated points of interest are used as regional marking objects corresponding to the first regional level in the first target area.
[0243] That is to say, according to the regional theme of the map area (the same applies to points of interest) or the regional distance between map areas, the second type of area marking objects for aggregation and the second type of area marking objects for independent display are determined from the second type of area marking objects corresponding to the map areas, thereby obtaining the first type of area marking objects and the second type of area marking objects to be displayed.
[0244] It can be understood that when a map area corresponds to a regional theme, the map area corresponding to the regional theme can be used as an aggregated map area, and the second-type regional marker objects corresponding to the aggregated map area can be aggregated to obtain the first-type regional marker objects for the regional theme.
[0245] Alternatively, when it is determined that the regional distance between a map area (such as map area 1) and any other map area (such as map area 2) is less than a preset distance (it can be understood that the preset distance may be different according to the different regional levels corresponding to the map areas), map area 1 and map area 2 may be used as aggregated map areas, and the second regional marking object corresponding to map area 1 and the second regional marking object corresponding to map area 2 may be aggregated. When it is determined that the regional distance between a map area (such as map area 1) and any other map area is greater than or equal to the preset distance, map area 1 is used as a non-aggregated map area.
[0246] S302: Acquire multiple second-type area marking objects aggregated by the first-type area marking object corresponding to the triggering operation based on the first object acquisition request, and return the aggregated multiple second-type area marking objects in response to the first object acquisition request.
[0247] It can be understood that a plurality of second-category area marking objects aggregated by the triggered first-category area marking object can be acquired and returned to the terminal device, so that the aggregated plurality of second-category area marking objects can be displayed on a map page.
[0248] S303: Receive a second object acquisition request.
[0249] The second object acquisition request is obtained by triggering an operation on a second type of area marking object on the map page.
[0250] S304: When it is determined based on the second object acquisition request that a second region level exists under the first region level, determine a second target region based on the second type region marking object and / or the second region level corresponding to the triggering operation.
[0251] It can be understood that when there is a second area level under the first area level, the second target area corresponding to the second area level displayed on the map page can be obtained with the position bound to the second type of area marker object corresponding to the trigger operation in the second area level as the center.
[0252] S305: Acquire an area marking object corresponding to a second area level in a second target area, and return the area marking object corresponding to the second area level in response to a request to acquire the second object.
[0253] It can be understood that when obtaining the area marking object corresponding to the second area level in the second target area, the first type of area marking object can be aggregated according to the area theme and the area distance to obtain the first type of area marking object, and the first type of area marking object and the unaggregated second type of area marking object can be returned to the terminal device as the area marking object, so that when the second target area is displayed on the map page, the area marking object corresponding to the second area level is displayed. At the same time, the map data for displaying the second target area can be returned.
[0254] For example, Fig.14 As shown, Fig.14 A schematic diagram of an interactive process for object display provided in an embodiment of the present application; wherein, S11, when the server determines the first area level of a map page and determines the first target area displayed on the map page, the server aggregates the second-category area marking objects in the first target area based on the area theme or area distance to obtain the first-category area marking objects, and uses the first-category area marking objects and the non-aggregated second-category area marking objects as the area marking objects corresponding to the first area level in the first target area; S12, the server sends the map data of the first target area and the area marking objects corresponding to the first area level to the terminal device; S13, the terminal device displays the area marking objects corresponding to the first area level in the first target area on the map page; S14, the terminal device generates a first object acquisition request in response to the trigger operation on the first-category area marking object and sends it to the server; S15, the server generates a first object acquisition request based on the first The object acquisition request acquires multiple second-category area marking objects aggregated by the first-category area marking object corresponding to the trigger operation, and returns them to the terminal device; S16, the terminal device displays the multiple second-category area marking objects aggregated by the first-category area marking object corresponding to the trigger operation on the map page; S17, the terminal device generates a second object acquisition request in response to the trigger operation on the second-category area marking object and sends it to the server; S18, when the server determines that there is a second area hierarchy under the first area hierarchy based on the second object acquisition request, the server determines the second target area based on the second-category area marking object and / or the second area hierarchy corresponding to the trigger operation; S19, the server acquires the area marking object corresponding to the second area hierarchy within the second target area, and returns it to the terminal device; S110, the terminal device displays the area marking object corresponding to the second area hierarchy within the second target area on the map page.
[0255] In an embodiment of the present application, a variety of marking objects adapted to the regional level where the map page is located can be displayed on the map page (for example, when the regional level of the map page is the first regional level, the regional marking object corresponding to the first regional level is displayed). Depending on the triggered regional marking object, different information can be displayed on the map page, that is, different interactive data can be presented respectively, thereby improving the richness of the display content for different levels on the map page.
[0256] See also Fig.15a , Fig.15a This is a schematic diagram of the structure of an object display device provided in an embodiment of the present application. It should be noted that: Fig.15a The object display device shown is used to execute the present application Figure 3 , Fig.10 and Fig.13 For the convenience of explanation, only the part related to the embodiment of the present application is shown, and the specific technical details are not disclosed. Figure 3 , Fig.10 and Fig.13 The object display device 900 may include: an object display module 901 and an object trigger module 902.
[0257] The object display module 901 is used to display the area marking object corresponding to the first area level in the first target area on the map page; the area marking object includes one or more of the first type of area marking object and the second type of area marking object, and the first type of area marking object refers to the area marking object that aggregates multiple second type of area marking objects;
[0258] The object triggering module 902 is used to display, in response to a triggering operation on a first-type area marking object, a plurality of second-type area marking objects aggregated by the first-type area marking object corresponding to the triggering operation on a map page; or
[0259] The object trigger module 902 is also used to respond to a trigger operation on the second-type area marking object, and when there is a second area level under the first area level, display the area marking object corresponding to the second area level in the second target area on the map page; the second target area is determined based on the second-type area marking object and / or the second area level corresponding to the trigger operation.
[0260] The first type of region marking object has a region theme, and the first type of region marking object aggregates a plurality of second type of region marking objects in the first target region based on the region theme; or,
[0261] The first type of region marker object is aggregated with a plurality of second type of region marker objects in the first target region based on the region distance.
[0262] The object display module 901 is also used for:
[0263] In response to a level change operation on a map page, determining a first area level and a first target area; or,
[0264] In response to a trigger operation on a region marking object on a map page or a region marking object entry on another page, a first region level and a first target region are determined; or,
[0265] In response to an object search operation on a map page, determining a first area level and a first target area; or,
[0266] In response to a map entry operation on a map page, a first area level and a first target area are determined by an account intent of a target account; the account intent is determined based on account data of the target account.
[0267] The object triggering module 902 is also used for:
[0268] When the second-type area marking object corresponds to a point of interest, it is determined that no second area level exists under the first area level, and a point of interest card or a point of interest details page of the point of interest corresponding to the second-type area marking object is displayed.
[0269] The object triggering module 902, when used to display the area marking object corresponding to the second area level in the second target area on the map page, is specifically used to:
[0270] Displaying a second target area on the map page; the second target area is determined by the position bound to the second type of area marking object corresponding to the triggering operation under the second area level;
[0271] An area marking object corresponding to the second area level is displayed on the map page, and a prompt area marking object is displayed to indicate that the area level on the map page is changed to the second area level; the prompt area marking object is a second type of area marking object corresponding to the trigger operation.
[0272] Among them, the second type of area marker object corresponds to the map area related to the first area level;
[0273] The object display module 901 is also used for:
[0274] Displaying a first area card of a target map area on a map page; the target map area is a map area corresponding to the second type of area marker object corresponding to the trigger operation, or a central map area of the first target area; the central map area is a map area in a map area related to the first area level; or,
[0275] When a region recommendation entrance is displayed on the map page, in response to a trigger operation on the region recommendation entrance, a region recommendation layer is displayed on the map page; a second region card of a map region related to the first region level is displayed on the region recommendation layer;
[0276] In response to a trigger operation on the first area card or the second area card, an area details page of the corresponding map area is displayed.
[0277] The first area card and / or the second area card displays a hotspot area marking object associated with the corresponding map area; the hotspot area marking object is obtained from the area marking object corresponding to the second area level in the corresponding map area;
[0278] The object trigger module 902 is also used for:
[0279] In response to a triggering operation on a hotspot area mark object on the first area card or the second area card, the hotspot area mark object is displayed on the map page.
[0280] The specific implementation of the object display module and the object trigger module can be found in the description of the above embodiments, and will not be described in detail here. It should be understood that the description of the beneficial effects obtained by adopting the same method will not be described in detail either.
[0281] See also Fig.15b , Fig.15b This is a schematic diagram of the structure of an object display device provided in an embodiment of the present application. It should be noted that: Fig.15b The object display device shown is used to execute the present application Figure 3 , Fig.10 and Fig.13 For the convenience of explanation, only the part related to the embodiment of the present application is shown, and the specific technical details are not disclosed. Figure 3 , Fig.10 and Fig.13 The object display device 1000 may include: a request receiving module 1001 and an object obtaining module 1002.
[0282] The request receiving module 1001 is used to receive a first object acquisition request; the first object acquisition request is obtained by triggering an operation on a first type of area marking object on a map page; an area marking object corresponding to a first area level in a first target area is displayed on the map page, and the area marking object includes one or more of a first type of area marking object and a second type of area marking object;
[0283] The object acquisition module 1002 is used to acquire multiple second-category area marking objects aggregated by the first-category area marking object corresponding to the trigger operation based on the first object acquisition request, and return the aggregated multiple second-category area marking objects in response to the first object acquisition request, so as to display the aggregated multiple second-category area marking objects on the map page;
[0284] The request receiving module 1001 is further used to receive a second object acquisition request; the second object acquisition request is obtained by triggering an operation on a second type of area mark object on the map page;
[0285] The object acquisition module 1002 is further configured to determine the second target area based on the second type of area marking object and / or the second area hierarchy corresponding to the triggering operation, when it is determined that there is a second area hierarchy under the first area hierarchy based on the second object acquisition request;
[0286] The object acquisition module 1002 is also used to obtain the area marking object corresponding to the second area level within the second target area, and in response to the second object acquisition request, return the area marking object corresponding to the second area level, so that when the second target area is displayed through the map page, the area marking object corresponding to the second area level is displayed.
[0287] Among them, the second type of area marker object corresponds to the map area related to the first area level;
[0288] The object acquisition module 1002 is also used for:
[0289] When determining the first regional level of the map page and determining the first target area displayed in the map page, an aggregated map area and a non-aggregated map area are determined from the map areas related to the first regional level in the first target area based on the regional theme or the regional distance; the map areas included in the aggregated map area belong to the same regional theme or the regional distance between any two included map areas is less than a preset distance; the non-aggregated map area is a map area other than the aggregated map area;
[0290] Aggregating the second-category area marking objects corresponding to the aggregated map area to obtain the first-category area marking objects for the aggregated map area;
[0291] The first type of area marking objects for the aggregated map areas and the second type of area marking objects corresponding to the non-aggregated map areas are used as area marking objects corresponding to the first area level in the first target area.
[0292] The object acquisition module 1002, when used to determine that the area level of the map page is the first area level and to determine the first target area displayed on the map page, is specifically used to:
[0293] When a map entry operation for a map page is detected, the account data of the target account is obtained, and the account intention of the target account is determined based on the account data;
[0294] The regional level indicated by the account intention is used as the first regional level, and the first target area is determined based on the map area or geographical location where the target account is located.
[0295] The specific implementation of the request receiving module and the object acquiring module can be found in the description of the above embodiment, and will not be described in detail here. It should be understood that the description of the beneficial effects obtained by adopting the same method will not be described in detail either.
[0296] See also Fig.16 , Fig.16 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.16 As shown, the electronic device 1100 includes: at least one processor 1101 and a memory 1102. Optionally, the electronic device may further include a network interface. Among them, the processor 1101, the memory 1102 and the network interface can exchange data, the network interface is controlled by the processor 1101 for sending and receiving messages, the memory 1102 is used to store computer programs, the computer programs include program instructions, and the processor 1101 is used to execute the program instructions stored in the memory 1102. Among them, the processor 1101 is configured to call the program instructions to execute the above method. The memory 1102 may include a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM); the memory 1102 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (solid-state drive, SSD), etc.; the memory 1102 may also include a combination of the above-mentioned types of memory.
[0297] The processor 1101 may be a central processing unit (CPU). In one embodiment, the processor 1101 may also be a graphics processing unit (GPU). The processor 1101 may also be a combination of a CPU and a GPU. The processor 1101 may be used to call the device control application stored in the memory 1102 to execute the above Figure 3 , Fig.10 and Fig.13 The description of the object display method in the corresponding embodiment can also be performed as described above. Fig.15a and Fig.15bThe description of the object display device in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here.
[0298] In a specific implementation, the device, processor, memory, etc. described in the embodiments of the present application can execute the implementation described in the above method embodiments, and can also execute the implementation described in the embodiments of the present application, which will not be repeated here.
[0299] Furthermore, an embodiment of the present application also provides a schematic diagram of an object display system. The object display system may include a client and a server; wherein:
[0300] The client is used to display, on a map page, an area marking object corresponding to a first area level in a first target area; the area marking object includes one or more of a first-category area marking object and a second-category area marking object, wherein the first-category area marking object refers to an area marking object that aggregates a plurality of second-category area marking objects;
[0301] The client is further configured to generate a first object acquisition request in response to a trigger operation on a first type of area marking object;
[0302] The server is configured to obtain, based on the first object acquisition request, a plurality of second-category area marking objects aggregated by the first-category area marking object corresponding to the trigger operation;
[0303] The client is further used to display on the map page a plurality of second-category area marking objects aggregated by the first-category area marking objects corresponding to the triggering operation;
[0304] The client is further configured to generate a second object acquisition request in response to a trigger operation on a second type of area marking object;
[0305] The server is further configured to, when it is determined based on the second object acquisition request that a second regional hierarchy exists under the first regional hierarchy, determine the second target region based on the second type of regional marking object and / or the second regional hierarchy corresponding to the triggering operation, and acquire the regional marking object corresponding to the second regional hierarchy within the second target region;
[0306] The client is further used to display the area marking object corresponding to the second area level in the second target area on the map page.
[0307] The client and server in the object display system can implement some or all of the steps in the above method when executing, which will not be described in detail here. In addition, the description of the beneficial effects of the same method will not be repeated.
[0308] A computer (readable) storage medium is also provided in the embodiment of the present application, and the computer storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by the processor, the processor can execute some or all of the steps performed in the above method embodiment. Optionally, the computer storage medium can be volatile or non-volatile. The computer readable storage medium can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc.; the data storage area can store data created according to the use of the blockchain node, etc.
[0309] An embodiment of the present application provides a computer program product, which may include a computer program. When the computer program is executed by a processor, it can implement some or all of the steps in the above method, which are not described in detail here.
[0310] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0311] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer storage medium, which can be a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0312] The above disclosure is only part of the embodiments of the present application, which certainly cannot be used to limit the scope of rights of the present application. Ordinary technicians in this field can understand that all or part of the processes of implementing the above embodiments and making equivalent changes according to the claims of the present application are still within the scope covered by the present application.
Claims
1. An object display method, characterized in that: The method comprises: Displaying an area marking object corresponding to a first area level in a first target area on a map page; the area marking object includes one or more of a first-category area marking object and a second-category area marking object, wherein the first-category area marking object refers to an area marking object that aggregates a plurality of second-category area marking objects; In response to a trigger operation on the first-type area marking object, displaying on the map page a plurality of second-type area marking objects aggregated from the first-type area marking object corresponding to the trigger operation; or, In response to a trigger operation on the second-type area marking object, when there is a second area hierarchy under the first area hierarchy, an area marking object corresponding to the second area hierarchy in the second target area is displayed on the map page; the second target area is determined based on the second-type area marking object and / or the second area hierarchy corresponding to the trigger operation.
2. The method according to claim 1, characterized in that The first type of region marking object has a region theme, and the first type of region marking object aggregates a plurality of second type of region marking objects in the first target region based on the region theme; or The first-type region marker object is aggregated with a plurality of second-type region marker objects in the first target region based on region distance.
3. The method according to claim 1, characterized in that The method further comprises: In response to a level change operation on the map page, determining the first area level and the first target area; or, In response to a triggering operation on a region marking object on the map page or a region marking object entry on another page, determining the first region level and the first target region; or, In response to an object search operation on the map page, determining the first area level and the first target area; or, In response to a map entry operation for the map page, the first area level and the first target area are determined by an account intent of a target account; the account intent is determined based on account data of the target account.
4. The method according to claim 1, characterized in that: The method further comprises: When the second-type area marker object corresponds to a point of interest, it is determined that the second area level does not exist under the first area level, and a point of interest card or a point of interest details page of the point of interest corresponding to the second-type area marker object is displayed.
5. The method according to claim 1, characterized in that: The displaying of the area marking object corresponding to the second area level in the second target area on the map page includes: Displaying the second target area on the map page; the second target area is determined by the position of the second type of area marking object corresponding to the trigger operation bound at the second area level; An area marking object corresponding to the second area level is displayed on the map page, and a prompt area marking object is displayed to indicate that the area level on the map page is changed to the second area level; the prompt area marking object is a second type of area marking object corresponding to the trigger operation.
6. The method according to claim 1, characterized in that The second type of area marking object corresponds to a map area associated with the first area level; The method further comprises: Displaying a first area card of a target map area on the map page; the target map area is a map area corresponding to the second type of area marking object corresponding to the trigger operation, or a central map area of the first target area; the central map area is a map area in a map area related to the first area level; or, When a region recommendation entrance is displayed on the map page, in response to a trigger operation on the region recommendation entrance, a region recommendation layer is displayed on the map page; a second region card of a map region related to the first region level is displayed on the region recommendation layer; In response to a trigger operation on the first area card or the second area card, an area details page of the corresponding map area is displayed.
7. The method according to claim 6, characterized in that The first area card and / or the second area card displays a hotspot area marking object associated with the corresponding map area; the hotspot area marking object is obtained from the area marking object corresponding to the second area level in the corresponding map area; The method further comprises: In response to a triggering operation on the hotspot area mark object on the first area card or the second area card, the hotspot area mark object is displayed on the map page.
8. An object display method, characterized in that: The method comprises: receiving a first object acquisition request; the first object acquisition request is obtained by triggering an operation on a first type of area marking object on a map page; an area marking object corresponding to a first area level in a first target area is displayed on the map page, and the area marking object includes one or more of the first type of area marking object and the second type of area marking object; Acquire a plurality of second-category area marking objects aggregated by the first-category area marking object corresponding to the trigger operation based on the first-object acquisition request, and return the aggregated plurality of second-category area marking objects in response to the first-object acquisition request, so as to display the aggregated plurality of second-category area marking objects on the map page; receiving a second object acquisition request; the second object acquisition request is obtained by triggering an operation on the second type of area marking object on the map page; In a case where it is determined based on the second object acquisition request that a second area hierarchy exists under the first area hierarchy, determining a second target area based on the second type of area marking object corresponding to the trigger operation and / or the second area hierarchy; Obtain an area marking object corresponding to a second area level within the second target area, and in response to a request to obtain the second object, return the area marking object corresponding to the second area level, so that when the second target area is displayed through the map page, the area marking object corresponding to the second area level is displayed.
9. The method according to claim 8, characterized in that The second type of area marking object corresponds to a map area associated with the first area level; The method further comprises: When determining the first regional level of the map page and determining the first target area displayed in the map page, an aggregated map area and a non-aggregated map area are determined from the map areas related to the first regional level in the first target area based on regional themes or regional distances; the map areas included in the aggregated map area belong to the same regional theme or the regional distance between any two included map areas is less than a preset distance; the non-aggregated map area is a map area other than the aggregated map area; Aggregating the second-category area marking objects corresponding to the aggregated map area to obtain the first-category area marking object for the aggregated map area; The first type of area marking object for the aggregated map area and the second type of area marking object corresponding to the non-aggregated map area are used as area marking objects corresponding to the first area level in the first target area.
10. The method according to claim 9, characterized in that The step of determining that the area level of the map page is the first area level and determining a first target area displayed on the map page includes: When a map entry operation for the map page is detected, acquiring account data of a target account, and determining an account intention of the target account according to the account data; The regional level indicated by the account intention is used as the first regional level, and the first target area is determined based on the map area or geographical location where the target account is located.
11. An object display system, characterized in that: The object display system comprises a client and a server, wherein: The client is used to display the area marking object corresponding to the first area level in the first target area on the map page; the area marking object includes one or more of the first type of area marking object and the second type of area marking object, and the first type of area marking object refers to an area marking object that aggregates multiple second type of area marking objects; The client is further configured to generate a first object acquisition request in response to a trigger operation on the first-type area marking object; The server is configured to obtain, based on the first object acquisition request, a plurality of second-category area marking objects aggregated by the first-category area marking object corresponding to the trigger operation; The client is further configured to display on the map page a plurality of second-category area marking objects aggregated from the first-category area marking objects corresponding to the trigger operation; The client is further configured to generate a second object acquisition request in response to a trigger operation on the second-type area marking object; The server is further configured to, when it is determined based on the second object acquisition request that a second regional hierarchy exists under the first regional hierarchy, determine a second target region based on the second type of regional marking object corresponding to the trigger operation and / or the second regional hierarchy, and acquire the regional marking object corresponding to the second regional hierarchy within the second target region; The client is further configured to display an area marking object corresponding to a second area level in a second target area on the map page.
12. An object display device, characterized in that: The device comprises: An object display module is used to display, on a map page, an area marking object corresponding to a first area level in a first target area; the area marking object includes one or more of a first type of area marking object and a second type of area marking object, wherein the first type of area marking object refers to an area marking object that aggregates a plurality of second type of area marking objects; an object triggering module, configured to, in response to a triggering operation on the first-type area marking object, display on the map page a plurality of second-type area marking objects aggregated from the first-type area marking object corresponding to the triggering operation; or The object trigger module is also used to respond to a trigger operation on the second-type area marking object, and when there is a second area level under the first area level, display the area marking object corresponding to the second area level in the second target area on the map page; the second target area is determined based on the second-type area marking object corresponding to the trigger operation and / or the second area level.
13. An object display device, characterized in that: The device comprises: a request receiving module, configured to receive a first object acquisition request; the first object acquisition request is obtained by triggering an operation on a first type of area marking object on a map page; an area marking object corresponding to a first area level in a first target area is displayed on the map page, and the area marking object includes one or more of a first type of area marking object and a second type of area marking object; an object acquisition module, configured to acquire, based on the first object acquisition request, a plurality of second-category area marking objects aggregated by the first-category area marking object corresponding to the trigger operation, and return the aggregated plurality of second-category area marking objects in response to the first object acquisition request, so as to display the aggregated plurality of second-category area marking objects on the map page; The request receiving module is further used to receive a second object acquisition request; the second object acquisition request is obtained by triggering an operation on a second type of area marking object on the map page; The object acquisition module is further configured to determine a second target area based on the second type of area marking object corresponding to the trigger operation and / or the second area hierarchy when it is determined based on the second object acquisition request that a second area hierarchy exists under the first area hierarchy; The object acquisition module is also used to acquire the area marking object corresponding to the second area level in the second target area, and return the area marking object corresponding to the second area level in response to the second object acquisition request, so that when the second target area is displayed through the map page, the area marking object corresponding to the second area level is displayed.
14. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 10.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 10.
16. A computer program product, characterized in that The method comprises a computer program, wherein the computer program comprises program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 10 is implemented.
Citation Information
Cited By
Content display method and device, computing equipment and computer readable storage medium
CN120910333A
Information display method and device, equipment, storage medium and product
CN121009221A
