Information processing method, information display method, device and electronic equipment
By determining candidate location points in the area to be processed, calculating reference location points, and performing area segmentation, the problem of insufficient accuracy in geofence identification in the existing technology is solved, and more efficient and accurate geofence identification is achieved.
Patent Information
- Application Number
- CN202210143229.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-16
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-02-16
AI Technical Summary
Existing geofence identification methods are not accurate enough when dealing with a large number of location points, resulting in high costs or inaccurate results and poor applicability.
By determining candidate location points in the area to be processed, calculating reference location points, and performing area segmentation based on the distribution density of these points, determining the initial segmentation area and boundary location points, and finally determining the target segmentation area to improve the accuracy of geofencing.
This method improves the accuracy and applicability of geofence identification, reduces costs, and is suitable for precise geofence identification in large areas.
Smart Images

Figure CN114519609B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and specifically to an information processing method, an information 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 is constantly improving, and electronic maps are being used more and more widely in the process of users' travel. For example, when riding, users can view the current location information of their ride through the electronic map application in the terminal. At the same time, online shopping has become the main way for people to shop. When shopping online, takeaway delivery personnel are required to deliver the items to the location specified by the user. Specifically, takeaway delivery personnel also need to deliver the items purchased by users to the designated location based on electronic maps. In either of the above situations, the location information provided by electronic maps plays a vital role for people.
[0003] In electronic map applications, generally, electronic maps can display multiple geographic fences divided by regions, so that users can easily find their locations. Geo-fencing is an application of LBS. Geo-fencing refers to a polygon that can surround a target area on a two-dimensional plane, that is, a virtual fence is used to enclose a virtual geographic boundary. When a user carries a terminal device into or leaves a specific geographic area, or moves in the area, the terminal device can receive automatic notifications and warnings. In the current method of dividing an area into multiple geo-fences, that is, in the geo-fence identification method, it is generally possible to connect multiple location points in the area into a polygon, and then use the area enclosed by the polygon as a geo-fence; or identify the geo-fence through manual annotation, user location-based clustering algorithm, and satellite image boundary detection method. However, the existing method of dividing an area into multiple geo-fences is only applicable to the case where the number of location points in the area is small. For the case where the number of location points in the area is large, the method used to represent the geo-fence is not accurate enough, which leads to poor applicability of the method. For example, the method based on manual annotation is costly and is not suitable for the identification of geo-fences in a large area. Clustering algorithm based on user location, in which the parameters of the algorithm need to be adjusted manually, and the clustering algorithm cannot automatically obtain appropriate parameters. In addition, it is easy to divide roads into geo-fences in densely populated areas, and even merge multiple areas across roads. The satellite image data in the satellite image boundary detection method requires a lot of additional cleaning work, which leads to high costs. Therefore, the existing geo-fence recognition methods are either too expensive or the recognition results of the geo-fences are inaccurate. Therefore, how to obtain a more applicable area segmentation method to make the obtained geo-fence more accurate has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The embodiment of the present application provides an information processing method to solve the technical problem of how to obtain a region segmentation method with strong applicability so that the obtained geographic fence is more accurate. The embodiment of the present application also provides an information processing device, an information display method, a device, an electronic device and a computer storage medium.
[0005] An embodiment of the present application provides an information processing method, including: determining multiple candidate position points contained in an area to be processed; determining a reference position point for performing regional segmentation on the area to be processed based on the geographical location information of the multiple candidate position points; segmenting the regional image of the area to be processed based on the distribution density of the reference position point and the multiple candidate position points in the area to be processed, and determining an initial segmentation area corresponding to the area to be processed; determining a boundary position point of the initial segmentation area based on the position relationship information between the position point contained in the initial segmentation area and the reference position point; wherein the position point contained in the initial segmentation area and the boundary position point are position points among the multiple candidate position points; based on the boundary position point and the initial segmentation area, determining a target segmentation area corresponding to the area to be processed, and the target segmentation area is used to provide location services for users.
[0006] Optionally, determining a reference position point for segmenting the area to be processed based on the geographic location information of the multiple candidate position points includes: obtaining the geographic location information of a center point corresponding to the multiple candidate position points based on the geographic location information of the multiple candidate position points; and determining a reference position point for segmenting the area to be processed based on the geographic location information of the center point.
[0007] Optionally, the geographic location information includes longitude and latitude information; obtaining the geographic location information of the center point corresponding to the multiple candidate location points based on the geographic location information of the multiple candidate location points includes: obtaining the geographic location information of the center point corresponding to the multiple candidate location points based on the longitude and latitude information of the multiple candidate location points.
[0008] Optionally, the method of obtaining the geographic location information of the center point corresponding to the multiple candidate location points based on the latitude and longitude information of the multiple candidate location points includes: obtaining the coordinate information of the multiple candidate location points based on the latitude and longitude information of the multiple candidate location points; obtaining the coordinate information of the center point corresponding to the multiple candidate location points based on the coordinate information of the multiple candidate location points; obtaining the geographic location information of the center point corresponding to the multiple candidate location points based on the coordinate information of the center point corresponding to the multiple candidate location points.
[0009] Optionally, the obtaining of coordinate information of the multiple candidate location points based on the longitude and latitude information of the multiple candidate location points includes: for each target candidate location point among the multiple candidate location points, using the longitude value of the target candidate location point as the value of the horizontal coordinate of the target candidate location point, and using the latitude value of the target candidate location point as the value of the vertical coordinate of the target candidate location point to obtain the coordinate information of the target candidate location point; obtaining the coordinate information of the multiple candidate location points based on the coordinate information of each target candidate location point among the multiple candidate location points.
[0010] Optionally, obtaining the coordinate information of the center points corresponding to the multiple candidate location points based on the coordinate information of the multiple candidate location points includes: averaging the values of the horizontal coordinates in the coordinate information of the multiple candidate location points, and averaging the values of the vertical coordinates in the coordinate information of the multiple candidate location points, to obtain the coordinate information of the center points corresponding to the multiple candidate location points.
[0011] Optionally, the method of segmenting the regional image of the area to be processed based on the distribution density of the reference position point and the multiple candidate position points in the area to be processed to determine the initial segmentation area corresponding to the area to be processed includes: determining a segmentation angle for segmenting the area to be processed based on the distribution density of the multiple candidate position points in the area to be processed, the numerical value corresponding to the segmentation angle being a numerical value divisible by three hundred and sixty; drawing a plurality of rays in the regional image of the area to be processed with the reference position point as the starting point and the segmentation angle as the included angle; and segmenting the regional image of the area to be processed based on the multiple rays to determine the initial segmentation area corresponding to the area to be processed.
[0012] Optionally, taking the reference position point as the starting point and the segmentation angle as the included angle, leading out multiple rays in the regional image of the area to be processed, including: establishing a spatial coordinate system in the regional image of the area to be processed with the direction of the latitude as the direction of the X-axis of the coordinate system and the direction of the longitude as the direction of the Y-axis of the coordinate system; taking the reference position point as the starting point and the direction of the coordinate axis as the direction of the first ray, leading out a first ray in the regional image of the area to be processed; taking the segmentation angle as the included angle between the first ray and the second ray, determining the direction of the second ray; taking the reference position point as the starting point, according to the direction of the second ray, A second ray is derived in the regional image of the area to be processed; the direction of the third ray is determined by taking the segmentation angle as the angle between the second ray and the third ray; the third ray is derived in the regional image of the area to be processed according to the direction of the third ray by taking the reference position point as the starting point; wherein the first ray, the second ray and the third ray are rays distributed in a clockwise direction or in a counterclockwise direction in sequence; new rays are derived in accordance with the above ray-deriving method until the new rays derived in the regional image of the area to be processed coincide with the rays already derived, and then rays are stopped from being derived in the regional image of the area to be processed.
[0013] Optionally, it also includes: based on the multiple candidate position points and the initial segmentation area, determining the target sub-area to which each target candidate position point among the multiple candidate position points belongs, the target sub-area being a sub-area among the multiple sub-areas included in the initial segmentation area; determining the boundary position points of the initial segmentation area according to the positional relationship information between the position points included in the initial segmentation area and the reference position points, including: for each target sub-area in the multiple sub-areas, determining the boundary position points of each target sub-area according to the positional relationship information between the position points included in the target sub-area and the reference position points.
[0014] Optionally, for each target sub-region among the multiple sub-regions, the boundary position point of each target sub-region is determined according to the position relationship information between the position point contained in the target sub-region and the reference position point, including: for each target sub-region among the multiple sub-regions, obtaining the spherical distance between the position point contained in the target sub-region and the reference position point, and confirming the position point in the target sub-region with the largest spherical distance to the reference position point as the boundary position point of the target sub-region.
[0015] Optionally, determining the target segmentation area corresponding to the area to be processed based on the boundary position point and the initial segmentation area includes: for each target sub-area among the multiple sub-areas, taking the area where the boundary position point of the target sub-area is located as the boundary area of the target sub-area, and determining a closed area composed of the boundary area of the target sub-area and the target sub-area; and confirming the closed area composed of the boundary area of the target sub-area and the target sub-area as the target segmentation area corresponding to the area to be processed.
[0016] Optionally, it also includes: sending an inquiry message to a terminal for use by service personnel to indicate whether to perform regional division on the area to be processed, the inquiry message carrying regional information of the area to be processed; determining multiple candidate location points included in the area to be processed, including: in response to detecting a confirmation operation for the inquiry message sent by the terminal for use by the service personnel, performing location point retrieval on the area to be processed, and determining multiple candidate location points included in the area to be processed.
[0017] Optionally, it also includes: obtaining a first request message sent by a terminal for use by service personnel to request a location point retrieval for the area to be processed, the first request message carrying area information of the area to be processed; the location point retrieval for the area to be processed to determine a plurality of candidate location points contained in the area to be processed includes: performing a location point retrieval on the area to be processed in response to the first request message to determine a plurality of candidate location points contained in the area to be processed.
[0018] Optionally, determining a plurality of candidate location points included in the area to be processed includes: recalling a plurality of candidate interest points in the area to be processed; and determining a plurality of candidate location points included in the area to be processed based on the plurality of candidate interest points.
[0019] Optionally, recalling multiple candidate interest points in the area to be processed includes: recalling multiple candidate interest points 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 points contained in the area.
[0020] Optionally, the method further includes: obtaining a second request message sent by a terminal for user use to request obtaining target segmentation area information corresponding to the area to be processed; and providing the target segmentation area information to the terminal for user use based on the second request message.
[0021] Optionally, the multiple candidate location points include at least one of the following location points: a delivery starting location point included in the delivery service; a delivery ending location point included in the delivery service; a location point corresponding to a regional geographic entity.
[0022] An embodiment of the present application further provides an information processing method, which is applied to a terminal for use by service personnel, including: obtaining an inquiry message sent by a server to indicate whether to perform regional division on an area to be processed, the inquiry message carrying regional information of the area to be processed; displaying the inquiry message on a page for obtaining processing method information for the area to be processed; and in response to detecting a confirmation operation for the inquiry message, sending a confirmation message for the inquiry message to the server.
[0023] Optionally, the method further includes: sending a first request message to the server for requesting location point retrieval for the area to be processed, wherein the first request message carries area information of the area to be processed.
[0024] An embodiment of the present application also provides an information display method, which is applied to a terminal for use by users, including: displaying a to-be-processed area in a terminal application for displaying area information; sending a second request message to a server for requesting to obtain target segmented area information corresponding to the to-be-processed area; obtaining the target segmented area information corresponding to the to-be-processed area sent by the server; and displaying the target segmented area corresponding to the to-be-processed area, wherein the target segmented area is used to provide location services for users.
[0025] Optionally, it also includes: sending a third request message to the server to request the area information of the area to be processed; obtaining the area information of the area to be processed provided by the server in response to the third request message; displaying the area to be processed in the terminal application for displaying area information includes: displaying the area to be processed in the terminal application for displaying area information based on the area information of the area to be processed provided by the server in response to the third request message.
[0026] An embodiment of the present application provides an information processing device, including: a candidate position point determination unit, used to determine multiple candidate position points included in a to-be-processed area; a reference position point determination unit, used to determine, based on the geographic location information of the multiple candidate position points, the reference position points used to perform region segmentation on the to-be-processed area; an initial segmentation region determination unit, used to segment the region image of the to-be-processed area based on the reference position points and the distribution density of the multiple candidate position points in the to-be-processed area, and determine the initial segmentation region corresponding to the to-be-processed area; a boundary position point determination unit, used to determine the boundary position points of the initial segmentation region based on the position relationship information between the position points included in the initial segmentation region and the reference position points; wherein the position points included in the initial segmentation region and the boundary position points are position points among the multiple candidate position points; a target segmentation region determination unit, used to determine, based on the boundary position points and the initial segmentation region, a target segmentation region corresponding to the to-be-processed area, wherein the target segmentation region is used to provide location services for users.
[0027] An embodiment of the present application further provides an information 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 regional segmentation on an area to be processed, the inquiry message carrying regional information of the area to be processed; an inquiry message display unit, used to display the inquiry message on a page used to obtain processing method information for the area to be processed; and 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.
[0028] An embodiment of the present application also provides an information display device, which is applied to a terminal for use by users, including: a to-be-processed area display unit, which is used to display the to-be-processed area in a terminal application for displaying area information; a second request message sending unit, which is used to send a second request message to a server to request to obtain target segmented area information corresponding to the to-be-processed area; a target segmented area information obtaining unit, which is used to obtain the target segmented area information corresponding to the to-be-processed area sent by the server; and a target segmented area display unit, which is used to display the target segmented area corresponding to the to-be-processed area, and the target segmented area is used to provide location services for users.
[0029] An embodiment of the present application provides an electronic device, comprising: a processor; and a memory for storing a computer program, wherein the computer program is run by the processor to execute the above-mentioned information processing method and information display method.
[0030] An embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is executed by a processor to perform the above-mentioned information processing method and information display method.
[0031] Compared with the prior art, the embodiments of the present application have the following advantages:
[0032] The embodiment of the present application provides an information processing method. In this embodiment, the information processing method can determine the reference position points used for regional segmentation of the area to be processed based on a plurality of candidate position points contained in the predetermined area to be processed; at the same time, based on the reference position points and the distribution density of the plurality of candidate position points in the area to be processed, the regional image of the area to be processed is preliminarily segmented, and then the initial segmentation area corresponding to the area to be processed can be determined, so that the boundary position points used to close the initial segmentation area can be determined according to the position relationship information between the position points contained in the initial segmentation area and the reference position points, and finally, the target segmentation area corresponding to the area to be processed can be determined based on the boundary position points and the initial segmentation area. The information processing method provided in this embodiment can determine the initial segmentation area corresponding to the area to be processed based on the distribution density of the plurality of candidate position points in the area to be processed, and then determine the target segmentation area corresponding to the area to be processed, so that the regional segmentation method of the information processing method is more applicable, and the obtained geographic fence is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] 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.
[0034] Figure 1 A schematic diagram of the first scenario of the information processing method provided in this application.
[0035] Figure 2 A schematic diagram of the second scenario of the information processing method provided in this application.
[0036] Figure 3 A schematic diagram of the third scenario of the information processing method provided in this application.
[0037] Figure 4 This is a flowchart of the information processing method provided in the first embodiment of the present application.
[0038] Figure 5 This is a first schematic diagram of a method for determining a target sub-region to which each target candidate position point among a plurality of candidate position points belongs in the first embodiment of the present application.
[0039] Figure 6 This is a second schematic diagram of a method for determining a target sub-region to which each target candidate position point among a plurality of candidate position points belongs in the first embodiment of the present application.
[0040] Figure 7 This is a flowchart of an information processing method provided in the second embodiment of the present application.
[0041] Figure 8 A flowchart of an information display method provided in the third embodiment of the present application.
[0042] Fig. 9 A schematic diagram of an information processing device provided in the fourth embodiment of the present application.
[0043] Fig.10 A schematic diagram of an information processing device provided in the fifth embodiment of the present application.
[0044] Fig.11 A schematic diagram of an information display device provided in the sixth embodiment of the present application.
[0045] Fig.12 A schematic diagram of an electronic device provided for the seventh embodiment of the present application. DETAILED DESCRIPTION
[0046] 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.
[0047] The present application provides an information processing method, and some embodiments of the information processing method provided by the present application can be applied in the scenario of food delivery. For example, when a delivery rider is delivering food, the location of the merchant where the food is picked up can be used as the take-out point location, and the delivery address filled in by the user can be used as the take-out delivery point location. The delivery path is determined based on the take-out point location and the take-out delivery point location. Specifically, in the food delivery scenario, the delivery tasks and delivery paths of the delivery riders are managed by stations, and each order delivered by the rider has a corresponding take-out point location and a delivery point location, and the take-out point location and the delivery point location correspond to the pick-up point and the delivery point, respectively. By recording the pick-up point and delivery point of each order, the pick-up and delivery point distribution data of each rider in the site within a certain period of time can be recorded.
[0048] The comprehensive site is used to manage each site and summarize the pick-up and delivery point distribution data of the riders involved in each site, that is, the comprehensive site contains the pick-up and delivery point distribution data of all riders. Therefore, the comprehensive site can obtain the actual delivery area of the riders involved in each site, and the rider delivery area is of great significance for describing and analyzing the delivery status of the riders in each site. It also has a direct impact on adjusting the rider delivery distance and adjusting the merchant's delivery radius, thereby improving the rider's delivery fulfillment efficiency. The information processing method of the present application can identify geographic fences based on the rider's pick-up and delivery point distribution data, so as to achieve path information management if the delivery rider's trajectory leaves the delivery area or a geographic fence during the delivery process. Therefore, how to divide the delivery area to obtain a geographic fence, so as to manage the path information of the delivery rider, becomes a technical problem that needs to be solved. The information processing method provided in this application is used to solve how to divide the area to obtain a geographic fence.
[0049] To understand the information processing method provided by the present invention, please refer to Figure 1 , which is a first scenario schematic diagram of the information processing method provided in this application. Figure 1 The area to be processed in the figure is area A. According to the information processing method provided in this embodiment, area A can be divided into geographic fences A1, A2 and A3. The geographic fences A1, A2 and A3 are the target segmented areas after the area to be processed is segmented.
[0050] Specifically, when the area A is divided, the method described below is used.
[0051] First, multiple candidate location points included in the area to be processed are determined. Figure 1 The points N1, N2, N3, N4, N5, and N6 included in the image are determined. Then, according to the geographic location information of the multiple candidate location points, a reference location point for segmenting the area to be processed is determined. Specifically, after determining the multiple candidate location points, according to the geographic location information of the multiple candidate location points, a reference location point for segmenting the area to be processed is determined. For example, based on the latitude and longitude information of the multiple candidate location points, the latitude and longitude information of the center point corresponding to the multiple candidate location points can be obtained, and the center point can be used as the reference location point.
[0052] For example, assuming that the longitude and latitude information of N1, N2, N3, N4, N5, and N6 are: (lng1, lat1), (lng2, lat2), (lng3, lat3), (lng4, lat4), (lng5, lat5), (lng6, lat6), the longitude and latitude of the center point are calculated as follows:
[0053]
[0054]
[0055] In the above-mentioned representation of longitude and latitude information, the form of coordinates is adopted, such as the coordinates of the center point N0 (lng0, lat0), where lng0 represents the longitude of the center point, and lat0 represents the latitude of the center point.
[0056] Of course, the above-mentioned multiple candidate location points can be n points (n is a positive integer). In this case, the longitude and latitude of the center point are calculated as follows:
[0057]
[0058]
[0059] After determining the latitude and longitude information of the center point based on the above calculation formula, it is equivalent to determining the position of the reference position point N0. Then, based on the distribution density of the reference position point and multiple candidate position points in the area to be processed, the area image of the area to be processed is segmented to determine the initial segmented area corresponding to the area to be processed.
[0060] The following is a method of segmenting the regional image of the area to be processed and determining the initial segmented area corresponding to the area to be processed based on the distribution density of the reference position point and multiple candidate position points in the area to be processed.
[0061] First, based on the distribution density of multiple candidate position points in the area to be processed, a segmentation angle for segmenting the area to be processed is determined, and the value corresponding to the segmentation angle is a value that can be divided by three hundred and sixty.
[0062] In this embodiment, a corresponding relationship can be set between the distribution density of multiple candidate position points in the area to be processed and the above-mentioned segmentation angle. When the distribution density of multiple candidate position points in the area to be processed is small, the value of the segmentation angle can be set to a larger value. On the contrary, the value of the segmentation angle is set to a smaller value. Of course, the above-mentioned smaller or larger distribution density, and the smaller or larger value of the segmentation angle are all relative. For example, when there are 100 candidate position points in a to-be-processed area, the value of the segmentation angle can be set to 30, and when there are 10,000 candidate position points in the to-be-processed area, the value of the segmentation angle can be set to 10.
[0063] Afterwards, taking the reference position point as the starting point and the segmentation angle as the included angle, multiple rays are drawn in the regional image of the area to be processed; then, based on the multiple rays, the regional image of the area to be processed is segmented to determine the initial segmentation area corresponding to the area to be processed.
[0064] For details, please see Figure 2 , which is a schematic diagram of the second scenario of the information processing method provided in this application. Figure 2 There are three rays in the image, and the angle between the three rays is 120 degrees. The area to be processed is divided into three initial segmentation areas by the three rays. Figure 2 It can be seen that the three initial segmentation regions are not closed.
[0065] Specifically, taking the reference position point as the starting point and the segmentation angle as the included angle, multiple rays can be drawn in the regional image of the area to be processed in the following manner: first, taking the direction of the latitude as the direction of the X-axis of the coordinate system and the direction of the longitude as the direction of the Y-axis of the coordinate system, a spatial coordinate system is established in the regional image of the area to be processed. Then, taking the reference position point as the starting point and the direction of the coordinate axis as the direction of the first ray, the first ray is drawn in the regional image of the area to be processed. That is, the first ray is drawn from the positive direction of the X-axis. Then, taking the segmentation angle as the included angle between the first ray and the second ray, the direction of the second ray is determined; taking the reference position point as the starting point, the second ray is drawn in the regional image of the area to be processed according to the direction of the second ray. In a similar manner, taking the segmentation angle as the included angle between the second ray and the third ray, the direction of the third ray is determined; taking the reference position point as the starting point, the third ray is drawn in the regional image of the area to be processed according to the direction of the third ray; wherein the first ray, the second ray and the third ray are rays distributed in the clockwise direction or in the counterclockwise direction in sequence.
[0066] New rays are derived in the above-described manner until the new rays derived in the region image of the area to be processed coincide with the rays already derived, and then rays are stopped from being derived in the region image of the area to be processed. If 120 degrees is used as the segmentation angle, the fourth ray coincides with the first ray. Therefore, Figure 2 There are three rays in .
[0067] Due to the Figure 2 It can be seen that the three initial segmented regions are not closed, and the initial segmented regions need to be closed. Specifically, the initial segmented regions can be closed in the following manner.
[0068] First, the boundary position points of the initial segmented region are determined according to the position relationship information between the position points contained in the initial segmented region and the reference position points; wherein the position points contained in the initial segmented region and the boundary position points are position points among the plurality of candidate position points.
[0069] Afterwards, based on the boundary position points and the initial segmented area, a target segmented area corresponding to the area to be processed is determined.
[0070] When determining the boundary position points of the initial segmentation area based on the positional relationship information between the position points contained in the initial segmentation area and the reference position points, it is also possible to determine the target sub-area to which each target candidate position point among the multiple candidate position points belongs based on the multiple candidate position points and the initial segmentation area, where the target sub-area is a sub-area among the multiple sub-areas included in the initial segmentation area; for each target sub-area in the multiple sub-areas, determine the boundary position points of each target sub-area based on the positional relationship information between the position points contained in the target sub-area and the reference position points.
[0071] For example, by Figure 2 It can be seen that the first initial segmentation area includes candidate position points N1 and N2, the second initial segmentation area includes candidate position points N3 and N4, and the third initial segmentation area includes candidate position points N3 and N4. That is, candidate position point N1 belongs to the first initial segmentation area, and candidate position point N2 also belongs to the first initial segmentation area; candidate position point N3 belongs to the second initial segmentation area, and candidate position point N4 also belongs to the second initial segmentation area; candidate position point N5 belongs to the third initial segmentation area, and candidate position point N6 also belongs to the third initial segmentation area.
[0072] For the first initial segmentation area, based on the positional relationship information between the position points N1 and N2 contained in the first initial segmentation area and the reference position point N0, determine whether the boundary position point of the first initial segmentation area is N1 or N2, or determine whether N1 and N2 are both boundary position points of the first initial segmentation area. Specifically, the spherical distances between N1, N2 and N0 can be obtained respectively, and the position point with the largest spherical distance is confirmed as the boundary position point of the first initial segmentation area. Through calculation, assuming that the spherical distance between N1 and N0 is larger than the spherical distance between N2 and N0, N1 is confirmed as the boundary position point of the first initial segmentation area. In a similar manner, the boundary position points of the second initial segmentation area and the boundary position points of the third initial segmentation area can be confirmed. Assume that N3 is the boundary position point of the second initial segmentation area, and N5 and N6 are the boundary position points of the third initial segmentation area. Then the target segmentation areas A1, A2 and A3 of the area A to be processed are finally obtained as shown below. Figure 1 The area shown.
[0073] It should be noted that determining the target segmentation area corresponding to the area to be processed based on the boundary position points and the initial segmentation area may mean: for each target sub-area in multiple sub-areas, taking the area where the boundary position points of the target sub-area are located as the boundary area of the target sub-area, and determining a closed area composed of the boundary area of the target sub-area and the target sub-area; and confirming the closed area composed of the boundary area of the target sub-area and the target sub-area as the target segmentation area corresponding to the area to be processed.
[0074] For example, for the first initial segmentation area, the area where N1 is located is used as the boundary area of the first initial segmentation area, and a closed area composed of the boundary area of the first initial segmentation area and the first initial segmentation area is determined; the closed area composed of the boundary area of the first initial segmentation area and the first initial segmentation area is confirmed as a target segmentation area corresponding to the area to be processed. Based on a similar method, the closed area composed of the boundary area of the second initial segmentation area and the second initial segmentation area is confirmed as another target segmentation area corresponding to the area to be processed, and the closed area composed of the boundary area of the third initial segmentation area and the third initial segmentation area is confirmed as another target segmentation area corresponding to the area to be processed.
[0075] The execution subject of the information processing method of the present application may be a server, which may interact with a terminal used by service personnel and a terminal used by users to execute the information processing method of the present application. Figure 3 , which is a schematic diagram of the third scenario of the information processing method provided by this application.
[0076] First, the terminal for user use sends a second request message to the server for requesting to obtain the target segmentation area information corresponding to the area to be processed. The server obtains the second request message and, based on the second request message, sends an inquiry message to the terminal for service personnel to indicate whether to perform area segmentation on the area to be processed. Based on detecting the confirmation operation for the inquiry message sent by the terminal for service personnel, the server performs a location point search on the area to be processed to determine multiple candidate location points contained in the area to be processed.
[0077] Afterwards, based on the geographic location information of multiple candidate location points, the reference location points used for regional segmentation of the area to be processed are determined; based on the distribution density of the reference location points and the multiple candidate location points in the area to be processed, the regional image of the area to be processed is segmented, and the initial segmentation area corresponding to the area to be processed is determined; then, based on the positional relationship information between the location points contained in the initial segmentation area and the reference location points, the boundary location points of the initial segmentation area are determined; finally, based on the boundary location points and the initial segmentation area, the target segmentation area corresponding to the area to be processed is determined.
[0078] After determining the target segmentation area corresponding to the area to be processed, the server can provide the target segmentation area information to the terminal for use by the user according to the second request message sent by the terminal for use by the user for requesting to obtain the target segmentation area information corresponding to the area to be processed, so that the terminal for use by the user can display the target segmentation area corresponding to the area to be processed based on the target segmentation area information. Of course, the information interaction method described above between the server, the terminal for use by the user, and the terminal for use by the service personnel is only an example, and the order of information interaction can be adjusted according to the needs.
[0079] The above-mentioned Figures 1 to 3 That is, it is a diagram of an application scenario of the information processing method of the present application. The application scenario of the information processing method is not specifically limited in the embodiments of the present application. The application scenario of the above-mentioned information processing method is only an embodiment of the application scenario of the information processing method provided by the present application. The purpose of providing the application scenario embodiment is to facilitate the understanding of the information processing method provided by the present application, and is not used to limit the information processing method provided by the present application. Other application scenarios of the information processing method in the embodiments of the present application are not described one by one.
[0080] First embodiment
[0081] The first embodiment of the present application provides an information processing method, as follows: Figure 4 Provide explanation.
[0082] Please refer to Figure 4 , which is a flow chart of the information processing method provided in the first embodiment of the present application. It should be noted that some details of this embodiment have been described in the above scenario embodiments and will not be repeated here.
[0083] The information processing method of the embodiment of the present application includes the following steps:
[0084] Step S401: determining a plurality of candidate location points contained in the area to be processed.
[0085] The executor of the information processing method in this embodiment is the server. Before the server determines the multiple candidate location points included in the area to be processed, it can send an inquiry message to a terminal for use by service personnel to indicate whether to divide the area to be processed, and the inquiry message carries the area information of the area to be processed.
[0086] As a method for determining multiple candidate location points included in the area to be processed: in response to detecting a confirmation operation for an inquiry message sent by a terminal for use by a service personnel, a location point search is performed on the area to be processed to determine multiple candidate location points included in the area to be processed.
[0087] In addition, in this embodiment, it also includes: obtaining a first request message sent by a terminal for use by a service personnel to request location point retrieval for the area to be processed, wherein the first request message carries area information of the area to be processed.
[0088] A method of performing location point search on the area to be processed and determining multiple candidate location points included in the area to be processed may include: performing location point search on the area to be processed and determining multiple candidate location points included in the area to be processed in response to the first request message.
[0089] In this embodiment, as another implementation method for determining multiple candidate location points included in the area to be processed, it can also refer to: first, recall multiple candidate interest points in the area to be processed; then, based on the multiple candidate interest points, determine multiple candidate location points included in the area to be processed. For example, you can search for location points in the recalled candidate interest points, and then determine multiple candidate location points included in the area to be processed.
[0090] Specifically, recalling multiple candidate interest points 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 points included in the area, recalling multiple candidate interest points in the area to be processed. For example, multiple candidate interest points in the area to be processed may be recalled based on a pre-stored database of correspondence between area identification information and the interest points included in the area.
[0091] Step S402: Determine reference points for segmenting the area to be processed based on the geographical location information of the plurality of candidate points.
[0092] In this embodiment, in order to facilitate the determination of the reference position point, the reference position point used for regional segmentation of the area to be processed is determined based on the geographical location information of multiple candidate position points, which may refer to: obtaining the geographical location information of the center point corresponding to the multiple candidate position points based on the geographical location information of the multiple candidate position points; and determining the reference position point for regional segmentation of the area to be processed based on the geographical location information of the center point.
[0093] Specifically, the geographic location information includes longitude and latitude information; as an implementation method of obtaining the geographic location information of the center point corresponding to multiple candidate location points based on the geographic location information of multiple candidate location points, it may refer to: obtaining the geographic location information of the center point corresponding to multiple candidate location points based on the longitude and latitude information of multiple candidate location points.
[0094] More specifically, based on the latitude and longitude information of multiple candidate location points, the geographic location information of the center point corresponding to the multiple candidate location points is obtained, including: based on the latitude and longitude information of the multiple candidate location points, the coordinate information of the multiple candidate location points is obtained; based on the coordinate information of the multiple candidate location points, the coordinate information of the center point corresponding to the multiple candidate location points is obtained; based on the coordinate information of the center point corresponding to the multiple candidate location points, the geographic location information of the center point corresponding to the multiple candidate location points is obtained.
[0095] As an implementation method of obtaining coordinate information of multiple candidate location points based on longitude and latitude information of multiple candidate location points, it may refer to: first, for each target candidate location point among the multiple candidate location points, the longitude value of the target candidate location point is used as the value of the horizontal coordinate of the target candidate location point, and the latitude value of the target candidate location point is used as the value of the vertical coordinate of the target candidate location point to obtain the coordinate information of the target candidate location point; then, based on the coordinate information of each target candidate location point among the multiple candidate location points, the coordinate information of multiple candidate location points is obtained.
[0096] Specifically, obtaining the coordinate information of the center point corresponding to the multiple candidate position points according to the coordinate information of the multiple candidate position points may refer to: averaging the values of the horizontal coordinates in the coordinate information of the multiple candidate position points, and averaging the values of the vertical coordinates in the coordinate information of the multiple candidate position points to obtain the coordinate information of the center point corresponding to the multiple candidate position points. Based on the above averaging operation, the reference position points determined for segmenting the area to be processed are more accurate.
[0097] Step S403: based on the distribution density of the reference position point and the plurality of candidate position points in the area to be processed, segment the area image of the area to be processed, and determine an initial segmented area corresponding to the area to be processed.
[0098] Specifically, based on the distribution density of the reference position point and multiple candidate position points in the area to be processed, the regional image of the area to be processed is segmented, and the initial segmentation area corresponding to the area to be processed is determined in the following manner: first, based on the distribution density of the multiple candidate position points in the area to be processed, the segmentation angle used for regional segmentation of the area to be processed is determined, and the numerical value corresponding to the segmentation angle is a numerical value that can be divided by three hundred and sixty; then, with the reference position point as the starting point and the segmentation angle as the included angle, multiple rays are drawn in the regional image of the area to be processed; then, based on the multiple rays, the regional image of the area to be processed is segmented, and the initial segmentation area corresponding to the area to be processed is determined.
[0099] Specifically, taking the reference position point as the starting point and the segmentation angle as the included angle, leading out multiple rays in the regional image of the area to be processed may mean: first, taking the direction of the latitude as the direction of the X-axis of the coordinate system and the direction of the longitude as the direction of the Y-axis of the coordinate system, a spatial coordinate system is established in the regional image of the area to be processed; then, taking the reference position point as the starting point and the direction of the coordinate axis as the direction of the first ray, leading out the first ray in the regional image of the area to be processed; then, taking the segmentation angle as the included angle between the first ray and the second ray, determining the direction of the second ray; taking the reference position point as the starting point, according to the direction of the second ray, A second ray is derived from the regional image of the area to be processed; in a manner similar to the above, the direction of the third ray is determined using the segmentation angle as the angle between the second ray and the third ray; taking the reference position point as the starting point, the third ray is derived in the regional image of the area to be processed according to the direction of the third ray; wherein the first ray, the second ray and the third ray are rays distributed in a clockwise direction or in a counterclockwise direction in sequence; thereafter, new rays are derived in accordance with the above ray-deriving method until the new ray derived in the regional image of the area to be processed coincides with the ray already derived, and then rays are stopped from being derived in the regional image of the area to be processed.
[0100] Step S404: Determine the boundary position points of the initial segmented region according to the position relationship information between the position points included in the initial segmented region and the reference position points.
[0101] In this embodiment, the position points and the boundary position points included in the initial segmented area are position points among the plurality of candidate position points.
[0102] Before determining the boundary position points of the initial segmentation area, in order to facilitate the determination of the boundary position points of the initial segmentation area, the target sub-area to which each target candidate position point among the multiple candidate position points belongs can also be determined based on the multiple candidate position points and the initial segmentation area, and the target sub-area is a sub-area among the multiple sub-areas contained in the initial segmentation area.
[0103] When determining the target sub-region to which each target candidate position point among multiple candidate position points belongs, the following method may be used.
[0104] Please refer to Figure 5 and Figure 6 , which are respectively a first schematic diagram and a second schematic diagram of a method for determining a target sub-region to which each target candidate position point among a plurality of candidate position points belongs in the first embodiment.
[0105] Please refer to Figure 5, L1 is the straight line where the ray with a rotation angle of α is located, and L2 is the straight line where the ray with a rotation angle of β is located; where 0≤α<90-step, and α=step*n (n is zero or a positive integer); 0≤β<90, and β=α+step; step is the segmentation angle. It should be noted that when the area to be processed is small, the spatial coordinate system can be approximated as a plane coordinate system for processing.
[0106] Assume that there is a point on line L1 with coordinates: (lng, lat), the formula for solving line L1 is as follows:
[0107]
[0108] The conversion form can be obtained:
[0109] lat=lat0+lng*tanα-lng0*tanα
[0110] Similarly, the formula for straight line L2 can be obtained:
[0111] lat=lat0+lng*tanβ-lng0*tanβ
[0112] For points in different quadrants, the methods for determining the area between the two lines L1 and L2 are different, that is, the methods for determining the target sub-area to which each target candidate position point among multiple candidate position points belongs are different: Assume that the target candidate position point (lng n ,lat n ) is in the first quadrant, the judgment condition is: L1≤(lng n ,lat n )<L2, that is: lat0+lng n *tanα-lng0*tanα≤lat n <lat0+lng n *tanβ-lng0*tanβ; Assuming the target candidate position point (lng n ,lat n ) is in the third quadrant, the judgment condition is: L2≤(lng n ,lat n )<L1, that is: lat0+lng n *tanβ-lng0*tanβ≤lat n <lat0+lng n *tanα-lng0*tanα.
[0113] The above description is about the case where the straight lines L1 and L2 pass through the first and third quadrants. The following description is about the case where the straight lines L1 and L2 pass through the second and fourth quadrants.
[0114] For details, please refer to Figure 6 , L1 is the straight line where the ray with a rotation angle of α is located, and L2 is the straight line where the ray with a rotation angle of β is located; among them, 90≤α<180-step, and α=step*n (n is zero or a positive integer); 90≤β<180, and β=α+step; step is the segmentation angle.
[0115] Similarly, assuming that there is a point on line L1 with coordinates: (lng, lat), the formula for solving line L1 is as follows:
[0116]
[0117] The conversion form can be obtained:
[0118] lat=lat0-lng*tan(180-α)+lng0*tan(180-α)
[0119] Similarly, the formula for straight line L2 can be obtained:
[0120] lat=lat0-lng*tan(180-β)+lng0*tan(180-β)
[0121] For points in different quadrants, the methods for determining the area between the two lines L1 and L2 are also different, that is, the methods for determining the target sub-area to which each target candidate position point among multiple candidate position points belongs are also different: Assume that the target candidate position point (lng n ,lat n ) is in the second quadrant, the judgment condition is: L2≤(lng n ,lat n )<L1, that is: lat0-lng*tan(180-β)+lng0*tan(180-β)≤lat n <lat0-lng*tan(180-α)+lng0*tan(180-α); Assuming the target candidate position point (lng n ,lat n ) in the fourth quadrant, the judgment condition is: L1≤(lng n ,lat n )<L2, that is: lat0-lng*tan(180-α)+lng0*tan(180-α)≤lat n <lat0-lng*tan(180-β)+lng0*tan(180-β).
[0122] The straight lines L1L2 can be used as the boundary of any target sub-region, thereby facilitating determination of the target sub-region to which the target candidate position point belongs.
[0123] After determining the target sub-region to which each target candidate position point among multiple candidate position points belongs, determining the boundary position points of the initial segmentation region based on the positional relationship information between the position points contained in the initial segmentation region and the reference position points, specifically refers to: for each target sub-region in multiple sub-regions, determining the boundary position points of each target sub-region based on the positional relationship information between the position points contained in the target sub-region and the reference position points.
[0124] More specifically, for each target sub-region in the plurality of sub-regions, determining the boundary position point of each target sub-region according to the position relationship information between the position point included in the target sub-region and the reference position point may mean: for each target sub-region in the plurality of sub-regions, obtaining the spherical distance between the position point included in the target sub-region and the reference position point, and confirming the position point in the target sub-region with the largest spherical distance from the reference position point as the boundary position point of the target sub-region. By calculating the above spherical distance, it is convenient to accurately determine the boundary position point of the target sub-region.
[0125] As an implementation method for determining a target segmentation area corresponding to the area to be processed based on the boundary position points and the initial segmentation area: first, for each target sub-area in a plurality of sub-areas, the area where the boundary position points of the target sub-area are located is used as the boundary area of the target sub-area, and a closed area consisting of the boundary area of the target sub-area and the target sub-area is determined; then, the closed area consisting of the boundary area of the target sub-area and the target sub-area is confirmed as the target segmentation area corresponding to the area to be processed.
[0126] Step S405: Based on the boundary position points and the initial segmented area, a target segmented area corresponding to the area to be processed is determined, and the target segmented area is used to provide location services for the user.
[0127] In this embodiment, the method further includes: obtaining a second request message sent by a terminal for use by a user to request obtaining target segmented region information corresponding to the area to be processed; and providing the target segmented region information to the terminal for use by the user based on the second request message.
[0128] In this embodiment, the multiple candidate locations include at least one of the following locations: a delivery start location included in the delivery service; a delivery end location included in the delivery service; and a location corresponding to a regional geographic entity. For example, the address of a merchant providing takeout can be used as the start location, and the address where the user receives the takeout can be used as the end location. The regional geographic entity can refer to a shopping mall, a supermarket, a school, etc.
[0129] The information processing method of this embodiment can determine the reference position point based on multiple candidate position points; at the same time, based on the distribution density of the reference position point and multiple candidate position points in the area to be processed, the regional image of the area to be processed is preliminarily segmented, and then the initial segmentation area can be determined. Specifically, when determining the initial segmentation area, a method of drawing out rays with the candidate position point as the center is adopted, and the boundary of the initial segmentation area can be preliminarily determined. At the same time, after the initial segmentation area is determined, the boundary position point can be determined based on the position relationship information between the position point contained in the initial segmentation area and the reference position point. Finally, the target segmentation area can be determined based on the boundary position point and the initial segmentation area. The information processing method provided by this embodiment can determine the initial segmentation area based on the distribution density of multiple candidate position points in the area to be processed, and then determine the target segmentation area, so that the regional segmentation method of the information processing method is more applicable, and the obtained geographic fence is more accurate.
[0130] Second embodiment
[0131] Corresponding to the first embodiment, the second embodiment of the present application provides another information processing method. 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.
[0132] Please refer to Figure 7 , which is a flowchart of the information processing method provided in the second embodiment of the present application.
[0133] The information processing method of the embodiment of the present application includes the following steps:
[0134] Step S701: obtaining a query message sent by the server to indicate whether to perform region segmentation on the region to be processed, wherein the query message carries region information of the region to be processed.
[0135] Step S702: Displaying an inquiry message on a page for obtaining information on a processing method for the area to be processed.
[0136] Step S703: In response to detecting a confirmation operation for the inquiry message, a confirmation message for the inquiry message is sent to the server.
[0137] In this embodiment, the method further includes: sending a first request message for requesting location point retrieval for the area to be processed to the server, wherein the first request message carries area information of the area to be processed.
[0138] The information processing method of this embodiment can send a confirmation message of the inquiry message indicating whether to perform regional segmentation on the area to be processed to the server, and send a first request message for requesting location point retrieval for the area to be processed, so that the server can determine multiple candidate location points and the reference location point based on the first request message; at the same time, based on the distribution density of the reference location point and multiple candidate location points in the area to be processed, the regional image of the area to be processed is preliminarily segmented, and then the initial segmentation area can be determined, so that the boundary location points can be determined according to the positional relationship information between the location points contained in the initial segmentation area and the reference location points, and finally, the target segmentation area can be determined based on the boundary location points and the initial segmentation area. This makes the regional segmentation method more applicable, and the obtained geographic fence is more accurate.
[0139] Third embodiment
[0140] Corresponding to the first embodiment, the third embodiment of the present application provides an information display method. The execution subject of this embodiment is a terminal for use by a user, and the same parts of the third embodiment as the first embodiment are not introduced again. For details, please refer to the relevant parts of the first embodiment.
[0141] Please refer to Figure 8 , which is a flowchart of the information display method provided in the third embodiment of the present application.
[0142] The information display method of the embodiment of the present application includes the following steps:
[0143] Step S801: Displaying the area to be processed in a terminal application for displaying area information.
[0144] Step S802: Sending a second request message to the server for requesting to obtain target segmented region information corresponding to the region to be processed.
[0145] Step S803: Obtain target segmentation area information corresponding to the area to be processed sent by the server.
[0146] Step S804: displaying a target segmented area corresponding to the area to be processed, where the target segmented area is used to provide location services for the user.
[0147] In this embodiment, it also includes: sending a third request message to the server to request obtaining regional information of the area to be processed; obtaining the regional information of the area to be processed provided by the server in response to the third request message; and displaying the area to be processed in a terminal application for displaying regional information, including: displaying the area to be processed in a terminal application for displaying regional information based on the regional information of the area to be processed provided by the server in response to the third request message.
[0148] The information display method of this embodiment obtains the target segmentation area information of the area to be processed provided by the server, and displays the target segmentation area corresponding to the area to be processed based on the target segmentation area information of the area to be processed, so that the geographic fence represented by the target segmentation area displayed by this method is more accurate.
[0149] Fourth embodiment
[0150] Corresponding to the information processing method provided in the first embodiment of the present application, the fourth embodiment of the present application also provides an information 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.
[0151] Please refer to Fig. 9 , which is a schematic diagram of an information processing device provided in the fourth embodiment of the present application.
[0152] The information processing device includes: a candidate position point determination unit 901, which is used to determine a plurality of candidate position points included in a to-be-processed area; a reference position point determination unit 902, which is used to determine a reference position point for performing regional segmentation on the to-be-processed area based on geographical location information of the plurality of candidate position points; an initial segmentation area determination unit 903, which is used to segment the regional image of the to-be-processed area based on the distribution density of the reference position point and the plurality of candidate position points in the to-be-processed area, and determine the initial segmentation area corresponding to the to-be-processed area; a boundary position point determination unit 904, which is used to determine the boundary position point of the initial segmentation area based on the position relationship information between the position point included in the initial segmentation area and the reference position point; wherein the position point included in the initial segmentation area and the boundary position point are position points among the plurality of candidate position points; and a target segmentation area determination unit 905, which is used to determine a target segmentation area corresponding to the to-be-processed area based on the boundary position point and the initial segmentation area, and the target segmentation area is used to provide location services for users.
[0153] Optionally, the reference position point determination unit is specifically used to: obtain the geographical location information of the center point corresponding to the multiple candidate position points based on the geographical location information of the multiple candidate position points; and determine the reference position point for performing area segmentation on the area to be processed based on the geographical location information of the center point.
[0154] Optionally, the geographic location information includes longitude and latitude information; the reference location point determination unit is specifically used to obtain the geographic location information of the center point corresponding to the multiple candidate location points based on the longitude and latitude information of the multiple candidate location points.
[0155] Optionally, the reference position point determination unit is specifically used to: obtain coordinate information of the multiple candidate position points based on the latitude and longitude information of the multiple candidate position points; obtain coordinate information of center points corresponding to the multiple candidate position points based on the coordinate information of the multiple candidate position points; obtain geographic location information of the center points corresponding to the multiple candidate position points based on the coordinate information of the center points corresponding to the multiple candidate position points.
[0156] Optionally, the reference position point determination unit is specifically used to: for each target candidate position point among the multiple candidate position points, use the longitude value of the target candidate position point as the value of the horizontal coordinate of the target candidate position point, and use the latitude value of the target candidate position point as the value of the vertical coordinate of the target candidate position point to obtain the coordinate information of the target candidate position point; based on the coordinate information of each target candidate position point among the multiple candidate position points, obtain the coordinate information of the multiple candidate position points.
[0157] Optionally, the reference position point determination unit is specifically used to: average the values of the horizontal coordinates in the coordinate information of the multiple candidate position points, and average the values of the vertical coordinates in the coordinate information of the multiple candidate position points, to obtain the coordinate information of the center points corresponding to the multiple candidate position points.
[0158] Optionally, the initial segmentation area determination unit is specifically used to: determine a segmentation angle for performing regional segmentation on the area to be processed based on the distribution density of the multiple candidate position points in the area to be processed, the numerical value corresponding to the segmentation angle being a numerical value that can be divided by three hundred and sixty; use the reference position point as the starting point and the segmentation angle as the included angle to draw a plurality of rays in the regional image of the area to be processed; based on the plurality of rays, segment the regional image of the area to be processed, and determine the initial segmentation area corresponding to the area to be processed.
[0159] Optionally, the initial segmentation area determination unit is specifically used to: establish a spatial coordinate system in the area image of the area to be processed with the direction of the latitude as the direction of the X-axis of the coordinate system and the direction of the longitude as the direction of the Y-axis of the coordinate system; draw out a first ray in the area image of the area to be processed with the reference position point as the starting point and the direction of the coordinate axis as the direction of the first ray; determine the direction of the second ray with the segmentation angle as the angle between the first ray and the second ray; draw out a second ray in the area image of the area to be processed with the reference position point as the starting point according to the direction of the second ray; determine the direction of the third ray with the segmentation angle as the angle between the second ray and the third ray; draw out a third ray in the area image of the area to be processed with the reference position point as the starting point according to the direction of the third ray; wherein the first ray, the second ray and the third ray are rays distributed in a clockwise direction or in a counterclockwise direction in sequence; draw out new rays in the above ray-drawing manner until the new ray drawn out in the area image of the area to be processed coincides with the ray already drawn out, and then stop drawing out rays in the area image of the area to be processed.
[0160] Optionally, it also includes: a target sub-region determination unit, which is specifically used to determine the target sub-region to which each target candidate position point among the multiple candidate position points belongs based on the multiple candidate position points and the initial segmentation area, and the target sub-region is a sub-region among the multiple sub-regions included in the initial segmentation area; the boundary position point determination unit, which is specifically used to: for each target sub-region among the multiple sub-regions, determine the boundary position point of each target sub-region according to the position relationship information between the position point included in the target sub-region and the reference position point.
[0161] Optionally, the boundary position point determination unit is specifically used to: for each target sub-region among the multiple sub-regions, obtain the spherical distance between the position point contained in the target sub-region and the reference position point, and confirm the position point in the target sub-region with the largest spherical distance from the reference position point as the boundary position point of the target sub-region.
[0162] Optionally, the target segmentation area determination unit is specifically used to: for each target sub-region among the multiple sub-regions, take the area where the boundary position point of the target sub-region is located as the boundary area of the target sub-region, and determine a closed area composed of the boundary area of the target sub-region and the target sub-region; confirm the closed area composed of the boundary area of the target sub-region and the target sub-region as the target segmentation area corresponding to the area to be processed.
[0163] 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 regional segmentation on the area to be processed, wherein the inquiry message carries regional information of the area to be processed; the candidate location point determination unit, specifically used to: in response to detecting a confirmation operation for the inquiry message sent by the terminal for use by the service personnel, perform location point retrieval on the area to be processed, and determine multiple candidate location points contained in the area to be processed.
[0164] 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 a location point retrieval for the area to be processed, the first request message carrying area information of the area to be processed; the candidate location point determination unit, specifically used to: perform a location point search for the area to be processed in response to the first request message, and determine multiple candidate location points contained in the area to be processed.
[0165] Optionally, the candidate location point determination unit is specifically used to: recall multiple candidate interest points in the area to be processed; and determine multiple candidate location points included in the area to be processed based on the multiple candidate interest points.
[0166] The candidate position point determination unit is specifically configured to recall a plurality of candidate interest points in the area to be processed based on the identification information of the area to be processed and the pre-established correspondence between the area identification information and the interest points contained in the area.
[0167] Optionally, it also includes: a target segmentation area information providing unit, which is used to obtain a second request message sent by a terminal for user use to request to obtain target segmentation area information corresponding to the area to be processed; based on the second request message, the target segmentation area information is provided to the terminal for user use.
[0168] Optionally, the multiple candidate location points include at least one of the following location points: a delivery starting location point included in the delivery service; a delivery ending location point included in the delivery service; a location point corresponding to a regional geographic entity.
[0169] Fifth embodiment
[0170] Corresponding to the information processing method provided in the second embodiment of the present application, the fifth embodiment of the present application also provides an information 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.
[0171] Please refer to Fig.10, which is a schematic diagram of an information processing device provided in the fifth embodiment of the present application.
[0172] The information processing device includes: an inquiry message obtaining unit 1001, which is used to obtain an inquiry message sent by a server to indicate whether to perform regional segmentation on a to-be-processed area, wherein the inquiry message carries regional information of the to-be-processed area; an inquiry message display unit 1002, which is used to display the inquiry message on a page used to obtain processing method information for the to-be-processed area; and a confirmation message sending unit 1003, 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.
[0173] Optionally, it also includes: a first request message sending unit, used to send a first request message for requesting location point retrieval for the area to be processed to the server, wherein the first request message carries area information of the area to be processed.
[0174] Sixth embodiment
[0175] Corresponding to the information display method provided in the third embodiment of the present application, the sixth embodiment of the present application also provides an information display 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.
[0176] Please refer to Fig.11 , which is a schematic diagram of the information display device provided in the sixth embodiment of the present application.
[0177] The information display device includes: a to-be-processed area display unit 1101, which is used to display the to-be-processed area in a terminal application used to display area information; a second request message sending unit 1102, which is used to send a second request message to a server for requesting to obtain target segmented area information corresponding to the to-be-processed area; a target segmented area information obtaining unit 1103, which is used to obtain the target segmented area information corresponding to the to-be-processed area sent by the server; and a target segmented area display unit 1104, which is used to display the target segmented area corresponding to the to-be-processed area, wherein the target segmented area is used to provide location services for users.
[0178] Optionally, it also includes: a regional information obtaining unit, used to send a third request message to the server for requesting regional information of the area to be processed; obtaining the regional information of the area to be processed provided by the server in response to the third request message; the area to be processed display unit, specifically used to: display the area to be processed in a terminal application used to display regional information based on the area information of the area to be processed provided by the server in response to the third request message.
[0179] Seventh embodiment
[0180] Corresponding to the methods of the first to third embodiments of the present application, the seventh embodiment of the present application further provides an electronic device.
[0181] like Fig.12 As shown, Fig.12 This is a schematic diagram of an electronic device provided in the seventh embodiment of the present application. The electronic device includes: a processor 1201; a memory 1202 for storing a computer program, the computer program is run by the processor to execute the methods of the first to third embodiments.
[0182] Eighth embodiment
[0183] Corresponding to the methods of the first to third embodiments of the present application, the eighth 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 third embodiments.
[0184] 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.
[0185] 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.
[0186] 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.
[0187] 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. An information processing method, characterized in that: include: Determine a plurality of candidate location points contained in the area to be processed; Determining, according to the geographical location information of the plurality of candidate location points, a reference location point for segmenting the area to be processed; The reference position point is the central position point of the multiple candidate position points; Based on the distribution density of the reference position point and the plurality of candidate position points in the area to be processed, segmenting the area image of the area to be processed to determine the initial segmented area corresponding to the area to be processed, including: determining a segmentation angle based on the distribution density; drawing a plurality of rays with the reference position point as a starting point and the segmentation angle as an included angle; segmenting the area image based on the plurality of rays to determine the initial segmented area; Determining the boundary position points of the initial segmented area according to the position relationship information between the position points included in the initial segmented area and the reference position points, including: determining the target sub-area to which each candidate position point belongs based on the initial segmented area; for each target sub-area, confirming the position point in the target sub-area with the largest spherical distance from the reference position point as the boundary position point; wherein the position points included in the initial segmented area and the boundary position points are position points among the multiple candidate position points; Based on the boundary position point and the initial segmented area, a target segmented area corresponding to the area to be processed is determined, and the target segmented area is used to provide location services for the user.
2. The method according to claim 1, characterized in that The step of determining a reference position point for segmenting the area to be processed according to the geographical location information of the plurality of candidate position points includes: According to the geographical location information of the multiple candidate location points, obtaining the geographical location information of the center point corresponding to the multiple candidate location points; According to the geographical location information of the central point, a reference position point for segmenting the area to be processed is determined.
3. The method according to claim 2, characterized in that The geographical location information includes longitude and latitude information; The obtaining the geographical location information of the center point corresponding to the multiple candidate location points according to the geographical location information of the multiple candidate location points includes: obtaining the geographical location information of the center point corresponding to the multiple candidate location points according to the latitude and longitude information of the multiple candidate location points.
4. The method according to claim 3, characterized in that The step of obtaining geographical location information of a center point corresponding to the plurality of candidate location points according to the latitude and longitude information of the plurality of candidate location points includes: Obtaining coordinate information of the plurality of candidate location points according to the latitude and longitude information of the plurality of candidate location points; According to the coordinate information of the multiple candidate position points, the coordinate information of the center points corresponding to the multiple candidate position points is obtained; The geographical location information of the center point corresponding to the multiple candidate location points is obtained according to the coordinate information of the center point corresponding to the multiple candidate location points.
5. The method according to claim 4, characterized in that The step of obtaining coordinate information of the plurality of candidate location points according to the latitude and longitude information of the plurality of candidate location points comprises: For each target candidate location point among the multiple candidate location points, the longitude value of the target candidate location point is used as the value of the horizontal coordinate of the target candidate location point, and the latitude value of the target candidate location point is used as the value of the vertical coordinate of the target candidate location point to obtain the coordinate information of the target candidate location point; Based on the coordinate information of each target candidate position point among the multiple candidate position points, the coordinate information of the multiple candidate position points is obtained.
6. The method according to claim 5, characterized in that The obtaining, according to the coordinate information of the plurality of candidate position points, the coordinate information of the center points corresponding to the plurality of candidate position points comprises: The values of the horizontal coordinates in the coordinate information of the multiple candidate position points are averaged, and the values of the vertical coordinates in the coordinate information of the multiple candidate position points are averaged to obtain the coordinate information of the center point corresponding to the multiple candidate position points.
7. The method according to claim 1, characterized in that The numerical value corresponding to the segmentation angle is a numerical value that is divisible by three hundred and sixty; the target sub-region is a sub-region among the multiple sub-regions included in the initial segmentation region.
8. The method according to claim 1, characterized in that The method of drawing out a plurality of rays with the reference position point as a starting point and the segmentation angle as an included angle comprises: Establishing a spatial coordinate system in the regional image of the area to be processed by taking the direction of the latitude line as the direction of the X-axis of the coordinate system and taking the direction of the longitude line as the direction of the Y-axis of the coordinate system; Taking the reference position point as a starting point and the direction of the coordinate axis as a direction of the first ray, a first ray is drawn in the regional image of the area to be processed; Taking the segmentation angle as the angle between the first ray and the second ray, determining the direction of the second ray; taking the reference position point as the starting point, and drawing the second ray in the regional image of the area to be processed according to the direction of the second ray; Taking the segmentation angle as the angle between the second ray and the third ray, determining the direction of the third ray; taking the reference position point as the starting point, eliciting the third ray in the regional image of the area to be processed according to the direction of the third ray; wherein the first ray, the second ray and the third ray are rays distributed in a clockwise direction or in a counterclockwise direction in sequence; New rays are derived in the above-mentioned manner of deriving rays until the new rays derived in the regional image of the area to be processed coincide with the rays already derived, and then rays are stopped from being derived in the regional image of the area to be processed.
9. The method according to claim 1, characterized in that: The step of determining a target segmentation region corresponding to the area to be processed based on the boundary position point and the initial segmentation region includes: For each target sub-region among the multiple sub-regions, taking the region where the boundary position point of the target sub-region is located as the boundary region of the target sub-region, and determining a closed region consisting of the boundary region of the target sub-region and the target sub-region; A closed area consisting of a boundary area of the target sub-area and the target sub-area is confirmed as a target segmented area corresponding to the area to be processed.
10. The method according to claim 1, characterized in that Also includes: Sending a query message for indicating whether to perform region segmentation on the area to be processed to a terminal for use by a service personnel, wherein the query message carries region information of the area to be processed; The step of determining a plurality of candidate location points contained in the area to be processed includes: In response to detecting a confirmation operation for the inquiry message sent by the terminal for use by the service personnel, a location point search is performed on the area to be processed to determine a plurality of candidate location points included in the area to be processed.
11. The method according to claim 10, characterized in that Also includes: Obtaining a first request message sent by a terminal for use by a service personnel to request location point retrieval for the area to be processed, wherein the first request message carries area information of the area to be processed; The step of searching for position points in the area to be processed to determine a plurality of candidate position points contained in the area to be processed includes: In response to the first request message, a location point search is performed on the area to be processed to determine a plurality of candidate location points included in the area to be processed.
12. The method according to claim 1, characterized in that The step of determining a plurality of candidate location points contained in the area to be processed includes: Recalling a plurality of candidate interest points in the area to be processed; Based on the multiple candidate interest points, multiple candidate location points included in the area to be processed are determined.
13. The method according to claim 12, characterized in that The recalling of the plurality of candidate interest points in the area to be processed includes: recalling the plurality of candidate interest points 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 points contained in the area.
14. The method according to claim 1, characterized in that Also includes: Obtaining a second request message sent by a terminal for use by a user for requesting to obtain target segmented area information corresponding to the area to be processed; Based on the second request message, the target segmented area information is provided to the terminal for use by the user.
15. The method according to claim 1, characterized in that The multiple candidate locations include at least one of the following locations: The delivery origin point included in the delivery service; The delivery end location included in the delivery service; The location point corresponding to the regional geographic entity.
16. An information processing method, applied to a terminal used by service personnel, characterized in that: include: Obtaining a query message sent by the server to indicate whether to perform region segmentation on the region to be processed, wherein the query message carries region information of the region to be processed; Displaying the inquiry message on a page for obtaining information on a processing method for the area to be processed; In response to detecting a confirmation operation for the inquiry message, sending a confirmation message for the inquiry message to the server, so that the server determines a plurality of candidate position points included in the area to be processed; determining a reference position point for performing area segmentation on the area to be processed according to the geographical location information of the plurality of candidate position points; the reference position point is a central position point of the plurality of candidate position points; Based on the distribution density of the reference position point and the plurality of candidate position points in the area to be processed, determining a segmentation angle for performing regional segmentation on the area to be processed; drawing a plurality of rays with the reference position point as a starting point and the segmentation angle as an included angle; segmenting the regional image of the area to be processed based on the plurality of rays, and determining an initial segmentation area corresponding to the area to be processed; Determine the target sub-region to which each candidate position point belongs based on the initial segmented region; for each target sub-region, confirm the position point in the target sub-region with the largest spherical distance from the reference position point as the boundary position point of the initial segmented region; wherein the position point included in the initial segmented region and the boundary position point are position points among the multiple candidate position points; Based on the boundary position point and the initial segmented area, a target segmented area corresponding to the area to be processed is determined, and the target segmented area is used to provide location services for the user.
17. The method according to claim 16, characterized in that Also includes: A first request message for requesting location point retrieval for the area to be processed is sent to the server, wherein the first request message carries area information of the area to be processed.
18. An information display method, applied to a terminal for use by a user, characterized in that: include: Display the area to be processed in a terminal application for displaying area information; Sending a second request message for requesting to obtain target segmented region information corresponding to the area to be processed to the server, so that the server determines a plurality of candidate position points included in the area to be processed; Determine, according to the geographical location information of the plurality of candidate location points, a reference location point for segmenting the area to be processed; the reference location point is a central location point of the plurality of candidate location points; Based on the distribution density of the reference position point and the plurality of candidate position points in the area to be processed, determining a segmentation angle for performing regional segmentation on the area to be processed; drawing a plurality of rays with the reference position point as a starting point and the segmentation angle as an included angle; segmenting the regional image of the area to be processed based on the plurality of rays, and determining an initial segmentation area corresponding to the area to be processed; Determine the target sub-region to which each candidate position point belongs based on the initial segmentation region; for each target sub-region, confirm the position point in the target sub-region with the largest spherical distance from the reference position point as the boundary position point of the initial segmentation region; wherein the position points included in the initial segmentation region and the boundary position point are position points among the multiple candidate position points; determine the target segmentation region corresponding to the area to be processed based on the boundary position point and the initial segmentation region; Obtaining target segmentation area information corresponding to the area to be processed sent by the server; A target segmented area corresponding to the area to be processed is displayed, and the target segmented area is used to provide location services for the user.
19. The method according to claim 18, characterized in that Also includes: Sending a third request message to the server for requesting to obtain the area information of the area to be processed; Obtaining the area information of the to-be-processed area provided by the server in response to the third request message; The displaying of the area to be processed in the terminal application for displaying area information includes: displaying the area to be processed in the terminal application for displaying area information based on the area information of the area to be processed provided by the server in response to the third request message.
20. An information processing device, characterized in that: include: A candidate location point determination unit, used to determine a plurality of candidate location points included in the area to be processed; A reference position point determination unit, configured to determine a reference position point for segmenting the area to be processed according to the geographical location information of the plurality of candidate position points; The reference position point is the central position point of the multiple candidate position points; An initial segmentation region determination unit is used to segment the region image of the region to be processed based on the distribution density of the reference position point and the plurality of candidate position points in the region to be processed, and determine the initial segmentation region corresponding to the region to be processed, including: determining a segmentation angle based on the distribution density; drawing a plurality of rays with the reference position point as a starting point and the segmentation angle as an included angle; segmenting the region image based on the plurality of rays to determine the initial segmentation region; A boundary position point determination unit is used to determine the boundary position points of the initial segmented area according to the position relationship information between the position points included in the initial segmented area and the reference position points, including: determining the target sub-area to which each candidate position point belongs based on the initial segmented area; for each target sub-area, confirming the position point in the target sub-area with the largest spherical distance from the reference position point as the boundary position point; wherein the position points included in the initial segmented area and the boundary position point are position points among the multiple candidate position points; The target segmentation area determination unit is used to determine a target segmentation area corresponding to the area to be processed based on the boundary position point and the initial segmentation area, wherein the target segmentation area is used to provide location services for users.
21. An information processing device, applied to a terminal for use by service personnel, characterized in that: include: An inquiry message obtaining unit, used to obtain an inquiry message sent by the server to indicate whether to perform region segmentation on the region to be processed, wherein the inquiry message carries region information of the region to be processed; An inquiry message display unit, used to display the inquiry message on a page used to obtain processing method information for the area to be processed; 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 determines a plurality of candidate position points included in the area to be processed; and determines a reference position point for performing area segmentation on the area to be processed according to the geographical location information of the plurality of candidate position points; the reference position point is a central position point of the plurality of candidate position points; Based on the distribution density of the reference position point and the plurality of candidate position points in the area to be processed, determining a segmentation angle for performing regional segmentation on the area to be processed; drawing a plurality of rays with the reference position point as a starting point and the segmentation angle as an included angle; segmenting the regional image of the area to be processed based on the plurality of rays, and determining an initial segmentation area corresponding to the area to be processed; Determine the target sub-region to which each candidate position point belongs based on the initial segmented region; for each target sub-region, confirm the position point in the target sub-region with the largest spherical distance from the reference position point as the boundary position point of the initial segmented region; wherein the position point included in the initial segmented region and the boundary position point are position points among the multiple candidate position points; Based on the boundary position point and the initial segmented area, a target segmented area corresponding to the area to be processed is determined, and the target segmented area is used to provide location services for the user.
22. An information display device, applied to a terminal for use by a user, characterized in that: include: A to-be-processed area display unit, used to display the to-be-processed area in a terminal application used to display area information; A second request message sending unit is used to send a second request message for requesting to obtain target segmentation area information corresponding to the area to be processed to the server, so that the server determines a plurality of candidate position points included in the area to be processed; Determine, according to the geographical location information of the plurality of candidate location points, a reference location point for segmenting the area to be processed; the reference location point is a central location point of the plurality of candidate location points; Based on the distribution density of the reference position point and the plurality of candidate position points in the area to be processed, determining a segmentation angle for performing regional segmentation on the area to be processed; drawing a plurality of rays with the reference position point as a starting point and the segmentation angle as an included angle; segmenting the regional image of the area to be processed based on the plurality of rays, and determining an initial segmentation area corresponding to the area to be processed; Determine the target sub-region to which each candidate position point belongs based on the initial segmentation region; for each target sub-region, confirm the position point in the target sub-region with the largest spherical distance from the reference position point as the boundary position point of the initial segmentation region; wherein the position points included in the initial segmentation region and the boundary position point are position points among the multiple candidate position points; determine the target segmentation region corresponding to the area to be processed based on the boundary position point and the initial segmentation region; A target segmentation region information obtaining unit, configured to obtain target segmentation region information corresponding to the region to be processed and sent by the server; The target segmented area display unit is used to display the target segmented area corresponding to the area to be processed, and the target segmented area is used to provide location services for users.
23. 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 executed by the processor to perform the method according to any one of claims 1 to 19.
24. 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 19.
