Interaction method and device, equipment and storage medium

By using maps to present the area and area outlines in taxi-hailing applications, combined with the scaling ratio and contour integrity requirements, the problem of difficulty in accurately displaying the position relationship of recommended carriage points in the existing technology is solved, and the effect of users being more easily found carriage points is improved, and the travel experience is improved.

CN119828928AInactive Publication Date: 2025-04-15DITU (BEIJING) TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411885578.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-04-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When existing taxi-hailing applications show the relative relationship between the recommended carriage point and the user's location, it is difficult for users to accurately reflect their position relationship, making it difficult for users to find the recommended carriage point and affecting the user experience.

Method used

By presenting a travel interface associated with a travel service, including a map presentation area, in response to the target user's attention area being marked with an area outline, the target scaling ratio of the map presentation area is determined based on the scaling scale requirements and the contour integrity requirements, and the target travel starting point and area outline are presented based on this.

Benefits of technology

By clearly displaying the relative positional relationship between the target travel starting point and the regional outline, users can accurately and quickly find the target travel starting point and improve travel efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119828928A_ABST
    Figure CN119828928A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a method and device for interaction, equipment and a storage medium. The method provided by the invention comprises the following steps: presenting a travel interface associated with a travel service, wherein the travel interface comprises a map presentation area; in response to determining that the region of interest of the target user is marked with the region contour, determining a target scaling of the map presentation region based on a scaling requirement related to the map presentation region and a contour integrity requirement related to the region contour; and presenting the target travel starting point and the region contour of the target user based on the target scaling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of travel service technology, and more particularly, to a method, apparatus, device, and storage medium for interaction. Background Art

[0002] Travel services are services related to people's daily travel needs, which cover services related to various means of transportation. For example, with the help of travel services, users can easily make reservations for various means of transportation, thus providing users with a more convenient travel experience. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for interaction is provided. The method includes: presenting a travel interface associated with a travel service, the travel interface including a map presentation area; in response to determining that a target user's area of ​​interest is marked with an area outline, determining a target zoom ratio of the map presentation area based on a zoom ratio requirement related to the map presentation area and an outline integrity requirement related to the area outline; and presenting a target travel starting point and an area outline of the target user based on the target zoom ratio.

[0004] In a second aspect of the present disclosure, a device for interaction is provided. The device includes: an interface presentation module configured to present a travel interface associated with a travel service, the travel interface including a map presentation area; a zoom ratio determination module configured to determine a target zoom ratio of the map presentation area based on a zoom ratio requirement related to the map presentation area and an outline integrity requirement related to the area outline in response to determining that the area of ​​interest of the target user is marked with an area outline; and a map presentation module configured to present a target travel starting point and an area outline of the target user based on the target zoom ratio.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0007] In a fifth aspect of the present disclosure, a computer program product is provided, which includes computer executable instructions, and when the instructions are executed by a processor, the method according to the first aspect of the present disclosure is implemented.

[0008] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0010] Figure 1 A schematic diagram illustrating an example environment in which embodiments of the present disclosure can be implemented;

[0011] Figure 2 A flowchart showing an example process of a method for interaction according to some embodiments of the present disclosure;

[0012] Figure 3 A schematic diagram showing an example of a map presentation area according to some embodiments of the present disclosure;

[0013] Figure 4 A schematic diagram showing an example of presenting a region outline without performing a target scaling calculation;

[0014] Figure 5 A schematic structural block diagram of an apparatus for interaction according to some embodiments of the present disclosure is shown; and

[0015] Figure 6 A block diagram of an electronic device is shown in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION

[0016] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0017] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0018] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0019] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0020] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.

[0021] As briefly described above, with the increasing development of Internet technology, travel services have been able to provide users with a more convenient travel experience. Travel services can include services for any appropriate means of transportation and related services. For example, travel services can include travel services related to various means of transportation such as taxis, buses, subways, shared bicycles, online car-hailing, ride-sharing, and self-driving car rentals.

[0022] Take taxi services as an example. Users only need to enter their departure and destination on the taxi app, and the taxi app can quickly recommend a suitable pick-up point and display nearby available vehicles. In this way, taxi apps shorten users' car-hailing time, thereby improving their travel efficiency and satisfaction.

