Business processing method, apparatus, device, and storage medium

By displaying the map and heat information of the target area in the heat map, and using pixel intersection detection to determine the heat value of the sub-region, the problem of users having difficulty intuitively understanding the information distribution is solved, and information quantification display and user experience are improved.

CN115374311BActive Publication Date: 2026-02-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110553657.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-20
Publication Date
2026-02-10
Estimated Expiration
2041-05-20

AI Technical Summary

Technical Problem

In location-based heatmaps, users find it difficult to intuitively understand the information distribution of specific areas, and the operation is cumbersome, affecting the user experience.

Method used

By displaying thermal information on a map of the target area and responding to user triggers, the thermal value of each sub-region is determined using pixel intersection detection, thus achieving quantitative display.

Benefits of technology

This improves the richness and convenience of heatmap display, allowing users to intuitively obtain the information distribution in each sub-region, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115374311B_ABST
    Figure CN115374311B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a service processing method, device and equipment, and a storage medium, which can be applied in the fields of map, navigation, traffic, smart city and the like. The method comprises: displaying a heat map of a target area, the heat map comprising a target area map of the target area and heat information of preset information in the target area, the heat information being used to reflect the distribution of the preset information in the target area, and the target area map comprising N sub-areas, N being a positive integer greater than or equal to 1; and in response to a first trigger operation, displaying a heat value of each of the N sub-areas, the heat value of the sub-area being determined based on pixel point intersection detection processing of the sub-area and the heat information. According to the embodiments of the present application, the distribution of the preset information in each sub-area is quantitatively displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a business processing method, apparatus, device and storage medium. Background Technology

[0002] Heat maps can visually present one or more types of distribution patterns, such as population density distribution, traffic flow, and population activity analysis.

[0003] In location-based heatmaps, if users want to understand the heat information of a specific area, they need to frequently zoom in and out of the heatmap and judge the distribution based on the color intensity of that specific location. This is not only cumbersome, but also only allows for qualitative judgment of the distribution based on color intensity, which is not intuitive and affects the user experience. Summary of the Invention

[0004] This invention provides a business processing method, apparatus, device, and storage medium that enables the quantitative display of the distribution of preset information within a certain text sub-region using heat values.

[0005] On one hand, embodiments of the present invention provide a business processing method, including:

[0006] Display a heat map of the target area. The heat map includes a target area map and heat information of preset information within the target area. The heat information is used to reflect the distribution of preset information within the target area. The target area map includes N sub-areas, where N is a positive integer greater than or equal to 1.

[0007] In response to the first trigger operation, the thermal value of each of the N sub-regions is displayed. The thermal value of the sub-region is determined based on pixel intersection detection processing of the sub-region and thermal information.

[0008] On one hand, embodiments of the present invention provide a business processing apparatus, including:

[0009] The display unit is used to display a heat map of the target area. The heat map includes a target area map and heat information of preset information within the target area. The heat information is used to reflect the distribution of preset information within the target area. The target area map includes N sub-areas, where N is a positive integer greater than or equal to 1.

[0010] The display unit is also configured to respond to a first trigger operation by displaying the thermal value of each of the N sub-regions, wherein the thermal value of the sub-region is determined based on pixel intersection detection processing of the sub-region and the thermal information.

[0011] On one hand, embodiments of the present invention provide a service processing device, including:

[0012] A processor is used to implement one or more computer programs;

[0013] and a computer storage medium storing one or more computer programs adapted to be loaded and executed by the processor:

[0014] Display a heatmap of the target area, which includes a target area map and heat information of preset information within the target area. The heat information reflects the distribution of the preset information within the target area. The target area map includes N sub-regions. In response to a first trigger operation, display the heat value of each of the N sub-regions. The heat value of the sub-region is determined based on pixel intersection detection processing of the sub-region and the heat information.

[0015] On one hand, embodiments of the present invention provide a computer storage medium that stores a computer program, which, when executed by a processor, is used to perform:

[0016] Display a heatmap of the target area, which includes a target area map and heat information of preset information within the target area. The heat information reflects the distribution of the preset information within the target area. The target area map includes N sub-regions. In response to a first trigger operation, display the heat value of each of the N sub-regions. The heat value of the sub-region is determined based on pixel intersection detection processing of the sub-region and the heat information.

[0017] On one hand, this application provides a computer program product or computer program, the computer program product including a computer program stored in a computer storage medium; the processor of a computer device reads the computer program from the computer storage medium, and the processor executes the computer program, causing the computer device to perform:

[0018] Display a heatmap of the target area, which includes a target area map and heatmap information of preset information within the target area. The heatmap information reflects the distribution of the preset information within the target area. The target area map includes N sub-regions, where N is a positive integer greater than or equal to 1. In response to a first trigger operation, display the heatmap value of each of the N sub-regions. The heatmap value of each sub-region is determined based on pixel intersection detection processing of the sub-region and the heatmap information.

[0019] In this embodiment of the invention, the service processing device displays a heat map of a target area. The heat map may include a target area map of the target area and heat information of preset information within the target area. The heat information is used to reflect the distribution of preset information within the target area. The target area map includes N sub-areas. In response to a first trigger operation, each sub-area is subjected to pixel intersection detection with the heat information to obtain the heat value of each sub-area. The heat value of each sub-area in the N areas is then displayed, thereby realizing the quantitative display of the distribution of preset information within each sub-area and improving the richness and convenience of the heat map display. Attached Figure Description

[0020] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a schematic diagram of the structure of a business management system provided in an embodiment of the present invention;

[0022] Figure 2 This is a flowchart illustrating a business processing method provided in an embodiment of the present invention;

[0023] Figure 3a This is a schematic diagram of a trigger option for displaying thermal information provided in an embodiment of the present invention;

[0024] Figure 3b This is a schematic diagram of another trigger option for displaying thermal information provided in an embodiment of the present invention;

[0025] Figure 4 This is a schematic diagram of a heat map provided in an embodiment of the present invention;

[0026] Figure 5a This is a schematic diagram showing the thermal values ​​of various sub-regions provided in an embodiment of the present invention;

[0027] Figure 5b This is another schematic diagram showing the thermal values ​​of various sub-regions provided in an embodiment of the present invention;

[0028] Figure 5c This is another schematic diagram showing the thermal values ​​of various sub-regions provided in an embodiment of the present invention;

[0029] Figure 5d This is a schematic diagram showing the thermal values ​​of another sub-region provided in an embodiment of the present invention;

[0030] Figure 6This is a schematic diagram of another business processing device provided in an embodiment of the present invention;

[0031] Figure 7a This is a schematic diagram of a map screenshot provided in an embodiment of the present invention;

[0032] Figure 7b This is a schematic diagram of an undirected graph of positional relationships provided in an embodiment of the present invention;

[0033] Figure 7c This is a schematic diagram of updating a first candidate sub-region according to an embodiment of the present invention;

[0034] Figure 7d This is another schematic diagram of updating the first candidate sub-region provided by an embodiment of the present invention;

[0035] Figure 8 This is a flowchart illustrating another business processing method provided in an embodiment of the present invention;

[0036] Figure 9 This is a schematic diagram of the structure of a business processing device provided in an embodiment of the present invention;

[0037] Figure 10 This is a schematic diagram of the structure of a service processing device provided in an embodiment of the present invention. Detailed Implementation

[0038] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0039] This invention provides a business processing solution that performs pixel-by-pixel intersection detection on the heatmap information of each sub-region within a target geographic region and preset information (such as population density, population activity, and traffic flow) within that target geographic region. This determines the heatmap value of the preset information within each sub-region. A higher heatmap value indicates stronger preset information within that sub-region. For example, if the preset information refers to population density, a higher heatmap value indicates a higher population density within that sub-region; similarly, if the preset information refers to traffic flow, a higher heatmap value indicates a higher traffic flow within that sub-region. This business processing solution provides a visual display of the preset information distribution, improving user experience and increasing user engagement.

[0040] Based on the above business processing scheme, this invention provides a map business management system, see [link to relevant documentation]. Figure 1 This is a schematic diagram of the structure of a map service management system provided in an embodiment of the present invention. Figure 1The map service management system shown may include a map display management device 101 and a service processing device 102, which are connected by wired or wireless means.

[0041] In one embodiment, both the map display management device 101 and the business processing device 102 can be terminals or servers. Terminals can include smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, and smart vehicles, etc. Servers can include independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0042] In one embodiment, the map display management device 101 can be deployed in the cloud. The map display management device 101 is primarily used to manage map display data for displaying maps of arbitrary geographical areas. This map display data can be stored in the map display management device 101 or in a blockchain. Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, it is a decentralized database, a chain of data blocks linked using cryptographic methods. The distributed ledger linked by the blockchain allows multiple parties to effectively record transactions, and these transactions can be permanently verified (immutable). Data in the blockchain is immutable, and storing map data in the blockchain ensures the security of the map data.

