Location determination method, and related device
By displaying the location information of the meeting initiator and the meeting participant on the client side, and calculating and displaying a reasonable meeting location, the problem of unreasonable meeting location selection in the prior art is solved, and the efficiency of meeting location determination and user experience are improved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2025-09-09
- Publication Date
- 2026-05-15
AI Technical Summary
In existing technologies, users often waste time choosing meeting locations, and the chosen locations may be unreasonable, resulting in being close to one person but far from another.
A method for determining a location is provided, which involves displaying the departure and return location information of the meeting initiator on the client, inviting meeting participants, calculating a reasonable meeting location based on the location information of each participant, and displaying a query results page that includes meeting location information and venue attributes.
It improves the efficiency of determining meeting locations, making meeting places more reasonable, taking into account the user's next leg of the journey experience, and increasing the probability of using travel services within the platform.
Smart Images

Figure CN2025120093_15052026_PF_FP_ABST
Abstract
Description
Location determination methods and related equipment
[0001] Related applications
[0002] This application claims priority to Chinese patent application filed on November 7, 2024, application number 202411589962.5, entitled "Method for determining position and related equipment", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of computer technology, specifically to a location determination method and related equipment. Background Technology
[0004] With the rapid development of communication networks, the ways people communicate have become more diverse and convenient. People can now easily stay connected and communicate with friends using various instant messaging tools. When users plan to meet with friends in person, they usually carefully select a suitable meeting place to ensure the smooth running of the gathering and a pleasant experience.
[0005] Currently, users generally estimate the meeting place roughly based on their own and their friends' current locations. This method of determining meeting places not only wastes users' time in choosing a location, but the determined meeting place may also be unreasonable. For example, the determined meeting place may be very close to one person, but very far from another. Summary of the Invention
[0006] This application provides a location determination method and related equipment. The related equipment may include a location determination device, electronic equipment, computer-readable storage medium, and computer program product, which can make the determined meeting location more reasonable and greatly improve the efficiency of meeting location determination.
[0007] This application provides a location determination method, executed by an electronic device, including:
[0008] The client displays a meeting location query page for a meeting event initiated by the meeting initiator. The meeting location query page includes: the departure location information of the meeting initiator, return information setting controls, meeting initiator invitation controls, and meeting location query controls.
[0009] In response to the information setting operation of the return trip information setting control, the return location information of the meeting initiator is displayed on the meeting location query page;
[0010] In response to a trigger operation on the meeting object invitation control, a meeting invitation message is sent to at least one meeting object of the meeting initiator, so as to obtain the departure location information and return location information of the meeting object based on the meeting invitation message; and
[0011] In response to the triggering operation of the meeting location query control, a query results page is displayed. The query results page includes meeting location information pushed to the meeting initiator. The meeting location information is determined based on the departure and return location information of each object. The object includes the meeting initiator and the at least one meeting object.
[0012] Accordingly, embodiments of this application provide a location determination device, including:
[0013] The first display unit is used to display the meeting location query page of the meeting event initiated by the meeting initiator in the client. The meeting location query page includes: the departure location information of the meeting initiator, the return information setting control, the meeting object invitation control, and the meeting location query control.
[0014] The setting unit is used to respond to the information setting operation of the return information setting control and display the return location information of the meeting initiator in the meeting location query page;
[0015] An invitation unit is configured to, in response to a trigger operation on the invitation control for the meeting object, send meeting invitation information to at least one meeting object of the meeting initiator, so as to obtain the departure location information and return location information of the meeting object based on the meeting invitation information; and
[0016] The second display unit is used to respond to the trigger operation of the meeting location query control and display a query result page. The query result page includes meeting location information pushed to the meeting initiator. The meeting location information is determined based on the departure location information and return location information of each object. The object includes the meeting initiator and the at least one meeting object.
[0017] An electronic device provided in this application includes a processor and a memory. The memory stores multiple instructions, and the processor loads the instructions to execute the steps in the location determination method provided in this application.
[0018] This application also provides a computer-readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps in the location determination method provided in this application.
[0019] Furthermore, embodiments of this application also provide a computer program product, including a computer program or instructions, which, when executed by a processor, implement the steps in the location determination method provided in embodiments of this application.
[0020] Details of one or more embodiments of this application are set forth in the following drawings and description. Other features, objects, and advantages of this application will become apparent from the specification, drawings, and claims. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the published drawings without creative effort.
[0022] Figure 1a is a schematic diagram of a scenario for the location determination method provided in an embodiment of this application;
[0023] Figure 1b is a flowchart of the location determination method provided in an embodiment of this application;
[0024] Figure 1c is a schematic diagram of the location determination method provided in an embodiment of this application;
[0025] Figure 1d is another flowchart of the location determination method provided in an embodiment of this application;
[0026] Figure 1e is another flowchart of the location determination method provided in an embodiment of this application;
[0027] Figure 2 is another flowchart of the location determination method provided in an embodiment of this application;
[0028] Figure 3 is a schematic diagram of the position determination device provided in an embodiment of this application;
[0029] Figure 4 is a schematic diagram of the structure of the electronic device provided in an embodiment of this application. Detailed Implementation
[0030] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0031] This application provides a location determination method and related equipment. The related equipment may include a location determination device, an electronic device, a computer-readable storage medium, and a computer program product. Specifically, the location determination device may be integrated into an electronic device, which may be a terminal or a server, etc.
[0032] It is understood that the location determination method in this embodiment can be executed on a terminal, on a server, or jointly by a terminal and a server. The above examples should not be construed as limiting this application.
[0033] As shown in Figure 1a, taking the location determination method jointly executed by a terminal and a server as an example, the location determination system provided in this application embodiment includes a terminal 10 and a server 11, etc.; the terminal 10 and the server 11 are connected through a network, such as through a wired or wireless network, etc., wherein the location determination device can be integrated into the terminal.
[0034] Terminal 10 can be used to: display a meeting location query page for a meeting event initiated by a meeting initiator in a client, the meeting location query page including: the departure location information of the meeting initiator, a return information setting control, a meeting object invitation control, and a meeting location query control; in response to an information setting operation on the return information setting control, display the return location information of the meeting initiator in the meeting location query page; in response to a trigger operation on the meeting object invitation control, send meeting invitation information to at least one meeting object of the meeting initiator to obtain the departure location information and return location information of the meeting object based on the meeting invitation information; in response to a trigger operation on the meeting location query control, display a query result page, the query result page including meeting location information pushed to the meeting initiator, the meeting location information being determined based on the departure location information and return location information of each object, the objects including the meeting initiator and the at least one meeting object. Terminal 10 may include mobile phones, vehicle terminals, aircraft, tablet computers, laptops, or personal computers (PCs). A client may also be configured on terminal 10, which could be an application client or a browser client, etc.
[0035] Server 11 can be used to: receive the departure and return location information of each object sent from the terminal, determine the meeting location information based on the departure and return location information of each object, and then return the meeting location information to terminal 10 so that terminal 10 can display a query result page based on the meeting location information. Server 11 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0036] The steps in server 11, such as determining the meeting location information, can also be performed by terminal 10.
[0037] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the preferred order of the embodiments.
[0038] This embodiment will be described from the perspective of a location determination device, which can be integrated into an electronic device, such as a server or a terminal.
[0039] It is understood that in the specific embodiments of this application, data such as user information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0040] As shown in Figure 1b, the specific process of this location determination method can be as follows:
[0041] 101. Display the meeting location query page for the meeting event initiated by the meeting initiator in the client. The meeting location query page includes: the departure location information of the meeting initiator, the return information setting control, the meeting object invitation control, and the meeting location query control.
[0042] The client can be an application client or a browser client. For example, the client can be a mini-program, which is an application that can be used without downloading and installing. Specifically, the client can be a messaging client. A messaging client is a client program that supports user messaging, and can be used to initiate meeting events, send meeting invitations, etc. It can be an application client or a browser client, such as a mini-program.
[0043] Specifically, the meeting initiator is the object that initiates the meeting location query for the meeting event, and it is also one of the objects participating in the meeting event. The departure location information of the meeting initiator can be the location information of the current location of the meeting initiator, or it can be the location information of a departure point set by the meeting initiator itself. This embodiment does not impose any restrictions on this.
[0044] A meeting event refers to the encounter or meeting of two or more people at a certain location; a meeting is simply a chance encounter. The meeting location query page can be used to query the location information of meeting locations, which are the places where people meet. The return trip information settings control can be used to set the return destination location information of the meeting initiator.
[0045] 102. In response to the information setting operation of the return trip information setting control, display the return location information of the meeting initiator on the meeting location query page.
[0046] Specifically, the information setting operation can involve inputting return location information. The return location information of the meeting initiator refers to the location information of the meeting initiator from the meeting location to its next destination. Return location information can include return location point information and return location attribute information.
[0047] Specifically, the return location attribute information may include whether the distances between the return destination (i.e., the return endpoint) of each participant in the meeting event and the meeting location are equal. The return location attribute information may also include the longest acceptable distance between the return endpoint and the meeting location for the meeting initiator, and whether the distance between the return endpoint and the meeting location can be greater than the distance between the starting point and the meeting location.
[0048] Optionally, in this embodiment, the step "in response to the information setting operation of the return information setting control, display the return location information of the meeting initiator on the meeting location query page" may include: in response to the triggering operation of the return information setting control, displaying a location point setting area and a location attribute setting area on the meeting location query page, wherein the location attribute setting area includes at least one setting item corresponding to a preset return location point attribute; in response to the information input operation of the location point setting area, displaying the return location point information of the meeting initiator corresponding to the information input operation in the location point setting area; and in response to the setting operation of the selected setting item in the location attribute setting area, setting the return location attribute information of the meeting initiator based on the preset return location point attribute corresponding to the selected setting item.
[0049] The triggering operation for the return trip information setting control can specifically be a click operation on the return trip information setting control, etc., and this embodiment does not limit this.
[0050] The location setting area allows users to input the return destination of the meeting initiator; this return location information represents the meeting initiator's return destination. The location attribute setting area allows users to set the attribute information of the return destination.
[0051] The preset return location point attribute is related to the return destination (i.e., the return endpoint), such as distance information. Specifically, the preset return location point attribute may include whether the distance between the return endpoint and the meeting location of each participant in the meeting event needs to be set equally, the maximum acceptable distance between the return endpoint and the meeting location for the meeting initiator, and whether the distance between the return endpoint and the meeting location can be greater than the distance between the starting point (i.e., the departure point) and the meeting location. This embodiment does not impose any restrictions on these aspects.
[0052] The selected setting item can be any setting item in the location attribute setting area. The setting operation for the selected setting item can be a click operation on the selected setting item, or a text input operation on the selected setting item, etc.
[0053] In one specific embodiment, when the user (specifically, the meeting initiator) initiates the meeting location query process for a meeting event, a meeting location query page successfully created as shown in Figure 1c is displayed. Here, "No. 1000, XX Building, XX Avenue, District C, City B, Province A" represents the starting location information of the meeting initiator. The user can re-enter new starting location information by triggering the "I'm Here" dialog box on the meeting location query page. The meeting location query page may also include a map of the geographical area where the starting location information is located. Additionally, the meeting location query page includes a control for ending the meeting. Responding to a triggering operation on this control, such as clicking it, the meeting location query process for the meeting event can be terminated.
[0054] The control corresponding to the "Invite" icon on the meeting location query page is the meeting object invitation control. When other meeting objects have not joined the meeting location query process for this meeting event, a prompt message "Waiting for friends to join" can be displayed on the meeting location query page.
[0055] The control corresponding to the "View Meeting Location" icon on the meeting location query page is the meeting location query control. When the person initiating the meeting has not entered a return destination and other meeting participants have not entered corresponding location information, the control status of this meeting location query control can be unavailable.
[0056] In Figure 1c, page ①, the "+Manually Add Location" control in the meeting location query page is a return trip information setting control. In response to the trigger operation of this return trip information setting control, the location point setting area and the location attribute setting area in Figure 1c page ② can be displayed. The location point setting area can include the prompt message "Tap here to enter the location". The location point entered by the user in the location point setting area is the return trip destination. The location attribute setting area can include settings such as whether the distance between the return trip destination and the meeting location of each object participating in the meeting event needs to be set to be equal, the longest acceptable distance between the return trip destination and the meeting location for the meeting initiator, and whether the distance between the return trip destination and the meeting location can be greater than the distance between the origin (i.e., the departure point) and the meeting location. Specifically, when a user enables the control for "The recommended meeting point is equidistant from the return destinations filled in by you and your friends," the distances between the return destinations and the meeting points for each participant in the meeting event will be set to be equidistant. When a user enables the control for "The distance between the return destination and the meeting point can be greater than the distance between the starting point and the meeting point," the distance between the return destination and the meeting point can be set to be greater than the distance between the starting point (i.e., the departure point) and the meeting point.
[0057] 103. In response to the triggering operation of the meeting object invitation control, send meeting invitation information to at least one meeting object of the meeting initiator object, so as to obtain the departure location information and return location information of the meeting object based on the meeting invitation information.
[0058] The triggering operation for the meeting invitation control can specifically be a click operation on the meeting invitation control, etc., and this embodiment does not limit this. Specifically, in response to the triggering operation of the meeting invitation control, a meeting selection page can be displayed. The meeting selection page includes at least one candidate object. These candidate objects can be friends of the meeting initiator in the messaging client. Based on the selection operation of the candidate object on the meeting selection page, a meeting invitation message can be sent to the selected object through a meeting invitation session. The session members of the meeting invitation session include the meeting initiator and the selected object. Thus, the selected object can join the meeting location query process of the meeting event by clicking the meeting invitation message on the session page of the meeting invitation session. The meeting invitation message can be displayed on the session page in the form of a message card.
[0059] A meeting invitation session is a session used to send meeting invitation information. Its members include the meeting initiator and the selected meeting participants. The selected participants can join the meeting location query process of the meeting event by clicking on the meeting invitation information on the session page.
[0060] The location input area is a section on the meeting location search page where participants can enter their departure and return location information.
[0061] Specifically, when the selected object clicks the meeting invitation information on the session page on its corresponding terminal, it can be redirected to the meeting location query page for the meeting event. This page includes a location input area, a meeting location query control, and the departure and return location information of each object already involved in the meeting event. By inputting location information into the location input area, the selected object's departure and return location information will be displayed. At this point, the selected object becomes the meeting participant in the meeting event. In response to the selected object's triggering action on the meeting location query control on the meeting location query page, a query results page is displayed, which includes the meeting location information pushed to the selected object.
[0062] Optionally, in some embodiments, the meeting initiator does not need to passively obtain the departure and return location information of other meeting participants through a meeting participant invitation control; the meeting initiator can also actively input the departure and return location information of other meeting participants. Specifically, the meeting location query page includes a location input area for the meeting participants; the location determination method further includes:
[0063] In response to an information input operation in the location input area, the departure and return location information of the meeting object corresponding to the information input operation is displayed in the location input area.
[0064] The location input area can include multiple location input sub-areas corresponding to the meeting objects. Each location input sub-area can include a departure location input sub-area and a return location input sub-area. The departure location input sub-area is used to input the departure location information of the corresponding meeting object, and the return location input sub-area is used to input the return location information of the corresponding meeting object.
[0065] 104. In response to the triggering operation of the meeting location query control, display the query results page. The query results page includes the meeting location information pushed to the meeting initiator. The meeting location information is determined based on the departure and return location information of each object. The objects include the meeting initiator and at least one meeting object.
[0066] The triggering operation for the meeting location query control can specifically be a click operation on the meeting location query control, and this embodiment does not limit this.
[0067] Optionally, in this embodiment, the query results page further includes a venue display control; the location determination method may further include: in response to a trigger operation of the venue display control, displaying a parameter setting area on the query results page, the parameter setting area including at least one venue attribute setting item; in response to a setting operation of the venue attribute setting item, displaying venue information of the meeting event venue to the meeting initiator on the query results page based on the meeting location information and the attribute information of each set venue attribute setting item.
[0068] The triggering operation for the venue display control can specifically be a click operation or a swipe operation on the venue display control, and this embodiment does not limit this.
[0069] In specific scenarios, the meeting location information can be the location information of an activity area, which may include and be near many small venues. For example, based on the departure and return location information of each individual, the meeting place is determined to be a cultural square or shopping center, and the meeting venue to be pushed can be a restaurant, coffee shop, cinema, etc., near that cultural square or shopping center.
[0070] The venue attribute settings are options for setting the relevant attributes of the meeting venue, including venue pricing, distance from the meeting place, business hours, user ratings, etc. Different venue types may also have specific attribute settings, such as the cuisine of the restaurant.
[0071] Specifically, the meeting venue can be selected from venues surrounding the meeting location information based on the attribute information of each venue attribute setting. The surrounding area can be a region with a radius of 500 meters centered on the meeting location information; this embodiment does not impose such a limitation. The venue information can include the venue's name, price, distance from the meeting place, operating hours, user ratings, etc.
[0072] As shown in page ④ of Figure 1c, the icon corresponding to "Nearby Restaurants" is the venue display control in the above embodiment. Based on the trigger operation of the icon corresponding to "Nearby Restaurants", a parameter setting area can be displayed. The parameter setting area can include venue attribute settings such as consumption price, cuisine, and user rating. Users can obtain the corresponding meeting venue based on the settings of the venue attribute settings.
[0073] Optionally, in this embodiment, the query results page further includes a venue type selection control; the location determination method may further include: in response to a trigger operation of the venue type selection control, displaying a venue type list on the query results page, the venue type list including multiple preset venue type selection sub-controls; in response to a trigger operation of the selection sub-control of the selected venue type, updating the meeting event venues on the query results page based on the selected venue type, wherein the selected venue type is any preset venue type.
[0074] The triggering operation for the venue type selection control can be a click operation, etc., and this embodiment does not limit this. The preset venue types are some pre-defined types of meeting venues, such as restaurants, cafes, teahouses, board game rooms, cinemas, etc. Users can update the meeting venues on the query results page by selecting the preset venue type.
[0075] Specifically, in response to a triggering operation of the selection sub-control for the selected venue type, such as a click operation, the original meeting venues on the query results page can be updated to new meeting venues under the selected venue type.
[0076] Optionally, in this embodiment, the query results page further includes a meeting object adjustment control; the location determination method may further include: in response to a trigger operation of the meeting object adjustment control, displaying an object selection page, the object selection page including a meeting object invitation control and a meeting location update control; in response to a trigger operation of the meeting object invitation control, displaying an object addition page, the object addition page including at least one candidate object; in response to a selection operation of a candidate object in the object addition page, sending meeting invitation information to the selected object, obtaining the departure location information and return location information of the selected object based on the meeting invitation information, and updating the selected object to the objects participating in the meeting event; in response to a trigger operation of the meeting location update control, updating and displaying the meeting location information based on the departure location information and return location information of the objects currently participating in the meeting event.
[0077] Specifically, the candidate can be a friend of the person initiating the meeting in the messaging client.
[0078] In addition to finding a meeting place, this embodiment can also change the meeting object to find a new meeting place.
[0079] In a specific scenario, as shown in page ④ of Figure 1c, the control corresponding to the text "Waiting for 2 more people" after the two avatars is the meeting object adjustment control. By triggering the meeting object adjustment control, such as by clicking, an object selection page can be displayed. This allows for adding or removing meeting objects, and the new meeting location can be queried based on the added or removed meeting objects.
[0080] Optionally, in some embodiments, the object selection page further includes participation controls corresponding to each object currently added to the meeting event; the method further includes: in response to a cancellation operation on the participation control corresponding to any object, removing the object corresponding to the participation control from the objects added to the meeting event.
[0081] Specifically, the cancellation operation refers to unchecking the box.
[0082] Optionally, in this embodiment, the query results page further includes a selection control for at least one candidate travel mode; the location determination method may further include: in response to a triggering operation of the selection control corresponding to the selected travel mode, displaying a travel service page, the travel service page including navigation route information from the departure location information of the meeting initiator to the meeting location information using the selected travel mode, wherein the selected travel mode is any candidate travel mode.
[0083] The candidate travel modes are options provided to users to travel from the starting point of the meeting to the meeting point, such as driving, taking a taxi, taking public transportation, or walking. The selection control for each travel mode can also display the time taken by using that mode.
[0084] The travel service page is a page displayed in response to the user's selection control corresponding to the selected travel mode. This page includes navigation route information from the departure location of the meeting initiator to the meeting location using the selected travel mode.
[0085] In a specific scenario, as shown on page ④ of Figure 1c, the candidate travel modes can include driving, taking a taxi, taking public transportation, and walking. Specifically, the selection control for the candidate travel mode can also display the time spent using the corresponding travel mode, such as 17 minutes by car or 59 minutes by walking.
[0086] This application can provide users with a more user-friendly and humanized solution for finding meeting places, taking into full consideration the user's next leg of the journey. It can also increase the likelihood that users will use the various travel services (such as ride-hailing) provided by the platform, thereby generating economic benefits.
[0087] Optionally, in this embodiment, the query results page includes a map of the geographical area where the meeting location information is located; the method further includes: in response to a zoom-in command for the meeting location point corresponding to the meeting location information, zooming in on the meeting location point on the map of the geographical area, with the meeting location point as the center. Here, the meeting location point is a specific location point within the area where the meeting place is located.
[0088] Specifically, the zoom-in command can be a two-finger outward movement of the map.
[0089] Optionally, in this embodiment, the step "displaying the query results page in response to the triggering operation of the meeting location query control" may include: in response to the triggering operation of the meeting location query control, calculating a reference center location point based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting object; determining the meeting location information of the meeting initiator and each meeting object based on the reference center location point; and displaying the query results page based on the meeting location information.
[0090] The calculated reference center location may be in a relatively remote area, so further determination of the meeting location information is needed based on the reference center location. Specifically, the reference center location can be considered as the geographical center point of each object.
[0091] In some embodiments, after obtaining the reference center location point, the calculated reference center location point can be used as the midpoint coordinates to request a map service to query nearby shopping malls, and the shopping malls can be used as the meeting location information. See the code below for details:
[0092] Optionally, in this embodiment, the step "calculating the reference center location point based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting participant" may include: obtaining travel demand information of each participant; determining the weight information of the departure and return location information of each participant based on the travel demand information of each participant; updating the departure and return location information of each participant based on the weight information of the departure and return location information of each participant; and calculating the reference center location point based on the updated departure and return location information of each participant.
[0093] The travel demand information can specifically include requirements such as distance. This information can be provided by the user or determined by the location determination system based on the user's location. Specifically, if a user's location is more remote than other users' locations, it can be determined that the user needs to be closer to the meeting point. Similarly, if the average distance between a user's location and other users' locations exceeds a preset distance threshold, it is determined that the user's location is more remote than other users' locations.
[0094] Specifically, a positional distribution analysis can be performed on the departure and return position information of each object. This analysis can involve determining a rough position center and then determining the weights of the departure and return position information of each object based on their distances from this center. For example, departure / return position information with a distance greater than a first preset threshold can be assigned a larger weight, such as a weight of 2; departure / return position information with a distance less than a second preset threshold can be assigned a relatively smaller weight, such as a weight of 0.5; and departure / return position information with a distance neither greater than the first preset threshold nor less than the second preset threshold can be assigned a weight of 1, where the first preset threshold is greater than the second preset threshold.
[0095] As an example, the weight information w of each object's starting and ending location information can be determined based on the object's travel demand information in the following manner. start Weighted information w for return location information return Let r be the distance requirement in an object's travel needs information. When r represents a desire to be closer to the meeting point, if the distance d between the object's departure and return locations and the approximate location center is greater than a first preset threshold T1, then w start =w return =2; if d is less than the second preset threshold T2, then w start =w return =0.5; if T2≤d≤T1, then w start =w return =1. When r indicates no special distance requirement, the default value is w. start =w return =1.
[0096] After obtaining the weight information, the starting and return location information of each object can be updated accordingly. Specifically, the starting / return location information with a weight of 2 can be updated to a location further away from the calculated center distance. Calculating the meeting point based on this updated, more distant starting / return location ensures the final calculated meeting point is closer than the actual starting / return location, thus catering to the specific needs of users in more remote locations. Similarly, the starting / return location information with a weight of 0.5 can be updated to a location closer to the calculated center distance. Calculating the meeting point based on this updated, closer starting / return location ensures the final calculated meeting point is further away than the actual starting / return location, preventing meeting points from being biased towards users who are actually closer and improving the rationality of the meeting point.
[0097] In this embodiment, a weighted average method can be used to calculate the reference center location. Specifically, when calculating the midpoint of a user's location, different weights can be assigned to the locations of different users, taking into account their specific circumstances. For example, some users may be farther away or have special needs, and these users can be given higher weights when calculating the reference center location. Then, based on these weights, a weighted average is applied to the locations of all users to obtain the final reference center location.
[0098] Optionally, in this embodiment, the step "calculating the reference center position point based on the departure and return position information of the meeting initiator and the departure and return position information of each meeting object" may include: performing position point parsing processing on the departure and return position information of each object in multiple spatial dimensions to obtain the position components of each departure position information in each spatial dimension and the position components of each return position information in each spatial dimension; for each spatial dimension, fusing the position components of each departure position information and the position components of each return position information in the spatial dimension to obtain the fused position component in the spatial dimension; averaging the fused position components in each spatial dimension based on the number of objects participating in the meeting event to obtain the average position component in each spatial dimension; and calculating the reference center position point based on the average position component in each spatial dimension.
[0099] Here, the reference center point can be considered as the geographic center point. The spatial dimensions can specifically be three dimensions: the x-axis, the y-axis, and the z-axis. For each spatial dimension, the positional components of the location information under that dimension are fused. This fusion process can be additive, and the result of the addition is the fused positional component.
[0100] If each participant in the meeting event has set departure and return location information, the number of location points used for calculating departure and return location information is twice the number of participants. This allows the fused location components in each spatial dimension to be divided by the number of location points, yielding the average location components for each spatial dimension. Converting the average location components of the x, y, and z axes into latitude and longitude location information then determines the reference center location.
[0101] Specifically, when a user sets the distance between the meeting point and the starting and return destinations of each object to be equal in the location attribute settings area, a weighted average calculation method can be used to determine the reference center location. This ensures that the calculated meeting location information is approximately equal in distance to the starting and return locations of each object. In one specific embodiment, the calculation process for the geographic center point of a set of geographic locations (latitude and longitude coordinates) using a weighted average calculation method is as follows:
[0102] When users in different locations are looking for meeting places that are equidistant from each other, this embodiment considers not only that the distance from the current user's location to the meeting place is equal, but also that the distance from the user's location to the next destination is equal. This makes the proposed meeting place results more user-friendly.
[0103] Optionally, in this embodiment, the step "determine the meeting location information of the meeting initiator and each meeting object based on the reference center location point" may include: obtaining community feedback information for the meeting location; determining meeting location preference parameters based on the community feedback information; and determining the meeting location information of the meeting initiator and each meeting object based on the reference center location point and the meeting location preference parameters.
[0104] Community feedback information refers to the collected user feedback data on meeting locations, including user satisfaction ratings for recommended locations, actual usage, social network data, etc., which can be used to determine meeting location preference parameters to optimize the recommendation of meeting locations.
[0105] This embodiment utilizes community feedback to optimize meeting place recommendations. By collecting and analyzing user feedback data, the meeting place recommendation algorithm can be continuously improved. For example, based on user satisfaction ratings and actual usage data, algorithm parameters can be adjusted to improve the accuracy and satisfaction of the recommendations. User feedback data can also include users' social network data, which can be used to further optimize meeting place recommendations. For example, prioritizing recommendations for locations users have visited together or locations recommended by users' friends.
[0106] The meeting location preference parameters may include satisfaction ratings for the location and frequency of visits to the location.
[0107] Specifically, with the reference center location as the center, a search can be conducted within a radius of 2 kilometers for meeting location information that matches the meeting location preference parameters.
[0108] In a specific example, in the step of determining the meeting location information of the meeting initiator and each meeting participant based on the reference center location point and the meeting location preference parameters, a location is searched within a radius of 2 kilometers centered on the reference center location point. Let the searched location be L. j (j=1,2,…,m), whose corresponding satisfaction scores and visit frequencies are used to calculate the preference parameters p. j Select p j The location closest to the previously determined meeting location preference parameter p is used as the meeting location information.
[0109] Optionally, in this embodiment, the step "calculating a reference center location point based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting object" may include: determining a search geographical area containing the locations of each object based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting object; dividing the search geographical area based on a preset distance unit to determine multiple candidate meeting location points based on the division results; performing validity checks on each candidate meeting location point based on the departure and return location information of each object; and determining a reference center location point from the candidate meeting location points based on the check results.
[0110] Specifically, the system iterates through the departure and return location information to find the minimum latitude, minimum longitude, maximum latitude, and maximum longitude. Then, based on these coordinates, it determines the boundary of the geographical region formed by the departure and return locations of all users. This geographical region is a rectangular area encompassing the departure and return locations of all users. This geographical region, also known as the search geographical area, provides a search range for finding the optimal meeting place.
[0111] The preset distance unit, also known as the grid step size, can be set according to actual conditions. Actual conditions may include the distribution range of the participants in the meeting event and the complexity of the geographical area. When the distribution range of the participants is wide, the preset distance unit can be appropriately increased; when the geographical area is complex, the preset distance unit can be appropriately decreased.
[0112] By dividing the search area into preset distance units, the search area can be divided into multiple small squares with sides equal to the preset distance units, and each small square is a candidate meeting point.
[0113] Specifically, the validity of each candidate meeting point can be checked based on the location point attributes in the departure and return location information of each object; these location point attributes can include acceptable distance from the meeting place, etc.
[0114] Optionally, in this embodiment, the departure location information includes acceptable distance information from the departure location to the meeting point, and the return location information includes acceptable distance information from the meeting point to the return location. The step "to perform validity checks on each candidate meeting location based on the departure and return location information of each object" may include: for each candidate meeting location, calculating the distance information from the candidate meeting location to the departure and return locations of each object; comparing the distance information with the acceptable distance information, and performing validity checks on the candidate meeting location based on the comparison results.
[0115] Specifically, when the comparison results show that the distance information from each departure point to the candidate meeting point is not greater than the corresponding acceptable distance, and the distance information from each return point to the candidate meeting point is not greater than the corresponding acceptable distance, it can be determined that the candidate meeting point has passed the validity test.
[0116] Optionally, in this embodiment, the step "determine a reference center location from each candidate meeting location based on the detection results" may include: selecting at least one candidate meeting location from each candidate meeting location based on the detection results; determining, for each candidate meeting location, the transportation costs required from the candidate meeting location to the departure and return locations of each object; and determining a reference center location from each candidate meeting location based on the transportation costs.
[0117] Among them, the candidate meeting locations that pass the validity test can be determined as candidate meeting locations.
[0118] In some embodiments, the candidate meeting point with the lowest total transportation cost from all objects to the candidate meeting point can be determined as the reference center point. Transportation cost can be geographical distance or transportation time.
[0119] As a concrete example, let C be the candidate meeting location. k (k = 1, 2, ..., s), for each candidate meeting point C k Calculate the total transportation cost TC required to travel from this point to the origin and return points of each object. k Transportation costs can take into account both geographical distance and travel time. Let's assume the distance from candidate meeting point C is... k The geographical distance to the starting point of a certain object is d start,k The travel time is t start,k The geographical distance to the return point is d. return,k The travel time is t return,k The weight of geographical distance is ω d The weight of travel time is ω t (ω d +ω t If (=1), then the transportation cost corresponding to this object is c. k =ω d (d start,k +d return,k )+ω t (t start,k +t return,k The total transportation cost TC for all objects k =∑ 对象 c k Select TC k The smallest candidate meeting point C k Used as a reference center point.
[0120] This embodiment considers not only geographical distance but also travel time when calculating meeting points. Using travel time as a metric better reflects the convenience of the actual journey. For example, by calling the route planning API (Application Programming Interface) of the map service, the travel time of each user to the midpoint can be obtained, and a more reasonable meeting point can be calculated based on this.
[0121] In a specific embodiment, the optimal meeting point coordinates for all users are calculated to ensure that the distance for all users to return home is within an acceptable range. Part of the code is shown below:
[0122] The logic of the code above is to attempt to find the optimal meeting point within a rectangular region formed by all location points (including departure and return location information), by progressively examining each possible point (with a step size of 'step'). This meeting point satisfies two conditions: first, the sum of the distances from all location points to the meeting point is minimized; second, the distance from each location point to this meeting point does not exceed an acceptable distance.
[0123] Understandably, the meeting point can be dynamically adjusted during actual use. For example, the meeting point can be adjusted in real time based on factors such as real-time traffic conditions and user feedback to better meet actual needs.
[0124] The location determination process in this application is shown in Figure 1d. The initiator of the meeting location query shares the activity (i.e., sharing the meeting location query for the corresponding meeting event through the meeting participant's invitation information) with all participants. Each participant inputs their location, including departure and return location information. When a participant is preparing to input their location, the server can be requested to obtain the participant's current location information so that the participant can quickly fill in the departure location information. After determining the departure and return location information of each participant, the center point of all participants' locations is calculated based on all departure and return location information. Then, the map service is called to query shopping centers near the center point to determine the meeting location. Finally, the meeting location is displayed and pushed through the front end.
[0125] In a specific scenario, referring to Figure 1c, the process of querying meeting locations is illustrated. As shown in page ① of Figure 1c, when a user initiates a request to find a meeting location, they can manually add a return location. The trigger operation of the control corresponding to "+Manually Add Location" displays page ② of Figure 1c, setting the manually entered location as the return destination. Preference settings are also provided, allowing users to configure meeting location calculation parameters. Specifically, users can set the distance between the return destination and the meeting location, including whether the meeting location is equidistant from the return destinations of each meeting party, whether the distance exceeds the distance from the starting point to the meeting location (simply turn on the corresponding switch), and the maximum acceptable distance in kilometers. After setting, clicking the "OK" control saves the settings. After saving the settings, page ③ as shown in Figure 1c will be displayed. The added return destination can be displayed on the page. In response to the trigger operation of the control corresponding to "View meeting location", page ④ as shown in Figure 1c will be displayed, which will show the meeting location "xx Cultural Square" and the distance from the starting point and the destination. The pushed meeting location and return destination can also be displayed on the map display area at the same time.
[0126] Specifically, the location determination system of this application may include a user terminal and a server. The user terminal may be a mobile device such as a smartphone / tablet: users add locations and view pushed meeting places through map apps. The server may include an API server and a database server. The API server can be used to provide API interfaces to receive front-end requests and interact with map services to parse user location information, meeting place preference settings, and related parameters. The database server can be used to store user location, calculation result cache, and other information.
[0127] In the specific process, the user enters location information and sets meeting place preference parameters in the user interface. After the user clicks the "Confirm" button, the front end sends this data to the server. The server calculates the reference center point for all participating user locations, uses the calculated reference center point as the midpoint coordinates to request the map service, and calls the map service to query nearby shopping centers. This step has been illustrated with a JavaScript code example in the above embodiment. The API server then returns the queried shopping center information to the front end.
[0128] Throughout the data processing, user location information and meeting preference settings can be stored in a database, and route calculation results can be cached to speed up subsequent queries. When a user initiates a new meeting location search request, the system first checks if the same request data exists in the cache. If it does, the cached result is returned directly; otherwise, a new round of calculation is performed and the cache is updated.
[0129] Figure 1e shows the sequence diagram of the location determination method in this application. Specifically, the initiator of the meeting location query shares the activity with all participants. Each participant enters their current location and destination. When a participant enters their location, a request for location data is sent to the server. The server parses the user data and returns the user's location information. Based on the user's current location and destination, the center point of all participants' locations is calculated. A map service is called to query shopping centers near the center point to determine the meeting location. Finally, the pushed meeting location is displayed on the front end.
[0130] This application provides a solution for finding meeting points among multiple people in a multi-trip scenario. When searching for the best meeting point, it can simultaneously consider the users' next destination, resulting in a more user-friendly meeting point solution. Specifically, it allows users to provide their current location along with their next destination as reference information for meeting point calculation. This takes into account the scenario where everyone goes home or to other destinations after meeting, avoiding situations where "some users need to walk a longer distance to reach their next destination after the meeting," thus improving the user experience.
[0131] As can be seen from the above, this embodiment can display a meeting location query page for a meeting event initiated by a meeting initiator in the client. The meeting location query page includes: the departure location information of the meeting initiator, a return information setting control, a meeting object invitation control, and a meeting location query control. In response to the information setting operation of the return information setting control, the return location information of the meeting initiator is displayed on the meeting location query page. In response to the triggering operation of the meeting object invitation control, a meeting invitation message is sent to at least one meeting object of the meeting initiator to obtain the departure location information and return location information of the meeting object based on the meeting invitation message. In response to the triggering operation of the meeting location query control, a query result page is displayed. The query result page includes meeting location information pushed to the meeting initiator. The meeting location information is determined based on the departure location information and return location information of each object, and the objects include the meeting initiator and the at least one meeting object.
[0132] When determining the meeting location, this application considers not only the departure location information of each participant but also their return location information. This makes the determined meeting location more reasonable. Moreover, this application eliminates the need for users to search and select meeting locations themselves, greatly improving the efficiency of meeting location determination.
[0133] Based on the method described in the preceding embodiments, the following will provide a more detailed explanation by taking the specific integration of the location determination device into the terminal as an example.
[0134] This application provides a location determination method, as shown in Figure 2. The specific process of the location determination method is as follows:
[0135] 201. The terminal displays a meeting location query page for a meeting event initiated by the meeting initiator. The meeting location query page includes: the departure location information of the meeting initiator, return information setting controls, meeting invitation controls, and meeting location query controls.
[0136] Specifically, the meeting initiator is the object that initiates the meeting location query for the meeting event, and it is also one of the objects participating in the meeting event. The departure location information of the meeting initiator can be the location information of the current location of the meeting initiator, or it can be the location information of a departure point set by the meeting initiator itself. This embodiment does not impose any restrictions on this.
[0137] A meeting event refers to the encounter or meeting of two or more people at a certain location; a meeting is simply a chance encounter. The meeting location query page can be used to query the location information of meeting locations, which are the places where people meet. The return trip information settings control can be used to set the return destination location information of the meeting initiator.
[0138] 202. In response to the information setting operation of the return trip information setting control, the terminal displays the return location information of the meeting initiator on the meeting location query page.
[0139] Specifically, the information setting operation can involve inputting return location information. The return location information of the meeting initiator refers to the location information of the meeting initiator from the meeting location to its next destination. Return location information can include return location point information and return location attribute information.
[0140] Optionally, in this embodiment, the step "in response to the information setting operation of the return information setting control, display the return location information of the meeting initiator on the meeting location query page" may include: in response to the triggering operation of the return information setting control, displaying a location point setting area and a location attribute setting area on the meeting location query page, wherein the location attribute setting area includes at least one setting item corresponding to a preset return location point attribute; in response to the information input operation of the location point setting area, displaying the return location point information of the meeting initiator corresponding to the information input operation in the location point setting area; and in response to the setting operation of the selected setting item in the location attribute setting area, setting the return location attribute information of the meeting initiator based on the preset return location point attribute corresponding to the selected setting item.
[0141] The triggering operation for the return trip information setting control can specifically be a click operation on the return trip information setting control, etc., and this embodiment does not limit this.
[0142] The location setting area allows users to input the return destination of the meeting initiator; this return location information represents the meeting initiator's return destination. The location attribute setting area allows users to set the attribute information of the return destination.
[0143] The preset return location point attribute is related to the return destination (i.e., the return endpoint), such as distance information. Specifically, the preset return location point attribute may include whether the distance between the return endpoint and the meeting location of each participant in the meeting event needs to be set equally, the maximum acceptable distance between the return endpoint and the meeting location for the meeting initiator, and whether the distance between the return endpoint and the meeting location can be greater than the distance between the starting point (i.e., the departure point) and the meeting location. This embodiment does not impose any restrictions on these aspects.
[0144] The selected setting item can be any setting item in the location attribute setting area. The setting operation for the selected setting item can be a click operation on the selected setting item, or a text input operation on the selected setting item, etc.
[0145] 203. In response to the triggering operation of the meeting object invitation control, the terminal sends meeting invitation information to at least one meeting object of the meeting initiator, so as to obtain the departure location information and return location information of the meeting object based on the meeting invitation information.
[0146] The triggering operation for the meeting invitation control can specifically be a click operation on the meeting invitation control, etc., and this embodiment does not limit this. Specifically, in response to the triggering operation of the meeting invitation control, a meeting selection page can be displayed. The meeting selection page includes at least one candidate object. These candidate objects can be friends of the meeting initiator in the messaging client. Based on the selection operation of the candidate object on the meeting selection page, a meeting invitation message can be sent to the selected object through a meeting invitation session. The session members of the meeting invitation session include the meeting initiator and the selected object. Thus, the selected object can join the meeting location query process of the meeting event by clicking the meeting invitation message on the session page of the meeting invitation session. The meeting invitation message can be displayed on the session page in the form of a message card. Specifically, when the selected object clicks the meeting invitation information on the session page on its corresponding terminal, it can be redirected to the meeting location query page for the meeting event. This page includes a location input area, a meeting location query control, and the departure and return location information of each object already involved in the meeting event. By inputting location information into the location input area, the selected object's departure and return location information will be displayed. At this point, the selected object becomes the meeting participant in the meeting event. In response to the selected object's triggering action on the meeting location query control on the meeting location query page, a query results page is displayed, which includes the meeting location information pushed to the selected object.
[0147] 204. In response to the triggering operation of the meeting location query control, the terminal calculates the reference center location point based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting object.
[0148] Optionally, in this embodiment, the step "calculating the reference center location point based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting participant" may include: obtaining travel demand information of each participant; determining the weight information of the departure and return location information of each participant based on the travel demand information of each participant; updating the departure and return location information of each participant based on the weight information of the departure and return location information of each participant; and calculating the reference center location point based on the updated departure and return location information of each participant.
[0149] Among them, the travel demand information can specifically be the demand for distance, etc. The travel demand information can be proposed by the user himself / herself, or can be determined by the location determination system according to the user's location. Specifically, when the location of a certain user is more remote compared to the locations of other users, it can be determined that this user has the demand to be closer to the meeting place.
[0150] Specifically, it is possible to first perform a location distribution analysis on the departure location information and return location information of each current object. The location distribution analysis is an analysis operation performed on the departure location information and return location information of each current object, mainly to determine a rough location center. According to the distances between each departure location information and each return location information and this location center, the weight information of the starting location information and the weight information of the return location information of each object are determined. This location distribution analysis can be to determine a rough location center. According to the distances d between each departure location information and each return location information and this location center, the following rules are used to determine the weight information w of the starting location information of each object start and the weight information w of the return location information return : Let the first preset threshold be T1, and the second preset threshold be T2 (T1>T2). When d>T1, w start =w return =2; when d<T2, w start =w return =0.5; when T2≤d≤T1, w start =w return =1.
[0151] Based on the weight information of the starting location information and the weight information of the return location information of each object, update the starting location information and return location information of each object. Specifically, let the location point corresponding to the departure location information of a certain object be P start , and the location point corresponding to the return location information be P return , and the rough location center be P center . When the weight is 2, update P start to P start ′=P start +k×(P start -P center ) (k is a constant greater than 0), and update P return to P return ′=P return +k×(P return -P center ); when the weight is 0.5, update P start to P start ″=P start -k×(P start -P center ), and update P returnUpdated to P return "=P return -k×(P return -P center ).
[0152] In this embodiment, a weighted average method can be used to calculate the reference center location. Specifically, when calculating the midpoint of a user's location, different weights can be assigned to the locations of different users, taking into account their specific circumstances. For example, some users may be farther away or have special needs, and these users can be given higher weights when calculating the reference center location. Then, based on these weights, a weighted average is applied to the locations of all users to obtain the final reference center location.
[0153] As a concrete example, let the location point corresponding to the updated departure location information be... Weight is The location point corresponding to the return trip location information is Weight is Then refer to the center position point
[0154] Optionally, in this embodiment, the step "calculating the reference center position point based on the departure and return position information of the meeting initiator and the departure and return position information of each meeting object" may include: performing position point parsing processing on the departure and return position information of each object in multiple spatial dimensions to obtain the position components of each departure position information in each spatial dimension and the position components of each return position information in each spatial dimension; for each spatial dimension, fusing the position components of each departure position information and the position components of each return position information in the spatial dimension to obtain the fused position component in the spatial dimension; averaging the fused position components in each spatial dimension based on the number of objects participating in the meeting event to obtain the average position component in each spatial dimension; and calculating the reference center position point based on the average position component in each spatial dimension.
[0155] Here, the reference center point can be considered as the geographic center point. The spatial dimensions can specifically be three dimensions: the x-axis, the y-axis, and the z-axis. For each spatial dimension, the positional components of the location information under that dimension are fused. This fusion process can be additive, and the result of the addition is the fused positional component.
[0156] Position components are the components of each position information in various spatial dimensions obtained after parsing the origin and return position information of each object in multiple spatial dimensions, such as the components in the x-axis, y-axis, and z-axis. These components are used to calculate the reference center position point. The fused position components are the results obtained by fusing (e.g., adding) the position components of each origin position information and the position components of each return position information in that spatial dimension. These components are used to calculate the average position component in each spatial dimension.
[0157] The average position component is the result of averaging the fused position components in each spatial dimension based on the number of objects participating in the meeting event. This can be converted into latitude and longitude position information to determine the reference center position point.
[0158] Optionally, in this embodiment, the step "calculating a reference center location point based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting object" may include: determining a search geographical area containing the locations of each object based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting object; dividing the search geographical area based on a preset distance unit to determine multiple candidate meeting location points based on the division results; performing validity checks on each candidate meeting location point based on the departure and return location information of each object; and determining a reference center location point from the candidate meeting location points based on the check results.
[0159] Specifically, the system iterates through the departure and return location information to find the minimum latitude, minimum longitude, maximum latitude, and maximum longitude. Then, based on these coordinates, it determines the boundary of the geographical region formed by the departure and return locations of all users. This geographical region is a rectangular area encompassing the departure and return locations of all users. This geographical region, also known as the search geographical area, provides a search range for finding the optimal meeting place.
[0160] Based on the departure and return location information of the meeting initiator, as well as the departure and return location information of each meeting object, when determining the search geographical area containing the locations of each object, the latitude and longitude of the departure and return location information of all objects can be extracted separately, and the minimum latitude can be found. min Minimum longitude min Maximum latitude lat max Maximum longitude max . with (lat min,lon min (lat) represents the coordinates of the lower left corner. max ,lon max The coordinates of the upper right corner are used to define a rectangular area, which is the search geographic area containing the locations of each object.
[0161] The preset distance unit, also known as the grid step size, can be set according to the actual situation. By dividing the search geographical area into preset distance units, the search area can be divided into multiple small squares with a side length equal to the preset distance unit, and each small square is a candidate meeting point.
[0162] In a specific example, the search geographic region is divided based on a preset distance unit Δ. The coordinates of the lower left corner of the search geographic region (lat) are used as the reference. min ,lon min Starting from [0, 0], a series of grid points are generated by increasing the step size by Δ in both the latitude and longitude directions. The coordinates of each grid point are (lat). min +iΔ,lon min +jΔ)(i and j are non-negative integers), these grid points are the candidate meeting locations. However, it is necessary to ensure that these grid points are all within the search geographic area.
[0163] Specifically, the validity of each candidate meeting point can be checked based on the location point attributes in the departure and return location information of each object; these location point attributes can include acceptable distance from the meeting place, etc.
[0164] Optionally, in this embodiment, the departure location information includes acceptable distance information from the departure location to the meeting point, and the return location information includes acceptable distance information from the meeting point to the return location.
[0165] The step "to perform validity checks on each candidate meeting point based on the departure and return location information of each object" may include: for each candidate meeting point, calculating the distance information from the candidate meeting point to the departure and return location of each object; comparing the distance information with the acceptable distance information, and performing validity checks on the candidate meeting point based on the comparison results.
[0166] Specifically, when the comparison results show that the distance information from each departure point to the candidate meeting point is not greater than the corresponding acceptable distance, and the distance information from each return point to the candidate meeting point is not greater than the corresponding acceptable distance, it can be determined that the candidate meeting point has passed the validity test.
[0167] 205. The terminal determines the meeting location information of the meeting initiator and each meeting object based on the reference center location point.
[0168] Optionally, in this embodiment, the step "determine the meeting location information of the meeting initiator and each meeting object based on the reference center location point" may include: obtaining community feedback information for the meeting location; determining meeting location preference parameters based on the community feedback information; and determining the meeting location information of the meeting initiator and each meeting object based on the reference center location point and the meeting location preference parameters.
[0169] This embodiment utilizes community feedback to optimize the recommendation of meeting places. By collecting and analyzing user feedback data, the algorithm for recommending meeting places can be continuously improved. For example, based on user satisfaction ratings and actual usage data, algorithm parameters can be adjusted to improve the accuracy and satisfaction of the recommendations. User feedback data can also include users' social network data, which can be used to further optimize the recommendation of meeting places. For example, prioritizing recommendations of locations that users have visited together or locations recommended by users' friends.
[0170] The meeting location preference parameters may include satisfaction ratings for the location and frequency of visits to the location.
[0171] As a specific example, let s be the user's satisfaction rating for a location in the community feedback information and f be the access frequency. Then the meeting place preference parameter p = a × s + b × f (a and b are preset weight coefficients, and a + b = 1).
[0172] Specifically, with the reference center location as the center, a search can be conducted within a radius of 2 kilometers for meeting location information that matches the meeting location preference parameters.
[0173] 206. The terminal displays a query results page based on the meeting location information, the query results page including the meeting location information pushed to the meeting initiator.
[0174] This application provides a solution for finding meeting points among multiple people in a multi-trip scenario. When searching for the best meeting point, it can simultaneously consider the users' next destination, resulting in a more user-friendly meeting point solution. Specifically, it allows users to provide their current location along with their next destination as reference information for meeting point calculation. This takes into account the scenario where everyone goes home or to other destinations after meeting, avoiding situations where "some users need to walk a longer distance to reach their next destination after the meeting," thus improving the user experience.
[0175] As can be seen from the above, this embodiment can display a meeting location query page for a meeting event initiated by the meeting initiator on the terminal. The meeting location query page includes: the departure location information of the meeting initiator, a return information setting control, a meeting object invitation control, and a meeting location query control; in response to the information setting operation of the return information setting control, the return location information of the meeting initiator is displayed on the meeting location query page; in response to the triggering operation of the meeting object invitation control, meeting invitation information is sent to at least one meeting object of the meeting initiator. The system obtains the departure and return location information of the meeting participants based on the meeting invitation information; in response to the triggering operation of the meeting location query control, it calculates a reference center location point based on the departure and return location information of the meeting initiator and each meeting participant; it determines the meeting location information between the meeting initiator and each meeting participant based on the reference center location point; and it displays a query result page based on the meeting location information, the query result page including the meeting location information pushed to the meeting initiator.
[0176] When determining the meeting location, this application considers not only the departure location information of each participant but also their return location information. This makes the determined meeting location more reasonable. Moreover, this application eliminates the need for users to search and select meeting locations themselves, greatly improving the efficiency of meeting location determination.
[0177] To better implement the above methods, this application also provides a location determination device, as shown in FIG3. The location determination device may include a first display unit 301, a setting unit 302, an invitation unit 303, and a second display unit 304, as follows:
[0178] (1) First display unit 301;
[0179] The first display unit is used to display the meeting location query page of the meeting event initiated by the meeting initiator in the client. The meeting location query page includes: the departure location information of the meeting initiator, the return information setting control, the meeting object invitation control, and the meeting location query control.
[0180] (2) Set unit 302;
[0181] The setting unit is used to respond to the information setting operation of the return trip information setting control and display the return location information of the meeting initiator on the meeting location query page.
[0182] Optionally, in some embodiments of this application, the setting unit may include a first display subunit, a second display subunit, and a setting subunit, as follows:
[0183] The first display subunit is used to respond to the trigger operation of the return information setting control to display a location point setting area and a location attribute setting area on the meeting place query page. The location attribute setting area includes at least one setting item corresponding to a preset return location point attribute.
[0184] The second display subunit is used to respond to an information input operation for the location point setting area and display the return location point information of the meeting initiator corresponding to the information input operation in the location point setting area.
[0185] The setting subunit is used to respond to the setting operation of the selected setting item in the location attribute setting area, and set the return location attribute information of the meeting initiator based on the preset return location point attribute corresponding to the selected setting item.
[0186] (3) Invitation Unit 303;
[0187] The invitation unit is used to send meeting invitation information to at least one meeting object of the meeting initiator in response to the triggering operation of the meeting object invitation control, so as to obtain the departure location information and return location information of the meeting object based on the meeting invitation information.
[0188] (4) Second display unit 304;
[0189] The second display unit is used to respond to the trigger operation of the meeting location query control and display a query result page. The query result page includes meeting location information pushed to the meeting initiator. The meeting location information is determined based on the departure location information and return location information of each object. The object includes the meeting initiator and the at least one meeting object.
[0190] Optionally, in some embodiments of this application, the query results page further includes a venue display control; the location determination device may also include a meeting venue display unit, as follows:
[0191] The meeting venue display unit is used to display a parameter setting area on the query results page in response to a trigger operation of the venue display control. The parameter setting area includes at least one venue attribute setting item. In response to a setting operation of the venue attribute setting item, the unit displays the venue information of the meeting event venue to the meeting initiator on the query results page based on the meeting location information and the attribute information of each set venue attribute setting item.
[0192] Optionally, in some embodiments of this application, the query results page further includes a venue type selection control;
[0193] The location determination device may further include a site type update unit, as follows:
[0194] The venue type update unit is configured to, in response to a trigger operation of the venue type selection control, display a venue type list on the query results page, the venue type list including multiple preset venue type selection sub-controls; and, in response to a trigger operation of the selection sub-control of the selected venue type, update the meeting event venues on the query results page based on the selected venue type, wherein the selected venue type is any preset venue type.
[0195] Optionally, in some embodiments of this application, the query results page further includes a meeting object adjustment control; the location determination device may also include a meeting object adjustment unit, as follows:
[0196] The meeting object adjustment unit is configured to, in response to a trigger operation of the meeting object adjustment control, display an object selection page, the object selection page including a meeting object invitation control and a meeting location update control; in response to a trigger operation of the meeting object invitation control, display an object addition page, the object addition page including at least one candidate object; in response to a selection operation of a candidate object on the object addition page, send meeting invitation information to the selected object, obtain the departure location information and return location information of the selected object based on the meeting invitation information, and update the selected object to the objects participating in the meeting event; and in response to a trigger operation of the meeting location update control, update and display the meeting location information based on the departure location information and return location information of the objects currently participating in the meeting event.
[0197] Optionally, in some embodiments of this application, the query results page further includes a selection control for at least one candidate travel mode; the location determination device may also include a travel service unit, as follows:
[0198] The travel service unit is used to display a travel service page in response to the triggering operation of the selection control corresponding to the selected travel mode. The travel service page includes navigation route information from the departure location information of the meeting initiator to the meeting location information using the selected travel mode. The selected travel mode can be any candidate travel mode.
[0199] Optionally, in some embodiments of this application, the second display unit may include a calculation subunit, a meeting location determination subunit, and a display subunit, as follows:
[0200] The calculation subunit is used to respond to the trigger operation of the meeting location query control, and calculate the reference center location point based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting object.
[0201] The meeting location determination subunit is used to determine the meeting location information of the meeting initiating object and each meeting object based on the reference center location point;
[0202] The display sub-unit is used to display the query results page based on the meeting location information.
[0203] Optionally, in some embodiments of this application, the calculation subunit may be specifically used to obtain travel demand information of each object; determine the weight information of the starting position information and the weight information of the return position information of each object based on the travel demand information of each object; update the starting position information and the return position information of each object based on the weight information of the starting position information and the weight information of the return position information of each object; and calculate the reference center position point according to the updated starting position information and the updated return position information of each object.
[0204] Optionally, in some embodiments of this application, the calculation subunit may be specifically used to perform multi-dimensional spatial point parsing processing on the departure and return position information of each object to obtain the position components of each departure position information in each spatial dimension and the position components of each return position information in each spatial dimension; for each spatial dimension, the position components of each departure position information and the position components of each return position information in the spatial dimension are fused to obtain the fused position component in the spatial dimension; based on the number of objects participating in the meeting event, the fused position components in each spatial dimension are averaged to obtain the average position component in each spatial dimension; and a reference center position point is calculated based on the average position component in each spatial dimension.
[0205] Optionally, in some embodiments of this application, the meeting location determination subunit may be used to obtain community feedback information regarding the meeting location; determine meeting location preference parameters based on the community feedback information; and determine the meeting location information between the meeting initiator and each meeting object according to the reference center location point and the meeting location preference parameters.
[0206] Optionally, in some embodiments of this application, the calculation subunit may be specifically used to determine a search geographical area containing the locations of each object based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting object; divide the search geographical area based on a preset distance unit to determine multiple candidate meeting location points based on the division results; perform validity checks on each candidate meeting location point based on the departure and return location information of each object; and determine a reference center location point from the candidate meeting location points based on the detection results.
[0207] Optionally, in some embodiments of this application, the departure location information includes acceptable distance information from the departure location to the meeting location, and the return location information includes acceptable distance information from the meeting location to the return location. The step "to perform validity detection on each candidate meeting location based on the departure location information and return location information of each object" may include: for each candidate meeting location, calculating the distance information from the candidate meeting location to the departure location and return location of each object; comparing the distance information with the acceptable distance information, and performing validity detection on the candidate meeting location based on the comparison result.
[0208] Optionally, in some embodiments of this application, the step "determining a reference center location from each candidate meeting location based on the detection results" may include: selecting at least one candidate meeting location from each candidate meeting location based on the detection results; determining, for each candidate meeting location, the transportation costs required from the candidate meeting location to the departure and return locations of each object; and determining a reference center location from each candidate meeting location based on the transportation costs.
[0209] As can be seen from the above, in this embodiment, the first display unit 301 can display a meeting location query page for a meeting event initiated by the meeting initiator in the client. The meeting location query page includes: the departure location information of the meeting initiator, a return information setting control, a meeting object invitation control, and a meeting location query control. The setting unit 302, in response to the information setting operation of the return information setting control, displays the return location information of the meeting initiator in the meeting location query page. The invitation unit 303, in response to the triggering operation of the meeting object invitation control, sends meeting invitation information to at least one meeting object of the meeting initiator to obtain the departure location information and return location information of the meeting object based on the meeting invitation information. The second display unit 304, in response to the triggering operation of the meeting location query control, displays a query result page. The query result page includes meeting location information pushed to the meeting initiator. The meeting location information is determined based on the departure location information and return location information of each object, and the objects include the meeting initiator and the at least one meeting object.
[0210] When determining the meeting location, this application considers not only the departure location information of each participant but also their return location information. This makes the determined meeting location more reasonable. Moreover, this application eliminates the need for users to search and select meeting locations themselves, greatly improving the efficiency of meeting location determination.
[0211] This application also provides an electronic device, as shown in FIG4, which illustrates the structural schematic diagram of the electronic device involved in this application embodiment. The electronic device may be a terminal or a server, etc. Specifically:
[0212] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that the electronic device structure shown in FIG4 does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0213] The processor 401 is the control center of the electronic device, connecting various parts of the device via various interfaces and lines. It executes software programs and / or modules stored in the memory 402, and calls data stored in the memory 402, to perform various functions and process data. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.
[0214] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0215] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0216] The electronic device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0217] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402 to realize various functions, as follows:
[0218] The client displays a meeting location query page for a meeting event initiated by the meeting initiator. The meeting location query page includes: the meeting initiator's departure location information, return location information setting controls, a meeting object invitation control, and a meeting location query control. In response to an information setting operation on the return location information setting control, the meeting location query page displays the meeting initiator's return location information. In response to a trigger operation on the meeting object invitation control, a meeting invitation message is sent to at least one meeting object of the meeting initiator to obtain the meeting object's departure and return location information based on the meeting invitation message. In response to a trigger operation on the meeting location query control, a query results page is displayed. The query results page includes meeting location information pushed to the meeting initiator, which is determined based on the departure and return location information of each object, including the meeting initiator and the at least one meeting object.
[0219] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0220] As can be seen from the above, this embodiment can display a meeting location query page for a meeting event initiated by a meeting initiator in the client. The meeting location query page includes: the departure location information of the meeting initiator, a return information setting control, a meeting object invitation control, and a meeting location query control. In response to the information setting operation of the return information setting control, the return location information of the meeting initiator is displayed on the meeting location query page. In response to the triggering operation of the meeting object invitation control, a meeting invitation message is sent to at least one meeting object of the meeting initiator to obtain the departure location information and return location information of the meeting object based on the meeting invitation message. In response to the triggering operation of the meeting location query control, a query result page is displayed. The query result page includes meeting location information pushed to the meeting initiator. The meeting location information is determined based on the departure location information and return location information of each object, and the objects include the meeting initiator and the at least one meeting object.
[0221] When determining the meeting location, this application considers not only the departure location information of each participant but also their return location information. This makes the determined meeting location more reasonable. Moreover, this application eliminates the need for users to search and select meeting locations themselves, greatly improving the efficiency of meeting location determination.
[0222] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0223] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute steps in any of the location determination methods provided in embodiments of this application. For example, the instructions can execute the following steps:
[0224] The client displays a meeting location query page for a meeting event initiated by the meeting initiator. The meeting location query page includes: the meeting initiator's departure location information, return location information setting controls, a meeting object invitation control, and a meeting location query control. In response to an information setting operation on the return location information setting control, the meeting location query page displays the meeting initiator's return location information. In response to a trigger operation on the meeting object invitation control, a meeting invitation message is sent to at least one meeting object of the meeting initiator to obtain the meeting object's departure and return location information based on the meeting invitation message. In response to a trigger operation on the meeting location query control, a query results page is displayed. The query results page includes meeting location information pushed to the meeting initiator, which is determined based on the departure and return location information of each object, including the meeting initiator and the at least one meeting object.
[0225] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0226] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0227] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the position determination methods provided in the embodiments of this application, the beneficial effects that any of the position determination methods provided in the embodiments of this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0228] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in various alternative implementations of the above-described location determination aspect.
[0229] In summary, this application provides a location determination method, apparatus, device, computer-readable storage medium, and computer program product. By displaying a meeting location query page on a client side for a meeting event initiated by a meeting initiator, the page includes the meeting initiator's departure location information, return information setting controls, meeting participant invitation controls, and meeting location query controls, providing a basic framework for the system to collect meeting-related location information. Responding to information setting operations on the return information setting controls displays the meeting initiator's return location information; responding to trigger operations on the meeting participant invitation controls retrieves the meeting participant's departure and return location information, enabling the system to grasp complete location data for all participants in the meeting. Based on this data, responding to trigger operations on the meeting location query controls displays a query result page for the meeting location information. From the perspective of system resource utilization, the automated information collection and integration process reduces manual intervention, avoids duplicate data entry and errors, and reduces the redundancy of system data storage.
[0230] Meanwhile, in subsequent calculations, calculations are based on complete and accurate location data, avoiding unnecessary computational steps, improving the utilization rate of system computing resources, and enhancing the overall processing efficiency of the system. From the perspective of data accuracy, comprehensively collecting the departure and return location information of each object provides a more accurate data foundation for determining the meeting location, reducing calculation errors caused by missing or inaccurate data, and improving the accuracy of meeting location determination. In addition, in terms of data interaction, timely and accurate information collection and transmission ensure the timeliness of information synchronization between the client and the server, reducing user waiting time and improving the system's response speed and interaction efficiency.
[0231] Furthermore, when responding to information setting operations for the return trip information setting control, the location point setting area and location attribute setting area are displayed first, followed by the response to display the return trip location point information and the set return trip location attribute information. This structured information setting process standardizes the way users input information, helping to ensure the accuracy and consistency of user input. Accurate and consistent return trip location information provides more reliable data support for subsequent calculations of the reference center location point, reduces error propagation during the calculation process, improves the accuracy of the reference center location point calculation, and thus enhances the rationality of determining the meeting location.
[0232] Meanwhile, the standardized information input process reduces the cost of handling and correcting erroneous data, improving the system's data processing efficiency. From a system scalability perspective, this structured information setting method facilitates future expansion of information setting functions. For example, adding new location attribute settings only requires simple modifications to the existing structure, without affecting other functional modules, thus reducing system development and maintenance costs.
[0233] When the query results page contains a venue display control, the system responds to its trigger operation to display the parameter setting area, and then responds to the setting operation of the venue attribute settings to display the venue information for the meeting event. Through the venue attribute settings, the system can accurately filter venues around the meeting location according to user needs, narrowing the search scope. From the perspective of system resource utilization, this reduces the system's searching and processing of unnecessary venue information, lowers the system's computational burden, and improves the efficiency of venue matching. From the perspective of data accuracy, filtering based on clearly defined venue attribute settings makes the displayed venue information more in line with user needs, improving the matching degree between venue information and user requirements, reducing repeated filtering and adjustments caused by information mismatch, and improving the accuracy of venue selection. In terms of user experience, the precise venue filtering function provides users with more suitable venue options, reducing the time and effort users spend searching for suitable venues.
[0234] If the query results page contains a venue type selection control, the system responds to its trigger action to display a list of venue types, and then responds to the trigger action of the selected venue type selection sub-control to update the meeting event venue. This mechanism increases the flexibility of venue selection, allowing the system to adjust the venue search scope and filtering conditions in real time based on the user's selection. In terms of system resource utilization, it avoids a comprehensive search of all venue types, reducing unnecessary calculations and data processing, and improving the system's response speed and processing efficiency. Regarding data accuracy, users can select the appropriate venue type according to their actual needs, making the venue information displayed by the system more accurately meet the user's expectations, thus improving the accuracy of venue selection. From a system compatibility perspective, this flexible venue type selection mechanism can easily adapt to venue types in different regions and scenarios, enhancing the system's applicability in different environments.
[0235] When the query results page contains a meeting object adjustment control, the system responds to its trigger operation by displaying the object selection page. A series of operations then dynamically adjust the meeting objects and update the meeting location information. This process allows for changes to the participants during the meeting based on actual circumstances, and the system can quickly respond and recalculate the reference center point and meeting location information. From a system resource utilization perspective, when handling meeting object adjustments, the system can quickly update and calculate based on existing data structures and algorithms, avoiding the need to recollect and process all data, thus improving system processing efficiency. Regarding data accuracy, timely updates to the location information of participating meeting objects ensure that the system's calculated reference center point and meeting location information match the actual distribution of participating objects, improving the accuracy of meeting location determination. In terms of system scalability, the dynamic meeting object adjustment function provides a foundation for adding more personnel management and adjustment functions to the system in the future, facilitating further expansion of system functionality.
[0236] If the query results page contains selection controls for candidate travel modes, the system responds to the trigger operation of the selected travel mode's corresponding selection control to display a travel service page containing navigation route information. It provides users with multiple travel mode navigation options, and the system can quickly calculate the navigation route using map algorithms based on the user's selected travel mode and meeting location information. In terms of system resource utilization, the system can perform efficient calculations based on existing map data and algorithms, avoiding redundant calculations and data queries, thus improving the utilization rate of system computing resources. Regarding data accuracy, calculating the navigation route based on the user's selected travel mode makes the navigation route more consistent with the user's actual travel needs, improving the accuracy and practicality of the navigation route. From a user experience perspective, providing multiple travel mode navigation options satisfies the travel preferences of different users, providing users with more convenient travel planning services and enhancing user satisfaction with the system.
[0237] When displaying the query results page in response to the meeting location query control, the system first calculates the reference center location based on the origin and return location information of each object. Then, it determines the meeting location information based on the reference center location and finally displays the query results page. By calculating the reference center location, the system comprehensively considers the location information of each object, making the meeting location geographically closer to the geometric center of each object's location. From the perspective of system resource utilization, the system can use optimized algorithms to efficiently process the location information of each object when calculating the reference center location, reducing calculation steps and time costs, and improving the system's computational efficiency. From the perspective of data accuracy, comprehensively considering the origin and return location information of each object makes the calculated reference center location more accurately reflect the positional relationship of each object, thereby improving the accuracy of meeting location determination. From the perspective of system compatibility, this method of calculating the reference center location based on location information can be adapted to geographical data in different regions, enhancing the system's applicability in different geographical areas.
[0238] Furthermore, when calculating the reference center location, the system acquires the travel demand information of each object, determines the weight information of each object's origin and return location based on this information, updates the location information of each object based on this weight information, and finally calculates the reference center location based on the updated information. Considering and weighting the travel demands of each object allows the system to more flexibly adjust the influence of each object's location information when calculating the reference center location. From the perspective of system resource utilization, the introduction of weight information allows the system to process the location information of each object more specifically, avoiding the need to calculate all object location information to the same degree, thus improving computational efficiency. Regarding data accuracy, the weight information determined based on travel demand makes the calculated reference center location more consistent with reality, reducing calculation deviations caused by not considering travel demand and improving the accuracy of the reference center location calculation. In terms of system scalability, this method of determining weights based on travel demand facilitates subsequent expansion to the types of travel demand and weight calculation methods to adapt to more complex scenarios.
[0239] When calculating the reference center location, the origin and return location information of each object can be analyzed in multiple spatial dimensions to obtain the location components of each location information in each spatial dimension. Then, these location components are fused across all spatial dimensions to obtain the fused location component. The fused location component is then averaged based on the number of objects participating in the meeting event to obtain the average location component. Finally, the reference center location is calculated based on the average location component. From the perspective of system resource utilization, multi-spatial-dimensional analysis and fusion processing can leverage the system's parallel computing capabilities, improving computational efficiency. Simultaneously, by fusing and averaging the location components, data complexity is reduced, lowering the system's computational burden. From the perspective of data accuracy, multi-spatial-dimensional processing more comprehensively reflects the positional relationships of each object, avoiding the limitations of single-dimensional calculations and improving the accuracy of the reference center location calculation. From the perspective of system scalability, multi-spatial-dimensional processing provides the possibility of introducing more spatial dimensions or refining existing dimensions, enhancing the system's scalability.
[0240] When determining the meeting location information based on the reference center point, community feedback information regarding the meeting place is obtained. Meeting location preference parameters are determined based on this feedback, and then the final meeting location information is determined using both the reference center point and these preference parameters. Community feedback provides additional reference data for meeting location determination. From a system resource utilization perspective, the system can utilize existing community feedback data storage and analysis mechanisms to efficiently process the feedback information, reducing additional data collection and processing costs. Regarding data accuracy, combining the meeting location preference parameters determined by community feedback makes the determined meeting location more consistent with the actual situation and potential user needs, improving the accuracy and practicality of meeting location determination. From a user experience perspective, considering community feedback makes users feel that the system pays attention to the actual situation, increasing user trust in the system.
[0241] When calculating the reference center location, a search geographic area encompassing the locations of each object is determined based on the origin and return location information of each object. This search geographic area is then divided into multiple candidate meeting points based on preset distance units. The validity of each candidate meeting point is then checked based on the origin and return location information of each object. Finally, the reference center location is determined from the candidate meeting points based on the check results. From the perspective of system resource utilization, determining and dividing the search geographic area narrows the search range for the reference center location, reduces calculations and searches in invalid areas, lowers the computational burden, and improves computational efficiency. From the perspective of data accuracy, the validity check of candidate meeting points eliminates unsuitable locations, making the determined reference center location more consistent with reality and improving the accuracy of the reference center location calculation. From the perspective of system scalability, the preset distance unit setting facilitates subsequent adjustments to the search accuracy according to different scenarios, enhancing the system's flexibility and adaptability.
[0242] When the departure location information includes acceptable distance information from the departure point to the meeting point, and the return location information includes acceptable distance information from the meeting point to the return point, the validity check of each candidate meeting point calculates the distance information from the candidate meeting point to each object's departure and return points, and compares it with the acceptable distance information. From a system resource utilization perspective, this mechanism avoids further calculation and analysis of candidate meeting points that are too far away, reducing the system's computational load. From a data accuracy perspective, it ensures that candidate meeting points are within the acceptable distance range for each object, improving the feasibility and rationality of determining the reference center location and meeting location. From a user experience perspective, considering acceptable distance information makes travel more convenient for users, reducing their travel and time costs.
[0243] When determining the reference center location from candidate meeting points based on detection results, candidate meeting points are selected. For each candidate meeting point, the required transportation costs to the departure and return points of each participant are determined. Based on these transportation costs, the reference center location is determined from the candidate meeting points. Considering transportation costs in terms of system resource utilization, the system can quickly calculate transportation costs based on existing traffic data and algorithms, avoiding a comprehensive evaluation of all candidate meeting points and improving the efficiency of determining the reference center location. In terms of data accuracy, comprehensively considering transportation costs ensures that the determined reference center location better reflects the convenience and economy of actual travel, reducing unreasonable location selections caused by neglecting transportation costs and improving the accuracy of reference center location and meeting point determination. From a user experience perspective, meeting locations with lower transportation costs are selected for users, reducing their travel expenses and increasing user satisfaction. Meanwhile, this transportation cost-based selection mechanism aligns with modern society's demands for resource conservation and economic efficiency, demonstrating the system's advanced nature and practicality. From a system scalability perspective, the calculation method for transportation costs can be further optimized and expanded, for example, by considering changes in transportation costs over different time periods and the combined costs of different transportation modes, to adapt to more complex travel scenarios.
[0244] The above provides a detailed description of a location determination method and related equipment provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
[0245] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0246] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A location determination method, executed by an electronic device, comprising: The client displays a meeting location query page for a meeting event initiated by the meeting initiator. The meeting location query page includes: the departure location information of the meeting initiator, return information setting controls, meeting initiator invitation controls, and meeting location query controls. In response to the information setting operation of the return trip information setting control, the return location information of the meeting initiator is displayed on the meeting location query page; In response to a trigger operation on the meeting object invitation control, a meeting invitation message is sent to at least one meeting object of the meeting initiator, so as to obtain the departure location information and return location information of the meeting object based on the meeting invitation message; and In response to the triggering operation of the meeting location query control, a query results page is displayed. The query results page includes meeting location information pushed to the meeting initiator. The meeting location information is determined based on the departure and return location information of each object. The object includes the meeting initiator and the at least one meeting object.
2. The method according to claim 1, wherein displaying the return location information of the meeting initiator in the meeting location query page in response to the information setting operation of the return information setting control includes: In response to the triggering operation of the return trip information setting control, a location point setting area and a location attribute setting area are displayed on the meeting place query page. The location attribute setting area includes at least one setting item corresponding to a preset return trip location point attribute. In response to an information input operation for the location point setting area, the return location point information of the meeting initiator corresponding to the information input operation is displayed in the location point setting area. In response to a setting operation for a selected setting item in the location attribute setting area, the return location attribute information of the meeting initiator is set based on the preset return location point attribute corresponding to the selected setting item.
3. The method according to claim 1 or 2, wherein the query results page further includes a venue display control; the method further includes: In response to a triggering operation of the venue display control, a parameter setting area is displayed on the query results page, the parameter setting area including at least one venue attribute setting item; In response to the setting operation of the venue attribute settings, based on the meeting location information and the attribute information of each set venue attribute settings, the venue information of the meeting event venue is displayed to the meeting initiator on the query results page.
4. The method according to claim 3, wherein the query results page further includes a venue type selection control; The method further includes: In response to the triggering operation of the venue type selection control, a list of venue types is displayed on the query results page, the list of venue types including multiple preset venue type selection sub-controls; In response to the triggering operation of the selection sub-control of the selected venue type, the meeting venues on the query results page are updated based on the selected venue type, wherein the selected venue type is any preset venue type.
5. The method according to any one of claims 1 to 4, wherein the query results page further includes a meeting object adjustment control; the method further includes: In response to a trigger operation on the adjustment control of the meeting object, an object selection page is displayed, the object selection page including a meeting object invitation control and a meeting location update control; In response to the triggering operation of the meeting object invitation control, an object addition page is displayed, the object addition page including at least one candidate object; In response to the selection operation of candidate objects in the object addition page, a meeting invitation message is sent to the selected object to obtain the departure location information and return location information of the selected object based on the meeting invitation message, and the selected object is updated to the objects participating in the meeting event; In response to the triggering operation of the meeting location update control, the meeting location information is updated and displayed based on the departure and return location information of the objects currently participating in the meeting event.
6. The method according to any one of claims 1 to 5, wherein the query results page further includes at least one selection control for candidate travel modes; the method further includes: In response to the triggering operation of the selection control corresponding to the selected travel mode, a travel service page is displayed. The travel service page includes navigation route information from the departure location information of the meeting initiator to the meeting location information using the selected travel mode. The selected travel mode can be any candidate travel mode.
7. The method according to any one of claims 1 to 6, wherein displaying the query results page in response to a triggering operation of the meeting location query control includes: In response to the triggering operation of the meeting location query control, a reference center location point is calculated based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting object. Based on the reference center location point, determine the meeting location information between the meeting initiator and each meeting object; Based on the meeting location information, the query results page is displayed.
8. The method according to claim 7, wherein calculating the reference center position point based on the departure and return position information of the meeting initiator and the departure and return position information of each meeting participant includes: Obtain travel demand information for each individual; Based on the travel demand information of each object, determine the weight information of the starting location information and the weight information of the return location information of each object; Based on the weighted information of the starting position information and the weighted information of the return position information of each object, update the starting position information and the return position information of each object; Calculate the reference center position point based on the updated starting position information and the updated return position information of each object.
9. The method according to claim 7 or 8, wherein calculating the reference center position point based on the departure and return position information of the meeting initiator and the departure and return position information of each meeting participant includes: The starting and returning position information of each object is processed by multiple spatial dimensions to obtain the position components of each starting position information in each spatial dimension and the position components of each returning position information in each spatial dimension. For each spatial dimension, the position components of each departure position information and the position components of each return position information in the spatial dimension are fused to obtain the fused position components in the spatial dimension. Based on the number of objects participating in the meeting event, the fused position components in each spatial dimension are averaged to obtain the average position components in each spatial dimension. The reference center location point is calculated based on the average position components in each spatial dimension.
10. The method according to any one of claims 7 to 9, wherein determining the meeting location information of the meeting initiator and each meeting object based on the reference center location point includes: Obtain community feedback regarding the meeting location; Based on the community feedback information, the meeting location preference parameters are determined; Based on the reference center location point and the meeting location preference parameters, the meeting location information of the meeting initiator and each meeting object is determined.
11. The method according to any one of claims 7 to 10, wherein calculating the reference center position point based on the departure and return position information of the meeting initiator and the departure and return position information of each meeting participant comprises: Based on the departure and return location information of the meeting initiator and the departure and return location information of each meeting object, a search geographical area containing the location of each object is determined. The search geographical area is divided based on a preset distance unit, so as to determine multiple candidate meeting locations based on the division results. The validity of each candidate meeting point is checked based on the departure and return location information of each object. Based on the test results, a reference center location was determined from the various candidate meeting locations.
12. The method according to claim 11, wherein the departure location information includes acceptable distance information from the departure location to the meeting point, and the return location information includes acceptable distance information from the meeting point to the return location; The validity check of each candidate meeting point based on the departure and return location information of each object includes: For each candidate meeting location, calculate the distance information from the candidate meeting location to the starting and returning locations of each object; The distance information is compared with the acceptable distance information, and the validity of the candidate meeting location is checked based on the comparison result.
13. The method according to claim 11 or 12, wherein determining the reference center location point from the candidate meeting locations based on the detection results includes: Based on the test results, at least one candidate meeting location is selected from each of the candidate meeting locations. For each candidate meeting location, determine the transportation costs required from the candidate meeting location to the departure and return locations of each individual. Based on the aforementioned transportation costs, a reference center location is determined from among the candidate meeting locations.
14. A position determining device, comprising: The first display unit is used to display the meeting location query page of the meeting event initiated by the meeting initiator in the client. The meeting location query page includes: the departure location information of the meeting initiator, the return information setting control, the meeting object invitation control, and the meeting location query control. The setting unit is used to respond to the information setting operation of the return information setting control and display the return location information of the meeting initiator in the meeting location query page; An invitation unit is configured to, in response to a trigger operation on the invitation control for the meeting object, send meeting invitation information to at least one meeting object of the meeting initiator, so as to obtain the departure location information and return location information of the meeting object based on the meeting invitation information; and The second display unit is used to respond to the trigger operation of the meeting location query control and display a query result page. The query result page includes meeting location information pushed to the meeting initiator. The meeting location information is determined based on the departure location information and return location information of each object. The object includes the meeting initiator and the at least one meeting object.
15. An electronic device comprising a memory and a processor; the memory storing an application program, and the processor running the application program within the memory to perform operations in the location determination method according to any one of claims 1 to 13.
16. A computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to perform the steps of the location determination method according to any one of claims 1 to 13.
17. A computer program product comprising a computer program or instructions which, when executed by a processor, implement the steps of the location determination method according to any one of claims 1 to 13.