[0023] In a taxi-hailing application, users need to see the relative relationship between the recommended boarding point of the taxi-hailing application and their own location. Currently, taxi-hailing applications can reflect the relative relationship between the recommended boarding point and the user's location based on the relative position between the Point of Interest (POI) related to the user's location and the recommended boarding point. The point of interest here can refer to a specific location or geographical entity where the user is located, such as a restaurant, store, museum or park. When the recommended boarding point is far away from the POI (for example, it is located on an external road outside the entity indicated by the POI) or the recommended boarding point is an unfamiliar location for the user, since the POI only represents a specific point, it is difficult for the POI to accurately reflect the relative relationship between it and the recommended boarding point, making it difficult to guide the user to find the recommended boarding point, which in turn affects the user's experience.

[0024] In view of this, an embodiment of the present disclosure provides a scheme for interaction. According to the scheme, a travel interface associated with a travel service is first presented, and the travel interface includes a map presentation area. Then, in response to determining that the target user's area of ​​interest is marked with an area outline, a target zoom ratio of the map presentation area is determined based on a zoom ratio requirement related to the map presentation area and an outline integrity requirement related to the area outline. Then, based on the target zoom ratio, the target travel starting point and area outline of the target user are presented.

[0025] It will be more clearly understood through the following description that the scheme of the present disclosure presents the target user's target travel starting point and the regional outline in the map presentation area. Compared with POI, the regional outline can clearly show the relative position relationship between the target travel starting point and the regional outline. For example, when the target travel starting point is located on an external road outside the entity where the user is located, the regional outline can reflect which side of the entity where the user is located, etc., so that the user can more easily establish the association between the target travel starting point and his own location. And then guide the user to find the target travel starting point accurately and quickly. In addition, the scheme of the present disclosure intelligently determines a target zoom ratio based on the zoom ratio requirements of the map presentation area and the outline integrity requirements of the regional outline. This target zoom ratio not only ensures the detail of the map, but also ensures that the regional outline can be displayed as completely as possible, thereby avoiding information loss or visual confusion caused by excessive or small zoom ratios.

[0026] Various example implementations of the solution will be described in detail below in conjunction with the accompanying drawings.

[0027] Figure 1 A schematic diagram of an example environment 100 is shown in which embodiments of the present disclosure can be implemented. Figure 1 , the example environment 100 may include a terminal device 110 and a server device 120 .

[0028] In the example environment 100, an application 130 related to travel services is installed on the terminal device 110. The user 140 can interact with the application 130 via the terminal device 110 and / or its attached device. In some embodiments of the present disclosure, the terminal device 110 can present an interface 150 of the application 130, and the user 130 can operate on the interface 150 to reserve at least one travel service. As an example, the travel services here may include travel services related to various means of transportation such as taxis, buses, subways, shared bicycles, online car-hailing, ride-sharing, and self-driving car rentals.

[0029] In some embodiments, the terminal device 110 communicates with the server device 120 to provide services for the application 130. The terminal device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0030] The server device 120 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server device 120 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server device 120 may provide background services for the application 130 that supports content presentation in the terminal device 110.

[0031] A communication connection may be established between the server device 120 and the terminal device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a universal serial bus connection, a wireless fidelity connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server device 120 and the terminal device 110 may implement signaling interaction through the communication connection between the two.

[0032] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.

[0033] Figure 2 A flowchart showing an example process 200 of a method for interaction according to some embodiments of the present disclosure is shown. Figure 3 A schematic diagram showing an example 300 of a map presentation area according to some embodiments of the present disclosure is shown. The process 200 may be implemented at the terminal device 110, as shown below in conjunction with Figure 1 and Figure 3 The process 200 is described.

[0034] Reference Figure 2 In box 210 , the terminal device 110 presents a travel interface associated with the travel service, and the travel interface includes a map presentation area 301 .

[0035] As an example, the travel services here may include travel services related to various means of transportation such as taxis, buses, subways, shared bicycles, online car-hailing, ride-sharing, and self-driving car rentals. For the sake of clarity, unless otherwise specified, the following uses the travel services including taxi-hailing services related to taxis, online car-hailing, ride-sharing, etc. as an example to illustrate various embodiments of the present disclosure.