[0043] This invention can employ tile technology to provide a map server. The map display data mentioned above can be map tile images. A map tile image refers to a square raster image of a map within a certain range, cut into several rows and columns according to a certain size and format, and zoom level or scale. These square raster images are called map tile images. Typically, the number of map tile images varies depending on the map zoom level, generally increasing exponentially with the zoom level. The higher the zoom level, the greater the physical size and detail of the displayed map. For example, if the zoom level is 0, the number of map tile images is 1, meaning one map tile image can cover the entire world; if the zoom level is 1, the number of map tile images can be 4, meaning four map tile images can cover the entire world. Therefore, the map tile images stored in the map display management device 101 correspond to zoom levels. For example, one zoom level corresponds to one set of map tile images, and each map tile image in each set corresponds to a display location identifier. The display location identifier corresponding to any map tile image is used to indicate the location where that map tile image should be displayed. This display location identifier can be a position coordinate in the world coordinate system.

[0044] In one embodiment, the service processing device 102 may run an application that provides map services, such as a navigation application or a delivery service application. When a user inputs a trigger operation to display a map in the map service application, the service processing device 102 sends a map display request to the map display management device 101 to display a map of a target area. This target area may be determined based on the user's current location set in the service processing device 102. The trigger operation for displaying the map varies depending on the application providing the map service. For example, in a navigation application, the trigger operation may be that the user launches a travel application or inputs a zoom operation on the currently displayed map in the navigation application; similarly, in a delivery service application, the trigger operation may be that the user checks the delivery progress of an item or inputs a zoom operation on the already displayed map.

[0045] After receiving a map display request from the service processing device 102, the map display management device 101 sends some map tile images to the service processing device 102 according to the map display request. The service processing device 102 displays a target area map based on the map tile images returned by the map display management device 101. The target area map may include multiple sub-areas. These sub-areas can be used to reflect the location range of multiple locations, buildings, attractions, and business districts in the target area in actual geography. For example, the target area currently displayed on the screen is a map of XX city. XX city may include multiple areas such as schools, hospitals, and office buildings, etc. The target area map may include many sub-areas, each of which represents the location range of a specific geographical location, such as the location range of a hospital, the location range of a school, etc.

[0046] To analyze the distribution of preset information (e.g., intensity, size, etc.) within the target area, users can input a trigger to display thermal information of the preset information within the target area. This trigger can be either a voice message indicating that thermal information is enabled, or a user selecting an option to enable thermal information. The preset information can include population density, traffic flow, and population activity levels, among others.

[0047] After the service processing device 102 detects a user-inputted trigger operation to display thermal information within a target area, it can generate and display the thermal information within that target area. In this embodiment of the invention, the thermal information of the preset information within the target area and the target area map together form a heat map of the target area. The thermal information can be displayed on top of the target area map in this heat map. Existing technical solutions can be used to generate the thermal information within the target area, and this embodiment of the invention does not impose specific limitations.

[0048] Furthermore, when a first trigger operation occurs in the service processing device 102, the service processing device 102 performs pixel intersection detection processing based on the thermal information of each sub-region to obtain the thermal value of each sub-region and displays the thermal value of each sub-region. The thermal value of each sub-region is used to reflect the distribution of preset information within that sub-region, thereby realizing the quantitative display of the distribution of preset information within each sub-region. Optionally, when displaying the thermal map of the target area, the service processing device 102 can display a trigger option that quantifies the distribution of preset information. The aforementioned first trigger operation can refer to selecting this trigger option; or, the first trigger operation can also refer to inputting voice information that quantifies the distribution of preset information.

[0049] Based on the aforementioned map service management system and service processing scheme, this embodiment of the invention provides a service processing method. See also... Figure 2This is a flowchart illustrating a business processing method provided in an embodiment of the present invention. Figure 2 The business processing method shown can be executed by the business processing device, specifically by the processor of the business processing device. Figure 2 The business processing method shown may include the following steps:

[0050] Step S201: Display the heat map of the target area. The heat map includes a target area map of the target area and heat information of preset information in the target area. The target area map includes N sub-areas.

[0051] The target area can refer to the area where the business processing device is currently located. The current location of the business processing device can be determined by the business processing device calling a location application for location processing, or it can be set by the user.

[0052] In one embodiment, the heatmap of the target area may include a map of the target area. This map can be displayed as follows: the service processing device sends a map display request for the target map to the map display management device. This map display request may carry the map zoom level and the coordinates of the center point of the screen on the service processing device. The map display management device determines the target map tile images required to display the target area map based on the zoom level and the center point coordinates carried in the map display request, and sends the target map tile images to the service processing device. The service processing device then stitches the target image tile images sequentially to obtain and display the target area map. Generally, the map zoom level and the map scale have a mapping relationship, and the service processing device can determine the map zoom level based on the scale of the displayed map. As mentioned above, one zoom level corresponds to one set of map tile images. Therefore, when the map display management device determines the target map tile images required to display the target geographic area map based on the zoom level and the center point coordinates of the screen, it first obtains the set of map tile images corresponding to the zoom level. This set of map tile images may include multiple map tile images, and each map tile image may correspond to a position coordinate in the world coordinate system.

[0053] Furthermore, the map display management device can convert the coordinates of the screen center point of the service processing device into coordinates in the world coordinate system. After obtaining the coordinates of the screen center point in the world coordinate system, the map display management device can further obtain the screen size information of the service processing device. Then, based on the screen size information, the coordinates of the screen center point in the world coordinate system, and the position coordinates of each map tile image in the aforementioned map tile image set, the map display management device determines which map tile images in the aforementioned map tile image set will be displayed on the screen of the service processing device, and returns these determined map tile images as target map tile images to the service processing device.

[0054] When a processing device displays a target area map based on target map tile images, it can first convert the position coordinates of the target map tile images into coordinates in the screen coordinate system; then, it displays each target map tile image at the converted coordinate positions, thus obtaining the target area map. For example, see... Figure 3a This is a schematic diagram of a target area map provided in an embodiment of the present invention.

[0055] Optionally, the target area map may include N sub-areas. For example, the geographical area displayed on the current screen is a map of XX District in XX City. XX District may include several locations such as schools, hospitals, and office buildings. The location range of these locations is mapped on the map to obtain N sub-areas in the target area map.

[0056] Furthermore, to understand the distribution of preset information within the target area, users can input a trigger operation to display the heat map information of the preset information within the target area into the service processing device. The preset information can refer to any of the following: population density, pedestrian traffic, vehicle traffic, population activity, or any other event whose intensity or magnitude needs to be understood.

[0057] Optionally, the trigger display operation may refer to the user inputting voice information to display preset thermal information; or, the trigger display operation may also refer to the user selecting a trigger option corresponding to the preset thermal information. In one embodiment, the trigger option may be displayed directly on the target area map in a preset shape, for example in... Figure 3a The circular button 301 on the target area map can be a trigger option. In other embodiments, a map display settings option can be output on the target area map, such as... Figure 3b As shown in Figure 302, in response to the selection of this map display settings option, the map display settings interface is displayed as follows: Figure 3b As shown in 303, the trigger options corresponding to the preset thermal information are displayed in the map display settings interface 303, such as... Figure 3b As shown in Figure 304.

[0058] In one embodiment, the thermal information of the preset information is used to reflect the distribution of the preset information within a target area. Specifically, the thermal information can indicate the distribution through color intensity. For example, darker areas in the thermal information indicate a stronger distribution of the preset information within that area, while lighter areas indicate a weaker distribution. For instance, if the preset information is population density, darker areas indicate a higher population density, meaning darker areas have higher population density. The thermal information of the preset information within the target area can be generated based on location data. The following describes a method for generating thermal information of the preset information in this embodiment: First, obtain a set of thermal information data, which includes multiple thermal data points and the geographic coordinates of the target location corresponding to each thermal data point. This thermal data can be used to determine the color value at each location in the thermal information. In this embodiment, the thermal data can refer to the preset information. Based on the geographic coordinates in the thermal data, construct vertex data to obtain a vertex array set, which includes four unit vertex data points. The 3D vertex data is the vertex coordinates of the target rectangular region centered on the geographic coordinates; multiple target rectangular regions are determined based on each vertex array in the vertex array set, and the thermal information is obtained by texture drawing of each rectangular region based on the thermal data in the thermal information dataset.

[0059] The second method involves acquiring data on preset information occurring in the target area, and then using the WebGL-heatmap drawing method—a web development language—to draw the corresponding thermal information based on the acquired data.

