Interest surface conflict processing method, interest surface display method, device and electronic equipment
By detecting and handling conflicting interest areas, assigning attribution interest areas and updating interest areas, the problem of coverage area conflicts between multiple interest areas is solved, and the accurate attribution of interest points and the effectiveness of location services is achieved.
Patent Information
- Application Number
- CN202111223476.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-20
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2041-10-20
AI Technical Summary
In the prior art, the coverage areas between multiple interest areas conflict with each other, making it difficult for users or delivery personnel to determine which interest area a certain interest point is located or how to attribute it.
By detecting multiple conflicting interest surfaces in which the coverage areas are conflicting, fragmenting the conflicting area images are obtained, and the attribution interest surfaces are assigned to these fragmented images, and the updated interest surfaces are finally determined to provide location services. .
It effectively resolves the issue of belonging between conflicting interest areas, ensuring that there are no conflict areas in the updated interest areas, so as to facilitate users and delivery personnel to judge the ownership of interest points.
Smart Images

Figure CN113947458B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an interest surface conflict handling method, an interest surface display method, a device, an electronic device, and a computer storage medium. Background Art
[0002] With the rapid development of science and technology, the material standard of life continues to improve. At the same time, online shopping has become the main way for users to shop. When shopping online, takeaway delivery personnel are required to deliver the items to the location specified by the user. Specifically, the takeaway delivery personnel need to deliver the items purchased by the user to the designated location based on the interest surface or point of interest in the location service information. The application of interest surfaces and points of interest in external service information can also be reflected in other scenarios besides takeaway delivery. For example, during the ride, the user can view the interest surface information or interest surface information of the current ride through the location service application in the terminal.
[0003] In the existing location service information, there are situations where the coverage areas of multiple interest surfaces conflict with each other. For interest surfaces with conflicting coverage areas, if a point of interest happens to be in the conflicting area of the coverage area, it is not easy for users or delivery personnel to determine which interest surface the point of interest is in, or it is not easy to determine which interest surface the point of interest belongs to. Therefore, how to handle multiple conflicting interest surfaces with conflicting coverage areas so that the multiple conflicting interest surfaces do not conflict has become a technical problem that urgently needs to be solved. Summary of the invention
[0004] The embodiment of the present application provides an interest surface conflict processing method to solve the technical problem of how to process multiple conflicting interest surfaces with conflicting coverage areas so that the multiple conflicting interest surfaces do not conflict. The embodiment of the present application also provides an interest surface conflict processing device, an interest surface display method, device, electronic device and computer storage medium.
[0005] An embodiment of the present application provides a method for handling interest surface conflicts, including: detecting multiple conflicting interest surfaces whose coverage areas conflict with each other; fragmenting conflicting area images in the multiple conflicting interest surfaces to obtain multiple conflicting area fragment images; assigning belonging interest surfaces to the multiple conflicting area fragment images to obtain belonging interest surface information corresponding to the multiple conflicting area fragment images, wherein the belonging interest surface is an interest surface in the multiple conflicting interest surfaces; determining updated interest surfaces corresponding to the multiple conflicting interest surfaces according to the belonging interest surface information corresponding to the multiple conflicting area fragment images, wherein the updated interest surfaces are used to provide location services for users.
[0006] Optionally, it also includes: sending an inquiry message to a terminal for use by service personnel to indicate whether to perform conflict processing on the multiple conflicting interest surfaces; the fragmentation processing of the conflict area images in the multiple conflicting interest surfaces to obtain multiple conflict area fragment images includes: in response to detecting a confirmation message for the inquiry message sent by the terminal for use by the service personnel, fragmentation processing of the conflict area images in the multiple conflicting interest surfaces to obtain multiple conflict area fragment images.
[0007] Optionally, it also includes: obtaining a first request message sent by a terminal for use by service personnel to request area detection for the multiple conflicting interest surfaces, the first request message carrying multiple conflicting interest surface information; detecting multiple conflicting interest surfaces that conflict with each other in the coverage area, including: detecting multiple conflicting interest surfaces that conflict with each other in the coverage area for the first request message.
[0008] Optionally, the fragmentation processing of the conflict area images in the multiple conflicting interest surfaces to obtain multiple conflict area fragment images includes: adding interest surface identifiers to the multiple conflicting interest surfaces; based on the interest surface identifiers of the multiple conflicting interest surfaces, fragmentation processing is performed on each conflicting interest surface image corresponding to the multiple conflicting interest surfaces to obtain fragmented images corresponding to each conflicting interest surface image; based on the fragmented images corresponding to each conflicting interest surface image, multiple conflict area fragment images are obtained.
[0009] Optionally, the obtaining of multiple conflict area fragment images based on the fragment images corresponding to each conflicting interest surface image includes: obtaining a fragment image containing multiple interest surface identifiers from the fragment images corresponding to each conflicting interest surface image, and using the fragment image containing multiple interest surface identifiers as the multiple conflict area fragment images.
[0010] Optionally, fragmenting the conflict area images in the multiple conflict interest surfaces to obtain multiple conflict area fragment images includes: determining the conflict area in the multiple conflict interest surfaces; obtaining the conflict area image corresponding to the conflict area; and fragmenting the conflict area image to obtain multiple conflict area fragment images.
[0011] Optionally, fragmenting the conflict area images in the multiple conflicting interest surfaces to obtain multiple conflict area fragment images includes: fragmenting the conflict area images in the multiple conflicting interest surfaces to obtain multiple initialized fragment images; and optimizing the multiple initialized fragment images to obtain multiple conflict area fragment images.
[0012] Optionally, the optimizing processing of the multiple initialized fragment images to obtain multiple conflict area fragment images includes: performing corrosion and dilation processing on the multiple initialized fragment images to obtain fragment images after the corrosion and dilation processing that satisfy fragment reconstruction conditions, and using the fragment images after the corrosion and dilation processing that satisfy the fragment reconstruction conditions as the multiple conflict area fragment images.
[0013] Optionally, before obtaining the fragment image after the corrosion and expansion processing that meets the fragment reconstruction condition, it also includes: judging whether the fragment image after the corrosion and expansion processing meets the fragment reconstruction condition; the judging whether the fragment image after the corrosion and expansion processing meets the fragment reconstruction condition includes: for each fragment image after the corrosion and expansion processing, judging whether the area difference between the fragment image after the corrosion and expansion processing and the corresponding initialized fragment image meets a preset area difference threshold condition; the fragment reconstruction condition includes that the area difference between the fragment image after the corrosion and expansion processing and the corresponding initialized fragment image meets the preset area difference threshold condition.
[0014] Optionally, the step of assigning attribution interest surfaces to the multiple conflict area fragment images and obtaining attribution interest surface information corresponding to the multiple conflict area fragment images includes: assigning attribution interest surfaces to the multiple conflict area fragment images based on area ratios of the multiple conflict area fragment images in each conflict interest surface image corresponding to the multiple conflict interest surfaces, and obtaining attribution interest surface information corresponding to the multiple conflict area fragment images.
[0015] Optionally, the assigning of interest surfaces to the multiple conflict area fragment images based on the area ratio of the multiple conflict area fragment images in each conflict interest surface image corresponding to the multiple conflict interest surfaces, and obtaining the attribution interest surface information corresponding to the multiple conflict area fragment images, includes: respectively determining the conflict interest surface whose area ratio of each conflict area fragment image in the multiple conflict area fragment images is the largest in the each conflict interest surface image, and taking the conflict interest surface whose area ratio of each conflict area fragment image in the each conflict interest surface image is the largest as the attribution interest surface of the corresponding conflict area fragment image in the multiple conflict area fragment images; and obtaining the attribution interest surface information corresponding to the multiple conflict area fragment images based on the conflict interest surface whose area ratio of each conflict area fragment image in the each conflict interest surface image is the largest.
[0016] Optionally, the multiple conflicting interest surfaces include a first interest surface and a second interest surface; and the assigning of interest surfaces to the multiple conflicting area fragment images to obtain the attribution interest surface information corresponding to the multiple conflicting area fragment images includes: for each conflicting area fragment image among the multiple conflicting area fragment images, determining whether the remaining area except the conflicting area in the second interest surface is segmented if the conflicting area fragment image is assigned to the first interest surface; if so, assigning the conflicting area fragment image to the second interest surface, and confirming the second interest surface as the attribution interest surface corresponding to the conflicting area fragment image; and obtaining the attribution interest surface information corresponding to the conflicting area fragment image based on the second interest surface.
[0017] Optionally, it also includes: based on the multiple conflict area fragment images, respectively determining the first interest point contained in each of the multiple conflict area fragment images; based on the multiple conflict interest surfaces, respectively determining the second interest point contained in the remaining area of each of the multiple conflict interest surfaces except the conflict area; the assigning of belonging interest surfaces to the multiple conflict area fragment images to obtain the belonging interest surface information corresponding to the multiple conflict area fragment images includes: based on the association relationship between the first interest point and the second interest point, assigning the belonging interest surface to the multiple conflict area fragment images to obtain the belonging interest surface information corresponding to the multiple conflict area fragment images; wherein the interest point is used to provide delivery location services for users.
[0018] Optionally, the method of assigning attribution interest surfaces to the multiple conflict area fragment images based on the association relationship between the first interest point and the second interest point, and obtaining attribution interest surface information corresponding to the multiple conflict area fragment images includes: for each conflict area fragment image, determining whether there is an association relationship between the first interest point and the second interest point; if so, taking the interest surface to which the second interest point belongs as the attribution interest surface corresponding to the conflict area fragment image; and obtaining attribution interest surface information corresponding to the multiple conflict area fragment images based on the attribution interest surface corresponding to the conflict area fragment image.
[0019] Optionally, the belonging interest surface information includes the interest surface identifier of the belonging interest surface; and determining the updated interest surface corresponding to the multiple conflicting interest surfaces according to the belonging interest surface information corresponding to the multiple conflicting area fragment images includes: determining the updated interest surface corresponding to the multiple conflicting interest surfaces according to the interest surface identifier of the belonging interest surface corresponding to the multiple conflicting area fragment images and the interest surface identifier of the remaining area of each interest surface in the multiple conflicting interest surfaces except the conflicting area.
[0020] Optionally, the method of determining updated interest surfaces corresponding to the multiple conflicting interest surfaces based on the interest surface identifiers of the belonging interest surfaces corresponding to the multiple conflicting interest surfaces and the interest surface identifiers of the remaining areas of each interest surface among the multiple conflicting interest surfaces excluding the conflicting area comprises: splicing the conflicting area fragment images with the same interest surface identifier and the remaining area images corresponding to the remaining areas to determine updated interest surfaces corresponding to the multiple conflicting interest surfaces.
[0021] Optionally, it also includes: recalling multiple candidate interest surfaces in the area to be processed; the detecting multiple conflicting interest surfaces with conflicting coverage areas includes: based on the multiple candidate interest surfaces, detecting multiple conflicting interest surfaces with conflicting coverage areas.
[0022] Optionally, recalling multiple candidate interest surfaces in the area to be processed includes: recalling multiple candidate interest surfaces in the area to be processed based on identification information of the area to be processed and a pre-established correspondence between area identification information and interest surfaces in the area.
[0023] Optionally, it also includes: obtaining a second request message sent by a terminal for use by the user to request information on multiple candidate interest surfaces; the recalling of multiple candidate interest surfaces in the area to be processed includes: based on the second request message, recalling multiple candidate interest surfaces in the area to be processed.
[0024] Optionally, it also includes: based on the areas of the multiple conflicting interest surfaces, determining the relationship type between the areas of the multiple conflicting interest surfaces, the relationship type including at least one of the following types: a complete coverage type, an inclusion relationship type; based on the relationship type, adding interest surface identifiers to the multiple conflicting interest surfaces.
[0025] Optionally, adding interest surface identifiers to the multiple conflicting interest surfaces based on the relationship type includes: if the relationship type between the regions of the multiple conflicting interest surfaces is a complete coverage type, adding the same interest surface identifier to the multiple conflicting interest surfaces.
[0026] Optionally, adding interest surface identifiers to the multiple conflicting interest surfaces based on the relationship type includes: if the relationship type between the areas of the multiple conflicting interest surfaces is an inclusion relationship type, determining the parent interest surfaces and child interest surfaces among the multiple conflicting interest surfaces; based on the determined parent interest surfaces and child interest surfaces among the multiple conflicting interest surfaces, adding parent interest surface identifiers and child interest surface identifiers to the multiple conflicting interest surfaces.
[0027] Optionally, it also includes: determining the shapes of the multiple conflicting interest surfaces; based on the shapes of the multiple conflicting interest surfaces, determining the interest surface with the largest area among the multiple conflicting interest surfaces; and taking the interest surface with the largest area and the interest surface among the multiple conflicting interest surfaces that has no area conflict with the interest surface with the largest area as updated interest surfaces.
[0028] Optionally, the method further includes: obtaining a third request message sent by a terminal for use by the user to request updated interest surface information corresponding to the multiple conflicting interest surfaces; and providing the updated interest surface information to the terminal for use by the user based on the third request message.
[0029] Optionally, determining the updated interest surface corresponding to the multiple conflicting interest surfaces includes: judging whether the multiple updated interest surfaces corresponding to each conflicting interest surface among the multiple conflicting interest surfaces are the same; if so, taking the updated interest surface corresponding to the conflicting interest surfaces with the same multiple updated interest surfaces as the updated interest surface corresponding to the multiple conflicting interest surfaces.
[0030] An embodiment of the present application further provides an interest surface conflict processing method, which is applied to a terminal for use by service personnel, comprising: obtaining an inquiry message sent by a server to indicate whether to perform conflict processing on multiple conflicting interest surfaces, where the coverage areas of the multiple conflicting interest surfaces conflict with each other; the inquiry message carries information on multiple conflicting interest surfaces; displaying the inquiry message on a page for obtaining information on processing methods for the multiple conflicting interest surfaces; and in response to detecting a confirmation operation for the inquiry message, sending a confirmation message for the inquiry message to the server.
[0031] Optionally, the method further includes: sending a first request message to the server for requesting area detection for the multiple conflicting interest surfaces, wherein the first request message carries information of the multiple conflicting interest surfaces.
[0032] The embodiment of the present application further provides a method for handling interest surface conflicts, including: detecting multiple conflicting interest surfaces whose coverage areas conflict with each other; assigning an belonging interest surface to the conflicting area image among the multiple conflicting interest surfaces based on pixel values of the conflicting area image among the multiple conflicting interest surfaces, and obtaining belonging interest surface information corresponding to the conflicting area image, wherein the belonging interest surface is an interest surface among the multiple conflicting interest surfaces; determining an updated interest surface corresponding to the multiple conflicting interest surfaces according to the belonging interest surface information corresponding to the conflicting area image, wherein the updated interest surface is used to provide location services for users.
[0033] Optionally, it also includes: sending an inquiry message to a terminal for use by service personnel to indicate whether to perform conflict processing on the multiple conflicting interest surfaces; assigning an belonging interest surface to the conflicting area image in the multiple conflicting interest surfaces based on the pixel values of the conflicting area images in the multiple conflicting interest surfaces, and obtaining the belonging interest surface information corresponding to the conflicting area image, including: in response to detecting a confirmation message for the inquiry message sent by the terminal for use by service personnel, assigning an belonging interest surface to the conflicting area image in the multiple conflicting interest surfaces based on the pixel values of the conflicting area images in the multiple conflicting interest surfaces, and obtaining the belonging interest surface information corresponding to the conflicting area image.
[0034] Optionally, it also includes: obtaining a first request message sent by a terminal for use by service personnel to request area detection for the multiple conflicting interest surfaces, the first request message carrying multiple conflicting interest surface information; detecting multiple conflicting interest surfaces that conflict with each other in the coverage area, including: detecting multiple conflicting interest surfaces that conflict with each other in the coverage area for the first request message.
[0035] Optionally, the method of assigning an belonging interest surface to the conflict area image among the multiple conflicting interest surfaces based on the pixel values of the conflict area image among the multiple conflicting interest surfaces, and obtaining the belonging interest surface information corresponding to the conflict area image, includes: assigning an belonging interest surface to the conflict area image among the multiple conflicting interest surfaces based on the pixel weight ratio of the pixel values of the conflict area image among the multiple conflicting interest surfaces, and obtaining the belonging interest surface information corresponding to the conflict area image.
[0036] Optionally, the assigning of the belonging interest surface to the conflict area image in the multiple conflict interest surfaces based on the pixel weight ratio of the pixel value of the conflict area image in the multiple conflict interest surfaces includes: determining the conflict interest surface whose pixel value of the conflict area image has the largest pixel weight ratio among the multiple conflict interest surface images based on the pixel weight ratio of the pixel value of the conflict area image in the multiple conflict interest surfaces, and taking the conflict interest surface whose pixel value of the conflict area image has the largest pixel weight ratio among the multiple conflict interest surface images as the belonging interest surface of the conflict area image.
[0037] Optionally, the belonging interest surface information includes the interest surface identifier of the belonging interest surface; and determining the updated interest surface corresponding to the multiple conflicting interest surfaces based on the belonging interest surface information corresponding to the conflicting area image includes: determining the updated interest surface corresponding to the multiple conflicting interest surfaces based on the interest surface identifier of the belonging interest surface corresponding to the conflicting area image and the interest surface identifier of the remaining area of each interest surface in the multiple conflicting interest surfaces except the conflicting area.
[0038] Optionally, the method of determining updated interest surfaces corresponding to the multiple conflicting interest surfaces based on the interest surface identifier of the belonging interest surface corresponding to the conflict area image and the interest surface identifier of the remaining area of each interest surface among the multiple conflicting interest surfaces excluding the conflict area comprises: splicing the conflict area image with the same interest surface identifier and the remaining area image corresponding to the remaining area to determine updated interest surfaces corresponding to the multiple conflicting interest surfaces.
[0039] Optionally, the method further includes: obtaining a third request message sent by a terminal for use by the user to request updated interest surface information corresponding to the multiple conflicting interest surfaces; and providing the updated interest surface information to the terminal for use by the user based on the third request message.
[0040] Optionally, determining the updated interest surface corresponding to the multiple conflicting interest surfaces includes: judging whether the multiple updated interest surfaces corresponding to each conflicting interest surface among the multiple conflicting interest surfaces are the same; if so, taking the updated interest surface corresponding to the conflicting interest surfaces with the same multiple updated interest surfaces as the updated interest surface corresponding to the multiple conflicting interest surfaces.
[0041] An embodiment of the present application also provides an interest surface display method, which is applied to a terminal for use by users, including: displaying multiple candidate interest surfaces in a terminal application for displaying interest surfaces; obtaining multiple conflicting interest surface information from the multiple candidate interest surfaces sent by a server; displaying multiple conflicting interest surfaces based on the multiple conflicting interest surface information; sending a third request message to the server for requesting updated interest surface information corresponding to the multiple conflicting interest surfaces; obtaining updated interest surface information corresponding to the multiple conflicting interest surfaces sent by the server; and displaying updated interest surfaces corresponding to the multiple candidate interest surfaces, wherein the updated interest surfaces are used to provide location services for users.
[0042] Optionally, it also includes: sending a second request message to the server to request obtaining multiple candidate interest surface information; obtaining multiple candidate interest surface information provided by the server in response to the second request message; displaying multiple candidate interest surfaces in a terminal application for displaying interest surfaces, including: displaying multiple candidate interest surfaces in a terminal application for displaying interest surfaces based on the multiple candidate interest surface information provided by the server in response to the second request message.
[0043] Optionally, it also includes: sending a fourth request message to the server for requesting to obtain multiple conflicting interest surface information; obtaining multiple conflicting interest surface information among the multiple candidate interest surfaces sent by the server includes: obtaining multiple conflicting interest surface information among the multiple candidate interest surfaces sent by the server in response to the fourth request message.
[0044] Optionally, the updated interest surface is determined based on the belonging interest surface information corresponding to multiple conflict area fragment images, and the belonging interest surface is an interest surface among the multiple conflict interest surfaces; wherein the multiple conflict area fragment images are obtained by fragmenting the conflict area images among the multiple conflict interest surfaces.
[0045] Optionally, the updated interest surface is determined based on the belonging interest surface information corresponding to the conflict area image, and the belonging interest surface is an interest surface among the multiple conflicting interest surfaces; wherein the belonging interest surface information corresponding to the conflict area image is obtained based on the pixel weight ratio of the conflict area image among the multiple conflicting interest surfaces.
[0046] Correspondingly, an embodiment of the present application provides an interest surface conflict processing device, comprising: a detection unit, used to detect multiple conflicting interest surfaces whose coverage areas conflict with each other; a fragment image acquisition unit, used to fragment the conflict area images in the multiple conflicting interest surfaces, and obtain multiple conflict area fragment images; an attribution interest surface information acquisition unit, used to assign attribution interest surfaces to the multiple conflict area fragment images, and obtain attribution interest surface information corresponding to the multiple conflict area fragment images, wherein the attribution interest surface is an interest surface among the multiple conflicting interest surfaces; an updated interest surface determination unit, used to determine an updated interest surface corresponding to the multiple conflicting interest surfaces according to the attribution interest surface information corresponding to the multiple conflict area fragment images, and the updated interest surface is used to provide location services for users.
[0047] Correspondingly, an embodiment of the present application further provides an interest surface conflict processing device, which is applied to a terminal for use by service personnel, including: an inquiry message obtaining unit, used to obtain an inquiry message sent by a server to indicate whether to perform conflict processing on multiple conflicting interest surfaces, and the coverage areas of the multiple conflicting interest surfaces conflict with each other; the inquiry message carries multiple conflicting interest surface information; an inquiry message display unit, used to display the inquiry message on a page used to obtain processing method information for the multiple conflicting interest surfaces; a confirmation message sending unit, used to send a confirmation message for the inquiry message to the server in response to detecting a confirmation operation for the inquiry message.
[0048] Correspondingly, an embodiment of the present application further provides an interest surface conflict processing device, including: a detection unit, used to detect multiple conflicting interest surfaces whose coverage areas conflict with each other; an belonging interest surface information acquisition unit, used to assign belonging interest surfaces to the conflicting area images among the multiple conflicting interest surfaces based on pixel values of the conflicting area images among the multiple conflicting interest surfaces, and obtain belonging interest surface information corresponding to the conflicting area images, wherein the belonging interest surface is an interest surface among the multiple conflicting interest surfaces; an updated interest surface determination unit, used to determine an updated interest surface corresponding to the multiple conflicting interest surfaces according to the belonging interest surface information corresponding to the conflicting area images, wherein the updated interest surface is used to provide location services for users.
[0049] Correspondingly, an embodiment of the present application also provides an interest surface display device, which is applied to a terminal for use by users, including: a candidate interest surface display unit, which is used to display multiple candidate interest surfaces in a terminal application for displaying interest surfaces; a conflicting interest surface information acquisition unit, which is used to obtain multiple conflicting interest surface information from the multiple candidate interest surfaces sent by the server; a conflicting interest surface display unit, which is used to display multiple conflicting interest surfaces based on the multiple conflicting interest surface information; a third request message sending unit, which is used to send a third request message to the server for requesting to obtain updated interest surface information corresponding to the multiple conflicting interest surfaces; an updated interest surface information acquisition unit, which is used to obtain updated interest surface information corresponding to the multiple conflicting interest surfaces sent by the server; an updated interest surface display unit, which is used to display updated interest surfaces corresponding to the multiple candidate interest surfaces, and the updated interest surfaces are used to provide location services for users.
[0050] Correspondingly, an embodiment of the present application provides an electronic device, comprising: a processor; a memory for storing a computer program, wherein the computer program is run by the processor to execute the above-mentioned interest surface conflict processing method and interest surface display method.
[0051] Correspondingly, an embodiment of the present application provides a computer storage medium, which stores a computer program. The computer program is executed by a processor to perform the above-mentioned interest surface conflict processing method and interest surface display method.
[0052] Compared with the prior art, the embodiments of the present application have the following advantages:
[0053] An embodiment of the present application provides a method for handling conflicts of interest surfaces. In this embodiment, the method for handling conflicts of interest surfaces can detect multiple conflicting interest surfaces whose coverage areas conflict with each other, and fragment the conflicting area images in the multiple conflicting interest surfaces, and assign belonging interest surfaces to the multiple conflicting area images after fragmentation. The belonging interest surface is an interest surface in the multiple conflicting interest surfaces, and finally, based on the belonging interest surface information corresponding to the multiple conflicting area fragment images, an updated interest surface corresponding to the multiple conflicting interest surfaces can be determined. Then, this method makes the finally determined updated interest surface have no conflicting area, so that it is convenient to determine the interest surface to which a certain interest point originally in the conflicting area belongs based on the updated interest surface. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0055] Figure 1 A schematic diagram of the first scenario of the interest surface conflict handling method provided in this application.
[0056] Figure 2 A schematic diagram of the second scenario of the interest surface conflict handling method provided in this application.
[0057] Figure 2A A schematic diagram of the third scenario of the interest surface conflict handling method provided in this application.
[0058] Figure 3 This is a flowchart of the interest surface conflict handling method provided in the first embodiment of the present application.
[0059] Figure 4 This is a flowchart of a method for handling interest surface conflicts provided in the second embodiment of the present application.
[0060] Figure 5 This is a flowchart of a method for handling interest surface conflicts provided in the third embodiment of the present application.
[0061] Figure 6 This is a flowchart of the interest surface display method provided in the fourth embodiment of the present application.
[0062] Figure 7 A schematic diagram of an interest surface conflict processing device provided in the fifth embodiment of the present application.
[0063] Figure 8 A schematic diagram of an interest surface conflict processing device provided in the sixth embodiment of the present application.
[0064] Fig. 9 A schematic diagram of an interest surface conflict processing device provided in the seventh embodiment of the present application.
[0065] Fig.10 A schematic diagram of an interest surface display device provided in the eighth embodiment of the present application.
[0066] Fig.11 A schematic diagram of an electronic device provided for the ninth embodiment of the present application. DETAILED DESCRIPTION
[0067] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific implementation disclosed below.
[0068] The present application provides a method for handling conflicts of interest surfaces, and some embodiments of the method for handling conflicts of interest surfaces provided in the present application can be applied in the scenario of food delivery. For example, when delivering food, the delivery rider needs to deliver according to the delivery address filled in by the user. Specifically, during delivery, it is necessary to first determine the points of interest corresponding to the delivery address, and then deliver based on the points of interest corresponding to the delivery address. During the delivery process, the delivery rider can view the interest surface of the current location and the interest surface of the points of interest corresponding to the delivery address based on the map displayed on the food delivery terminal. In this way, the delivery rider can clearly grasp the interest surface information of his current location and the interest surface of the points of interest corresponding to the delivery address.
[0069] However, in practice, the coverage areas of multiple interest surfaces may conflict with each other, that is, there are conflicting areas in the coverage areas of multiple interest surfaces. For a point of interest or a position in the conflicting area, it is impossible to determine to which of the multiple conflicting interest surfaces the point of interest or the position in the conflicting area belongs.
[0070] The present application provides a method for handling conflicts of interest surfaces, which is used to solve the above-mentioned problem that it is impossible to determine to which of multiple conflicting interest surfaces a point of interest or a location in a conflicting area belongs. Specifically, the method for handling conflicts of interest surfaces provided by the present application is to update multiple conflicting interest surfaces so that the coverage areas of the updated interest surfaces no longer conflict.
[0071] To facilitate understanding of the interest surface conflict handling method provided in the embodiment of the present application, please refer to Figure 1 , which is a schematic diagram of the first scenario of the interest surface conflict handling method provided in this application. Figure 1 The interest surface in includes interest surface A and interest surface B, and the conflicting area between interest surface A and interest surface B is area M. It should be noted that Figure 1 The example of a conflicting area between the coverage areas of two interest surfaces is used for explanation. However, the interest surface conflict handling method provided in the present application can be applied to the situation where there are conflicting areas between two or more interest surfaces.
[0072] The specific manner of processing the above-mentioned interest surface A and interest surface B using the interest surface conflict processing method in this application is as follows.
[0073] First, multiple conflicting interest surfaces whose coverage areas conflict with each other are detected. Interest surface A and interest surface B are two conflicting interest surfaces whose coverage areas conflict with each other. After detecting that the coverage areas of interest surface A and interest surface B conflict with each other, fragmentation processing is performed on the conflicting area images in interest surface A and interest surface B, that is, fragmentation processing is performed on the area image corresponding to area M to obtain multiple conflicting area fragment images, that is, multiple conflicting area fragment images corresponding to interest surface A and interest surface B are obtained.
[0074] After obtaining a plurality of conflicting region fragment images corresponding to the interest surface A and the interest surface B, the plurality of conflicting region fragment images are assigned an interest surface, and the belonging interest surface information corresponding to the plurality of conflicting region fragment images is obtained, where the belonging interest surface is an interest surface among the plurality of conflicting interest surfaces. The above-mentioned assigning an interest surface to the plurality of conflicting region fragment images and obtaining the belonging interest surface information corresponding to the plurality of conflicting region fragment images is actually determining whether the conflicting region fragment images belong to the interest surface A or the interest surface B.
[0075] Assume that the belonging interest surface of the multiple fragment images corresponding to the region M is the interest surface B, and according to the belonging interest surface information corresponding to the multiple conflict region fragment images, determine the updated interest surfaces corresponding to the interest surface A and the interest surface B as interest surface A and interest surface B respectively. 1 And interest side B 1 , then the area covered by the interest surface A is the same as the area covered by the updated interest surface A 1Compared with the updated interest surface, area M is actually missing; the area covered by interest surface B is different from area B covered by the updated interest surface. 1 Exactly the same.
[0076] Furthermore, in this embodiment, solving the updated interest surface of multiple conflicting interest surfaces is an iterative process. First, all AOI pairs with conflicting relationships in the stock interest surface (Area of Interest, referred to as AOI) can be constructed into Cartesian product relationship pairs. At the same time, the name similarity between the AOI pairs is calculated, and according to the mutual conflict between the geometric shapes corresponding to the AOIs, the conflict relationship between the AOI pairs can be divided into an inclusion relationship, a cross relationship (i.e., there is an overlap between the areas corresponding to two or more AOIs), and irrelevant.
[0077] After determining the conflict relationship between the existing AOIs, it is equivalent to classifying the existing AOIs, and the AOIs of the same category are located in the same conflict group. Specifically, the AOI pairs located in the same conflict group can be processed in pairs according to the interest surface conflict processing method provided in this embodiment to obtain the updated interest surface corresponding to the AOI pair. Of course, the AOIs in the same conflict group processed above may refer to those whose conflict relationship is an inclusion relationship or a cross relationship. For the AOIs in the same conflict group whose conflict relationship is irrelevant, the fallback solution mentioned in the first embodiment can be used to process them to obtain the updated interest surface of the AOIs in the conflict group.
[0078] Specifically, see Figure 2A, which is a schematic diagram of the third scenario of the interest surface conflict processing method provided by the present application. The figure illustrates the detailed steps of the interest surface conflict processing method. In the interest surface conflict processing method, step S201 is executed: multiple conflicting interest surfaces whose coverage areas conflict with each other are detected; then, step S202 is executed: the conflict area images in the multiple conflicting interest surfaces are crushed to obtain multiple conflict area fragment images; then, step S203 is executed: the belonging interest surfaces are assigned to the multiple conflict area fragment images, and the belonging interest surface information corresponding to the multiple conflict area fragment images is obtained. After step S203, step S204 is executed: according to the belonging interest surface information corresponding to the multiple conflict area fragment images, the updated interest surface corresponding to the multiple conflicting interest surfaces is determined. According to the above steps S201 to S204, after obtaining the updated interest surfaces corresponding to all AOIs of the same conflict group, the updated interest surface is matched with the original AOI. There may be multiple updated interest surfaces for one AOI. For example, for a certain AOI, it may exist in different AOI pairs, which leads to one AOI corresponding to multiple updated interest surfaces. However, in any case, it is necessary to ensure that the multiple updated interest surfaces corresponding to an AOI are the same. Therefore, assuming that the multiple updated interest surfaces of a certain AOI are different, it can be considered that the multiple updated interest surfaces corresponding to the AOI currently obtained are invalid. Therefore, after executing step S204, execute step S205: determine whether the multiple updated interest surfaces corresponding to the conflicting interest surface are the same, that is, whether the multiple updated interest surfaces corresponding to an AOI are the same. If the judgment result is yes, execute step S206: take the updated interest surface whose shape no longer changes after the update as the final updated interest surface, otherwise, return to step S202: crush the conflicting area images in the multiple conflicting interest surfaces to obtain multiple conflicting area fragment images to re-update the conflicting interest surface.
[0079] At the same time, the updated interest surfaces of the AOI corresponding to the multiple consistent updated interest surfaces are encoded to obtain an encoded result, and the encoded result is provided to a terminal for user use for display. For example, the image corresponding to the updated interest surface can be used as the encoded result.
[0080] Afterwards, the AOIs corresponding to the multiple consistent updated interest surfaces in the same conflict group are removed, and the remaining AOIs are processed again using the interest surface conflict processing method of this embodiment to obtain the updated interest surfaces corresponding to the remaining AOIs. Similarly, the updated interest surfaces of the remaining AOIs corresponding to the multiple consistent updated interest surfaces are encoded to obtain the encoded result, and the encoded result is provided to the terminal for use by the user for display.
[0081] At the same time, the remaining AOIs that cannot utilize the interest plane conflict processing method of this embodiment are also provided to the terminal for use by the user for display.
[0082] The further solution of the interest surface conflict handling method introduced in the above process is actually a continuous iterative process of solving the updated interest surface corresponding to the conflicting interest surface, until the shape of the updated interest surface corresponding to the final AOI no longer changes, and the iterative process ends. That is, multiple updated interest surfaces corresponding to the same AOI should be consistent.
[0083] Of course, the above iteration process is also applicable to the interest plane conflict handling method of the first embodiment and the third embodiment, and the above iteration process will not be elaborated in detail in the following first embodiment and the third embodiment.
[0084] The execution subject of the interest surface conflict handling method of the present application may be a server, and the server may interact with the terminal used by the service personnel and the terminal used by the user to perform data to execute the interest surface conflict handling method of the present application. Figure 2 , which is a schematic diagram of the second scenario of the interest surface conflict handling method provided in this application.
[0085] First, the terminal for user use sends a second request message to the server for requesting to obtain multiple candidate interest surface information. The server receives the second request message, recalls multiple candidate interest surfaces based on the second request message, and provides multiple candidate interest surface information to the terminal for user use based on the recalled multiple candidate interest surfaces.
[0086] After the server recalls multiple candidate interest surfaces, the terminal used by the service personnel sends a first request message to the server to request area detection for multiple conflicting interest surfaces. The server can detect multiple conflicting interest surfaces with conflicting coverage areas among the multiple candidate interest surfaces based on the first request message.
[0087] After the server determines the multiple conflicting interest surfaces, the terminal for the user sends a fourth request message for requesting to obtain the multiple conflicting interest surface information to the server, and the server provides the multiple conflicting interest surface information to the terminal for the user based on the fourth request message. At the same time, the server sends an inquiry message to the terminal for the service personnel to indicate whether to perform conflict processing on the multiple conflicting interest surfaces. After receiving a confirmation message from the terminal for the service personnel regarding the inquiry message, the server performs fragmentation processing on the conflicting area images in the multiple conflicting interest surfaces to obtain multiple conflicting area fragment images.
[0088] Afterwards, after obtaining the plurality of conflict region fragment images, the server allocates belonging interest surfaces to the plurality of conflict region fragment images, obtains belonging interest surface information corresponding to the plurality of conflict region fragment images, and then determines the updated interest surface corresponding to the plurality of conflict interest surfaces according to the belonging interest surface information corresponding to the plurality of conflict region fragment images.
[0089] After determining the updated interest surfaces corresponding to multiple conflicting interest surfaces, the server can provide the updated interest surface information corresponding to the multiple conflicting interest surfaces to the terminal used by the user according to a third request message sent by the terminal used by the user to request to obtain the updated interest surface information corresponding to the multiple conflicting interest surfaces, so that the terminal used by the user can display the updated interest surfaces corresponding to the multiple candidate interest surfaces based on the updated interest surface information corresponding to the multiple candidate interest surfaces.
[0090] The above-mentioned Figure 1 to Figure 2 That is, it is a diagram of an application scenario of the interest surface conflict processing method of the present application. The application scenario of the interest surface conflict processing method is not specifically limited in the embodiments of the present application. The application scenario of the above-mentioned interest surface conflict processing method is only an embodiment of the application scenario of the interest surface conflict processing method provided by the present application. The purpose of providing this application scenario embodiment is to facilitate the understanding of the interest surface conflict processing method provided by the present application, and it is not used to limit the interest surface conflict processing method provided by the present application. Other application scenarios of the interest surface conflict processing method in the embodiments of the present application will not be repeated one by one.
[0091] First embodiment
[0092] The first embodiment of the present application provides a method for handling interest surface conflicts. Figure 3 Provide explanation.
[0093] Please refer to Figure 3 , which is a flowchart of the interest surface conflict processing method provided in the first embodiment of the present application.
[0094] The interest surface conflict processing method of the embodiment of the present application includes the following steps:
[0095] Step S301: Detect multiple conflicting interest surfaces whose coverage areas conflict with each other.
[0096] In this embodiment, the interest surface conflict processing method is executed by the server. Specifically, when the service side executes the interest surface conflict processing method, the service side interacts with the terminal used by the service personnel so that the service side executes the interest surface conflict processing method. The service personnel in this embodiment may refer to personnel who assist in processing the interest surface conflict.
[0097] As an implementation method for detecting multiple conflicting interest surfaces whose coverage areas conflict with each other, the following method may be used: first, a first request message for requesting area detection for multiple conflicting interest surfaces, which is sent by a terminal for use by service personnel, is obtained, and the first request message carries information on multiple conflicting interest surfaces; then, multiple conflicting interest surfaces whose coverage areas conflict with each other are detected based on the first request message.
[0098] As another implementation of detecting multiple conflicting interest surfaces whose coverage areas conflict with each other, the following method can also be used: first, multiple candidate interest surfaces in the area to be processed are recalled; then, based on the multiple candidate interest surfaces, multiple conflicting interest surfaces whose coverage areas conflict with each other are detected. Of course, the number of the multiple candidate interest surfaces is not less than the number of the multiple conflicting interest surfaces.
[0099] The above-mentioned recall of multiple candidate interest surfaces in the area to be processed may refer to: based on the identification information of the area to be processed and the pre-established correspondence between the area identification information and the interest surfaces in the area, recalling multiple candidate interest surfaces in the area to be processed. In this embodiment, the interest surface information is stored according to the area. Specifically, the interest surface information can be stored based on the area identification information. For example, the area identification information of area P is P, and the interest surfaces stored therein may include P1, P2, P3...PN. When a certain area is used as the area to be processed, the interest surfaces can be recalled based on the area identification information of the area.
[0100] When recalling multiple candidate interest surfaces in the pending area, a second request message for requesting to obtain multiple candidate interest surface information sent by a terminal for use by the user can also be obtained in advance; and based on the second request message, multiple candidate interest surfaces in the pending area are recalled.
[0101] Step S302: fragmenting the conflicting region images in the plurality of conflicting interest surfaces to obtain a plurality of conflicting region fragment images.
[0102] In this embodiment, the service end may execute the interest surface conflict handling method, and before fragmenting the conflict area images in multiple conflicting interest surfaces, send an inquiry message to a terminal for use by service personnel to indicate whether to perform conflict handling on multiple conflicting interest surfaces.
[0103] As a method of fragmenting the conflict area images in multiple conflicting interest surfaces and obtaining multiple conflict area fragment images, it can refer to: in response to detecting a confirmation message for an inquiry message sent by a terminal for use by service personnel, fragmenting the conflict area images in multiple conflicting interest surfaces and obtaining multiple conflict area fragment images.
[0104] As another way to fragment the conflict area images among multiple conflicting interest surfaces and obtain multiple conflict area fragment images, it can also be: first, add interest surface identifiers to multiple conflicting interest surfaces; then, based on the interest surface identifiers of the multiple conflicting interest surfaces, fragment each conflicting interest surface image corresponding to the multiple conflicting interest surfaces respectively to obtain fragment images corresponding to each conflicting interest surface image; finally, based on the fragment images corresponding to each conflicting interest surface image, multiple conflict area fragment images are obtained. It should be noted that in order to facilitate the subsequent acquisition of multiple conflict area fragment images, in this embodiment, each conflicting interest surface image corresponding to the multiple conflicting interest surfaces is fragmented respectively to obtain the fragment images corresponding to each conflicting interest surface image, and the interest surface identifier to which it originally belonged can be marked on each fragment image. For example, for Figure 1 The fragment image corresponding to the region M in the figure has its marked interest faces identified as A and B.
[0105] More specifically, as an implementation method of obtaining multiple conflicting region fragment images based on the fragment images corresponding to each conflicting interest surface image: a fragment image containing multiple interest surface identifiers is obtained from the fragment images corresponding to each conflicting interest surface image, and the fragment images containing multiple interest surface identifiers are used as multiple conflicting region fragment images. For example, since the interest surface identifiers A and B are contained in the fragment image corresponding to region M, the fragment image corresponding to region M contains multiple interest surface identifiers, and the fragment image corresponding to region M is used as multiple conflicting region fragment images. This fragmentation processing method can actually fragment all multiple conflicting interest surface images.
[0106] The above introduces two ways of fragmenting the conflict area images in multiple conflict interest surfaces to obtain multiple conflict area fragment images. Fragmenting the conflict area images in multiple conflict interest surfaces to obtain multiple conflict area fragment images can also mean: first, determining the conflict area in multiple conflict interest surfaces; then, obtaining the conflict area images corresponding to the conflict area; then, fragmenting the conflict area images to obtain multiple conflict area fragment images. This fragmentation processing method can actually only fragment the conflict area images.
[0107] In addition, fragmenting the conflict area images in multiple conflicting interest surfaces to obtain multiple conflict area fragment images can also mean: first, fragmenting the conflict area images in multiple conflicting interest surfaces to obtain multiple initialization fragment images; then, optimizing the multiple initialization fragment images to obtain multiple conflict area fragment images.
[0108] Specifically, a method of optimizing a plurality of initialization fragment images to obtain a plurality of conflict region fragment images is as follows: performing corrosion and dilation processing on the plurality of initialization fragment images to obtain fragment images after the corrosion and dilation processing that satisfy the fragment reorganization condition, and using the fragment images after the corrosion and dilation processing that satisfy the fragment reorganization condition as the plurality of conflict region fragment images. The above-mentioned corrosion and dilation processing on the plurality of initialization fragment images may, for example, refer to performing corrosion and dilation processing on the plurality of initialization fragment images using the st_buffer+st_union algorithm.
[0109] It should be noted that, in the present embodiment, before obtaining the fragmented image after the corrosion and dilation processing that satisfies the fragment reconstruction condition, it is also possible to pre-judge whether the fragmented image after the corrosion and dilation processing satisfies the fragment reconstruction condition; if the fragmented image after the corrosion and dilation processing satisfies the fragment reconstruction condition, the fragmented image after the corrosion and dilation processing that satisfies the fragment reconstruction condition is used as multiple conflict area fragment images.
[0110] In this embodiment, whether the fragment image after the corrosion and expansion processing satisfies the fragment reconstruction condition can be determined in the following manner: for each fragment image after the corrosion and expansion processing, it is determined whether the area difference between the fragment image after the corrosion and expansion processing and the corresponding initialization fragment image satisfies a preset area difference threshold condition; the fragment reconstruction condition includes that the area difference between the fragment image after the corrosion and expansion processing and the corresponding initialization fragment image satisfies a preset area difference threshold condition.
[0111] Step S303: assigning belonging interest surfaces to the plurality of conflicting region fragment images, and obtaining belonging interest surface information corresponding to the plurality of conflicting region fragment images, wherein the belonging interest surface is an interest surface among the plurality of conflicting interest surfaces.
[0112] In this embodiment, assigning belonging interest surfaces to multiple conflict area fragment images and obtaining belonging interest surface information corresponding to the multiple conflict area fragment images may refer to: assigning belonging interest surfaces to the multiple conflict area fragment images based on the area ratios of the multiple conflict area fragment images in the respective conflict interest surface images corresponding to the multiple conflict interest surfaces, and obtaining belonging interest surface information corresponding to the multiple conflict area fragment images.
[0113] Specifically, assigning belonging interest surfaces to multiple conflict area fragment images based on the area ratios of multiple conflict area fragment images in each conflict interest surface image corresponding to multiple conflict interest surfaces, and obtaining belonging interest surface information corresponding to multiple conflict area fragment images may mean: first, respectively determining the conflict interest surface with the largest area ratio of each conflict area fragment image in each conflict interest surface image in the multiple conflict area fragment images, and taking the conflict interest surface with the largest area ratio of each conflict area fragment image in each conflict interest surface image as the belonging interest surface of the corresponding conflict area fragment image in the multiple conflict area fragment images; then, obtaining the belonging interest surface information corresponding to the multiple conflict area fragment images based on the conflict interest surface with the largest area ratio of each conflict area fragment image in each conflict interest surface image. For example, please continue to refer to Figure 1 , the fragment images corresponding to the region M occupy a larger proportion in the interest surface B, and the belonging interest surface corresponding to the fragment images corresponding to the region M can be set as the interest surface B.
[0114] In this embodiment, multiple conflicting interest surfaces can be divided into a first interest surface and a second interest surface. Assigning belonging interest surfaces to multiple conflicting region fragment images and obtaining belonging interest surface information corresponding to the multiple conflicting region fragment images can refer to: first, for each conflicting region fragment image in the multiple conflicting region fragment images, determining whether the remaining area except the conflicting region in the second interest surface is segmented if the conflicting region fragment image is assigned to the first interest surface; if so, assigning the conflicting region fragment image to the second interest surface, and confirming the second interest surface as the belonging interest surface corresponding to the conflicting region fragment image; and then, based on the second interest surface, obtaining the belonging interest surface information corresponding to the conflicting region fragment image.
[0115] For ease of understanding, an example is given to illustrate the above method of assigning interest surfaces to multiple conflicting area fragment images and obtaining interest surface information corresponding to multiple conflicting area fragment images: assuming that the conflicting area between interest surface C and interest surface D is area N, the coverage area of interest surface C is area C1, area N and area C2, and the coverage area of interest surface D is area D1 and area N. Assuming that area C1 is not adjacent to area C2, and area N is adjacent to both area C1 and area C2, if the fragment image corresponding to area N is attributed to interest surface D, the coverage area of interest surface C includes two divided areas C1 and area C2. Therefore, the fragment image corresponding to area N should be attributed to interest surface C.
[0116] In this embodiment, it is also possible to: based on multiple conflict area fragment images, respectively determine the first interest point contained in each of the multiple conflict area fragment images; at the same time, based on multiple conflict interest surfaces, respectively determine the second interest point contained in the remaining area of each of the multiple conflict interest surfaces except the conflict area.
[0117] Assigning belonging interest surfaces to multiple conflict area fragment images and obtaining belonging interest surface information corresponding to the multiple conflict area fragment images may refer to: based on the association relationship between the first interest point and the second interest point, assigning belonging interest surfaces to multiple conflict area fragment images and obtaining belonging interest surface information corresponding to the multiple conflict area fragment images; wherein the interest points are used to provide delivery location services for users.
[0118] Specifically, based on the association relationship between the first interest point and the second interest point, a plurality of conflict area fragment images are assigned attribution interest surfaces, and attribution interest surface information corresponding to the plurality of conflict area fragment images is obtained, which may mean: first, for each conflict area fragment image, determining whether there is an association relationship between the first interest point and the second interest point; if so, taking the interest surface to which the second interest point belongs as the attribution interest surface corresponding to the conflict area fragment image; then, based on the attribution interest surface corresponding to the conflict area fragment image, obtaining the attribution interest surface information corresponding to the plurality of conflict area fragment images.
[0119] For example, assuming that the conflicting area between the interest surface E and the interest surface F is Q, assuming that the first interest point contained in the fragment image of the area Q is the interest point K, the interest point contained in the remaining area of the interest surface E except the conflicting area Q is Y, and the interest point contained in the remaining area of the interest surface F except the conflicting area Q is Z. And assuming that the interest point Y is not associated with the interest point K, and the interest point Z is associated with the interest point K, then the fragment image of the area Q is attributed to the interest surface F.
[0120] Step S304: determining an updated interest surface corresponding to the multiple conflicting interest surfaces according to the belonging interest surface information corresponding to the multiple conflicting region fragment images, and the updated interest surface is used to provide location services for the user.
[0121] In this embodiment, the belonging interest surface information includes an interest surface identifier of the belonging interest surface. Determining the updated interest surface corresponding to the multiple conflicting interest surfaces according to the belonging interest surface information corresponding to the multiple conflicting area fragment images may be: determining the updated interest surface corresponding to the multiple conflicting interest surfaces according to the interest surface identifier of the belonging interest surface corresponding to the multiple conflicting area fragment images and the interest surface identifier of the remaining area of each interest surface in the multiple conflicting interest surfaces except the conflicting area.
[0122] Specifically, determining updated interest surfaces corresponding to multiple conflicting interest surfaces based on the interest surface identifiers of the belonging interest surfaces corresponding to multiple conflicting area fragment images and the interest surface identifiers of the remaining areas of each interest surface among the multiple conflicting interest surfaces excluding the conflicting area may refer to: splicing the conflicting area fragment images with the same interest surface identifier and the remaining area images corresponding to the remaining areas to determine updated interest surfaces corresponding to the multiple conflicting interest surfaces.
[0123] In addition, in this embodiment, based on the areas of multiple conflicting interest surfaces, the relationship types between the areas of multiple conflicting interest surfaces are determined, and based on the relationship types, interest surface identifiers are added to the multiple conflicting interest surfaces. The above relationship types include at least one of the following types: full coverage type, inclusion relationship type.
[0124] Specifically, based on the relationship type, adding interest surface identifiers to multiple conflicting interest surfaces may be: if the relationship type between the areas of multiple conflicting interest surfaces is a complete coverage type, adding the same interest surface identifier to the multiple conflicting interest surfaces. For example, assuming that interest surface G and interest surface H cover exactly the same area, interest surface G and interest surface H are all marked as G or all marked as H.
[0125] Adding interest surface identifiers to multiple conflicting interest surfaces based on the relationship type may also refer to: first, if the relationship type between the regions of the multiple conflicting interest surfaces is a containment relationship type, then determining the parent interest surface and the child interest surface in the multiple conflicting interest surfaces; then, based on the determined parent interest surface and the child interest surface in the multiple conflicting interest surfaces, adding the parent interest surface identifier and the child interest surface identifier to the multiple conflicting interest surfaces. For example, assuming that the coverage area of interest surface R is completely within the coverage area of interest surface S, and interest surface S and interest surface R are not the same interest surface, interest surface R is marked as the child interest surface of interest surface S, and interest surface S is marked as the parent interest surface of interest surface R.
[0126] For some interest surfaces, if the coverage areas of the interest surfaces conflict with each other, but the relationship type of the conflict between the coverage areas of the interest surfaces is not a complete coverage type, nor a containment relationship type, nor a cross type, in this embodiment, Figure 1 The conflict relationship type between the interest face A and the interest face B is a cross type. In this embodiment, the updated interest face is determined in the following manner:
[0127] First, the shapes of multiple conflicting interest surfaces are determined; then, based on the shapes of the multiple conflicting interest surfaces, the interest surface with the largest area among the multiple conflicting interest surfaces is determined; finally, the interest surface with the largest area and the interest surface with no regional conflict with the interest surface with the largest area among the multiple conflicting interest surfaces are taken together as the updated interest surface. This method is the fallback solution for processing conflicting interest surfaces in this embodiment.
[0128] In this embodiment, as a method of determining the updated interest surfaces corresponding to multiple conflicting interest surfaces, it can also refer to: judging whether the multiple updated interest surfaces corresponding to each conflicting interest surface in the multiple conflicting interest surfaces are the same; if so, taking the updated interest surfaces corresponding to the conflicting interest surfaces with the same multiple updated interest surfaces as the updated interest surfaces corresponding to the multiple conflicting interest surfaces.
[0129] After determining the updated interest surfaces corresponding to the multiple conflicting interest surfaces, the method further includes: obtaining a third request message sent by a terminal for use by the user to request updated interest surface information corresponding to the multiple conflicting interest surfaces; based on the third request message, providing the updated interest surface information to the terminal for use by the user.
[0130] The interest surface conflict processing method of the present embodiment can detect multiple conflicting interest surfaces whose coverage areas conflict with each other, and fragment the conflicting area images in the multiple conflicting interest surfaces, and assign belonging interest surfaces to the multiple conflicting area images after fragmentation. The belonging interest surface is the interest surface in the multiple conflicting interest surfaces, and then finally based on the belonging interest surface information corresponding to the multiple conflicting interest area fragment images, the updated interest surface corresponding to the multiple conflicting interest surfaces can be determined. Then, this method makes the finally determined updated interest surface have no conflicting area, so that it is convenient to determine the interest surface to which a certain interest point originally in the conflicting area belongs based on the updated interest surface.
[0131] Second embodiment
[0132] Corresponding to the first embodiment, the second embodiment of the present application provides another method for handling interest surface conflicts. The execution subject of this embodiment is a terminal used by service personnel. The same parts of the second embodiment as the first embodiment are not introduced again. For details, please refer to the relevant parts of the first embodiment.
[0133] Please refer to Figure 4 , which is a flowchart of the interest surface conflict processing method provided in the second embodiment of the present application.
[0134] The interest surface conflict processing method of the embodiment of the present application includes the following steps:
[0135] Step S401: obtaining a query message sent by a server to indicate whether to perform conflict processing on multiple conflicting interest surfaces, where the coverage areas of the multiple conflicting interest surfaces conflict with each other; the query message carries information on the multiple conflicting interest surfaces.
[0136] Step S402: displaying an inquiry message on a page for obtaining information on processing methods for multiple conflicting interest surfaces.
[0137] Step S403: In response to detecting a confirmation operation for the inquiry message, a confirmation message for the inquiry message is sent to the server.
[0138] In this embodiment, the terminal used by the service personnel further sends a first request message for requesting to perform area detection on multiple conflicting interest surfaces to the service end, and the first request message carries information on multiple conflicting interest surfaces.
[0139] The interest surface conflict handling method of this embodiment can send a confirmation message to the server regarding an inquiry message regarding whether to perform conflict handling on multiple conflicting interest surfaces, and send a first request message for requesting area detection on multiple conflicting interest surfaces, so that the server can detect multiple conflicting interest surfaces whose coverage areas conflict with each other, and fragment the conflicting area images in the multiple conflicting interest surfaces, and assign belonging interest surfaces to the multiple conflicting area images after fragmentation. The belonging interest surface is an interest surface among the multiple conflicting interest surfaces, and finally the server can determine the updated interest surface corresponding to the multiple conflicting interest surfaces based on the belonging interest surface information corresponding to the multiple conflicting area fragment images, so that the finally determined updated interest surface does not have a conflicting area, thereby facilitating the determination of the interest surface to which a certain interest point originally in the conflicting area belongs based on the updated interest surface.
[0140] Third embodiment
[0141] Corresponding to the first embodiment, the third embodiment of the present application provides another method for handling interest surface conflicts. The execution subject of this embodiment is also the server, and the parts of the third embodiment that are the same as the first embodiment are not introduced again. For details, please refer to the relevant parts of the first embodiment.
[0142] Please refer to Figure 5 , which is a flowchart of the interest surface conflict processing method provided in the third embodiment of the present application.
[0143] The interest surface conflict processing method of the embodiment of the present application includes the following steps:
[0144] Step S501: Detect multiple conflicting interest surfaces whose coverage areas conflict with each other.
[0145] In this embodiment, as a method for detecting multiple conflicting interest surfaces whose coverage areas conflict with each other: first, a first request message for requesting area detection for multiple conflicting interest surfaces, which is sent by a terminal for use by service personnel, is obtained, and the first request message carries information on multiple conflicting interest surfaces; then, multiple conflicting interest surfaces whose coverage areas conflict with each other are detected based on the first request message.
[0146] Step S502: Based on the pixel values of the conflicting area images in the multiple conflicting interest surfaces, assign the conflicting area images in the multiple conflicting interest surfaces to the belonging interest surface, and obtain the belonging interest surface information corresponding to the conflicting area images, where the belonging interest surface is the interest surface in the multiple conflicting interest surfaces.
[0147] In this embodiment, as an implementation method of assigning an belonging interest surface to a conflict area image among multiple conflicting interest surfaces based on the pixel values of the conflict area images among multiple conflicting interest surfaces, and obtaining the belonging interest surface information corresponding to the conflict area image, it may be: first, sending an inquiry message for indicating whether to perform conflict processing on the multiple conflicting interest surfaces to a terminal for use by service personnel; then, in response to detecting a confirmation message for the inquiry message sent by the terminal for use by the service personnel, assigning an belonging interest surface to the conflict area image among multiple conflicting interest surfaces based on the pixel values of the conflict area images among multiple conflicting interest surfaces, and obtaining the belonging interest surface information corresponding to the conflict area image.
[0148] In addition, as another implementation method of assigning a belonging interest surface to a conflict area image among multiple conflicting interest surfaces based on the pixel values of the conflict area images among multiple conflicting interest surfaces and obtaining the belonging interest surface information corresponding to the conflict area images, it can also be: assigning a belonging interest surface to a conflict area image among multiple conflicting interest surfaces based on the pixel weight ratio of the pixel values of the conflict area images among multiple conflicting interest surfaces in the multiple conflicting interest surfaces and obtaining the belonging interest surface information corresponding to the conflict area images.
[0149] Specifically, the above-mentioned method of assigning belonging interest surfaces to conflict area images in multiple conflict interest surfaces based on the pixel weight ratio of the pixel values of the conflict area images in multiple conflict interest surfaces: based on the pixel weight ratio of the pixel values of the conflict area images in multiple conflict interest surfaces in multiple conflict interest surfaces, determining the conflict interest surface whose pixel value of the conflict area image has the largest pixel weight ratio among the various conflict interest surface images, and taking the conflict interest surface whose pixel value of the conflict area image has the largest pixel weight ratio among the various conflict interest surface images as the belonging interest surface of the conflict area image.
[0150] Step S503: determining an updated interest surface corresponding to the plurality of conflicting interest surfaces according to the belonging interest surface information corresponding to the conflicting area image, and the updated interest surface is used to provide location services for the user.
[0151] In this embodiment, the belonging interest face information includes the interest face identifier of the belonging interest face.
[0152] As a method of determining updated interest surfaces corresponding to multiple conflicting interest surfaces based on the belonging interest surface information corresponding to the conflict area image: determining updated interest surfaces corresponding to multiple conflicting interest surfaces based on the interest surface identifier of the belonging interest surface corresponding to the conflict area image and the interest surface identifier of the remaining area of each interest surface in the multiple conflicting interest surfaces except the conflict area.
[0153] More specifically, as an implementation method for determining updated interest surfaces corresponding to multiple conflicting interest surfaces based on the interest surface identifier of the belonging interest surface corresponding to the conflict area image and the interest surface identifier of the remaining area of each interest surface among multiple conflicting interest surfaces excluding the conflict area: the conflict area image with the same interest surface identifier and the remaining area image corresponding to the remaining area are spliced to determine the updated interest surfaces corresponding to the multiple conflicting interest surfaces.
[0154] In this embodiment, as a method of determining the updated interest surfaces corresponding to multiple conflicting interest surfaces, it can also refer to: judging whether the multiple updated interest surfaces corresponding to each conflicting interest surface in the multiple conflicting interest surfaces are the same; if so, taking the updated interest surfaces corresponding to the conflicting interest surfaces with the same multiple updated interest surfaces as the updated interest surfaces corresponding to the multiple conflicting interest surfaces.
[0155] In this embodiment, after determining the updated interest surface corresponding to multiple conflicting interest surfaces, it also includes: obtaining a third request message sent by a terminal for user use to request updated interest surface information corresponding to multiple conflicting interest surfaces; based on the third request message, providing the updated interest surface information to the terminal for user use.
[0156] The interest surface conflict processing method of this embodiment can detect multiple conflicting interest surfaces whose coverage areas conflict with each other, and based on the pixel values of the conflicting area images in the multiple conflicting interest surfaces, assign an belonging interest surface to the conflicting area images in the multiple conflicting interest surfaces, and obtain the belonging interest surface information corresponding to the conflicting area images, the belonging interest surface is the interest surface among the multiple conflicting interest surfaces, and then finally according to the belonging interest surface information corresponding to the conflicting area images, it is possible to determine the updated interest surface corresponding to the multiple conflicting interest surfaces, and then this method makes it possible for the finally determined updated interest surface to have no conflicting area, so that it is possible to facilitate the determination of the interest surface to which a certain interest point originally in the conflicting area belongs based on the updated interest surface.
[0157] Fourth embodiment
[0158] Corresponding to the first embodiment, the fourth embodiment of the present application provides an interest surface display method. The execution subject of this embodiment is a terminal for use by the user. The same parts of the fourth embodiment as the first embodiment are not introduced again. For details, please refer to the relevant parts of the first embodiment.
[0159] Please refer to Figure 6, which is a flowchart of the interest surface display method provided in the fourth embodiment of the present application.
[0160] The interest surface display method of the embodiment of the present application includes the following steps:
[0161] Step S601: displaying a plurality of candidate interest surfaces in a terminal application for displaying interest surfaces.
[0162] Step S602: obtaining information of multiple conflicting interest surfaces among multiple candidate interest surfaces sent by the server.
[0163] Step S603: Based on the information of multiple conflicting interest surfaces, multiple conflicting interest surfaces are displayed.
[0164] Step S604: Sending a third request message to the server for requesting to obtain updated interest surface information corresponding to multiple conflicting interest surfaces.
[0165] Step S605: obtaining updated interest surface information corresponding to multiple conflicting interest surfaces sent by the server.
[0166] Step S606: displaying updated interest surfaces corresponding to the plurality of candidate interest surfaces, where the updated interest surfaces are used to provide location services for the user.
[0167] In this embodiment, it also includes: sending a second request message to the server for requesting to obtain multiple candidate interest facets information, and obtaining multiple candidate interest facets information provided by the server in response to the second request message. As a way of displaying multiple candidate interest facets in a terminal application for displaying interest facets, it can be: based on the multiple candidate interest facets information provided by the server in response to the second request message, displaying multiple candidate interest facets in a terminal application for displaying interest facets.
[0168] In this embodiment, it also includes: sending a fourth request message to the server for requesting to obtain multiple conflicting interest surface information; as a way to obtain multiple conflicting interest surface information among multiple candidate interest surfaces sent by the server: obtaining multiple conflicting interest surface information among multiple candidate interest surfaces sent by the server in response to the fourth request message.
[0169] In this embodiment, the updated interest surface can be determined based on the belonging interest surface information corresponding to multiple conflict area fragment images, and the belonging interest surface is an interest surface among multiple conflict interest surfaces; wherein the multiple conflict area fragment images are obtained by fragmenting the conflict area images among multiple conflict interest surfaces.
[0170] Of course, in this embodiment, the updated interest surface can also be determined based on the belonging interest surface information corresponding to the conflict area image, and the belonging interest surface is an interest surface among multiple conflicting interest surfaces; wherein the belonging interest surface information corresponding to the conflict area image is obtained based on the pixel weight ratio of the pixel value of the conflict area image in the multiple conflicting interest surfaces.
[0171] The interest surface display method of the present embodiment obtains updated interest surface information corresponding to multiple conflicting interest surfaces provided by the server, and displays updated interest surfaces corresponding to the multiple conflicting interest surfaces based on the updated interest surface information. As a result, the updated interest surfaces displayed by the method do not have conflicting areas, thereby facilitating the determination of the interest surface to which a certain interest point originally in the conflicting area belongs based on the updated interest surface.
[0172] Fifth embodiment
[0173] Corresponding to the interest surface conflict processing method provided in the first embodiment of the present application, the fifth embodiment of the present application also provides an interest surface conflict processing device. Since the device embodiment is basically similar to the first embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the first embodiment. The device embodiment described below is only illustrative.
[0174] Please refer to Figure 7 , which is a schematic diagram of an interest surface conflict processing device provided in the fifth embodiment of the present application.
[0175] The interest surface conflict processing device includes: a detection unit 701, which is used to detect multiple conflicting interest surfaces whose coverage areas conflict with each other; a fragment image acquisition unit 702, which is used to fragment the conflict area images among the multiple conflicting interest surfaces to obtain multiple conflict area fragment images; an belonging interest surface information acquisition unit 703, which is used to assign belonging interest surfaces to the multiple conflict area fragment images to obtain belonging interest surface information corresponding to the multiple conflict area fragment images, and the belonging interest surface is an interest surface among the multiple conflicting interest surfaces; an updated interest surface determination unit 704, which is used to determine an updated interest surface corresponding to the multiple conflicting interest surfaces according to the belonging interest surface information corresponding to the multiple conflict area fragment images, and the updated interest surface is used to provide location services for users.
[0176] Optionally, it also includes: an inquiry message sending unit, used to send an inquiry message to a terminal for use by service personnel to indicate whether to perform conflict processing on the multiple conflicting interest surfaces; the fragmented image obtaining unit, specifically used to: in response to detecting a confirmation message for the inquiry message sent by the terminal for use by the service personnel, fragment the conflict area images in the multiple conflicting interest surfaces to obtain multiple conflict area fragment images.
[0177] Optionally, it also includes: a first request message obtaining unit, used to obtain a first request message sent by a terminal for use by service personnel to request area detection for the multiple conflicting interest surfaces, the first request message carrying multiple conflicting interest surface information; the detection unit is specifically used to: detect multiple conflicting interest surfaces whose coverage areas conflict with each other according to the first request message.
[0178] Optionally, the fragment image acquisition unit is specifically used to: add interest surface identifiers to the multiple conflicting interest surfaces; based on the interest surface identifiers of the multiple conflicting interest surfaces, fragment each conflicting interest surface image corresponding to the multiple conflicting interest surfaces, respectively, to obtain a fragment image corresponding to each conflicting interest surface image; based on the fragment image corresponding to each conflicting interest surface image, obtain multiple conflict area fragment images.
[0179] Optionally, the fragment image obtaining unit is specifically used to obtain a fragment image containing multiple interest surface identifiers from the fragment images corresponding to each conflicting interest surface image, and use the fragment image containing multiple interest surface identifiers as the multiple conflicting area fragment images.
[0180] Optionally, the fragment image obtaining unit is specifically used to: determine the conflict area among the multiple conflict interest surfaces; obtain the conflict area image corresponding to the conflict area; and fragment the conflict area image to obtain multiple conflict area fragment images.
[0181] Optionally, the fragment image obtaining unit is specifically used to: fragment the conflict area images in the multiple conflict interest surfaces to obtain multiple initialization fragment images; and optimize the multiple initialization fragment images to obtain multiple conflict area fragment images.
[0182] Optionally, the fragment image acquisition unit is specifically used to: perform corrosion and dilation processing on the multiple initialized fragment images to obtain the fragment images after the corrosion and dilation processing that meet the fragment reconstruction conditions, and use the fragment images after the corrosion and dilation processing that meet the fragment reconstruction conditions as the multiple conflict area fragment images.
[0183] Optionally, it also includes: a judgment unit, which is used to judge whether the fragment image after the corrosion and expansion processing meets the fragment reconstruction condition before obtaining the fragment image after the corrosion and expansion processing that meets the fragment reconstruction condition; the judgment unit is specifically used to: for each fragment image after the corrosion and expansion processing, judge whether the area difference between the fragment image after the corrosion and expansion processing and the corresponding initialization fragment image meets a preset area difference threshold condition; the fragment reconstruction condition includes that the area difference between the fragment image after the corrosion and expansion processing and the corresponding initialization fragment image meets the preset area difference threshold condition.
[0184] Optionally, the attribution interest surface information obtaining unit is specifically used to: assign attribution interest surfaces to the multiple conflict area fragment images based on the area ratios of the multiple conflict area fragment images in each conflict interest surface image corresponding to the multiple conflict area fragment images, and obtain the attribution interest surface information corresponding to the multiple conflict area fragment images.
[0185] Optionally, the attribution interest surface information obtaining unit is specifically used to: respectively determine the conflict interest surface whose area proportion of each conflict area fragment image in the multiple conflict area fragment images is the largest in the respective conflict interest surface images, and use the conflict interest surface whose area proportion of each conflict area fragment image in the respective conflict interest surface images is the largest as the attribution interest surface of the corresponding conflict area fragment image in the multiple conflict area fragment images; and obtain the attribution interest surface information corresponding to the multiple conflict area fragment images based on the conflict interest surface whose area proportion of each conflict area fragment image in the respective conflict interest surface images is the largest.
[0186] Optionally, the multiple conflicting interest surfaces include a first interest surface and a second interest surface; the attribution interest surface information obtaining unit is specifically used to: for each conflict area fragment image among the multiple conflict area fragment images, determine whether the remaining area except the conflict area in the second interest surface is segmented if the conflict area fragment image is assigned to the first interest surface; if so, assign the conflict area fragment image to the second interest surface, and confirm the second interest surface as the attribution interest surface corresponding to the conflict area fragment image; based on the second interest surface, obtain the attribution interest surface information corresponding to the conflict area fragment image.
[0187] Optionally, it also includes: a first point of interest and a second point of interest determination unit, which is used to determine the first point of interest contained in each of the multiple conflict area fragment images based on the multiple conflict area fragment images; and, based on the multiple conflict interest surfaces, respectively determine the second point of interest contained in the remaining area of each of the multiple conflict interest surfaces except the conflict area; the attribution interest surface information acquisition unit is specifically used to: assign attribution interest surfaces to the multiple conflict area fragment images based on the association relationship between the first interest point and the second interest point, and obtain the attribution interest surface information corresponding to the multiple conflict area fragment images; wherein the interest points are used to provide delivery location services for users.
[0188] Optionally, the attribution interest surface information obtaining unit is specifically used to: for each conflict area fragment image, determine whether there is an association relationship between the first interest point and the second interest point; if so, use the interest surface to which the second interest point belongs as the attribution interest surface corresponding to the conflict area fragment image; based on the attribution interest surface corresponding to the conflict area fragment image, obtain the attribution interest surface information corresponding to the multiple conflict area fragment images.
[0189] Optionally, the belonging interest surface information includes the interest surface identifier of the belonging interest surface; the updated interest surface determination unit is specifically used to determine the updated interest surface corresponding to the multiple conflicting interest surfaces based on the interest surface identifier of the belonging interest surface corresponding to the multiple conflicting area fragment images and the interest surface identifier of the remaining area of each interest surface in the multiple conflicting interest surfaces except the conflicting area.
[0190] Optionally, the updated interest surface determination unit is specifically configured to: splice the conflicting region fragment images with the same interest surface identifier and the remaining region image corresponding to the remaining region to determine the updated interest surface corresponding to the multiple conflicting interest surfaces.
[0191] Optionally, it also includes: a recall unit, used to recall multiple candidate interest surfaces in the area to be processed; the detection unit is specifically used to: detect multiple conflicting interest surfaces with conflicting coverage areas based on the multiple candidate interest surfaces.
[0192] Optionally, the recall unit is specifically configured to recall a plurality of candidate interest surfaces in the area to be processed based on identification information of the area to be processed and a pre-established correspondence between the area identification information and the interest surfaces in the area.
[0193] Optionally, it also includes: a second request message obtaining unit, used to obtain a second request message sent by a terminal for use by a user to request information on multiple candidate interest surfaces; the recall unit is specifically used to: recall multiple candidate interest surfaces in the area to be processed based on the second request message.
[0194] Optionally, it also includes: an interest surface identification adding unit, which is used to determine the relationship type between the areas of the multiple conflicting interest surfaces based on the areas of the multiple conflicting interest surfaces, and the relationship type includes at least one of the following types: a complete coverage type and an inclusion relationship type; based on the relationship type, an interest surface identification unit is added to the multiple conflicting interest surfaces.
[0195] Optionally, the interest surface identifier adding unit is specifically configured to: if the relationship type between the regions of the multiple conflicting interest surfaces is a complete coverage type, add the same interest surface identifier to the multiple conflicting interest surfaces.
[0196] Optionally, the interest surface identifier adding unit is specifically used to: if the relationship type between the areas of the multiple conflicting interest surfaces is an inclusion relationship type, determine the parent interest surface and the child interest surface among the multiple conflicting interest surfaces; based on the determined parent interest surface and child interest surface among the multiple conflicting interest surfaces, add the parent interest surface identifier and the child interest surface identifier to the multiple conflicting interest surfaces.
[0197] Optionally, it also includes: an updating unit: used to determine the shapes of the multiple conflicting interest surfaces; based on the shapes of the multiple conflicting interest surfaces, determine the interest surface with the largest area among the multiple conflicting interest surfaces; and use the interest surface with the largest area and the interest surface among the multiple conflicting interest surfaces that has no area conflict with the interest surface with the largest area as the updated interest surface.
[0198] Optionally, it also includes: an updated interest surface information providing unit, which is used to obtain a third request message sent by a terminal for user use to request updated interest surface information corresponding to the multiple conflicting interest surfaces; based on the third request message, provide the updated interest surface information to the terminal for user use.
[0199] Optionally, the updated interest surface determination unit is specifically used to: determine whether the multiple updated interest surfaces corresponding to each conflicting interest surface among the multiple conflicting interest surfaces are the same; if so, use the updated interest surfaces corresponding to the conflicting interest surfaces with the same multiple updated interest surfaces as the updated interest surfaces corresponding to the multiple conflicting interest surfaces.
[0200] Sixth embodiment
[0201] Corresponding to the interest surface conflict processing method provided in the second embodiment of the present application, the sixth embodiment of the present application also provides an interest surface conflict processing device. Since the device embodiment is basically similar to the second embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the second embodiment. The device embodiment described below is only illustrative.
[0202] Please refer to Figure 8 , which is a schematic diagram of an interest surface conflict processing device provided in the sixth embodiment of the present application.
[0203] The interest surface conflict processing device includes: an inquiry message obtaining unit 801, which is used to obtain an inquiry message sent by a server to indicate whether to perform conflict processing on multiple conflicting interest surfaces, where the coverage areas of the multiple conflicting interest surfaces conflict with each other; the inquiry message carries multiple conflicting interest surface information; an inquiry message display unit 802, which is used to display the inquiry message on a page used to obtain processing method information for the multiple conflicting interest surfaces; and a confirmation message sending unit 803, which is used to send a confirmation message for the inquiry message to the server in response to detecting a confirmation operation for the inquiry message.
[0204] Optionally, it also includes: a first request message sending unit, used to send a first request message for requesting area detection for the multiple conflicting interest surfaces to the server, wherein the first request message carries information of multiple conflicting interest surfaces.
[0205] Seventh embodiment
[0206] Corresponding to the interest surface conflict processing method provided in the third embodiment of the present application, the seventh embodiment of the present application also provides an interest surface conflict processing device. Since the device embodiment is basically similar to the third embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the third embodiment. The device embodiment described below is only illustrative.
[0207] Please refer to Fig. 9 , which is a schematic diagram of an interest surface conflict processing device provided in the seventh embodiment of the present application.
[0208] The interest surface conflict processing device includes: a detection unit 901, which is used to detect multiple conflicting interest surfaces whose coverage areas conflict with each other; an belonging interest surface information acquisition unit 902, which is used to assign belonging interest surfaces to conflicting area images among the multiple conflicting interest surfaces based on pixel values of the conflicting area images among the multiple conflicting interest surfaces, and obtain belonging interest surface information corresponding to the conflicting area images, wherein the belonging interest surface is an interest surface among the multiple conflicting interest surfaces; an updated interest surface determination unit 903, which is used to determine an updated interest surface corresponding to the multiple conflicting interest surfaces according to the belonging interest surface information corresponding to the conflicting area images, wherein the updated interest surface is used to provide location services for users.
[0209] Optionally, it also includes: an inquiry message sending unit, used to send an inquiry message to a terminal for use by service personnel to indicate whether to perform conflict processing on the multiple conflicting interest surfaces; the attribution interest surface information obtaining unit, specifically used to: in response to detecting a confirmation message for the inquiry message sent by the terminal for use by the service personnel, assign an attribution interest surface to the conflict area image among the multiple conflicting interest surfaces based on the pixel value of the conflict area image among the multiple conflicting interest surfaces, and obtain the attribution interest surface information corresponding to the conflict area image.
[0210] Optionally, it also includes: a first request message obtaining unit, used to obtain a first request message sent by a terminal for use by service personnel to request area detection for the multiple conflicting interest surfaces, the first request message carrying multiple conflicting interest surface information; the detection unit is specifically used to: detect multiple conflicting interest surfaces whose coverage areas conflict with each other according to the first request message.
[0211] Optionally, the attribution interest surface information obtaining unit is specifically used to: assign an attribution interest surface to the conflict area image in the multiple conflicting interest surfaces based on the pixel weight ratio of the pixel value of the conflict area image in the multiple conflicting interest surfaces, and obtain the attribution interest surface information corresponding to the conflict area image.
[0212] Optionally, the belonging interest surface information obtaining unit is specifically used to: determine the conflict interest surface whose pixel value of the conflict area image has the largest pixel weight ratio among the multiple conflict interest surfaces based on the pixel weight ratio of the pixel value of the conflict area image in the multiple conflict interest surfaces, and take the conflict interest surface whose pixel value of the conflict area image has the largest pixel weight ratio among the various conflict interest surface images as the belonging interest surface of the conflict area image.
[0213] Optionally, the belonging interest surface information includes the interest surface identifier of the belonging interest surface; the updated interest surface determination unit is specifically used to determine the updated interest surface corresponding to the multiple conflicting interest surfaces based on the interest surface identifier of the belonging interest surface corresponding to the conflicting area image and the interest surface identifier of the remaining area of each interest surface in the multiple conflicting interest surfaces except the conflicting area.
[0214] Optionally, the updated interest surface determination unit is specifically configured to: splice the conflicting area images with the same interest surface identifier and the remaining area images corresponding to the remaining areas, and determine the updated interest surface corresponding to the multiple conflicting interest surfaces.
[0215] Optionally, it also includes: an updated interest surface information providing unit, which is used to obtain a third request message sent by a terminal for user use to request updated interest surface information corresponding to the multiple conflicting interest surfaces; based on the third request message, provide the updated interest surface information to the terminal for user use.
[0216] Optionally, the updated interest surface determination unit is specifically used to: determine whether the multiple updated interest surfaces corresponding to each conflicting interest surface among the multiple conflicting interest surfaces are the same; if so, use the updated interest surfaces corresponding to the conflicting interest surfaces with the same multiple updated interest surfaces as the updated interest surfaces corresponding to the multiple conflicting interest surfaces.
[0217] Eighth embodiment
[0218] Corresponding to the interest surface display method provided in the fourth embodiment of the present application, the eighth embodiment of the present application also provides an interest surface display device. Since the device embodiment is basically similar to the fourth embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the fourth embodiment. The device embodiment described below is only exemplary.
[0219] Please refer to Fig.10 , which is a schematic diagram of an interest surface display device provided in the eighth embodiment of the present application.
[0220] The interest surface display device includes: a candidate interest surface display unit 1001, which is used to display multiple candidate interest surfaces in a terminal application for displaying interest surfaces; a conflicting interest surface information obtaining unit 1002, which is used to obtain multiple conflicting interest surface information from the multiple candidate interest surfaces sent by a server; a conflicting interest surface display unit 1003, which is used to display multiple conflicting interest surfaces based on the multiple conflicting interest surface information; a third request message sending unit 1004, which is used to send a third request message to the server for requesting to obtain updated interest surface information corresponding to the multiple conflicting interest surfaces; an updated interest surface information obtaining unit 1005, which is used to obtain updated interest surface information corresponding to the multiple conflicting interest surfaces sent by the server; and an updated interest surface display unit 1006, which is used to display updated interest surfaces corresponding to the multiple candidate interest surfaces, wherein the updated interest surfaces are used to provide location services for users.
[0221] Optionally, it also includes: a candidate interest surface information obtaining unit, used to send a second request message to the server for requesting to obtain multiple candidate interest surface information; obtain multiple candidate interest surface information provided by the server in response to the second request message; the candidate interest surface display unit, specifically used to: based on the multiple candidate interest surface information provided by the server in response to the second request message, display multiple candidate interest surfaces in a terminal application used to display interest surfaces.
[0222] Optionally, it also includes: a fourth request message sending unit, used to send a fourth request message to the server for requesting to obtain multiple conflicting interest surface information; the conflicting interest surface information obtaining unit, specifically used to: obtain multiple conflicting interest surface information from the multiple candidate interest surfaces sent by the server in response to the fourth request message.
[0223] Optionally, the updated interest surface is determined based on the belonging interest surface information corresponding to multiple conflict area fragment images, and the belonging interest surface is an interest surface among the multiple conflict interest surfaces; wherein the multiple conflict area fragment images are obtained by fragmenting the conflict area images among the multiple conflict interest surfaces.
[0224] Optionally, the updated interest surface is determined based on the belonging interest surface information corresponding to the conflict area image, and the belonging interest surface is an interest surface among the multiple conflicting interest surfaces; wherein the belonging interest surface information corresponding to the conflict area image is obtained based on the pixel weight ratio of the conflict area image among the multiple conflicting interest surfaces.
[0225] Ninth embodiment
[0226] Corresponding to the methods of the first to fourth embodiments of the present application, the ninth embodiment of the present application further provides an electronic device.
[0227] like Fig.11 As shown, Fig.11 This is a schematic diagram of an electronic device provided in the ninth embodiment of the present application. The electronic device comprises: a processor 1101; a memory 1102 for storing a computer program, the computer program is run by the processor to execute the methods of the first to fourth embodiments.
[0228] Tenth embodiment
[0229] Corresponding to the methods of the first to fourth embodiments of the present application, the tenth embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is run by a processor to execute the methods of the first to fourth embodiments.
[0230] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
[0231] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0232] 1. Computer readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include non-transitory computer readable storage media (non-transitorycomputer readable storage media), such as modulated data signals and carrier waves.
[0233] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
Claims
1. A method for handling interest surface conflicts, characterized in that: include: Detecting multiple conflicting interest surfaces with conflicting coverage areas; Fragmenting the conflict area images in the multiple conflict interest surfaces to obtain multiple conflict area fragment images; Assigning belonging interest surfaces to the plurality of conflicting region fragment images, and obtaining belonging interest surface information corresponding to the plurality of conflicting region fragment images, wherein the belonging interest surface is an interest surface among the plurality of conflicting interest surfaces; According to the belonging interest surface information corresponding to the multiple conflicting area fragment images, an updated interest surface corresponding to the multiple conflicting interest surfaces is determined, and the updated interest surface is used to provide location services for the user.
2. The method according to claim 1, characterized in that: Also includes: Sending a query message to a terminal for use by a service personnel to indicate whether to perform conflict handling on the plurality of conflicting interest surfaces; The fragmenting of the conflict area images in the multiple conflict interest surfaces to obtain multiple conflict area fragment images includes: In response to detecting a confirmation message for the inquiry message sent by the terminal for use by the service personnel, fragmentation processing is performed on the conflicting area images in the multiple conflicting interest surfaces to obtain multiple conflicting area fragment images.
3. The method according to claim 1, characterized in that Also includes: Obtaining a first request message sent by a terminal for use by a service personnel to request region detection for the multiple conflicting interest surfaces, wherein the first request message carries information about the multiple conflicting interest surfaces; The detecting of multiple conflicting interest surfaces whose coverage areas conflict with each other includes: In response to the first request message, a plurality of conflicting interest surfaces whose coverage areas conflict with each other are detected.
4. The method according to claim 1, characterized in that: The fragmenting of the conflict area images in the multiple conflict interest surfaces to obtain multiple conflict area fragment images includes: adding interest surface identifiers to the multiple conflicting interest surfaces; Based on the interest surface identifiers of the multiple conflicting interest surfaces, fragmenting each conflicting interest surface image corresponding to the multiple conflicting interest surfaces respectively to obtain a fragmented image corresponding to each conflicting interest surface image; Based on the fragment images corresponding to each conflicting interest surface image, a plurality of conflicting area fragment images are obtained.
5. The method according to claim 4, characterized in that The obtaining of a plurality of conflict area fragment images based on the fragment images corresponding to each conflicting interest surface image comprises: A fragment image containing multiple interest surface identifiers is obtained from the fragment images corresponding to each conflicting interest surface image, and the fragment image containing multiple interest surface identifiers is used as the multiple conflicting region fragment images.
6. The method according to claim 1, characterized in that The fragmenting of the conflict area images in the multiple conflict interest surfaces to obtain multiple conflict area fragment images includes: determining conflicting regions among the plurality of conflicting interest surfaces; Obtaining a conflict area image corresponding to the conflict area; The conflict area image is fragmented to obtain a plurality of conflict area fragment images.
7. The method according to claim 1, characterized in that The fragmenting of the conflict area images in the multiple conflict interest surfaces to obtain multiple conflict area fragment images includes: Fragmenting the conflicting region images in the plurality of conflicting interest surfaces to obtain a plurality of initialized fragmented images; The multiple initialization fragment images are optimized to obtain multiple conflict area fragment images.
8. The method according to claim 7, characterized in that The step of optimizing the multiple initialization fragment images to obtain multiple conflict area fragment images includes: The multiple initialized fragment images are subjected to corrosion and dilation processing to obtain fragment images after the corrosion and dilation processing that meet the fragment reorganization condition, and the fragment images after the corrosion and dilation processing that meet the fragment reorganization condition are used as the multiple conflict area fragment images.
9. The method according to claim 8, characterized in that Before obtaining the fragment image after the corrosion and expansion processing that meets the fragment reconstruction condition, it also includes: judging whether the fragment image after the corrosion and expansion processing meets the fragment reconstruction condition; The determining whether the fragmented image after the corrosion and expansion processing satisfies the fragment reconstruction condition comprises: for each fragmented image after the corrosion and expansion processing, determining whether the area difference between the fragmented image after the corrosion and expansion processing and the corresponding initialized fragmented image satisfies a preset area difference threshold condition; the fragment reconstruction condition comprises that the area difference between the fragmented image after the corrosion and expansion processing and the corresponding initialized fragmented image satisfies the preset area difference threshold condition.
10. The method according to claim 1, characterized in that The assigning of the plurality of conflict area fragment images to the belonging interest surface to obtain the belonging interest surface information corresponding to the plurality of conflict area fragment images includes: Based on the area ratios of the multiple conflict area fragment images in each conflict interest surface image corresponding to the multiple conflict interest surfaces, the multiple conflict area fragment images are assigned belonging interest surfaces to obtain belonging interest surface information corresponding to the multiple conflict area fragment images.
11. The method according to claim 10, characterized in that The assigning the belonging interest surfaces to the multiple conflict area fragment images based on the area ratios of the multiple conflict area fragment images in the respective conflict interest surface images corresponding to the multiple conflict interest surfaces, and obtaining the belonging interest surface information corresponding to the multiple conflict area fragment images, comprises: Respectively determine the conflict interest surface whose area ratio of each conflict area fragment image in the plurality of conflict area fragment images is the largest in the plurality of conflict area fragment images, and use the conflict interest surface whose area ratio of each conflict area fragment image in the plurality of conflict area fragment images is the largest in the plurality of conflict area fragment images as the belonging interest surface of the corresponding conflict area fragment image in the plurality of conflict area fragment images; Based on the conflict interest surface whose area ratio of each conflict area fragment image in the conflict interest surface images is the largest, the belonging interest surface information corresponding to the multiple conflict area fragment images is obtained.
12. The method according to claim 1, characterized in that The plurality of conflicting interest surfaces include a first interest surface and a second interest surface; The assigning of the plurality of conflict area fragment images to the belonging interest surface to obtain the belonging interest surface information corresponding to the plurality of conflict area fragment images includes: for each conflict region fragment image of the plurality of conflict region fragment images, determining whether a remaining area other than the conflict region in the second interest plane is segmented if the conflict region fragment image is assigned to the first interest plane; If yes, assigning the conflict area fragment image to the second interest surface, and confirming the second interest surface as the belonging interest surface corresponding to the conflict area fragment image; Based on the second interest surface, the belonging interest surface information corresponding to the conflict area fragment image is obtained.
13. The method according to claim 1, characterized in that Also includes: Based on the multiple conflict area fragment images, respectively determine a first point of interest included in each of the multiple conflict area fragment images; Based on the multiple conflicting interest surfaces, respectively determine a second interest point included in a remaining area of each of the multiple conflicting interest surfaces except the conflicting area; The assigning of the plurality of conflict area fragment images to the belonging interest surface to obtain the belonging interest surface information corresponding to the plurality of conflict area fragment images includes: Based on the association between the first point of interest and the second point of interest, the plurality of conflict area fragment images are assigned belonging interest surfaces, and belonging interest surface information corresponding to the plurality of conflict area fragment images is obtained; wherein the point of interest is used to provide a delivery location service for users.
14. The method according to claim 13, characterized in that The assigning of the plurality of conflict area fragment images to the belonging interest surface based on the association relationship between the first interest point and the second interest point, and obtaining the belonging interest surface information corresponding to the plurality of conflict area fragment images, comprises: For each conflict area fragment image, determining whether the first interest point and the second interest point have an association relationship; If yes, taking the interest surface to which the second interest point belongs as the belonging interest surface corresponding to the conflict area fragment image; Based on the belonging interest surface corresponding to the conflict area fragment image, the belonging interest surface information corresponding to the plurality of conflict area fragment images is obtained.
15. The method according to claim 1, characterized in that The belonging interest face information includes the interest face identifier of the belonging interest face; The determining, according to the belonging interest surface information corresponding to the plurality of conflicting area fragment images, an updated interest surface corresponding to the plurality of conflicting interest surfaces comprises: According to the interest surface identifiers of the belonging interest surfaces corresponding to the multiple conflicting area fragment images and the interest surface identifiers of the remaining areas of each interest surface in the multiple conflicting interest surfaces except the conflicting area, an updated interest surface corresponding to the multiple conflicting interest surfaces is determined.
16. The method according to claim 15, characterized in that The determining, according to the interest surface identifiers of the belonging interest surfaces corresponding to the multiple conflicting area fragment images and the interest surface identifiers of the remaining areas of each interest surface in the multiple conflicting interest surfaces except the conflicting area, an updated interest surface corresponding to the multiple conflicting interest surfaces comprises: The conflicting region fragment images with the same interest surface identifier and the remaining region image corresponding to the remaining region are spliced to determine an updated interest surface corresponding to the plurality of conflicting interest surfaces.
17. The method according to claim 1, characterized in that Also includes: Recalling multiple candidate interest surfaces in the area to be processed; The detecting of multiple conflicting interest surfaces whose coverage areas conflict with each other includes: Based on the multiple candidate interest surfaces, multiple conflicting interest surfaces whose coverage areas conflict with each other are detected.
18. The method according to claim 17, characterized in that The recalling of multiple candidate interest surfaces in the to-be-processed area includes: recalling multiple candidate interest surfaces in the to-be-processed area based on identification information of the to-be-processed area and a pre-established correspondence between the area identification information and the interest surfaces in the area.
19. The method according to claim 17, characterized in that Also includes: Obtaining a second request message sent by a terminal for use by a user and used to request obtaining information of a plurality of candidate interest planes; The recalling of multiple candidate interest surfaces in the to-be-processed area includes: Based on the second request message, multiple candidate interest surfaces in the area to be processed are recalled.
20. The method according to claim 1, characterized in that Also includes: Based on the regions of the multiple conflicting interest surfaces, determining the relationship type between the regions of the multiple conflicting interest surfaces, the relationship type including at least one of the following types: a complete coverage type and an inclusion relationship type; Based on the relationship type, interest surface identifiers are added to the multiple conflicting interest surfaces.
21. The method according to claim 20, characterized in that The adding interest surface identifiers to the multiple conflicting interest surfaces based on the relationship type includes: If the relationship type between the regions of the multiple conflicting interest surfaces is a complete coverage type, the same interest surface identifier is added to the multiple conflicting interest surfaces.
22. The method according to claim 20, characterized in that The adding interest surface identifiers to the multiple conflicting interest surfaces based on the relationship type includes: If the relationship type between the regions of the multiple conflicting interest surfaces is a containment relationship type, determining a parent interest surface and a child interest surface in the multiple conflicting interest surfaces; Based on the determined parent interest faces and child interest faces among the multiple conflicting interest faces, parent interest face identifiers and child interest face identifiers are added to the multiple conflicting interest faces.
23. The method according to claim 1, characterized in that Also includes: determining shapes of the plurality of conflicting interest surfaces; Based on the shapes of the multiple conflicting interest surfaces, determining the interest surface with the largest area among the multiple conflicting interest surfaces; The interest surface with the largest area and an interest surface among the multiple conflicting interest surfaces that has no area conflict with the interest surface with the largest area are taken together as updated interest surfaces.
24. The method according to claim 1, characterized in that Also includes: Obtaining a third request message sent by a terminal for use by a user for requesting to obtain updated interest surface information corresponding to the multiple conflicting interest surfaces; Based on the third request message, the updated interest surface information is provided to the terminal for use by the user.
25. The method according to claim 1, characterized in that The determining of an updated interest surface corresponding to the plurality of conflicting interest surfaces comprises: Determining whether the multiple updated interest surfaces corresponding to each of the multiple conflicting interest surfaces are the same; If so, the updated interest surfaces corresponding to the conflicting interest surfaces with the same multiple updated interest surfaces are taken as the updated interest surfaces corresponding to the multiple conflicting interest surfaces.
26. A method for handling interest surface conflicts, applied to a terminal used by service personnel, characterized in that: include: Obtaining a query message sent by a server to indicate whether to perform conflict processing on multiple conflicting interest surfaces, where coverage areas of the multiple conflicting interest surfaces conflict with each other, and it is impossible to determine the interest surface to which the interest point or position in the conflicting area belongs, and the conflicting area is a conflicting area existing between coverage areas of the multiple conflicting interest surfaces; the query message carries information on the multiple conflicting interest surfaces; Displaying the inquiry message on a page for obtaining information on processing methods for the multiple conflicting interest surfaces; In response to detecting a confirmation operation for the query message, sending a confirmation message for the query message to the server, so that the server updates the multiple conflicting interest surfaces so that there is no conflicting area between the coverage areas of the updated interest surfaces; Wherein, the interest surface to which the points of interest or positions in the conflicting area belong is determined based on the updated interest surface.
27. The method according to claim 26, characterized in that Also includes: A first request message for requesting region detection for the multiple conflicting interest surfaces is sent to the server, wherein the first request message carries information about the multiple conflicting interest surfaces.
28. A method for handling interest surface conflicts, characterized in that: include: Detecting multiple conflicting interest surfaces with conflicting coverage areas; Based on the pixel values of the conflicting region images among the multiple conflicting interest surfaces, assigning a belonging interest surface to the conflicting region images among the multiple conflicting interest surfaces, and obtaining belonging interest surface information corresponding to the conflicting region images, wherein the belonging interest surface is an interest surface among the multiple conflicting interest surfaces; According to the belonging interest surface information corresponding to the conflicting area image, an updated interest surface corresponding to the multiple conflicting interest surfaces is determined, and the updated interest surface is used to provide location service for the user.
29. The method according to claim 28, characterized in that Also includes: Sending a query message to a terminal for use by a service personnel to indicate whether to perform conflict handling on the plurality of conflicting interest surfaces; The assigning an belonging interest surface to the conflicting region image among the multiple conflicting interest surfaces based on the pixel values of the conflicting region image among the multiple conflicting interest surfaces, and obtaining the belonging interest surface information corresponding to the conflicting region image, comprises: In response to detecting a confirmation message for the inquiry message sent by the terminal for use by the service personnel, based on the pixel values of the conflict area images in the multiple conflicting interest surfaces, an attribution interest surface is assigned to the conflict area image in the multiple conflicting interest surfaces, and the attribution interest surface information corresponding to the conflict area image is obtained.
30. The method according to claim 28, characterized in that Also includes: Obtaining a first request message sent by a terminal for use by a service personnel to request region detection for the multiple conflicting interest surfaces, wherein the first request message carries information about the multiple conflicting interest surfaces; The detecting of multiple conflicting interest surfaces whose coverage areas conflict with each other includes: In response to the first request message, a plurality of conflicting interest surfaces whose coverage areas conflict with each other are detected.
31. The method according to claim 28, characterized in that The assigning an belonging interest surface to the conflicting region image among the multiple conflicting interest surfaces based on the pixel values of the conflicting region image among the multiple conflicting interest surfaces, and obtaining the belonging interest surface information corresponding to the conflicting region image, comprises: Based on the pixel weight ratio of the conflicting area image in the multiple conflicting interest surfaces, the conflicting area image in the multiple conflicting interest surfaces is assigned an belonging interest surface to obtain the belonging interest surface information corresponding to the conflicting area image.
32. The method according to claim 31, characterized in that The assigning of the conflicting region images in the multiple conflicting interest surfaces to the conflicting region images in the multiple conflicting interest surfaces based on the pixel weight ratios in the multiple conflicting interest surfaces comprises: Based on the pixel weight ratio of the conflict area image in the multiple conflict interest surfaces, determine the conflict interest surface whose pixel value of the conflict area image has the largest pixel weight ratio among the various conflict interest surface images, and take the conflict interest surface whose pixel value of the conflict area image has the largest pixel weight ratio among the various conflict interest surface images as the belonging interest surface of the conflict area image.
33. The method according to claim 28, characterized in that The belonging interest face information includes the interest face identifier of the belonging interest face; The determining, according to the belonging interest surface information corresponding to the conflicting area image, an updated interest surface corresponding to the plurality of conflicting interest surfaces comprises: An updated interest surface corresponding to the multiple conflicting interest surfaces is determined according to the interest surface identifier of the belonging interest surface corresponding to the conflicting area image and the interest surface identifier of the remaining area of each interest surface among the multiple conflicting interest surfaces except the conflicting area.
34. The method according to claim 33, characterized in that The determining, according to the interest surface identifier of the belonging interest surface corresponding to the conflicting area image and the interest surface identifier of the remaining area of each interest surface among the multiple conflicting interest surfaces except the conflicting area, an updated interest surface corresponding to the multiple conflicting interest surfaces comprises: The conflicting region images with the same interest surface identifier and the remaining region images corresponding to the remaining regions are spliced to determine updated interest surfaces corresponding to the multiple conflicting interest surfaces.
35. The method according to claim 28, characterized in that Also includes: Obtaining a third request message sent by a terminal for use by a user for requesting to obtain updated interest surface information corresponding to the multiple conflicting interest surfaces; Based on the third request message, the updated interest surface information is provided to the terminal for use by the user.
36. The method according to claim 28, characterized in that The determining of an updated interest surface corresponding to the plurality of conflicting interest surfaces comprises: Determining whether the multiple updated interest surfaces corresponding to each of the multiple conflicting interest surfaces are the same; If so, the updated interest surfaces corresponding to the conflicting interest surfaces with the same multiple updated interest surfaces are taken as the updated interest surfaces corresponding to the multiple conflicting interest surfaces.
37. A method for displaying an interest surface, applied to a terminal for use by a user, characterized in that: include: Displaying a plurality of candidate interest faces in a terminal application for displaying interest faces; Obtaining information of multiple conflicting interest surfaces among the multiple candidate interest surfaces sent by the server; Based on the information of the multiple conflicting interest surfaces, display the multiple conflicting interest surfaces; Sending a third request message to the server for requesting to obtain updated interest surface information corresponding to the multiple conflicting interest surfaces; Obtaining updated interest surface information corresponding to the multiple conflicting interest surfaces sent by the server; The updated interest surfaces corresponding to the multiple candidate interest surfaces are displayed, and the updated interest surfaces are used to provide location services for the user.
38. The method according to claim 37, characterized in that Also includes: Sending a second request message for requesting to obtain information of multiple candidate interest planes to the server; Obtaining multiple candidate interest surface information provided by the server in response to the second request message; The displaying of multiple candidate interest surfaces in the terminal application for displaying interest surfaces includes: displaying multiple candidate interest surfaces in the terminal application for displaying interest surfaces based on multiple candidate interest surface information provided by the server in response to the second request message.
39. The method according to claim 37, characterized in that Also includes: Sending a fourth request message for requesting to obtain information of multiple conflicting interest surfaces to the server; The obtaining of information of multiple conflicting interest surfaces among the multiple candidate interest surfaces sent by the server includes: obtaining information of multiple conflicting interest surfaces among the multiple candidate interest surfaces sent by the server in response to the fourth request message.
40. The method according to claim 37, characterized in that The updated interest surface is determined based on the belonging interest surface information corresponding to multiple conflict area fragment images, and the belonging interest surface is an interest surface among the multiple conflict interest surfaces; wherein the multiple conflict area fragment images are obtained by fragmenting the conflict area images among the multiple conflict interest surfaces.
41. The method according to claim 37, characterized in that The updated interest surface is determined based on the belonging interest surface information corresponding to the conflict area image, and the belonging interest surface is an interest surface among the multiple conflicting interest surfaces; wherein the belonging interest surface information corresponding to the conflict area image is obtained based on the pixel weight ratio of the pixel value of the conflict area image among the multiple conflicting interest surfaces.
42. An interest surface conflict processing device, characterized in that: include: a detection unit, configured to detect a plurality of conflicting interest surfaces whose coverage areas conflict with each other; A fragment image obtaining unit, configured to perform fragmentation processing on the conflict area images in the plurality of conflict interest surfaces to obtain a plurality of conflict area fragment images; an attribution interest surface information obtaining unit, configured to assign attribution interest surfaces to the plurality of conflicting region fragment images, and obtain attribution interest surface information corresponding to the plurality of conflicting region fragment images, wherein the attribution interest surface is an interest surface among the plurality of conflicting interest surfaces; The updated interest surface determination unit is used to determine the updated interest surface corresponding to the multiple conflicting interest surfaces according to the belonging interest surface information corresponding to the multiple conflicting area fragment images, and the updated interest surface is used to provide location services for users.
43. An interest surface conflict processing device, applied to a terminal used by service personnel, characterized in that: include: an inquiry message obtaining unit, configured to obtain an inquiry message sent by a server end for indicating whether to perform conflict processing on multiple conflicting interest surfaces, wherein the coverage areas of the multiple conflicting interest surfaces conflict with each other, and it is impossible to determine the interest surface to which the interest point or position in the conflicting area belongs, and the conflicting area is a conflicting area existing between the coverage areas of the multiple conflicting interest surfaces; the inquiry message carries information on multiple conflicting interest surfaces; An inquiry message display unit, configured to display the inquiry message on a page for obtaining information on processing methods for the plurality of conflicting interest surfaces; a confirmation message sending unit, configured to send a confirmation message for the inquiry message to the server in response to detecting a confirmation operation for the inquiry message, so that the server updates the multiple conflicting interest surfaces so that there is no conflicting area between the coverage areas of the updated interest surfaces; Wherein, the interest surface to which the points of interest or positions in the conflicting area belong is determined based on the updated interest surface.
44. An interest surface conflict processing device, characterized in that: include: a detection unit, configured to detect a plurality of conflicting interest surfaces whose coverage areas conflict with each other; an attribution interest surface information obtaining unit, configured to assign an attribution interest surface to a conflicting area image among the multiple conflicting interest surfaces based on pixel values of the conflicting area image among the multiple conflicting interest surfaces, and obtain attribution interest surface information corresponding to the conflicting area image, wherein the attribution interest surface is an interest surface among the multiple conflicting interest surfaces; The updated interest surface determination unit is used to determine the updated interest surface corresponding to the multiple conflicting interest surfaces according to the belonging interest surface information corresponding to the conflicting area image, and the updated interest surface is used to provide location service for the user.
45. An interest surface display device, applied to a terminal for use by a user, characterized in that: include: A candidate interest face display unit, used to display multiple candidate interest faces in a terminal application for displaying interest faces; a conflicting interest surface information obtaining unit, configured to obtain information of a plurality of conflicting interest surfaces among the plurality of candidate interest surfaces sent by the server; A conflicting interest surface display unit, configured to display multiple conflicting interest surfaces based on the multiple conflicting interest surface information; A third request message sending unit, configured to send a third request message for requesting to obtain updated interest surface information corresponding to the multiple conflicting interest surfaces to the server; An updated interest surface information obtaining unit, configured to obtain updated interest surface information corresponding to the multiple conflicting interest surfaces sent by the server; The updated interest surface display unit is used to display the updated interest surfaces corresponding to the multiple candidate interest surfaces, and the updated interest surfaces are used to provide location services for users.
46. An electronic device, characterized in that: The electronic device comprises: a processor; and a memory for storing a computer program, wherein the computer program is run by the processor to execute the method according to any one of claims 1 to 41.
47. A computer storage medium, characterized in that The computer storage medium stores a computer program, which is executed by a processor to perform the method according to any one of claims 1 to 41.
Citation Information
Patent Citations
Information push method and apparatus
CN108809675A
Data processing method and device, computer equipment and storage medium
CN112163062A