[0036] As an example, the map presentation area 301 may present map information in a graphical manner. Through the map presentation area 301, the user can clearly see the location where he is, nearby roads, buildings, landmarks, etc. In the taxi service scenario, the map presentation area 301 may also present recommended pick-up points and nearby available vehicles.

[0037] In addition to the map presentation area 301, the travel interface may also include other auxiliary information and function buttons, such as a search box, travel mode selection, estimated arrival time, etc. In the taxi service scenario, the travel interface may also include prompt information 302, a departure input box 303, a destination input box 304, and a vehicle type selection control 305 for selecting a vehicle type. As an example, the prompt information 302, the departure input box 303, the destination input box 304, and the vehicle type selection control 305 for selecting a vehicle type may be suspended above the map presentation area 301. As an example, the departure input box 303 may present the current location of the target user (e.g., departure location A) or present the location input by the user, etc. Of course, this only gives an example presentation method, and any other appropriate presentation method may actually be configured according to application needs.

[0038] In box 220, in response to determining that the target user's area of ​​interest is marked with an area outline 306, the terminal device 110 determines a target zoom ratio of the map presentation area 301 based on a zoom ratio requirement related to the map presentation area 301 and an outline completeness requirement related to the area outline 306.

[0039] As an example, the target user may be a user who is using the application 130. For example, the target user may be the user 140 in the example 100. As an example, the process shown in block 220 may be triggered based on a user's request, or the process shown in block 220 may also be automatically triggered when the application 130 is started.

[0040] As an example, the target user's area of ​​interest may be the area where the user is currently located as identified by the terminal device 110, or the target user's area of ​​interest may also be an area actively selected by the user. As an example, the terminal device 110 may determine whether the area of ​​interest is marked with a specific area outline 306 based on the background data of the travel service. The area outline 306 may be a closed graphic used to clearly identify a specific area on the map, such as a commercial area, a residential area, a park area, etc.

[0041] As an example, in a taxi service scenario, the area outline 306 may be determined based on an Area of ​​Interest (AOI) associated with the area of ​​interest. AOI is used to define the boundaries of various geographic areas, such as residential areas, parks, schools, commercial areas, scenic spots, etc. It is one of the elements in the map application 130, used to accurately represent geospatial information, and help users quickly locate and analyze data in a specific geographic area.

[0042] As an example, the scaling ratio may refer to enlarging or reducing the size of an object (such as a map, an image, etc.) at a certain ratio. In the map presentation area 301, the scaling ratio directly affects whether the user can clearly see the required information and the display density of the information.

[0043] In some embodiments, the zoom scale requirement indicates an upper zoom scale limit and / or a lower zoom scale limit for the map rendering area 301 .

[0044] As an example, the upper limit of the zoom ratio may refer to the maximum scale or level to which the map presented in the map presentation area 301 can be enlarged. Based on the upper limit of the zoom ratio, the map presented in the map presentation area 301 can be prevented from becoming too detailed and difficult to view or process. The lower limit of the zoom ratio may refer to the minimum scale or level to which the map presented in the map presentation area 301 can be reduced. Based on the lower limit of the zoom ratio, the map can be prevented from becoming too macroscopic and losing details.

[0045] As an example, the outline completeness requirement related to the region outline 306 may refer to the extent to which the region outline 306 can be presented clearly and completely in the map presentation area 301. This requirement may be set based on actual application 130 requirements and user experience.

[0046] In some embodiments, the terminal device 110 first determines the initial zoom ratio of the map presentation area 301 based on the outline integrity requirement. At the initial zoom ratio, the map presentation area 301 at least completely presents the area outline 306. Then, in response to determining that the initial zoom ratio does not meet the zoom ratio requirement, the terminal device 110 determines the first predetermined zoom ratio as the target zoom ratio. In response to determining that the initial zoom ratio meets the zoom ratio requirement, the terminal device 110 determines the initial zoom ratio as the target zoom ratio.

[0047] As an example, based on the outline completeness requirement, the terminal device 110 may calculate or query a suitable initial zoom ratio. The initial zoom ratio can ensure that the outline of the area of ​​interest is completely presented in the map presentation area 301.