[0060] The third method involves acquiring a set of thermal data points, where each point includes its thermal value and coordinates describing its geographical location. A 3D thermal texture is then obtained based on these coordinates and thermal values. A Gaussian transform is applied to the transparency values ​​of pixels in the 3D thermal texture to obtain the corresponding thermal height. An inverse graph transformation is then performed on the 3D texture coordinates corresponding to the pixels to obtain their world space coordinates. Finally, 3D thermal information is generated based on the world space coordinates and thermal height.

[0061] It should be understood that the above are just some methods for generating thermal information listed in the embodiments of the present invention. In practical applications, any combination of one or more of the above methods or other methods can be selected to generate thermal information according to the needs. The embodiments of the present invention do not make specific limitations.

[0062] In one embodiment, the thermal information of the target area can be displayed over a map of the target area. For example, see... Figure 4 This is a schematic diagram showing a heat map of a target area provided in an embodiment of the present invention. Figure 4 401 is the target area map, and 402 is the heat information of the preset information in the target area. The business processing equipment can overlay the heat information of the preset information in the target area onto the target area map.

[0063] Step S202: In response to the first trigger operation, display the thermal value of each sub-region in the N sub-regions.

[0064] In one embodiment, the first triggering operation may refer to: the user inputting voice information to view the heat value of preset information in any sub-region. For example, if there are N sub-regions including the first sub-region, the first triggering operation may be that the user inputs a voice message, the content of which may be "I want to see the distribution of preset information in the first sub-region", or "I want to see the heat value of preset information in the first sub-region", etc.

[0065] In another embodiment, the first triggering operation may also refer to the triggering of an association button that associates N sub-regions with preset information. This association button may be directly displayed on the target area map, for example, in... Figure 4 The square button 401 on the target area map can be a context button. Alternatively, this context button can be displayed in the geographic display settings interface, such as... Figure 3b The associated button 300 is displayed in the map display settings interface 303.

[0066] In response to the first trigger operation, the service processing device displays the heat values ​​of preset information within each sub-region. The heat value of the preset information within any sub-region can be determined by the service processing device through pixel intersection detection processing based on that sub-region and the heat information. Specific implementation details for this part will be described in later embodiments.

[0067] In one embodiment, the heat value of preset information in each of the N sub-regions can be displayed according to a target display method, which may include any one or more of list display, bar chart display, and pie chart display.

[0068] In one embodiment, the heat values ​​of preset information within N sub-regions can be displayed in list form. Specifically, the list includes two items: sub-regions and the heat values ​​of preset information within each sub-region. Each sub-region is filled into the sub-region list item, and the heat value of the preset information within each sub-region is filled into the matching position of the preset information list item within that sub-region. For example, suppose the N sub-regions are sub-region A, sub-region B, sub-region C, and sub-region D. The heat value of the preset information in sub-region A is X, the heat value of the preset information in sub-region B is Y, the heat value of the preset information in sub-region C is Z, and the heat value of the preset information in sub-region D is H. See also... Figure 5a This is a schematic diagram illustrating the display of thermal values ​​in N sub-regions according to an embodiment of the present invention. The thermal values ​​of preset information in each of the aforementioned sub-regions can be displayed as follows: Figure 5a As shown in section 500.

[0069] In another embodiment, the thermal values ​​of preset information within the N sub-regions can be displayed in a bar chart format. This bar chart visually shows the relationship between the thermal values ​​of the preset information within each sub-region, as well as the changes in thermal values ​​between different sub-regions. For example, see... Figure 5b This is a schematic diagram showing the thermal values ​​in various sub-regions according to another embodiment of the present invention. The thermal values ​​of preset information in the aforementioned sub-regions can be displayed as follows: Figure 5b As shown in Figure 501.

[0070] In another embodiment, the heat values ​​of preset information within the N sub-regions can be displayed as a pie chart. For example, see... Figure 5c This is a schematic diagram showing the thermal values ​​of various sub-regions according to another embodiment of the present invention. The thermal values ​​of preset information in each of the aforementioned sub-regions can be displayed as follows: Figure 5c As shown in Figure 502.

[0071] Optionally, when the heat values ​​of preset information in N sub-regions are displayed in a list format, the heat values ​​of preset information in each of the N sub-regions are displayed in a preset order. The preset order can include any of the following: order of distance from the user, order of heat value magnitude, or order of the first letter of the sub-region in the alphabetical order. For example, the heat values ​​of preset information in each of the N sub-regions can be displayed in order of distance from the user from closest to furthest, or in order of distance from the user from furthest to closest; or, the heat values ​​of preset information in each of the N sub-regions can be displayed in order of heat value from largest to smallest, or in order of heat value from smallest to largest.

[0072] In one embodiment, a user can filter and view heat values ​​of preset information within certain sub-regions. Specifically, the processing device can output at least one filter option. In response to the selection of at least one target filter option, the display switches from showing heat values ​​of preset information in each of the N sub-regions to showing heat values ​​of preset information in at least one target sub-region across the N sub-regions. The region type of the at least one target sub-region corresponds to the region type of the target filter option. The region type can include commercial regions, tourist attractions, dining areas, and sports areas. Commercial regions can refer to business districts. Tourist attractions can refer to scenic spots, and sports areas can refer to stadiums, gymnasiums, etc.

[0073] For example, suppose sub-areas A and B are commercial areas, sub-area C is a tourist attraction area, and sub-area D is a sports area. Figure 5b As stated above. Assuming in Figure 5b The system outputs three filter options: "Food," "Attractions," and "Business." The "Food" filter corresponds to a restaurant area, the "Attractions" filter to an attraction area, and the "Business" filter to a business area. If the user triggers the "Business" filter, the processing device switches from displaying the heat values ​​of preset information within sub-areas A, B, C, and D to displaying the heat values ​​of preset information within sub-areas A and B, such as... Figure 5d As shown in Figure 503.

[0074] In one embodiment, if there is a sub-region to be managed among the N sub-regions whose heat value, based on preset information, exceeds a heat value threshold, the service processing device can output a prompt message or send a report message. This prompt message or report message can be used to remind management personnel to manage the sub-region to be managed. This can improve the management efficiency of the target area.

[0075] In this embodiment of the invention, the service processing device displays a heat map of a target area. The heat map includes a target area map and heat information of preset information in the target area. The target area map includes N sub-areas. In response to a first trigger operation, each sub-area is subjected to pixel intersection detection with the heat information to obtain the heat value of the preset information in each sub-area. The heat value of the preset information in each of the N sub-areas is then displayed. This achieves the quantification and display of the preset information in each sub-area, which helps to intuitively obtain the distribution of the preset information in each sub-area and also improves the richness and convenience of the heat map display.

[0076] Based on the above embodiments of the business processing method, this invention provides another business processing method. See also... Figure 6 This is a flowchart illustrating another business processing method provided in an embodiment of the present invention. Figure 6 The business processing method shown can be executed by the business processing device, specifically by the processor of the business processing device. Figure 6 The business processing method shown may include the following steps:

[0077] Step S601: Display the heat map of the target area. The heat map includes a target area map of the target area and heat information of preset information in the target area. The target area map includes N sub-areas.

[0078] In one embodiment, some feasible implementations included in step S601 can be found in [reference needed]. Figure 2 The relevant descriptions of step S201 in the embodiments will not be repeated here.

[0079] Step S602: In response to the first trigger operation, identify the N sub-regions included in the target area map.

[0080] In one embodiment, when a first trigger operation occurs, the service processing device can perform pixel intersection detection processing based on N sub-regions and thermal information to obtain the thermal value of preset information in each sub-region, and finally display the thermal value of preset information in each sub-region. When performing pixel intersection detection processing based on N sub-regions and thermal information, the N sub-regions included in the target area map must first be identified.

[0081] In one embodiment, identifying N sub-regions in a target area map can be achieved by first performing text recognition processing on the target area map to obtain multiple identified sub-regions, and then performing region division or merging processing on these identified sub-regions to obtain N sub-regions. Specifically, identifying N sub-regions in a target area map can include: S1: taking a screenshot of the target area map to obtain a map screenshot; S2: performing text recognition on the map screenshot to obtain M initial sub-regions and their location information; S3: performing positional relationship detection on the M initial sub-regions based on their location information to obtain their positional relationship information; S4: performing region division or merging processing on the M initial sub-regions based on their positional relationship information to obtain N sub-regions.

