Region determination method and device, electronic equipment and readable storage medium
By automatically determining the target geographical area and location, the problem of high cost of telephone reservation vehicles due to manual order distribution is solved, and a lower cost of reservation vehicles and a higher user experience is achieved.
Patent Information
- Application Number
- CN202411048033.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-07-31
AI Technical Summary
In the prior art, manual order distribution increases the service cost of telephone reservation vehicles, resulting in high promotion costs.
By receiving the target phone number request, the target geographical area is determined, and the target user's location is locked in combination with the circular range, and the appointment vehicle order is automatically distributed to reduce manual participation.
It reduces the cost of making a phone reservation in a vehicle, improves user experience and order acceptance efficiency, reduces promotion costs, and facilitates more users to use.
Smart Images

Figure CN118972787A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing, and specifically relates to a region determination method, device, electronic device and readable storage medium. Background Art
[0002] At present, when people travel, in addition to booking a vehicle online, they can also book a vehicle by phone. Specifically, users can book a vehicle by making a phone call. The operation of booking a vehicle by phone is relatively simple and can meet the needs of users such as the elderly who are not convenient to access the Internet.
[0003] The solution used in telephone vehicle reservation is: after the user makes a call, the relevant staff will answer the call. The relevant staff will draw a range on the map based on the user's description of the location, and then dispatch orders to vehicles based on the drawn range.
[0004] It can be seen that in the prior art, manual dispatch of orders increases the cost of the service of booking a vehicle by phone, resulting in high promotion costs. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a method, apparatus, device and storage medium for determining an area, which can solve the problem in the prior art that manual dispatch of orders increases the cost of the service of booking a vehicle by phone, resulting in high promotion costs.
[0006] In a first aspect, an embodiment of the present application provides a method for determining an area, including:
[0007] Upon receiving a request for a target telephone number, determining a target geographic area based on the target telephone number;
[0008] In the target geographical area, determining the target area of the target user corresponding to the target telephone number in the target geographical area according to the reference location information of the target geographical area and in combination with the circular range;
[0009] The request is processed according to the target area.
[0010] Optionally, the determining, based on the reference location information of the target geographical area and in combination with the circular range, a target area of the target user corresponding to the target telephone number in the target geographical area includes:
[0011] Taking the reference location information of the target geographic area as the center of the circle, at least one circular range is drawn in sequence until it is determined that the target user is located within a first circular range; wherein the radius of the first circular range drawn is a preset distance, and the radius of each circular range drawn increases by the preset distance compared to the radius of the last circular range drawn;
[0012] In the case where the first circular range is a non-first circular range drawn, determining a target circular ring according to the first circular range and a second circular range drawn on the first circular range;
[0013] Based on the target circular ring, a circular range is drawn until it is determined that the target user is located in a target arc area of the target circular ring;
[0014] A target area is determined according to the target arc area.
[0015] Optionally, taking the reference location information of the target geographical area as the center of the circle, sequentially drawing at least one circular range until it is determined that the target user is located within a first circular range, the method further includes:
[0016] In the case that the first circular range is the first circular range drawn, the first circular range is determined to be the target area.
[0017] Optionally, the step of drawing a circular range based on the target circular ring until determining that the target user is located within a target arc-shaped area of the target circular ring includes:
[0018] Based on the target circle, two straight lines passing through the reference position information and perpendicular to each other are set;
[0019] Draw at least one circular range so that one intersection point of a straight line and the second circular range and two intersection points of another straight line and the first circular range are all located on the edge line of the circular range;
[0020] Until it is determined that the target user is outside the third circular range, a target arc area is determined according to the third circular range and the first circular range.
[0021] Optionally, the intersection points of the target arc region with a straight line are respectively the first intersection point and the second intersection point, the intersection points of the target arc region with another straight line are respectively the third intersection point and the fourth intersection point, and the two end points of the target arc region are respectively the first intersection point and the second intersection point;
[0022] The step of determining the target area according to the target arc-shaped area comprises:
[0023] Draw at least one circular range so that the third intersection point, the fourth intersection point, and one of the first intersection point and the second intersection point are all located on the edge line of the circular range;
[0024] until it is determined that the target user is located within a fourth circular range, and an intersection area between the fourth circular range and the target arc-shaped area is determined;
[0025] According to the intersection area, a target area is determined.
[0026] Optionally, determining the target area according to the intersection area includes:
[0027] Determine a position center point in the intersection area according to the third intersection point, the fourth intersection point, and the first intersection point or the second intersection point included in the edge line of the fourth circular range;
[0028] When the distance between the position center point and any intersection point is less than or equal to a distance threshold, determining the intersection area as a target area;
[0029] When the distance between the position center point and any intersection point is greater than the distance threshold, determining a target area in the intersection area according to the position center point and the circular range;
[0030] Among them, the any intersection point is any one of the following: the third intersection point, the fourth intersection point, the first intersection point or the second intersection point included in the edge line of the fourth circular range.
[0031] Optionally, the request is used to request a vehicle; and processing the request according to the target area includes:
[0032] When the intersection area is determined to be a target area, obtaining vehicle information within the target area according to the position center point;
[0033] The distance between the vehicle indicated by the vehicle information and the center point of the position is less than or equal to the distance between the center point of the position and any one of the intersection points.
[0034] Optionally, determining a target geographical area according to the target telephone number includes:
[0035] Determine a target city area according to the target telephone number;
[0036] sending the coding information indicating a district or county in the target urban area and the target telephone number to the operator;
[0037] In the case where the operator returns a correct instruction, determining the district or county as the target geographical area;
[0038] In the case that the operator does not return a correct instruction, coding information indicating another district or county in the target urban area and the target telephone number are sent to the operator.
[0039] In a second aspect, an embodiment of the present application provides a region determination device, including:
[0040] A determination module, configured to determine a target geographical area according to the target telephone number upon receiving a request of the target telephone number; in the target geographical area, determine a target area of the target user corresponding to the target telephone number in the target geographical area according to the reference location information of the target geographical area and in combination with a circular range;
[0041] A processing module is used to process the request according to the target area.
[0042] Optionally, the determination module is specifically used to draw at least one circular range in sequence with the reference location information of the target geographic area as the center of the circle until it is determined that the target user is located within a first circular range; wherein the radius of the first circular range drawn is a preset distance, and the radius of the circular range drawn each time increases by the preset distance compared to the radius of the last circular range drawn; in the case that the first circular range is not the first circular range drawn, the target circular ring is determined based on the first circular range and the second circular range drawn before the first circular range; based on the target circular ring, a circular range is drawn until it is determined that the target user is located within a target arc area of the target circular ring; and the target area is determined based on the target arc area.
[0043] Optionally, the determining module is specifically configured to determine the first circular range as the target area when the first circular range is the first circular range drawn.
[0044] Optionally, the determination module is specifically used to set two mutually perpendicular straight lines passing through the reference position information based on the target ring; draw at least one circular range so that an intersection point of a straight line with the second circular range and two intersection points of another straight line with the first circular range are all located on the edge line of the circular range; until it is determined that the target user is outside the third circular range, the target arc area is determined according to the third circular range and the first circular range.
[0045] Optionally, the intersection points of the target arc area with a straight line are respectively the first intersection point and the second intersection point, the intersection points of the target arc area with another straight line are respectively the third intersection point and the fourth intersection point, and the two end points of the target arc area are respectively the first intersection point and the second intersection point; the determination module is specifically used to draw at least one circular range so that the third intersection point, the fourth intersection point, and one of the first intersection point and the second intersection point are all located on the edge line of the circular range; until it is determined that the target user is located within the fourth circular range, the intersection area between the fourth circular range and the target arc area is determined; and according to the intersection area, it is determined as the target area.
[0046] Optionally, the determination module is specifically used to determine a position center point in the intersection area according to the third intersection point, the fourth intersection point and the first intersection point or the second intersection point included on the edge line of the fourth circular range; when the distance between the position center point and any intersection point is less than or equal to a distance threshold, determine the intersection area as a target area; when the distance between the position center point and any intersection point is greater than the distance threshold, determine the target area in the intersection area according to the position center point in combination with the circular range;
[0047] Among them, the any intersection point is any one of the following: the third intersection point, the fourth intersection point, the first intersection point or the second intersection point included in the edge line of the fourth circular range.
[0048] Optionally, the request is used to request a vehicle; the processing module is specifically used to obtain vehicle information in the target area according to the position center point when the intersection area is determined to be the target area;
[0049] The distance between the vehicle indicated by the vehicle information and the center point of the position is less than or equal to the distance between the center point of the position and any one of the intersection points.
[0050] Optionally, the determination module is configured to determine a target city area according to the target telephone number;
[0051] The device also includes:
[0052] A sending module, used for sending the coding information indicating a district or county in the target urban area and the target telephone number to the operator;
[0053] The determination module is used to: determine the district or county as the target geographical area if the operator returns a correct instruction; and send the coding information indicating another district or county in the target urban area and the target telephone number to the operator if the operator does not return a correct instruction.
[0054] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0055] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0056] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0057] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0058] In an embodiment of the present application, when the target user sends a request by means of a call, the other end of the call can determine the target geographical area where the target user is located based on the target telephone number corresponding to the target user, and then lock the target user in a smaller area in the target geographical area based on the reference location information of the target geographical area and in combination with at least one circular range drawn, until the target user is locked in the target area, so as to process the request made by the user after locking the more specific location of the target user. In particular, in the application of car-booking scenarios, orders for reserved vehicles can be distributed around the user. It can be seen that in an embodiment of the present application, orders for reserved vehicles can be distributed within a smaller area where the user is located without manual participation, so as to ensure that the user is helped to book a vehicle as soon as possible, thereby reducing the cost of calling a car, facilitating promotion, and bringing convenience to more users. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 is a flow chart showing a method for determining an area according to an exemplary embodiment;
[0060] Figure 2 is a schematic diagram illustrating a method for determining a region according to an exemplary embodiment;
[0061] Figure 3 is a schematic diagram illustrating a method for determining a region according to an exemplary embodiment;
[0062] Figure 4 is a schematic diagram illustrating a method for determining a region according to an exemplary embodiment;
[0063] Figure 5 is a schematic diagram illustrating a method for determining a region according to an exemplary embodiment;
[0064] Figure 6 is a flow chart showing a method for determining an area according to an exemplary embodiment;
[0065] Figure 7 is a block diagram of a region determination device according to an exemplary embodiment;
[0066] Figure 8 A block diagram showing a base station terminal accessing an electronic device according to an exemplary embodiment;
[0067] Fig. 9 It is a block diagram of a device for terminal access according to an exemplary embodiment. DETAILED DESCRIPTION
[0068] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0069] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0070] The area determination method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0071] Figure 1The flowchart of a region determination method according to an exemplary embodiment is shown. The region determination method includes the following steps.
[0072] In step 110, upon receiving a request for a target telephone number, a target geographic area is determined based on the target telephone number.
[0073] This embodiment is applied to an electronic device. Optionally, the electronic device may be a ride-hailing service terminal.
[0074] Application scenarios include, for example, a user dials a service phone number agreed upon by a ride-hailing service end, and the ride-hailing service end controls the intelligent voice to answer the call. During this process, the ride-hailing service end can obtain the phone number that dialed the ride-hailing service phone number as the target phone number.
[0075] Optionally, the target telephone number is a Mobile Subscriber International ISDN / PSTN Number (MSISDN), which is a number used to uniquely identify a mobile user in a public telephone network switching network.
[0076] In the taxi booking scenario, the request in this step may be a user requesting to book a taxi.
[0077] Optionally, the target geographical area may be a district or county of a city.
[0078] In step 120, in the target geographical area, the target area of the target user corresponding to the target telephone number in the target geographical area is determined based on the reference location information of the target geographical area and in combination with the circular range.
[0079] In this step, the reference location information of the target geographical area may be represented by the latitude and longitude information of the reference location.
[0080] For example, the reference position information is 119.453231:35.42125.
[0081] Optionally, considering that ride-hailing scenarios usually occur in densely populated areas, the service end may make statistical records of the population density of the target geographic area in advance to circle the densely populated areas therein, and further, based on the circled densely populated areas, determine the center position of the area as a reference position for the target geographic area.
[0082] Based on this, based on the reference location and in combination with at least one circular range drawn within the target geographic area, the location of the target user corresponding to the target telephone number is locked to be within the target area.
[0083] In step 130, the request is processed according to the target area.
[0084] In this step, the request is processed according to the target area where the target user is located. For example, a vehicle reservation order is dispatched in the target area.
[0085] Furthermore, the present application can also be applied to other scenarios of determining an area. For example, when someone calls the police, fire, emergency, municipal or other service numbers, the smaller area where the caller is located can be locked to provide assistance as soon as possible. For another example, when a passenger has booked a vehicle on a ride-hailing app, the passenger can be called and the phone number can be obtained, thereby locking the smaller area where the passenger is located, which can effectively prevent false orders.
[0086] In an embodiment of the present application, when the target user sends a request by means of a call, the other end of the call can determine the target geographical area where the target user is located based on the target telephone number corresponding to the target user, and then lock the target user in a smaller area in the target geographical area based on the reference location information of the target geographical area and in combination with at least one circular range drawn, until the target user is locked in the target area, so as to process the request made by the user after locking the more specific location of the target user. In particular, in the application of car-booking scenarios, orders for reserved vehicles can be distributed around the user. It can be seen that in an embodiment of the present application, orders for reserved vehicles can be distributed within a smaller area where the user is located without manual participation, so as to ensure that the user is helped to book a vehicle as soon as possible, thereby reducing the cost of calling a car, facilitating promotion, and bringing convenience to more users.
[0087] In addition, in the car-hailing scenario, some car-hailing platforms use the method of broadcasting the passenger's phone recording directly to the driver, and the driver decides whether to accept the order based on the recording. This method cannot provide the driver with the specific location of the passenger, and it is easy for the driver to grab the order at random. The embodiment of the present application can lock the passenger in a smaller area, thereby improving the accuracy of dispatching orders and enhancing the user experience of passengers booking a car by phone.
[0088] In one implementation, determining a target area of a target user corresponding to a target telephone number in a target geographical area in combination with a circular range according to reference location information of the target geographical area includes the following steps.
[0089] In step A1, at least one circular range is drawn in sequence with the reference location information of the target geographic area as the center until it is determined that the target user is located within the first circular range. The radius of the first circular range drawn is a preset distance, and the radius of each circular range drawn increases by the preset distance compared to the radius of the last circular range drawn.
[0090] In one scheme, the first circular range is drawn, with the center of the circle being the reference position and the radius being the preset distance. If the target user is within the circular range, the circular range is the first circular range, and no further circular range needs to be drawn. If the target user is not within the circular range, the second circular range is drawn, with the center of the circle still being the reference position and the radius being the preset distance + the preset distance. If the target user is within the circular range, the circular range is the first circular range, and no further circular range needs to be drawn. If the target user is not within the circular range, the third circular range is drawn, with the center of the circle still being the reference position and the radius being the preset distance + the preset distance + the preset distance. If the target user is within the circular range, the circular range is the first circular range, and no further circular range needs to be drawn. This process is repeated in this way until a circular range is drawn and the target user is found within the circular range.
[0091] Optionally, the preset distance is 2 kilometers.
[0092] In this step, the ride-hailing service needs to call the operator's Device Location Verification (DLV) application programming interface (API) and submit the reference location information and the radius of the currently drawn circular range to the operator. If the operator does not return "True", the next circular range will be drawn until the operator returns "True" and the radius R0 returned at this time will be recorded.
[0093] APIs are predefined functions that aim to provide applications and developers with access to a set of routines based on certain software or hardware without accessing the source code or understanding the details of the internal working mechanism. DLV is one of the eight APIs provided by GSMA Open Gateway, which is used to verify whether a device is near a certain location. If "True" is returned, the device is near a certain location; if "False" is returned, the device is not near a certain location.
[0094] The Global System for Mobile Communications Association (GSMA) Open Gateway Initiative is a global universal network application programming interface framework released by GSMA at the Mobile World Congress (MWC). The initiative aims to provide a universal access interface API to facilitate developers to access operator networks more quickly, thereby accelerating the development of digital services and applications. One of the access interfaces is the DLV API. This API allows applications to check whether a device is located near a given location. The API request contains the location to be checked and the accuracy range in kilometers (between 2 kilometers and 200 kilometers). The API response will indicate whether the device is within the accuracy range of the known location. In some versions, the API can be used to verify locations expressed in latitude, longitude, and radius. In more versions, the API can also be used to verify locations expressed in postal codes (Zone Improvement Plan, ZIP) or other well-known administrative codes (districts, counties, towns, regions, etc.).
[0095] In step A2, when the first circular range is not the first circular range drawn, a target circular ring is determined according to the first circular range and a second circular range drawn on the first circular range.
[0096] For example, Figure 2 As shown, it is a schematic diagram of drawing a circular range based on a reference position provided by the present application.
[0097] exist Figure 2 In the process, with the reference position as the center O, the radius is gradually increased until three circular ranges are drawn, namely circle 1, circle 2 and circle 3. The target user, i.e., the passenger, is found in the third circular range, and circle 3 is used as the first circular range, and the previously drawn circle 2 is used as the second circular range.
[0098] like Figure 2 As shown, circle 2 and circle 3 form a ring, which is the target ring where the target user is located.
[0099] In step A3, a circular range is drawn based on the target circular ring until it is determined that the target user is located within the target arc area of the target circular ring.
[0100] After the area where the target user is located is narrowed down to the target circle, a smaller area where the target user is located is further locked with reference to the target circle, such as an arc area in the target circle, as the target arc area.
[0101] In step A4, a target area is determined according to the target arc area.
[0102] After the target user is locked in the target arc area, a smaller area is determined as the target area with reference to the target arc area.
[0103] In the above implementation, the target geographic area is divided using at least one circular range with the reference location information of the target geographic area as the center of the circle to find a ring between two circular ranges where the target user is located; then the ring is divided by drawing a circular range to find an arc-shaped area in the ring where the target user is located, and finally a smaller area where the target user is located is locked in the arc-shaped area, so that the area where the target user is located is gradually determined to be more accurate.
[0104] In one implementation, taking the reference location information of the target geographic area as the center of the circle, at least one circular range is drawn in sequence until it is determined that the target user is located within the first circular range, which includes the following steps.
[0105] In step B1, when the first circular range is the first circular range drawn, the first circular range is determined to be the target area.
[0106] In an application scenario, the server submits reference location information and a preset distance to the operator. The operator returns "True", indicating that the target user is within the drawn circular range. This circular range is used as the first circular range where the target user is located. At the same time, the first circular range is determined as the target area.
[0107] For reference, in a ride-hailing scenario, ride-hailing orders are dispatched within a target area, with priority given to vehicles that are closer to a reference location.
[0108] In the above implementation, based on the reference position and preset distance of the target geographic area, the area where the target user is located is verified for the first time, that is, a verification result that the target user is located in the area is obtained. There is no need to lock the area subsequently, and a vehicle is reserved for the target user directly within the preset distance range with the reference position as the center.
[0109] In one implementation, based on the target ring, a circular range is drawn until it is determined that the target user is located within a target arc area of the target ring, including the following steps.
[0110] In step C1, two straight lines passing through the reference position information and perpendicular to each other are set based on the target circle.
[0111] For example, Figure 2 A schematic diagram of setting two straight lines based on a target ring provided by the present application is shown in FIG.
[0112] exist Figure 2In the figure, the two straight lines are perpendicular to each other and both pass through the reference position, which is the center of the circle, O.
[0113] In step C2, at least one circular range is drawn so that one intersection point of a straight line and the second circular range, and two intersection points of another straight line and the first circular range are all located on the edge line of the circular range.
[0114] For example, in Figure 2 On the basis of Figure 3 A schematic diagram of a circular range drawn based on a target ring provided in this application.
[0115] exist Figure 3 In , since the earth's spherical surface of 200 kilometers can be approximately regarded as a plane, the two straight lines can be the straight line in the vertical direction and the straight line in the horizontal direction on the plane. The plane method is used to calculate the intersection B and the intersection C of the vertical straight line with the first circular range (circle 3), and the intersection D of the horizontal straight line with the second circular range (circle 2). Based on the intersection B, the intersection C and the intersection D, a circular range is drawn so that the intersection B, the intersection C and the intersection D are all located on the edge line of the circular range. That is, based on the intersection B, the intersection C and the intersection D, a circle is constructed, namely, circle 4.
[0116] Using the above method, up to 4 circles can be constructed.
[0117] For example, Figure 4 As shown, it is a schematic diagram of demarcating a circular range based on a target ring provided by the present application.
[0118] On the one hand, the plane method is used to calculate the intersection points B and C of the vertical line and the first circular range (circle 3), and the intersection points D and A of the horizontal line and the second circular range (circle 2). Based on the intersection points B, C and D, circle 4 is constructed; based on the intersection points B, C and A, circle 5 is constructed.
[0119] On the other hand, the plane method is used to calculate the intersection points E and F of the horizontal line and the first circular range (circle 3), and the intersection points G and H of the vertical line and the second circular range (circle 2). Based on the intersection points E, F and H, circle 7 is constructed; based on the intersection points E, F and G, circle 6 is constructed.
[0120] Among them, Figure 4 In the figure, the construction order of circle 4, circle 5, circle 6 and circle 7 is not limited.
[0121] In step C3, until it is determined that the target user is outside the third circular range, a target arc area is determined according to the third circular range and the first circular range.
[0122] In this step, each time a circular range is drawn, the center position information and radius of the circular range are submitted to the operator. If the operator returns "True", another circular range is drawn until the operator does not return "True". The center P and radius R1 returned at this time are recorded, which is the third circular range.
[0123] by Figure 3 For example, based on the center P and radius R1, the operator does not return "True", indicating that the target user is located outside the third circular range (circle 4).
[0124] Specifically, in Figure 3 In the figure, there is an overlapped area between the third circular range (circle 4) and the first circular range (circle 3). In addition to the overlapped area, there is an arc-shaped area in circle 3 and an arc-shaped area in circle 4. Therefore, the arc-shaped area in circle 3 is determined as the target arc-shaped area. The target arc-shaped area is the arc-shaped area surrounded by intersection points B, D, C and E, which is in the shape of a crescent. It can be seen that the target arc-shaped area is the non-intersecting area of the first circular range with the third circular range.
[0125] In the above implementation, based on determining the circle where the target user is located, the circle is further divided, and the circular range is continued to be drawn to cut out an arc area in the circle, so as to determine which arc of the circle the target user is in, and then lock the target user in a smaller area.
[0126] In one implementation, the intersection points of the target arc area with a straight line are respectively the first intersection point and the second intersection point, the intersection points of the target arc area with another straight line are respectively the third intersection point and the fourth intersection point, and the two end points of the target arc area are respectively the first intersection point and the second intersection point; determining the target area based on the target arc area includes the following steps.
[0127] In step D1, at least one circular range is drawn so that the third intersection point, the fourth intersection point, and one of the first intersection point and the second intersection point are all located on the edge line of the circular range.
[0128] For example, Figure 5 As shown, it is a schematic diagram of demarcating a circular range based on a target arc area provided by the present application.
[0129] exist Figure 5 In the figure, the target arc region intersects the vertical line at intersection points B and C, the target arc region intersects the horizontal line at intersection points D and E, and the two end points of the target arc region are intersection points B and C, respectively.
[0130] On this basis, at most 2 circles can be constructed. Figure 5As shown, based on the intersection points B, D and E, a circle is constructed, namely, circle 5; and based on the intersection points C, D and E, a circle is constructed, namely, circle 6. The construction order of the two circles is not limited.
[0131] In step D2, until it is determined that the target user is located within the fourth circular range, an intersection area between the fourth circular range and the target arc area is determined.
[0132] Each time a circular range is drawn, the center position information and radius of the circular range are submitted to the operator. If the operator returns "True", the center and radius returned at this time are recorded, which is the fourth circular range; otherwise, if the operator does not return "True", another circular range is drawn, and the center and radius of the other circular range are recorded.
[0133] exist Figure 5 In the figure, based on the target arc area, two circular ranges are constructed, corresponding to the center T and the center Q respectively. The two circular ranges combined look like a number "8", so this process can be called "8" position verification.
[0134] In this step, combine Figure 5 , based on the fourth circular range (circle 6) where the locked target user is located, combined with the target arc area, find the intersection area.
[0135] In step D3, the target area is determined according to the intersection area.
[0136] In the above implementation, based on determining the arc area where the target user is located, the arc area is further divided, and the arc area is cut into two parts by continuing to draw a circular range, so as to determine which part the target user is in, so as to further lock the position of the target user based on the part, or directly lock the target user in the part.
[0137] In one implementation, determining the target area according to the intersection area includes the following steps.
[0138] In step E1, a position center point is determined in the intersection area according to the third intersection point, the fourth intersection point, and the first intersection point or the second intersection point included in the edge line of the fourth circular range.
[0139] exist Figure 5 In the example shown, the fourth circular range (circle 6) is the circular range where the target user is located. The edge of circle 6 includes intersection D, intersection E and intersection C. The geometric center position point Cp of the three intersection points is calculated, and the geometric center position point Cp is located in the intersection area.
[0140] In step E2, when the distance between the position center point and any intersection point is less than or equal to the distance threshold, the intersection area is determined to be the target area.
[0141] Among them, any intersection point is any of the following: the third intersection point, the fourth intersection point, the first intersection point or the second intersection point included in the edge line of the fourth circular range.
[0142] The distances from the center point to each intersection point constructing the fourth circular range are equal.
[0143] In this step, a distance threshold is used to verify whether the intersection area is small enough.
[0144] Optionally, the distance threshold is equal to the aforementioned verification distance, ie, the preset distance, which may be 2 kilometers.
[0145] When the distance between the location center and any intersection point does not exceed 2 kilometers, the intersection area is considered small enough, so booking a vehicle for the target user within the intersection area can ensure a high order acceptance rate for the vehicle, and thus ensure a high reservation success rate for the target user.
[0146] In step E3, when the distance between the position center point and any intersection point is greater than the distance threshold, the target area is determined in the intersection area based on the position center point and the circular range.
[0147] When the distance between the location center and any intersection point exceeds 2 kilometers, the intersection area is considered to be still large, so based on the intersection area, the target user's smaller area is continuously locked until the final target area is small enough.
[0148] For reference, referring to the complete process of determining the intersection area according to the reference position information in the above implementation method, the reference position information is replaced with the position information of the position center point, and the process of determining the intersection area is repeated; this is repeated until the intersection area meets the scenario in step E2.
[0149] In the above implementation, after obtaining the intersection area between the fourth circular range and the target arc area, if the area of the intersection area is still large, the target user can be further locked in a smaller area until the 2-kilometer verification strategy is met, that is, the operator can lock the target user within a 2-kilometer range, so that the target user can reserve a vehicle based on a smaller area, thereby ensuring a high success rate for reserving vehicles.
[0150] In one implementation, the request is used to request a vehicle; and the request is processed according to a target area, including the following steps.
[0151] Step F1: When the intersection area is determined to be the target area, vehicle information in the target area is obtained according to the position center point.
[0152] The distance between the vehicle indicated by the vehicle information and the center point of the position is less than or equal to the distance between the center point of the position and any intersection point.
[0153] The vehicle information may be a license plate number of the vehicle.
[0154] Optionally, starting from the location center point, the vehicle information is obtained in a manner of continuously expanding the distance, and the order generated based on the request is dispatched to the vehicle with the obtained vehicle information. It can be seen that the order is preferentially dispatched to the vehicle closer to the location center point.
[0155] The distance between the vehicle delivering the order and the center point of the location is the farthest, that is, the distance between the center point of the location and any intersection point.
[0156] In the above implementation, based on the location center point found in the target area, the default is the predicted location of the target user, so the target user's reserved vehicle orders are preferentially dispatched to vehicles near the location. At the same time, orders will not be dispatched beyond the distance between the location center point and any intersection point to ensure that the vehicle can reach the target user as soon as possible.
[0157] In one implementation, determining a target geographic area according to a target telephone number includes the following steps.
[0158] In step G1, the target city area is determined according to the target telephone number.
[0159] Optionally, according to the target phone number, a target city area matching the target phone number can be obtained. The matching relationship here is pre-agreed and can be directly obtained.
[0160] In step G2, the coding information indicating a district or county in the target urban area and the target telephone number are sent to the operator.
[0161] In this step, the ride-hailing service saves the coding information of all districts and counties under the jurisdiction of each city in a database or cache in advance. The saved information may also include the names of all districts and counties and the reference location information of all districts and counties.
[0162] Therefore, the server calls the operator's DLV API to perform district-level location verification for a district or county according to the format of the district or county's coding information + MSISDN.
[0163] In step G3, if the operator returns a correct instruction, the district or county is determined as the target geographical area.
[0164] If "True" is returned, the district or county where the target user is located is obtained as the target geographic area.
[0165] In step G4, when the operator does not return a correct instruction, the coding information indicating another district or county in the target urban area and the target telephone number are sent to the operator.
[0166] If "True" is not returned, the next county's coding information + MSISDN will be submitted to the operator for county-level location verification until the county where the target user is located is determined.
[0167] The correct instruction may be "True" returned by the operator.
[0168] In the above implementation, the coding information of the target city and multiple districts and counties under its jurisdiction is combined to confirm with the operator the district and county where the target user is currently located as the target geographical area for subsequent regional locking of the target user. This method will not directly expose the specific location of the target user, effectively protecting user privacy.
[0169] In one implementation, see Figure 6 , which is a flow chart of a region determination method provided in this application.
[0170] First, the passenger dials the taxi number, and the server obtains the passenger's phone number. Based on the city where the passenger is located, the server obtains the coding information of all districts and counties in the city. By enumerating the coding information of all districts and counties in the city, the server performs district and county-level location verification to determine the district and county where the passenger is located.
[0171] Among them, the longitude and latitude of the reference location of the district or county and the step algorithm are used to gradually expand the verification distance to perform location verification and determine the ring or circle where the passenger is located.
[0172] Then, the verification within the ring is implemented. Specifically, an algorithm is used to determine the center and radius of the circle through three points within the ring, so as to perform position verification and calculate the arc area of the passenger within the ring; then the "8" position verification is performed to determine the position range of the passenger within the ring.
[0173] Finally, the original three points of the circle that determine the passenger's location range are used to calculate the center point of the location and use it as the dispatch center point. At the same time, the distance from the center point of the location to any original point is used as the farthest order receiving distance.
[0174] In summary, this application proposes a device positioning method based on location verification. This method is based on the location verification API proposed by GSMA. This method can verify and obtain the district and county where the device passenger is located, and use the method's original step approximation algorithm to obtain the most likely location of the device, thereby realizing automatic and accurate dispatching at the district and county level, improving order acceptance efficiency, and enhancing user experience.
[0175] The region determination method provided in the embodiment of the present application may be executed by a region determination device. In the embodiment of the present application, a method in which a region determination device executes terminal access is taken as an example to illustrate the region determination method device provided in the embodiment of the present application.
[0176] Figure 7 The present invention is a block diagram of a region determination device according to an exemplary embodiment, including:
[0177] The determination module 201 is used to determine the target geographical area according to the target telephone number when receiving the request of the target telephone number; in the target geographical area, determine the target area of the target user corresponding to the target telephone number in the target geographical area according to the reference location information of the target geographical area and the circular range;
[0178] The processing module 202 is used to process the request according to the target area.
[0179] In an embodiment of the present application, when the target user sends a request by means of a call, the other end of the call can determine the target geographical area where the target user is located based on the target telephone number corresponding to the target user, and then lock the target user in a smaller area in the target geographical area based on the reference location information of the target geographical area and in combination with at least one circular range drawn, until the target user is locked in the target area, so as to process the request made by the user after locking the more specific location of the target user. In particular, in the application of car-booking scenarios, orders for reserved vehicles can be distributed around the user. It can be seen that in an embodiment of the present application, orders for reserved vehicles can be distributed within a smaller area where the user is located without manual participation, so as to ensure that the user is helped to book a vehicle as soon as possible, thereby reducing the cost of calling a car, facilitating promotion, and bringing convenience to more users.
[0180] Optionally, the determination module 201 is specifically used to draw at least one circular range in sequence with the reference location information of the target geographic area as the center of the circle until it is determined that the target user is located within the first circular range; wherein the radius of the first circular range drawn is a preset distance, and the radius of the circular range drawn each time is increased by the preset distance compared to the radius of the last circular range drawn; when the first circular range is not the first circular range drawn, the target circular ring is determined based on the first circular range and the second circular range drawn before the first circular range; based on the target circular ring, a circular range is drawn until it is determined that the target user is located within the target arc area of the target circular ring; and the target area is determined based on the target arc area.
[0181] Optionally, the determination module 201 is specifically configured to determine the first circular range as the target area when the first circular range is the first circular range drawn.
[0182] Optionally, the determination module 201 is specifically used to set two mutually perpendicular straight lines passing through the reference position information based on the target ring; draw at least one circular range so that an intersection point of a straight line with the second circular range, and two intersection points of another straight line with the first circular range are all located on the edge line of the circular range; until it is determined that the target user is outside the third circular range, the target arc area is determined according to the third circular range and the first circular range.
[0183] Optionally, the intersection points of the target arc area with a straight line are the first intersection point and the second intersection point, respectively, the intersection points of the target arc area with another straight line are the third intersection point and the fourth intersection point, respectively, and the two end points of the target arc area are the first intersection point and the second intersection point, respectively; the determination module 201 is specifically used to draw at least one circular range so that the third intersection point, the fourth intersection point, and one of the first intersection point and the second intersection point are all located on the edge line of the circular range; until it is determined that the target user is located within the fourth circular range, the intersection area between the fourth circular range and the target arc area is determined; and according to the intersection area, it is determined as the target area.
[0184] Optionally, the determination module 201 is specifically configured to determine the position center point in the intersection area according to the third intersection point, the fourth intersection point and the first intersection point or the second intersection point included on the edge line of the fourth circular range; when the distance between the position center point and any intersection point is less than or equal to the distance threshold, determine the intersection area as the target area; when the distance between the position center point and any intersection point is greater than the distance threshold, determine the target area in the intersection area according to the position center point in combination with the circular range;
[0185] Among them, any intersection point is any of the following: the third intersection point, the fourth intersection point, the first intersection point or the second intersection point included in the edge line of the fourth circular range.
[0186] Optionally, the request is used to request a vehicle; the processing module 202 is specifically used to obtain vehicle information in the target area according to the position center point when the intersection area is determined to be the target area;
[0187] The distance between the vehicle indicated by the vehicle information and the center point of the position is less than or equal to the distance between the center point of the position and any intersection point.
[0188] Optionally, the determination module 201 is configured to determine a target city area according to a target phone number;
[0189] The device also includes:
[0190] A sending module, used for sending the coding information indicating a district or county in the target urban area and the target telephone number to the operator;
[0191] The determination module 201 is used to: determine the district or county as the target geographical area when the operator returns a correct instruction; if the operator does not return a correct instruction, send the coding information and target telephone number indicating another district or county in the target urban area to the operator.
[0192] The area determination device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0193] The area determination device provided in the embodiment of the present application can achieve Figures 1 to 6 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0194] Alternatively, if Figure 8 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501 and a memory 502, wherein the memory 502 stores programs or instructions that can be executed on the processor 501, and when the program or instructions are executed by the processor 501, the various steps of the above-mentioned area determination method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0195] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0196] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0197] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0198] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0199] When the target user sends a request by phone, the other end of the call can determine the target geographical area where the target user is located based on the target phone number corresponding to the target user, and then lock the target user in a smaller area in the target geographical area based on the reference location information of the target geographical area and at least one circular range drawn, until the target user is locked in the target area, so as to process the request made by the user after locking the more specific location of the target user. In particular, it is applied to the car-booking scenario, and orders for reserved vehicles can be distributed around the user. It can be seen that in the embodiments of the present application, orders for reserved vehicles can be distributed within a smaller area where the user is located without manual participation, so as to ensure that the user is helped to book a vehicle as soon as possible, thereby reducing the cost of telephone car-booking, facilitating promotion, and bringing convenience to more users.
[0200] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0201] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0202] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
[0203] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned area determination method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0204] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0205] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned area determination method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0206] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0207] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned area determination method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0208] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0209] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0210] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for determining a region, characterized in that: include: Upon receiving a request for a target telephone number, determining a target geographic area based on the target telephone number; In the target geographical area, determining the target area of the target user corresponding to the target telephone number in the target geographical area according to the reference location information of the target geographical area and in combination with the circular range; The request is processed according to the target area.
2. The area determination method according to claim 1, characterized in that: The step of determining the target area of the target user corresponding to the target phone number in the target geographical area in combination with the circular range according to the reference location information of the target geographical area comprises: Taking the reference location information of the target geographic area as the center of the circle, at least one circular range is drawn in sequence until it is determined that the target user is located within a first circular range; wherein the radius of the first circular range drawn is a preset distance, and the radius of each circular range drawn increases by the preset distance compared to the radius of the last circular range drawn; In the case where the first circular range is a non-first circular range drawn, determining a target circular ring according to the first circular range and a second circular range drawn on the first circular range; Based on the target circular ring, a circular range is drawn until it is determined that the target user is located in a target arc area of the target circular ring; A target area is determined according to the target arc area.
3. The area determination method according to claim 2, characterized in that: The method further comprises: taking the reference location information of the target geographical area as the center of the circle and sequentially drawing at least one circular range until it is determined that the target user is located within the first circular range. In the case that the first circular range is the first circular range drawn, the first circular range is determined to be the target area.
4. The area determination method according to claim 2, characterized in that: The step of drawing a circular range based on the target circular ring until determining that the target user is located within a target arc-shaped area of the target circular ring includes: Based on the target circle, two straight lines passing through the reference position information and perpendicular to each other are set; Draw at least one circular range so that one intersection point of a straight line and the second circular range and two intersection points of another straight line and the first circular range are all located on the edge line of the circular range; Until it is determined that the target user is outside the third circular range, a target arc area is determined according to the third circular range and the first circular range.
5. The area determination method according to claim 4, characterized in that: The intersection points of the target arc region with a straight line are respectively the first intersection point and the second intersection point, the intersection points of the target arc region with another straight line are respectively the third intersection point and the fourth intersection point, and the two end points of the target arc region are respectively the first intersection point and the second intersection point; The step of determining the target area according to the target arc-shaped area comprises: Draw at least one circular range so that the third intersection point, the fourth intersection point, and one of the first intersection point and the second intersection point are all located on the edge line of the circular range; until it is determined that the target user is located within a fourth circular range, and an intersection area between the fourth circular range and the target arc-shaped area is determined; According to the intersection area, a target area is determined.
6. The area determination method according to claim 5, characterized in that: The step of determining the target area according to the intersection area includes: Determine a position center point in the intersection area according to the third intersection point, the fourth intersection point, and the first intersection point or the second intersection point included in the edge line of the fourth circular range; When the distance between the position center point and any intersection point is less than or equal to a distance threshold, determining the intersection area as a target area; When the distance between the position center point and any intersection point is greater than the distance threshold, determining a target area in the intersection area according to the position center point and the circular range; Among them, the any intersection point is any one of the following: the third intersection point, the fourth intersection point, the first intersection point or the second intersection point included in the edge line of the fourth circular range.
7. The area determination method according to claim 6, characterized in that: The request is used to request a vehicle; and the processing of the request according to the target area includes: When the intersection area is determined to be a target area, obtaining vehicle information within the target area according to the position center point; The distance between the vehicle indicated by the vehicle information and the center point of the position is less than or equal to the distance between the center point of the position and any one of the intersection points.
8. The area determination method according to claim 1, characterized in that: Determining a target geographical area according to the target telephone number includes: Determine a target city area according to the target telephone number; sending the coding information indicating a district or county in the target urban area and the target telephone number to the operator; In the case where the operator returns a correct instruction, determining the district or county as the target geographical area; In the case that the operator does not return a correct instruction, coding information indicating another district or county in the target urban area and the target telephone number are sent to the operator.
9. A region determination device, characterized in that: The device comprises: A determination module, configured to determine a target geographical area according to the target telephone number upon receiving a request of the target telephone number; in the target geographical area, determine a target area of the target user corresponding to the target telephone number in the target geographical area according to the reference location information of the target geographical area and in combination with a circular range; A processing module is used to process the request according to the target area.
10. The area determination device according to claim 9, characterized in that: The determination module is specifically used to draw at least one circular range in sequence with the reference location information of the target geographic area as the center of the circle until it is determined that the target user is located in a first circular range; wherein the radius of the first circular range drawn is a preset distance, and the radius of the circular range drawn each time increases the preset distance compared to the radius of the last circular range drawn; in the case that the first circular range is not the first circular range drawn, a target circular ring is determined based on the first circular range and a second circular range drawn before the first circular range; based on the target circular ring, a circular range is drawn until it is determined that the target user is located in a target arc area of the target circular ring; and a target area is determined based on the target arc area.
11. The area determination device according to claim 10, characterized in that: The determination module is specifically configured to determine the first circular range as a target area when the first circular range is the first circular range drawn.
12. The area determination device according to claim 10, characterized in that: The determination module is specifically used to set two mutually perpendicular straight lines passing through the reference position information based on the target circular ring; draw at least one circular range so that an intersection point of a straight line with the second circular range and two intersection points of another straight line with the first circular range are all located on the edge line of the circular range; until it is determined that the target user is outside the third circular range, the target arc area is determined according to the third circular range and the first circular range.
13. The area determination device according to claim 12, characterized in that: The intersection points of the target arc region with a straight line are respectively the first intersection point and the second intersection point, the intersection points of the target arc region with another straight line are respectively the third intersection point and the fourth intersection point, and the two end points of the target arc region are respectively the first intersection point and the second intersection point; The determination module is specifically used to draw at least one circular range so that the third intersection, the fourth intersection, and one of the first intersection and the second intersection are all located on the edge line of the circular range; until it is determined that the target user is located within the fourth circular range, the intersection area between the fourth circular range and the target arc area is determined; and based on the intersection area, it is determined as the target area.
14. The area determination device according to claim 13, characterized in that: The determination module is specifically used to determine the position center point in the intersection area according to the third intersection point, the fourth intersection point and the first intersection point or the second intersection point included on the edge line of the fourth circular range; when the distance between the position center point and any intersection point is less than or equal to a distance threshold, determine the intersection area as a target area; when the distance between the position center point and any intersection point is greater than the distance threshold, determine the target area in the intersection area according to the position center point in combination with the circular range; Among them, the any intersection point is any one of the following: the third intersection point, the fourth intersection point, the first intersection point or the second intersection point included in the edge line of the fourth circular range.
15. The area determination device according to claim 14, characterized in that: The request is used to request a vehicle; the processing module is specifically used to obtain vehicle information in the target area according to the position center point when the intersection area is determined to be the target area; The distance between the vehicle indicated by the vehicle information and the center point of the position is less than or equal to the distance between the center point of the position and any one of the intersection points.
16. The area determination device according to claim 9, characterized in that: The determination module is used to determine a target city area according to the target telephone number; The device also includes: A sending module, used for sending the coding information indicating a district or county in the target urban area and the target telephone number to the operator; The determination module is used to: determine the district or county as the target geographical area if the operator returns a correct instruction; and send the coding information indicating another district or county in the target urban area and the target telephone number to the operator if the operator does not return a correct instruction.
17. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the steps of the area determination method according to any one of claims 1 to 8.
18. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the area determination method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Method for querying recommendation information
CN101409720A
Household service order sending method and server-side equipment
CN112801495A
Object recommendation method and device, computing equipment and storage medium
CN113495989A
Data processing method and device and computer readable storage medium
CN115994154A
Positioning method and device, electronic equipment and readable storage medium
CN116133118A