[0048] After determining the initial zoom ratio, the terminal device 110 can check whether the initial zoom ratio meets the preset zoom ratio requirement. As described above, the zoom ratio requirement includes an upper limit and a lower limit of the zoom ratio. If the initial zoom ratio exceeds the upper limit or the lower limit of the zoom ratio (for example, too large or too small), the terminal device 110 will adjust it to a predetermined zoom ratio, i.e., the first predetermined zoom ratio. This predetermined zoom ratio can be set according to device performance, user needs, and the availability of map data to ensure that the map is clear and easy to view when presented. As an example, the first predetermined zoom ratio here can be the upper limit or the lower limit of the zoom ratio, depending on which of the two is closer to the initial zoom ratio. If the initial zoom ratio is within the range defined by the upper limit and the lower limit of the zoom ratio, the terminal device 110 can directly determine this initial zoom ratio as the target zoom ratio.

[0049] In this way, the terminal device 110 can comprehensively consider the outline integrity requirement and the scaling requirement. Based on these two requirements, the terminal device 110 can ensure that the map presentation area 301 presents the area outline 306 as completely as possible while meeting the actual limitations of the map data.

[0050] In some embodiments, the terminal device 110 determines the target zoom ratio based on the following conditions: The condition here includes taking the target travel starting point 307 of the target user as the zoom center of the map presentation area 301 .

[0051] As an example, when determining the target zoom ratio of the map presentation area 301, the terminal device 110 first determines the target travel starting point 307 of the target user. As an example, the target travel starting point 307 can be determined based on the location selected by the user on the map, the address entered in the text box, or a recommended boarding point determined by the positioning function of the terminal device 110. As an example, in the taxi service scenario, the target travel starting point 307 can also be called a boarding point.

[0052] Once the target travel starting point 307 is determined, the terminal device 110 can use the target travel starting point 307 as the zoom center of the map presentation area 301. This means that in the process of determining the target zoom ratio, the map presentation area 301 can be zoomed in or out around the target travel starting point 307, so that the process of determining the target zoom ratio can comprehensively consider the position of the target travel starting point 307 and the integrity of the area outline 306.

[0053] In some embodiments, the zoom center coincides with the area center of the map presentation area 301. In this way, the terminal device 110 further considers the integrity and balance of the map presentation area 301. In this way, no matter how large or small the target zoom ratio is, it can be ensured that the map presentation area 301 can simultaneously present the target travel starting point 307 and the area outline 306, so that the user can clearly understand the positional relationship between the two.

[0054] In some embodiments, the terminal device 110 also determines the initial zoom ratio based on the user's location presentation requirement. Under the initial zoom ratio, the map presentation area 301 also presents the current location of the target user.

[0055] As an example, the user location presentation requirement may refer to the specific needs of the user for displaying his current location when the map is presented. For example, the user location presentation requirement may indicate that the map presentation area 301 presents the current location of the target user. As an example, the terminal device 110 gives priority to the presentation of the target travel starting point 307, and on this basis, on the basis of meeting the zoom ratio requirement, presents the user's current location as much as possible and the maximum complete presentation area outline 306.

[0056] As an example, based on the outline integrity requirement and the user location presentation requirement, the terminal device 110 can calculate or query a suitable initial zoom ratio. The initial zoom ratio can ensure that the user's current location is presented in the map presentation area 301, while also fully presenting the outline of the area of ​​interest. After determining the initial zoom ratio, the terminal device 110 can check whether the initial zoom ratio meets the preset zoom ratio requirement. The specific process can be found in the previous description, so it will not be repeated here.

[0057] In some embodiments, the terminal device 110 determines an external graphic including at least the area outline 306 and the current location of the target user from a map related to the map presentation area 301. Then, based on the size of the map presentation area 301 and the size of the external graphic on the map, the terminal device 110 determines the scale of the map presentation area 301 when the external graphic is fully presented, so as to obtain a target scale. The terminal device 110 determines an initial zoom ratio of the target area based on the target scale.