[0082] In step S2, text recognition can be performed using optical character recognition (OCR) technology to process the screenshot of the target geographic area. OCR refers to the process by which an electronic device (such as a scanner or digital camera) examines characters printed on paper and then uses character recognition methods to translate the shapes into computer text. The purpose of an OCR recognition system is to transform images so that the graphics within the image are preserved, the data in tables is converted into table data, and the text within the image is converted into computer text, thereby reducing the amount of image data storage and allowing the recognized text to be reused and analyzed.

[0083] Optionally, the M initial sub-regions obtained by text recognition from the map screenshot can be marked on the map screenshot as rectangular boxes. For example, see Figure 7aThis is a schematic diagram of a map screenshot provided in an embodiment of the present invention. 701 represents a map screenshot. After performing text recognition on map screenshot 701, the map screenshot becomes 702. The initial sub-regions included in 702 are all marked in the form of rectangles. The position information of each initial sub-region can be represented by the coordinates of its corresponding rectangle on the screen.

[0084] In step S3, the service processing device can perform positional relationship detection on the M initial sub-regions based on their location information to obtain positional relationship information for at least one initial sub-region. Specifically, based on the location information of the M initial sub-regions, the distance between every two initial sub-regions is determined; based on the distance between every two initial sub-regions, region intersection detection and region adjacency detection are performed on the M initial sub-regions to obtain adjacent and intersecting sub-regions for each initial sub-region; and positional relationship information is generated based on the adjacent and intersecting sub-regions of each initial sub-region.

[0085] The distance between any two initial sub-regions can refer to the distance between the center points of any two initial sub-regions. When the service processing device determines the distance between any two initial sub-regions based on the location information of the M initial sub-regions, it may include: calculating the coordinates of the center points of any two initial sub-regions according to the location information of any two initial sub-regions; calculating the distance between the coordinates of any two center points, and using this distance as the distance between any two initial sub-regions.

[0086] Before performing region intersection detection and region adjacency detection on M initial sub-regions based on the distance between any two initial sub-regions, the service processing device can pre-set a first distance threshold and a second distance threshold, and perform region intersection detection and region adjacency detection on the M initial sub-regions based on the first distance threshold and the second distance threshold. Specifically, taking the first initial sub-region among the M initial sub-regions as an example, the second initial sub-region among the M initial sub-regions whose distance to the first initial sub-region is less than the first distance threshold is determined as an intersecting sub-region of the first initial sub-region; the third initial sub-region among the M initial sub-regions whose distance to the first initial sub-region is greater than the first distance threshold and less than or equal to the second distance threshold is determined as an adjacent sub-region of the first initial sub-region. For example, if the distance between initial sub-region A and initial sub-region B is less than the first distance threshold, then initial sub-region A and initial sub-region B are intersecting sub-regions; if the distance between initial sub-region A and initial sub-region C is greater than the first distance threshold and less than the second distance threshold, then initial sub-region A and initial sub-region B are adjacent sub-regions. If the distance between any two initial sub-regions is greater than the second distance threshold, then these two initial sub-regions are non-adjacent regions.

[0087] Optionally, the positional relationship information can be an undirected graph of positional relationships. The nodes in the undirected graph of positional relationships can be M initial sub-regions. If two initial sub-regions are intersecting (that is, the two initial sub-regions are intersecting sub-regions of each other), then the two initial sub-regions can be merged into a node in the undirected graph of positional relationships. If two initial sub-regions are adjacent (that is, the two initial sub-regions are adjacent sub-regions of each other), then there is an edge between the two initial sub-regions. For example, suppose there are M initial sub-regions A, B, C, D, E, F, and G. Assume that initial sub-regions A and B are intersecting. Then, merging initial sub-regions A and B results in a region that can be considered a node in an undirected graph of positional relationships. Since initial sub-regions B and C are adjacent, there is an edge between nodes in initial sub-regions B and C. Similarly, since initial sub-regions C and E are adjacent, there is an edge between nodes in initial sub-regions C and E. This pattern continues. Figure 7b The positional relationships shown are in an undirected graph.

[0088] In step S4, based on the positional relationship information of the initial sub-regions, the M initial sub-regions are divided or merged to obtain N sub-regions, which may include:

[0089] The process involves merging the first type of initial sub-regions among the M initial sub-regions with their adjacent sub-regions to obtain candidate sub-regions, which are then stored in a candidate sub-region set. The first type of initial sub-region refers to the initial sub-regions among the M initial sub-regions that have intersecting sub-regions. The second type of initial sub-regions among the M initial sub-regions are also stored as candidate sub-regions in the candidate sub-region set. The second type of initial sub-region refers to the initial sub-regions among the M initial sub-regions that do not have intersecting sub-regions. Based on the adjacent sub-regions of the N candidate sub-regions in the candidate sub-region set, each candidate sub-region undergoes a region update process to obtain N sub-regions. In simpler terms, it involves merging two intersecting initial sub-regions among the M initial sub-regions into one candidate sub-region, and directly using initial sub-regions without intersecting sub-regions as candidate sub-regions. Then, based on the adjacent sub-regions of the candidate sub-regions, a region update process is performed to obtain N sub-regions. The following example illustrates the process of updating the first candidate sub-region to obtain a single sub-region. The first candidate sub-region is any one of the candidate sub-regions in the candidate sub-region set.

[0090] In specific implementation, the first candidate sub-region is updated based on its adjacent sub-regions in the candidate sub-region set to obtain a sub-region. This can include: obtaining the target adjacent region corresponding to the first candidate sub-region based on positional relationship information, establishing a line connecting the center point of the first candidate sub-region and the center point of the target adjacent region, determining the target point and its symmetrical point on the line, wherein the target point and the symmetrical point are symmetrical based on the first candidate sub-region; and constructing a sub-region based on the target point and its symmetrical point. The target point can be the midpoint of the line or any point on the line at a distance x / y from the center point of the first candidate sub-region. x and y can take any values, and x is less than y.

[0091] In one embodiment, constructing a sub-region based on a target point and its symmetrical point includes: if there are at least two target points, then the polygonal region enclosed by the target point and its symmetrical point is taken as a sub-region; if there is only one target point, then a rectangular region is constructed based on the target point, its symmetrical point, and two vertices of the first candidate sub-region, and this rectangular region is taken as a sub-region, the length of which is equal to the length of the line connecting the target point and its symmetrical point, and the two vertices of the first candidate sub-region are located on the longer side of the rectangular region.

[0092] The following example illustrates this; see [link / reference]. Figure 7c This is a schematic diagram illustrating how to update a first candidate region to obtain a sub-region, as provided in an embodiment of the present invention. It is assumed that in... Figure 7c The center point of the first candidate sub-region is A, and the target adjacent sub-region of the first candidate sub-region is B. Connect point A and point B, and then take the midpoint C of the line connecting them. Determine the symmetrical point D of point C with respect to the first candidate sub-region. Then, take the line connecting point C and the symmetrical point D as the length of the rectangle. The length of CD is the longer side. Draw a line GH parallel to CD along vertex E of the first candidate sub-region, and draw a line LM parallel to CD along vertex F of the first candidate sub-region. Then, draw a line through the symmetrical point D and the center point C that intersects GH and LM respectively. Finally, the rectangular area enclosed by line segments GH, LM, HL and GM is a sub-region.

[0093] See Figure 7d This is a schematic diagram illustrating another method for updating a first candidate sub-region to obtain a sub-region, as provided in an embodiment of the present invention. It is assumed that in... Figure 7dIn the diagram, the center point of the first candidate sub-region is A. The first candidate sub-region includes two adjacent target sub-regions with center points B and C respectively. Connect AB and AC, and take the midpoint D of AB and the midpoint E of AC. Determine the symmetrical point F of midpoint D with respect to the first candidate sub-region and the symmetrical point G of midpoint E with respect to the first candidate sub-region respectively. The polygon DEFG constitutes a sub-region.

[0094] In one embodiment, assuming the target area map is displayed during a zoom operation, after obtaining N sub-regions, the positions of these N sub-regions can be further obtained, and their identifiers and positions can be stored in a cache. This cache stores the positions and identifiers of multiple sub-regions determined during each zoom operation. The processing device can construct global sub-region inclusion relationship information based on the position of each sub-region in the cache. This global sub-region inclusion relationship information indicates the inclusion relationship between sub-regions. For example, if sub-region C contains sub-regions B and A, then sub-region C is called the root sub-region of sub-regions A and B, and sub-regions B and A are called leaf regions of sub-region C. If a leaf region exists on the map before a zoom operation, and after the zoom operation, the leaf region disappears and a root sub-region of that leaf region appears, then when updating the region using the root sub-region as a candidate sub-region, the leaf region must be included in the calculation.