[0058] As an example, the circumscribed figure here may refer to the smallest geometric figure that can completely contain the area outline 306 and the current position of the target user, such as a rectangle, a circle, etc. As an example, the circumscribed figure here may refer to a circumscribed rectangle containing the area outline 306 and the current position of the target user, so as to facilitate the calculation of the scale.

[0059] As an example, the scale here can indicate the proportional relationship between the distance on the map presented by the map presentation area 301 and the actual ground distance. The terminal device 110 can obtain the size information of the map presentation area 301, such as the width and length of the map presentation area 301. At the same time, the terminal device 110 also measures the size of the external graphic on the map, that is, the actual display size of the external graphic on the map. For example, the external graphic can be an external rectangle, and the terminal device 110 can measure the width and length of the external rectangle on the map.

[0060] Based on the above two sets of size information, the terminal device 110 can calculate the scale of the map presentation area 301 when the external graphic is fully presented, that is, the target scale. This target scale can ensure that the map can clearly display all elements in the external graphic after zooming.

[0061] As an example, the terminal device 110 first uses the target travel starting point 307 as the zoom center. Then, the terminal device 110 completely presents the bounding rectangle containing the area outline 306 and the current location of the target user in the map presentation area 301. Next, the terminal device 110 determines the first scale based on the ratio of the width of the map presentation area 301 to the actual width of the bounding rectangle on the map. And, the terminal device 110 determines the second scale based on the ratio of the length of the map presentation area 301 to the actual length of the bounding rectangle on the map. Then, the terminal device 110 selects the smaller one from the first scale and the second scale as the target scale.

[0062] Once the target scale is determined, the terminal device 110 will determine the initial zoom ratio of the map presentation area 301 according to the target scale. In this way, by calculating the scale based on the external graphics, the terminal device 110 can quickly and accurately determine the initial zoom ratio of the map presentation area 301, thereby improving processing efficiency.

[0063] In this way, the embodiments of the present disclosure clarify the elements involved in the target scaling calculation, namely, the target travel starting point 307, the area outline 306, and the current location of the target user. In the taxi service scenario, the elements involved in the target scaling calculation are the recommended boarding point, the AOI, and the location of the target user. The embodiments of the present disclosure place the recommended boarding point at the center of the area of ​​the map presentation area 301, and then present the AOI and the location of the target user as completely as possible in the map presentation area 301 while meeting the scaling requirements. In this way, the embodiments of the present disclosure can provide the target user with a better presentation method of the recommended boarding point, the AOI, and the location of the target user, which is conducive to guiding the user to quickly find the recommended boarding point.

[0064] In some embodiments, in addition to the area outline 306 and the current location of the target user, the external graphic may include more elements according to actual needs. For example, the external graphic may also include an alternative travel starting point for the target user. In a taxi service, the alternative travel starting point may refer to an alternative boarding point for the target user.

[0065] In some embodiments, in response to determining that the target user's focus area is not marked with the area outline 306 , the terminal device 110 adjusts the zoom ratio of the map presentation area 301 to a second predetermined zoom ratio.

[0066] As an example, the second predetermined zoom ratio may be pre-set. Based on the second predetermined zoom ratio, when the focus area is not outlined, the map presentation area 301 can still display relevant content at a more appropriate zoom ratio, so that the user can see the information related to the travel service more clearly.

[0067] In block 230 , the terminal device 110 presents the target travel starting point 307 and the area outline 306 of the target user based on the target zoom ratio.

[0068] Figure 4 FIG. 4 is a schematic diagram showing an example 400 of presenting a region outline 306 without performing a target scaling calculation. Figure 4Since the region outline 306 is relatively large, the unscaled map presentation area 301 cannot completely accommodate the entire region outline 306, resulting in most of the region outline 306 being placed outside the map presentation area 301. As a result, a large amount of information is missing. In this case, it is difficult for the user to obtain complete region information.

[0069] In contrast, Figure 3 The presentation effect after the target zoom ratio calculation is performed is shown. In example 300, the terminal device 110 intelligently adjusts the zoom ratio while ensuring that the map presentation area 301 meets the actual limitations of the map data. By reducing the zoom ratio, the terminal device 110 is able to fully present the area outline 306, allowing the user to clearly see the entire area of ​​interest on the map presentation area 301. At this point, not only is each piece of information clearly displayed, but the user can also have an overview of the entire area outline 306, thereby accurately determining the position of the target travel starting point 307 relative to the area outline 306 (for example, it can be clearly seen from the figure that the target travel starting point 307 is located below the area outline 306).

[0070] This presentation method not only clearly informs the user of the location of the target travel starting point 307, but also helps the user to establish an intuitive association between the target travel starting point 307 and their own location. The user can quickly locate and find the target travel starting point 307 based on the information on the map, thereby greatly improving travel efficiency and user experience.

[0071] In some embodiments, the terminal device 110 presents at least one alternate travel starting point for the target user in the map presentation area 301. Then, in response to determining that the area where the target user is located is the predetermined area, the terminal device 110 controls one or more of the at least one alternate travel starting point to always be presented in the map presentation area 301 during the zooming process of the map presentation area 301.

[0072] As an example, the terminal device 110 not only provides the target travel starting point 307, but also provides the alternative travel starting points. In this way, if the target travel starting point 307 is wrong due to inaccurate positioning, the target user can actively select the alternative travel starting point to correct the error.

[0073] As an example, the predetermined area may refer to an area with low positioning accuracy or a complex structure (multi-layer). Such a predetermined area may include, for example, an airport and / or a railway station. For the predetermined area, during the zooming process of the map presentation area 301, the terminal device 110 keeps one or more alternate travel starting points presented, so that these alternate travel starting points can be kept within the user's line of sight and will not be zoomed away or hidden.

[0074] As an example, for non-predetermined areas, during the zooming of the map presentation area 301 , the terminal device 110 may hide these alternative travel starting points according to actual needs, thereby preventing these alternative travel starting points from blocking other elements.

[0075] In some embodiments, the terminal device 110 presents at least one alternate travel starting point for the target user and at least one starting point name respectively corresponding to the at least one alternate travel starting point in the map presentation area 301. Then, in the process of zooming out of the map presentation area 301, the terminal device 110 hides one or more of the at least one alternate travel starting point names in response to determining that one or more of the at least one alternate travel starting point names obstructs a predetermined element in the map presentation area 301.

[0076] As an example, in addition to at least one alternative travel starting point, the terminal device 110 may also present the name of each alternative travel starting point, that is, at least one starting point name. For a predetermined area or a non-predetermined area, during the zooming out of the map presentation area 301, the terminal device 110 may hide these starting point names according to actual needs, thereby preventing these starting point names from covering predetermined elements. As an example, the predetermined elements here may include information such as roads, buildings, and landmarks.

[0077] As an example, the hiding here may be temporary, and when the user adjusts the map viewing angle or zoom ratio so that the obstruction disappears, the terminal device 110 may redisplay the names of the travel starting points.

[0078] In some embodiments, the terminal device 110 hides at least one starting point name in sequence based on a hiding order of the at least one starting point name.

[0079] As an example, the hiding order may be determined by the terminal device 110 based on the user's experience and needs. For example, the terminal device 110 may preferentially hide names that are highly obscured or have a greater impact on user navigation, while retaining names that are more important or easy to identify to the user. In addition, the hiding order may also be received by the terminal device 110 from the server device 120, and so on.

[0080] In this way, the embodiments of the present disclosure improve the clarity and readability of the map, thereby providing users with a smoother and more convenient navigation experience.

[0081] In some embodiments, in addition to the above elements, the terminal device 110 can also present more information in the map presentation area 301, such as labels of alternative travel starting points, and apertures of the user's current location, etc. The specific information can be determined based on actual needs, and the embodiments of the present disclosure are not limited to this.

[0082] According to the various embodiments described above, it can be clearly understood that the embodiment of the present disclosure presents the target travel starting point 307 and the regional outline 306 (such as AOI) of the target user in the map presentation area 301. Compared with POI, AOI can clearly show the relative position relationship between the target travel starting point 307 and the regional outline 306. For example, when the target travel starting point 307 (such as the recommended boarding point) is located on an external road outside the entity where the user is located, AOI can reflect which side of the entity where the recommended boarding point is located, etc., so that the user can more easily establish the association between the recommended boarding point and his own location. Then guide the user to find the target travel starting point 307 accurately and quickly. In addition, the solution of the present disclosure intelligently determines a target scaling ratio based on the scaling ratio requirements of the map presentation area 301 and the outline integrity requirements of the AOI. This target scaling ratio not only ensures the detail of the map, but also ensures that the AOI can be displayed as completely as possible, thereby avoiding information loss or visual confusion caused by too large or too small a scaling ratio.