[0095] To avoid useless information occupying cache space, the Least Recently Used (LUR) caching strategy can be used in this embodiment of the invention. When the cache space is insufficient or some information in the cache needs to be cleaned up, information with fewer recent accesses in the cache is replaced first, such as sub-regions with fewer recent accesses.

[0096] Step S603: Take a screenshot of the thermal information to obtain a thermal information screenshot, and perform pixel intersection detection on the N sub-regions and the thermal information screenshot to obtain the intersection pixels of each sub-region and the thermal information screenshot.

[0097] Step S604: Calculate the thermal value of the preset information in each sub-region based on the intersecting pixels of each sub-region and the thermal information screenshot.

[0098] After identifying N sub-regions in the target area map through the above steps, thermal images can be captured. Then, pixel intersection detection is performed between each sub-region and the thermal image to obtain the intersecting pixels. Finally, based on these intersecting pixels, the thermal value of preset information within each region is calculated.

[0099] The following example, using the first sub-region out of N sub-regions, illustrates how to calculate the heat value of preset information within each sub-region based on the pixels where each sub-region intersects with the heat information screenshot. Specifically, the first sub-region can be any one of the N sub-regions, and the number of intersecting pixels between the first sub-region and the heat information screenshot can be W. Calculating the heat value of each sub-region based on these intersecting pixels includes: obtaining the total number of pixels within the first sub-region (the total number of pixels within the first sub-region can also be called the area of ​​the first sub-region); obtaining the heat value of each of the W intersecting pixels according to the gradient color chart; adding the heat values ​​of the W intersecting pixels together, and obtaining the heat value of the first sub-region based on the ratio of the sum to the total number of pixels within the first sub-region.

[0100] A thermal information screenshot can be viewed as a density map of equal regions of color values ​​constructed from a gradient color chart mapping table with multiple color values. The gradient color chart mapping table includes multiple colors and the thermal color value corresponding to each color. That is to say, each color in the thermal information screenshot can correspond to a thermal color value in the gradient color chart mapping table. The thermal color value of each of the W intersecting pixels is obtained from the gradient color chart mapping table, the color of each intersecting pixel is determined, and the thermal color value of that pixel is determined from the gradient color chart mapping table based on the color of each intersecting pixel.

[0101] For example, suppose the first sub-region contains S pixels. After performing an intersection detection between this first sub-region and the thermal information screenshot, W intersecting pixels are found. These W intersecting pixels include W1 thermal color values ​​n1, W2 thermal color values ​​n2, ..., Wt thermal color values ​​nt, where n1 + n2 + n3 + ... + nt = W. Finally, the thermal value of the preset information in the first sub-region is calculated. Where i is greater than or equal to 1 and less than or equal to t.

[0102] Step S605: Display the heat values ​​of preset information in each of the N sub-regions.

[0103] In one embodiment, some feasible implementation methods included in step S605 can be found in [reference needed]. Figure 2 The specific description of step S202 in the embodiment will not be repeated here.

[0104] In this embodiment of the invention, the service processing device displays a heat map of a target area. The heat map includes a target area map and heat information of preset information within the target area. The heat information reflects the distribution of the preset information within the target area. The target area map includes N sub-areas. In response to a first trigger operation, the N sub-areas in the target area map are identified based on a map screenshot and text recognition technology. Further, pixel intersection detection is performed based on the heat information screenshot and each sub-area to determine the heat value of the preset information within each sub-area. Finally, the heat value of the preset information in each of the N sub-areas is displayed. This achieves quantified display of the preset information within each sub-area, which helps to intuitively obtain the distribution of the preset information within each sub-area and improves user engagement.

[0105] Based on the above embodiments of the business processing method, this embodiment of the invention provides a schematic diagram of yet another business processing method, see [link / reference]. Figure 8 As shown, the business processing method is executed by a business processing device, which includes a map screenshot module, a heat map screenshot module, a text recognition module, a sub-region caching module, and a sub-region segmentation module.

[0106] exist Figure 8 In this process, the business processing device sends a map display request carrying the zoom level and the coordinates of the screen center point to the map display management device, which can be deployed in the cloud. After receiving a map display request, the map display management device returns map tile images. The service processing device displays the target area map based on the map tile images and displays the heat map information of preset information within the target area. Further, the map screenshot module of the service processing device takes a screenshot of the target area map to obtain a map screenshot. The text recognition module processes the map screenshot to obtain M initial sub-regions. Then, an undirected graph of positional relationships is constructed based on the positions between every two initial sub-regions. The region segmentation module divides the M initial sub-regions based on the undirected graph of positional relationships to obtain N sub-regions, and further determines the coordinates of each sub-region. The sub-region caching module caches the coordinates of each sub-region and establishes global containment relationship information based on the cached data. The heat map information screenshot module takes a screenshot of the heat map information to obtain a heat map information screenshot. The heat map information screenshot and each of the N sub-regions are then subjected to pixel intersection detection, heat map color value mapping, heat map value calculation, and heat map value calculation for each sub-region, thereby achieving a quantitative display of the distribution of preset information within each sub-region.

[0107] Based on the above-described embodiments of the business processing method, this invention provides a business processing apparatus, see below. Figure 9 This is a schematic diagram of the structure of a business processing device provided in an embodiment of the present invention. Figure 9The business processing unit shown can operate the following units:

[0108] Display unit 901 is used to display a heat map of a target area. The heat map includes a target area map of the target area and heat information of preset information in the target area. The heat information is used to reflect the distribution of preset information in the target area. The target area map includes N sub-areas, where N is a positive integer greater than or equal to 1.

[0109] The display unit 901 is also configured to respond to the first trigger operation by displaying the thermal value of each of the N sub-regions, wherein the thermal value of the sub-region is determined based on pixel intersection detection processing of the sub-region and thermal information.

[0110] In one embodiment, the heat values ​​in each of the N sub-regions are displayed according to a target display method, which includes one or more of a list display method, a bar chart display method, and a pie chart display method; wherein, when the target display method is a list display method, the heat values ​​of each sub-region are displayed in order of distance from the user or in order of heat value magnitude.

[0111] In one embodiment, the display unit 901 is further configured to, in response to the selection operation of a target filter option in at least one filter option, switch from displaying the heat value of each sub-region in the N sub-regions to displaying the heat value of at least one target sub-region in the N sub-regions, wherein the region type of the at least one target sub-region belongs to the region type corresponding to the target filter option; the region type may include any one of commercial region, tourist attraction region, catering region, and sports region.

[0112] In one embodiment, the service processing device further includes an output unit 902 and a sending unit 903; the output unit 902 is used to output a prompt message in response to the existence of a sub-area to be controlled with a heat value higher than a preset threshold; the sending unit 903 is used to send a reporting message in response to the existence of a sub-area to be controlled with a heat value higher than a preset threshold, the prompt message or the reporting message including the identifier of the sub-area to be controlled and the heat value of the sub-area to be controlled.

[0113] In one embodiment, the business processing device further includes a processing unit 904; the processing unit 904 is configured to, in response to a first trigger operation, identify the N sub-regions within the target area map; perform a screenshot operation on the thermal information of preset information in the target area to obtain a thermal information screenshot; perform pixel intersection detection on the N sub-regions and the thermal information screenshot to obtain the intersecting pixels of each sub-region intersecting with the thermal information screenshot; and calculate the thermal value of each sub-region based on the intersecting pixels of each sub-region intersecting with the thermal information screenshot.

[0114] In one embodiment, the N sub-regions include a first sub-region, which is any one of the N sub-regions. The number of intersecting pixels between the first sub-region and the thermal information screenshot is W, where W is an integer greater than or equal to 1. When the processing unit 904 calculates the thermal value of each sub-region based on the intersecting pixels between each sub-region and the thermal information screenshot, it performs the following steps:

[0115] Obtain the total number of pixels in the first sub-region; obtain the thermal color value of each of the W intersecting pixels according to the gradient color chart; add the thermal color values ​​of the W intersecting pixels together, and obtain the thermal value of the first sub-region based on the ratio of the sum to the total number of pixels in the first sub-region.

[0116] In one embodiment, when the processing unit 904 identifies the N sub-regions within the target area, it performs the following steps: taking a screenshot of the target area map to obtain a map screenshot; performing text recognition processing on the map screenshot to obtain M initial sub-regions and their location information; performing positional relationship detection on the M initial sub-regions based on their location information to obtain their positional relationship information; and performing region division or merging processing on the M initial sub-regions based on their positional relationship information to obtain N sub-regions.

[0117] In one embodiment, when the processing unit 904 performs positional relationship detection on the M initial sub-regions based on their positional information to obtain positional relationship information of the initial sub-regions, it performs the following steps: determining the distance between every two initial sub-regions based on their positional information; performing region intersection detection and region adjacency detection on the M initial sub-regions based on the distance between every two initial sub-regions to obtain adjacent sub-regions and intersecting sub-regions of each initial sub-region; and generating positional relationship information based on the adjacent and intersecting sub-regions of each initial sub-region.