[0083] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 5 A schematic structural block diagram of an apparatus 500 for interaction according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in a terminal device 110. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0084] Reference Figure 5 The device 500 includes an interface presentation module 510, a zoom ratio determination module 520, and a map presentation module 530. The interface presentation module 510 is configured to present a travel interface associated with a travel service, and the travel interface includes a map presentation area. The zoom ratio determination module 520 is configured to determine a target zoom ratio of the map presentation area based on a zoom ratio requirement related to the map presentation area and a contour integrity requirement related to the area contour in response to determining that the area where the target user is located is marked with an area contour. The map presentation module 530 is configured to present the target travel starting point and the area contour of the target user based on the target zoom ratio.

[0085] In some embodiments, the zoom ratio determination module 520 is further configured to: determine the target zoom ratio based on the following conditions, wherein the condition includes taking the target travel starting point of the target user as the zoom center of the map presentation area.

[0086] In some embodiments, the zoom center coincides with an area center of the map presentation area.

[0087] In some embodiments, the zoom ratio determination module 520 is further configured to: determine an initial zoom ratio of the map presentation area based on the outline completeness requirement, wherein at the initial zoom ratio, the map presentation area completely presents the area outline; in response to determining that the initial zoom ratio does not meet the zoom ratio requirement, determine a first predetermined zoom ratio as the target zoom ratio; and in response to determining that the initial zoom ratio meets the zoom ratio requirement, determine the initial zoom ratio as the target zoom ratio.

[0088] In some embodiments, the zoom ratio determination module 520 is further configured to: the zoom ratio requirement indicates an upper zoom ratio limit and / or a lower zoom ratio limit of the map presentation area.

[0089] In some embodiments, the zoom ratio determination module 520 is further configured to: determine the initial zoom ratio based on a user location presentation requirement, wherein at the initial zoom ratio, the map presentation area also presents the current location of the target user.

[0090] In some embodiments, the zoom ratio determination module 520 is further configured to: determine an external graphic that at least includes the outline of the area and the current location of the target user from a map related to the map presentation area; determine the scale of the map presentation area when the external graphic is fully presented based on the size of the map presentation area and the size of the external graphic on the map to obtain a target scale; and determine an initial zoom ratio of the target area based on the target scale.

[0091] In some embodiments, the device 500 further includes an alternative travel starting point presentation module. The alternative travel starting point presentation module is configured to: present at least one alternative travel starting point for the target user in the map presentation area; and in response to determining that the area where the target user is located is a predetermined area, during the zooming process of the map presentation area, control one or more of the at least one alternative travel starting point to always be presented in the map presentation area.

[0092] In some embodiments, the alternative travel starting point presentation module is further configured to: present at least one alternative travel starting point for the target user and at least one starting point name corresponding to the at least one alternative travel starting point in the map presentation area; and in the process of shrinking the map presentation area, in response to determining that one or more of the at least one alternative travel starting point names obscure predetermined elements in the map presentation area, hide one or more of the at least one alternative travel starting point names.

[0093] In some embodiments, the alternative row starting point presentation module is further configured to: sequentially hide the at least one starting point name based on a hiding order with the at least one starting point name.

[0094] In some embodiments, the zoom ratio determination module 520 is further configured to: in response to determining that the area where the target user is located is not marked with the area outline, adjust the zoom ratio of the map presentation area to a second predetermined zoom ratio.

[0095] Figure 6 1 is a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. The electronic device 600 may be used to implement, for example, Figure 1 The terminal device 110 shown. It should be understood that Figure 6 The electronic device 600 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.

[0096] Reference Figure 6 , the electronic device 600 is in the form of a general electronic device. The components of the electronic device 600 may include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 600.