[0118] In one embodiment, when processing unit 904 performs region intersection detection and region adjacency detection on the M initial sub-regions based on the distance between every two initial sub-regions to obtain the adjacent sub-regions and intersecting sub-regions of each initial sub-region, it performs the following steps:

[0119] For the first initial sub-region among the M initial sub-regions, the second initial sub-region among the M initial sub-regions whose distance from the first initial sub-region is less than a first distance threshold is determined as the intersecting sub-region of the first initial sub-region; the third initial sub-region among the M initial sub-regions whose distance from the first sub-region is greater than the first distance threshold and less than or equal to the second distance threshold is determined as the adjacent sub-region of the first initial sub-region.

[0120] In one embodiment, when processing unit 904 performs region division or merging processing on the M initial sub-regions based on the location relationship information to obtain N sub-regions, it executes the following steps:

[0121] The first type of initial sub-region in the M initial sub-regions is merged with the adjacent sub-regions of the first type of initial sub-region to obtain candidate sub-regions and store them in the candidate sub-region set. The first type of initial sub-region refers to the initial sub-regions in the M initial sub-regions that have intersecting sub-regions.

[0122] The second type of initial sub-region among the M initial sub-regions is stored as a candidate sub-region in the candidate sub-region set. The second type of initial sub-region refers to the initial sub-region among the M initial sub-regions that does not have intersecting sub-regions.

[0123] Based on the neighboring sub-regions corresponding to the N candidate sub-regions in the candidate sub-region set, region update processing is performed on each candidate sub-region to obtain N sub-regions.

[0124] In one embodiment, the candidate sub-region set includes a first candidate sub-region. When the processing unit 904 performs region update processing on the first candidate text sub-region based on the adjacent sub-regions corresponding to the first candidate sub-region in the candidate sub-region set to obtain a sub-region, it performs the following steps:

[0125] Based on the positional relationship information, obtain the target adjacent sub-region corresponding to the first candidate sub-region, and establish a line connecting the center point of the first candidate sub-region and the center point of the target adjacent sub-region; determine the target point and the symmetrical point on the line, wherein the target point and the symmetrical point are symmetrical based on the first candidate sub-region; construct a sub-region based on the target point and the symmetrical point of the target point.

[0126] In one embodiment, when the processing unit 904 constructs a sub-region based on the target point and the target point's symmetrical point, it performs the following steps: if the number of target points is at least two, the polygonal region enclosed by the target point and the target point's symmetrical point is taken as a sub-region; if the number of target points is one, a rectangular region is constructed based on the target point, the target point's symmetrical point, and the two vertices of the first candidate sub-region, and the rectangular region is taken as a sub-region; the length of the rectangular region is equal to the length of the line connecting the target point and the target point's symmetrical point, and the two vertices of the first candidate sub-region are respectively located on the longer side of the rectangular region.

[0127] In one embodiment, the target area map is displayed when a zoom operation occurs. The business processing device further includes an acquisition unit 905; the acquisition unit 905 is used to acquire the positions of the N sub-regions; and the processing unit 904 is used to store the identification information of the N sub-regions and the positions of the N sub-regions into a cache, wherein the cache stores the positions and identification information of multiple sub-regions determined each time a zoom operation occurs.

[0128] In one embodiment, the processing unit 904 is further configured to construct global sub-region inclusion relationship information based on the position of each sub-region in the cache.

[0129] In one embodiment, the first candidate sub-region is updated based on the target neighboring sub-region corresponding to the first candidate sub-region among the N candidate sub-regions. After obtaining a sub-region, if it is determined that the first candidate sub-region has a leaf region based on the global sub-region inclusion relationship information, then the sub-region obtained based on the leaf region of the first candidate sub-region is subjected to region adjustment processing. The sub-region after region adjustment processing includes the leaf region of the first candidate sub-region.

[0130] According to one embodiment of this application, Figure 2 and Figure 6 The steps involved in the business processing method shown can be derived from... Figure 9 This is performed by the various units within the illustrated business processing apparatus. For example, Figure 2 Steps S201 and S202 shown can be derived from... Figure 9 The display unit 901 in the shown business processing device performs the operation. For example, Figure 6 Steps S601 and S605 shown can be derived from... Figure 9 The display unit 901 in the business processing device shown is used to execute the steps; steps S602-S604 can be performed by... Figure 9 The processing unit 904 in the shown business processing device performs the operation.

[0131] According to another embodiment of this application, Figure 9 The units in the illustrated business processing apparatus are divided based on logical functions. These units can be individually or entirely merged into one or more other units, or some of these units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of this application. In other embodiments of this application, the aforementioned business processing apparatus may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units.

[0132] According to another embodiment of this application, the following can be achieved by running on a general-purpose computing device, such as a computer, which includes processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM), a device capable of performing operations such as... Figure 2 or Figure 6 The computer program (including program code) involved in each step of the method shown is used to construct, for example... Figure 9 The present invention describes a business processing apparatus and a business processing method for implementing embodiments of this application. The computer program may be recorded on, for example, a computer storage medium, loaded onto the aforementioned computing device via the computer storage medium, and run therein.

[0133] In this embodiment of the invention, the service processing device displays a heat map of a target area. The heat map includes a target area map and heat information of preset information within the target area. The heat information reflects the distribution of the preset information within the target area. The target area map includes N sub-regions, where N is a positive integer greater than or equal to 1. In response to a first trigger operation, pixel intersection detection is performed between each sub-region and the heat information to obtain the heat value of the preset information within each sub-region. The heat value of the preset information in each sub-region of the N regions is then displayed. This achieves quantified display of the preset information within each sub-region, which helps to intuitively obtain the preset information situation within each sub-region and improves the richness and convenience of the heat map display.

[0134] Based on the description of the above method and apparatus embodiments, this application also provides a service processing device. Please refer to [link to relevant documentation]. Figure 10 This is a schematic diagram of the structure of a service processing device provided in an embodiment of the present invention. The service processing device may include a processor 1001, an input interface 1002, an output interface 1003, and a computer storage medium 1004. The processor 1001, input interface 1002, output interface 1003, and computer storage medium 1004 may be connected via a bus or other means.

[0135] The computer storage medium 1004 can be stored in the memory of the business processing device. The computer storage medium 1004 is used to store computer programs, and the processor 1001 is used to execute the computer programs stored in the computer storage medium 1004. The processor 1001 (or CPU (Central Processing Unit)) is the computing and control core of the business processing device, and is suitable for implementing one or more computer programs, specifically suitable for loading and executing:

[0136] Display a heatmap of the target area, the heatmap including a target area map and heat information of preset information in the target area, the heat information reflecting the distribution of preset information in the target area, the target area map including N sub-areas; in response to a first trigger operation, display the heat value of each of the N sub-areas, the heat value of the preset information in the sub-area is determined based on pixel intersection detection processing of the sub-area and the heat information.

[0137] In this embodiment of the invention, the service processing device displays a heat map of a target area. The heat map includes a target area map and heat information of preset information within the target area. The heat information reflects the distribution of the preset information within the target area. The target area map includes N sub-areas. In response to a first trigger operation, each sub-area is subjected to pixel intersection detection with the heat information to obtain the heat value of each sub-area. The heat value of each sub-area in the N sub-areas is then displayed. This achieves a quantitative display of the distribution of preset information within each sub-area, which helps to intuitively obtain the distribution of preset information within each sub-area and improves the richness and convenience of the heat map display.

[0138] This invention also provides a computer storage medium (memory), which is a memory device in a business processing device for storing programs and data. It is understood that the computer storage medium here may include the built-in storage medium of the business processing device, or it may include an extended storage medium supported by the business processing device. The computer storage medium provides storage space, which stores the operating system of the business processing device. Furthermore, this storage space also stores one or more computer programs suitable for loading and execution by the processor 1001. It should be noted that the computer storage medium here may be a high-speed RAM memory, or a non-volatile memory, such as at least one disk storage device; optionally, it may also be at least one computer storage medium located remotely from the aforementioned processor.

[0139] In one embodiment, the computer storage medium may be loaded and executed by the processor 1001, containing one or more computer programs, specifically:

[0140] Display a heatmap of the target area, the heatmap including a target area map and heat information of preset information in the target area, the heat information being used to show the distribution of preset information in the target area, the target area map including N sub-regions, where N is a positive integer greater than or equal to 1; in response to a first trigger operation, display the heat value of each of the N sub-regions, the heat value of the sub-region being determined based on pixel intersection detection processing of the sub-region and the heat information.

[0141] In one embodiment, the heat values ​​of preset information in each of the N sub-regions are displayed according to a target display method, which includes one or more of list display, bar chart display, and pie chart display. When the target display method is list display, the heat values ​​of each of the N sub-regions are displayed in order of proximity to the user or in order of heat value magnitude.

[0142] In one embodiment, the processor 1001 further performs the following in response to the selection of a target filter option in at least one filter option: switching from displaying the heat value of each of the N sub-regions to displaying the heat value of at least one target sub-region in the N sub-regions, wherein the region type of the at least one target sub-region belongs to the region type corresponding to the target filter option; the region type may include any one of commercial region, tourist attraction region, catering region, and sports region.

[0143] In one embodiment, the processor 1001 further performs the following: in response to the existence of a sub-region to be controlled with a heat value higher than a preset threshold, outputting a prompt message or sending a reporting message, wherein the prompt message or the reporting message includes the identifier of the sub-region to be controlled and the heat value of the sub-region to be controlled.

[0144] In one embodiment, when the processor 1001 displays the thermal value of each of the N sub-regions in response to a first trigger operation, it performs the following steps:

[0145] In response to the first trigger operation, the N sub-regions within the target area map are identified; a screenshot operation is performed on the thermal information of the preset information in the target area to obtain a thermal information screenshot; pixel intersection detection is performed on the N sub-regions and the thermal information screenshot to obtain the intersecting pixels of each sub-region and the thermal information screenshot; the thermal value of each sub-region is calculated based on the intersecting pixels of each sub-region and the thermal information screenshot.

[0146] In one embodiment, the N sub-regions include a first sub-region, which is any one of the N sub-regions. The number of intersecting pixels between the first sub-region and the thermal information screenshot is W, where W is an integer greater than or equal to 1. When the processor 1001 calculates the thermal value of each sub-region based on the intersecting pixels between each sub-region and the thermal information screenshot, it performs the following steps:

[0147] Obtain the total number of pixels in the first sub-region; obtain the thermal color value of each of the W intersecting pixels according to the gradient color chart; add the thermal color values ​​of the W intersecting pixels together, and obtain the thermal value of the first sub-region based on the ratio of the sum to the total number of pixels in the first sub-region.

[0148] In one embodiment, when the processor 1001 identifies the N sub-regions within the target area map, it performs the following steps: taking a screenshot of the target area map to obtain a map screenshot; performing text recognition on the map screenshot to obtain M initial sub-regions and their location information; performing positional relationship detection on the M initial sub-regions based on their location information to obtain their positional relationship information; and performing region division or merging processing on the M initial sub-regions based on their positional relationship information to obtain N sub-regions.

[0149] In one embodiment, when the processor 1001 performs positional relationship detection on the M initial sub-regions based on their positional information to obtain positional relationship information for the M initial sub-regions, it executes the following steps:

[0150] Based on the location information of the M initial sub-regions, determine the distance between every two initial sub-regions; perform region intersection detection and region adjacency detection on the M initial sub-regions according to the distance between every two initial sub-regions to obtain the adjacent sub-regions and intersecting sub-regions of each initial sub-region; generate positional relationship information based on the adjacent sub-regions and intersecting sub-regions of each sub-region.

[0151] In one embodiment, when the processor 1001 performs region intersection detection and region adjacency detection on the M initial sub-regions based on the distance between every two initial sub-regions to obtain the adjacent sub-regions and intersecting sub-regions of each initial sub-region, it executes the following steps:

[0152] For the first initial sub-region among the M initial sub-regions, the second initial sub-region among the M initial sub-regions whose distance from the first initial sub-region is less than a first distance threshold is determined as the intersecting sub-region of the first initial sub-region; the third initial sub-region among the M initial sub-regions whose distance from the first initial sub-region is greater than the first distance threshold and less than or equal to the second distance threshold is determined as the adjacent sub-region of the first text sub-region.

[0153] In one embodiment, when the processor 1001 performs region division or merging processing on the M initial sub-regions based on the location relationship information to obtain N sub-regions, it executes the following steps:

[0154] The first type of initial sub-region in the M initial sub-regions is merged with the adjacent sub-regions of the first type of initial sub-region to obtain candidate sub-regions and store them in the candidate sub-region set. The first type of initial sub-region refers to the initial sub-regions in the M initial sub-regions that have intersecting sub-regions.

[0155] The second type of initial sub-region among the M initial sub-regions is stored as a candidate sub-region in the candidate sub-region set. The second type of initial sub-region refers to the initial sub-region among the M initial sub-regions that does not have intersecting sub-regions.

[0156] Based on the neighboring sub-regions corresponding to the N candidate sub-regions in the candidate sub-region set, region update processing is performed on each candidate sub-region to obtain N sub-regions.

[0157] In one embodiment, the candidate sub-region set includes a first candidate sub-region. When the processor 1001 performs region update processing on the first candidate sub-region based on the adjacent sub-regions corresponding to the first candidate sub-region in the candidate sub-region set to obtain a sub-region, it executes the following steps:

[0158] Based on the positional relationship information, the target adjacent sub-region corresponding to the first candidate sub-region is obtained, and a line is established between the center point of the first candidate sub-region and the center point of the target adjacent sub-region; the target point and the symmetrical point on the line are determined, and the target point and the symmetrical point are symmetrical based on the first candidate text sub-region; a sub-region is constructed based on the target point and the symmetrical point of the target point.

[0159] In one embodiment, when the processor 1001 constructs a sub-region based on the target point and the point symmetrical to the target point, it performs the following steps:

[0160] If there are at least two target points, the polygonal region enclosed by the target point and its symmetrical point is taken as a sub-region; if there is only one target point, a rectangular region is constructed based on the target point, its symmetrical point, and the two vertices of the first candidate sub-region, and the rectangular region is taken as a sub-region; the length of the rectangular region is equal to the length of the line connecting the target point and its symmetrical point, and the two vertices of the first candidate sub-region are located on the longer side of the rectangular region.

[0161] In one embodiment, the target area map is displayed when a zoom operation occurs; the processor 1001 is further configured to: obtain the positions of the N sub-regions, and store the identification information of the N sub-regions and the positions of the N sub-regions in a cache, wherein the cache stores the positions and identification information of multiple sub-regions determined each time a zoom operation occurs.

[0162] In one embodiment, the processor 1001 is further configured to perform: constructing global subregion containment relationship information based on the position of each subregion in the cache.

[0163] In one embodiment, the processor 1001 is further configured to perform: if it is determined that the first candidate text sub-region has a leaf region based on the global sub-region containment relationship information, then perform a region adjustment process on the obtained sub-region based on the leaf region of the first candidate sub-region, wherein the sub-region after the region adjustment process includes the leaf region of the first candidate sub-region.

[0164] In this embodiment of the invention, the service processing device displays a heat map of a target area. The heat map may include a target area map of the target area and heat information of preset information in the target area. The heat information is used to reflect the distribution of preset information in the target area. The target area map includes N sub-regions, where N is a positive integer greater than or equal to 1. In response to a first trigger operation, pixel intersection detection is performed between each sub-region and the heat information to obtain the heat value of each sub-region. The heat value of each sub-region in the N sub-regions is then displayed. This achieves the quantification and display of preset information in each sub-region, which helps to intuitively obtain the preset information in each sub-region and improves the richness and convenience of the heat map display.

[0165] According to one aspect of this application, embodiments of the present invention also provide a computer product or computer program, the computer product including a computer program stored in a computer-readable storage medium. A processor 1001 reads the computer program from the computer-readable storage medium, causing a business processing device to load and execute it.

[0166] Display a heatmap of the target area, the heatmap including a target area map and heat information of preset information in the target area, the heat information reflecting the distribution of preset information in the target area, the target area map including N sub-regions; N is a positive integer greater than or equal to 1; in response to a first trigger operation, display the heat value of each of the N sub-regions, the heat value of the sub-region is determined based on pixel intersection detection processing of the region and the heat information.

[0167] In this embodiment of the invention, the service processing device displays a heat map of a target area. The heat map may include a target area map of the target area and heat information of preset information in the target area. The heat information is used to reflect the distribution of preset information in the target area. The target area map includes N sub-areas. In response to a first trigger operation, each sub-area is subjected to pixel intersection detection with the heat information to obtain the heat value of each sub-area, and the heat value of each sub-area in the N sub-areas is displayed. This realizes the quantitative display of the distribution of preset information in each sub-area, which helps to intuitively obtain the preset information in each sub-area and improves the richness and convenience of the heat map display.

Claims