[0097] The electronic device 600 typically includes a plurality of computer storage media. Such media can be any available media accessible to the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 can be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory) or some combination thereof. The storage device 630 can be a removable or non-removable medium, and can include a machine-readable medium, such as a flash drive, a disk, or any other medium, which can be used to store information and / or data and can be accessed within the electronic device 600.

[0098] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 6As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0099] The communication unit 640 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0100] The input device 650 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 660 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 600, or communicate with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0101] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0102] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0103] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0104] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0105] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0106] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The determination of the terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A method for interaction, comprising: Presenting a travel interface associated with the travel service, the travel interface including a map presentation area; In response to determining that the target user's area of ​​interest is marked with an area outline, determining a target zoom ratio of the map presentation area based on a zoom ratio requirement related to the map presentation area and an outline integrity requirement related to the area outline; as well as Based on the target scaling ratio, the target travel starting point of the target user and the area outline are presented.

2. The method according to claim 1, wherein determining the target zoom ratio of the map rendering area comprises: The target zoom ratio is determined based on the following conditions, wherein the conditions include taking the target travel starting point of the target user as the zoom center of the map presentation area.

3. The method according to claim 2, wherein the zoom center coincides with the area center of the map presentation area.

4. The method according to claim 1, wherein determining a target zoom ratio of the map rendering area comprises: Based on the outline completeness requirement, determining an initial zoom ratio of the map presentation area, wherein at the initial zoom ratio, the map presentation area completely presents the area outline; In response to determining that the initial scaling ratio does not satisfy the scaling ratio requirement, determining a first predetermined scaling ratio as the target scaling ratio; as well as In response to determining that the initial scaling ratio satisfies the scaling ratio requirement, the initial scaling ratio is determined as the target scaling ratio.

5. The method of claim 4, wherein the zoom ratio requirement indicates an upper zoom ratio limit and / or a lower zoom ratio limit of the map rendering area.

6. The method according to claim 4, wherein determining the initial zoom ratio of the map presentation area comprises: The initial zoom ratio is also determined based on a user location presentation requirement, wherein at the initial zoom ratio, the map presentation area also presents the current location of the target user.

7. The method according to claim 6, wherein determining the initial zoom ratio of the map presentation area further comprises: Determining, from a map associated with the map presentation area, an external graphic including at least the area outline and the current location of the target user; Based on the size of the map presentation area and the size of the circumscribed graphic on the map, determining the scale of the map presentation area when the circumscribed graphic is fully presented to obtain a target scale; as well as Based on the target scale, an initial scaling factor of the target area is determined.

8. The method according to claim 1, further comprising: presenting at least one alternative travel starting point for the target user in the map presentation area; as well as In response to determining that the area where the target user is located is a predetermined area, during the zooming process of the map presentation area, one or more of the at least one backup travel starting point are controlled to always be presented in the map presentation area.

9. The method according to claim 1, further comprising: Presenting at least one alternate travel starting point for the target user and at least one starting point name corresponding to the at least one alternate travel starting point in the map presentation area; as well as During the zooming out process of the map presentation area, in response to determining that one or more of the at least one alternative travel starting point name obscures a predetermined element in the map presentation area, one or more of the at least one alternative travel starting point name are hidden.

10. The method according to claim 9, wherein hiding one or more of the at least one alternate travel origin comprises: The at least one starting point name is sequentially hidden based on a hiding order with the at least one starting point name.

11. The method according to claim 1, further comprising: In response to determining that the area of ​​interest of the target user is not marked with the area outline, the zoom ratio of the map presentation area is adjusted to a second predetermined zoom ratio.

12. An apparatus for interaction, comprising: An interface presentation module, configured to present a travel interface associated with the travel service, wherein the travel interface includes a map presentation area; a zoom ratio determination module configured to determine, in response to determining that the target user's focus area is marked with an area outline, a target zoom ratio of the map presentation area based on a zoom ratio requirement related to the map presentation area and an outline integrity requirement related to the area outline; as well as The map presentation module is configured to present the target travel starting point of the target user and the area outline based on the target zoom ratio.

13. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform the method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 11.

15. A computer program product comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Interest point information display method and device, server and storage medium

    CN110609878A

  • Method, device and equipment for recommending place information and storage medium

    CN114880593A

  • Map display system, portable terminal and map display method

    JP2010121940A