1. A business processing method, characterized in that, include: Display a heat map of the target area, the heat map including a target area map and thermal information of the target area, the thermal information being used to reflect the distribution of preset information within the target area; the target area map includes N sub-areas, where N is a positive integer greater than or equal to 1; In response to the first trigger operation, the N sub-regions within the target area map are identified; a screenshot operation is performed on the heat information to obtain a heat information screenshot; pixel intersection detection is performed on the N sub-regions and the heat information screenshot to obtain the intersecting pixels of each sub-region and the heat information screenshot; the heat value of each sub-region is calculated and displayed based on the intersecting pixels of each sub-region and the heat information screenshot, wherein the heat value of the sub-region is determined based on the pixel intersection detection processing of the sub-region and the heat information, and the heat value of the sub-region is displayed according to a target display method, the target display method including one or more of list display method, bar chart display method, and pie chart display method.

2. The method as described in claim 1, characterized in that, in, When the target is displayed in list mode, the heat values ​​of the sub-regions are displayed in order of distance from the user or in order of heat value magnitude.

3. The method as described in claim 1, characterized in that, The method further includes: In response to the selection of a target option in at least one filter option, the display of heat values ​​of each of the N sub-regions is switched to displaying heat values ​​of at least one target sub-region in the N sub-regions, wherein the region type of the at least one target sub-region belongs to the region type corresponding to the target option, and the region type includes any one of commercial region, tourist attraction region, catering region, and sports region.

4. The method as described in claim 1, characterized in that, The method further includes: In response to the existence of a sub-area to be controlled with a heat value higher than a preset threshold, a prompt message is output or a report message is sent. The prompt message or the report message includes the identifier of the sub-area to be controlled and the heat value of the sub-area to be controlled.

5. The method as described in claim 1, characterized in that, The N sub-regions include a first sub-region, which is any one of the N sub-regions. The number of intersecting pixels between the first sub-region and the heat map screenshot is W, where W is an integer greater than or equal to 1. The calculation and display of the heat value of each sub-region based on the intersecting pixels between the map of each sub-region and the heat map screenshot includes: Get the total number of pixels in the first sub-region; Obtain the thermal color value of each of the W intersecting pixels according to the gradient color chart mapping table; The thermal values ​​of the W intersecting pixels are added together. Based on the ratio of the addition result to the total number of pixels in the first sub-region, the thermal value of the first sub-region is obtained and displayed.

6. The method as described in claim 1, characterized in that, The identification of the N sub-regions within the target area includes: Take a screenshot of the target area map to obtain a map screenshot; The map screenshot is subjected to text recognition to obtain M initial sub-regions and the location information of the M initial sub-regions; Based on the location information of the M initial sub-regions, positional relationship detection is performed on the M initial sub-regions to obtain the positional relationship information of the M initial sub-regions; Based on the positional relationship information of the M initial sub-regions, the M initial sub-regions are divided or merged to obtain the N sub-regions.

7. The method as described in claim 6, characterized in that, The step of detecting the positional relationship of the M initial sub-regions based on their positional information to obtain their positional relationship information includes: Based on the location information of the M initial sub-regions, determine the distance between every two initial sub-regions in the M initial sub-regions; Based on the distance between every two initial sub-regions, perform region intersection detection and region adjacency detection on the M initial sub-regions to obtain the adjacent sub-regions and intersecting sub-regions of each initial sub-region; The positional relationship information is generated based on the adjacent and intersecting sub-regions of each initial sub-region.

8. The method as described in claim 7, characterized in that, The step of performing region intersection detection and region adjacency detection on the M initial sub-regions based on the distance between every two initial sub-regions to obtain the adjacent sub-regions and intersecting sub-regions of each initial sub-region includes: For the first initial sub-region among the M initial sub-regions, the second initial sub-region among the M initial sub-regions whose distance from the first initial sub-region is less than a first distance threshold is determined as the intersecting sub-region of the first initial sub-region. A third initial sub-region among the M initial sub-regions whose distance from the first initial sub-region is greater than the first distance threshold and less than or equal to the second distance threshold is determined as a neighboring sub-region of the first initial sub-region.

9. The method as described in claim 7, characterized in that, The process of dividing or merging the M initial sub-regions based on their positional relationship information to obtain the N sub-regions includes: The first type of initial sub-region in the M initial sub-regions is merged with the adjacent sub-regions of the first type of initial sub-region to obtain candidate sub-regions and store them in the candidate sub-region set. The first type of initial sub-region refers to the initial sub-regions in the M initial sub-regions that have intersecting sub-regions. The second type of initial sub-region among the M initial sub-regions is stored as a candidate sub-region in the candidate sub-region set. The second type of initial sub-region refers to the initial sub-region among the M initial sub-regions that does not have intersecting sub-regions. Based on the neighboring sub-regions corresponding to the N candidate sub-regions in the candidate sub-region set, region update processing is performed on each candidate sub-region to obtain N sub-regions.

10. The method as described in claim 9, characterized in that, The candidate sub-region set includes a first candidate sub-region. Based on the adjacent sub-regions corresponding to the first candidate sub-region in the candidate sub-region set, the first candidate sub-region undergoes region update processing to obtain a sub-region, including: Based on the location relationship information, the target adjacent sub-region corresponding to the first candidate sub-region is obtained, and a line is established between the center point of the first candidate sub-region and the center point of the target adjacent sub-region. Determine the target point and the symmetrical point of the target point on the connecting line, wherein the target point and the symmetrical point are symmetrical based on the first candidate sub-region; A sub-region is constructed based on the target point and the point symmetrical to the target point.

11. The method as described in claim 10, characterized in that, The construction of a sub-region based on the target point and its symmetrical point includes: If the number of target points is at least two, then the polygonal region enclosed by the target points and their symmetrical points is considered as a text sub-region. If there is only one target point, a rectangular region is constructed based on the target point, the symmetrical point of the target point, and the two vertices of the first candidate sub-region, and the rectangular region is used as a text sub-region; the length of the rectangular region is equal to the length of the line connecting the target point and the symmetrical point of the target point, and the two vertices of the first candidate sub-region are located on the longer side of the rectangular region.

12. The method as described in claim 10, characterized in that, The target geographic area map is displayed when a zoom operation is performed, and the method further includes: The positions of the N sub-regions are obtained, and the identification information of the N sub-regions and their positions are stored in a cache. The cache stores the positions and identification information of multiple sub-regions determined each time a scaling operation occurs.

13. The method as described in claim 12, characterized in that, The method further includes: Global subregion containment relationship information is constructed based on the position of each subregion in the cache.

14. The method as described in claim 13, characterized in that, After updating the first candidate sub-region based on the target neighboring sub-region corresponding to the first candidate sub-region among the N candidate sub-regions to obtain a sub-region, the method further includes: If it is determined that the first candidate sub-region has branch sub-regions based on the global sub-region inclusion relationship information, then the obtained sub-region is adjusted based on the branch sub-regions of the first candidate sub-region, and the sub-region after the adjustment includes the branch sub-regions of the first candidate sub-region.

15. A business processing apparatus, characterized in that, include: The display unit is used to display a heat map of the target area. The heat map includes a target area map and thermal information of the target area. The thermal information is used to reflect the distribution of preset information within the target area. The target area map includes N sub-regions, where N is a positive integer greater than or equal to 1. The display unit is further configured to, in response to a first trigger operation, identify the N sub-regions within the target area map; perform a screenshot operation on the heat information to obtain a heat information screenshot; perform pixel intersection detection on the N sub-regions and the heat information screenshot to obtain the intersecting pixels of each sub-region intersecting with the heat information screenshot; calculate and display the heat value of each sub-region based on the intersecting pixels of each sub-region intersecting with the heat information screenshot, wherein the heat value of the sub-region is determined based on the pixel intersection detection processing of the sub-region and the heat information, and the heat value of the sub-region is displayed according to a target display method, the target display method including one or more of a list display method, a bar chart display method, and a pie chart display method.

16. A business processing device, characterized in that, include: A processor is used to implement one or more computer programs; And a computer storage medium storing one or more computer programs, said one or more computer programs being adapted to be loaded by the processor and executed as described in any one of claims 1-14.

17. A computer storage medium, characterized in that, The computer storage medium stores a computer program, which, when executed by a processor, is used to perform the business processing method as described in any one of claims 1-14.

18. A computer program product comprising a computer program stored in a computer storage medium; a processor of a computer device reading the computer program from the computer storage medium, and the processor executing the computer program to perform the business processing method as described in any one of claims 1-14.

Citation Information

Patent Citations

  • Thermodynamic diagram drawing method and device

    CN109976985A

  • Visual information comparison method and device, electronic equipment and storage medium

    CN111737376A