Method and device for controlling map component, equipment and storage medium

By adjusting the zoom level in the map component and dynamically drawing map elements associated with travel services, the problem of users flexibly viewing map information associated with travel services is solved, and the user's travel experience is improved.

CN119845294APending Publication Date: 2025-04-18BEIJING VOYAGER TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410302684.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-15
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

How to assist users in flexibly viewing map information associated with travel services and improving users' travel experience.

Method used

By presenting the target interface associated with the travel service, including the map component, and adjusting the zoom level of the map component based on preset operations, dynamically draw a set of map elements associated with the target area to represent the docking sections within the target area.

Benefits of technology

It realizes the ability of users to flexibly view map information associated with travel services, and improves users' travel experience and visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119845294A_ABST
    Figure CN119845294A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and device for controlling a map component, equipment and a storage medium. The method comprises the following steps: presenting a target interface associated with a travel service, wherein the target interface comprises a map component; adjusting the zoom level of the map component based on a preset operation on the map component; and in a map component, drawing a set of map elements associated with the target area based on a drawing mode corresponding to the adjusted zoom level, the set of map elements being used to represent a road section within the target area on which a vehicle can be parked for a travel service. According to the method and the device, the user can flexibly view the map information associated with the travel service, and the travel experience of the user can be effectively improved.
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 computers, and more particularly, to methods, devices, apparatuses, computer-readable storage media, and computer program products for controlling a map component. Background Art

[0002] With the rapid development of transportation, vehicle-based travel services have gradually become an important way of travel. Users can use smart terminals to view map information associated with travel services, which may include road sections for vehicles to park for travel services, etc. How to assist users in viewing map information associated with travel services has become a focus issue. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for controlling a map component is provided. The method includes: presenting a target interface associated with a travel service, the target interface including a map component; adjusting a zoom level of the map component based on a preset operation on the map component; and drawing, in the map component, a group of map elements associated with a target area based on a drawing mode corresponding to the adjusted zoom level, the group of map elements being used to represent road sections in the target area that can be used to park vehicles of the travel service.

[0004] In a second aspect of the present disclosure, a device for controlling a map component is provided. The device includes: a presentation module configured to present a target interface associated with a travel service, the target interface including a map component; an adjustment module configured to adjust the zoom level of the map component based on a preset operation on the map component; and a drawing module configured to draw a group of map elements associated with a target area in the map component based on a drawing mode corresponding to the adjusted zoom level, the group of map elements being used to represent a road section in the target area that can be used to park a vehicle of the travel service.

[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 computer executable instructions are executed by a processor, the method of the first aspect is implemented.

[0008] It should be understood that the contents described in the summary of the present invention 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 showing an example environment in which embodiments of the present disclosure can be implemented;

[0011] Figure 2 A schematic diagram illustrating an example process of controlling a map component according to some embodiments of the present disclosure;

[0012] Figure 3 shows an example interface according to some embodiments of the present disclosure;

[0013] 4A to 4D shows an example interface according to some embodiments of the present disclosure;

[0014] Figure 5 A schematic structural block diagram of an example device for controlling a map component according to some embodiments of the present disclosure is shown;

[0015] Figure 6 A block diagram of a device capable of implementing various embodiments of the present disclosure is shown. 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] The embodiments of the present disclosure propose a scheme for controlling a map component. According to various embodiments of the present disclosure, a target interface associated with a travel service is presented, the target interface includes a map component; based on a preset operation on the map component, the zoom level of the map component is adjusted; and in the map component, a group of map elements associated with a target area are drawn based on a drawing mode corresponding to the adjusted zoom level, the group of map elements being used to represent road sections in the target area that can be used to park vehicles of the travel service.

[0022] In this way, the embodiments of the present disclosure can dynamically adjust a set of map elements associated with the target area displayed in the map component based on preset operations on the map component, which helps users to flexibly view map information associated with travel services and can effectively improve users' travel experience.

[0023] Example Environment

[0024] Figure 1A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. In environment 100, user 110 (also referred to as current user) can obtain travel services through terminal device 124. In some embodiments, the vehicle providing travel services may include any appropriate vehicle. In some examples, the vehicle for providing travel services may be, for example, an unmanned vehicle or a vehicle with autonomous driving capabilities.

[0025] like Figure 1 As shown, the terminal device 120 may be installed with an application 126, and provide a user interface 130 for the user to search for service locations and / or initiate a car request. Such an application 126 may include any appropriate type of application, such as an online car-hailing application, a map application, a navigation application, a mini-program, or a browser.

[0026] The terminal device 124 may be connected to the cloud device 122 to provide travel services to the user 110 in a coordinated manner. The terminal device 124 and the cloud device 122 may be collectively referred to as a service system 120.

[0027] Exemplarily, the terminal device 124 may include any appropriate type of electronic device, examples of which may include but are not limited to mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication system (PCS) devices, etc.

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

[0029] Example Process

[0030] Figure 2 FIG. 2 is a schematic diagram of an example process 200 for controlling a map component according to some embodiments of the present disclosure. The process 200 may be implemented at the terminal device 124. Figure 1 Process 200 is described.

[0031] At block 210 , the terminal device 124 presents a target interface associated with the travel service.

[0032] The following will be combined Figure 3 To describe the specific process of block 210. It should be understood that Figure 3 The description is for exemplary purposes only.

[0033] like Figure 3 As shown, the terminal device 124 can present a target interface 300, which can be used to present map information associated with the travel service. The interface 300 can be composed of, for example, Figure 1Provided by application 126 shown.

[0034] like Figure 3 As shown, the target interface 300 may include a map component 305, which may be used to select at least one travel location associated with the travel service. The travel location may be a pickup point, a drop-off point, or a waypoint, etc. Figure 3 As shown, the user can enter identification information corresponding to the boarding point in the input box 310 of the map component 305, and can also enter identification information corresponding to the alighting point in the input box 315 of the map component 305, etc. Of course, the user can also select at least one travel location associated with the travel service in other appropriate ways, such as clicking a location selection control, etc., which will not be elaborated here.

[0035] In some embodiments, the map component may display a map element corresponding to the at least one travel location, such as Figure 3 As shown, the location of the pin 320 may be a map element corresponding to the boarding point selected by the user.

[0036] In some embodiments, the map component may also display other map elements associated with the at least one travel location. The other map elements may be map elements corresponding to road segments included in the target area where the travel location is located, map elements corresponding to other locations associated with the travel location, and so on. The target area is a preset range where at least one travel location associated with the travel service is located. This preset range may be any appropriate shape, such as a circle, a square, and so on, which will not be elaborated here. The road segments included in the target area may include road segments where vehicles providing the travel service are allowed to stop, and may also include road segments where vehicles providing the travel service are not allowed to stop, and so on. Figure 3 As shown, the map component also displays a map element 340 corresponding to a stopable road section and a map element 350 corresponding to a non-stoppable road section. Other locations associated with the travel location may be at least one parking spot associated with the target area, etc. Figure 3 As shown, the map component also displays map elements 330 corresponding to other locations and map elements 325 corresponding to other locations.

[0037] In some embodiments, each map element displayed in the map component may be a group of map elements associated with the target area drawn at a preset zoom level, wherein the preset zoom level may be set as required, and each map element displayed in the map component may not be exactly the same at different zoom levels.

[0038] In block 220 , the terminal device 124 adjusts the zoom level of the map component based on a preset operation on the map component.

[0039] In order to improve the display flexibility of map information associated with travel services and improve the user's travel experience, in some embodiments, the user can perform preset operations on the map component to trigger the terminal device 124 to adjust the zoom level of the map component, and then draw the corresponding map elements in the map component based on the adjusted zoom level. The preset operation can be used to increase the zoom level or to decrease the zoom level. For example, before the preset operation is performed on the map component, the preset zoom level corresponding to the map component is level A, then the user can perform a preset operation on the map component on the target interface to adjust the zoom level to level B, where level B is lower than level A.

[0040] In some embodiments, the preset operation may be inputting a zoom level identifier of the map component to be adjusted in the map component, or any appropriate zooming method, etc. As an example, the user may slide two fingers inward at the same time to lower the zoom level of the map component, or the user may slide two fingers outward at the same time to increase the zoom level of the map component, etc.

[0041] At block 230 , in the map component, the terminal device 124 draws a set of map elements associated with the target area based on a drawing mode corresponding to the adjusted zoom level.

[0042] When the user zooms in and out of the map component, the zoom level changes in real time, and the map information displayed in the map component also changes in real time, that is, the map elements displayed in the map component also change in real time. In other words, the terminal device 124 can draw a group of map elements associated with the target area corresponding to the zoom level in the map component in real time according to the zoom level that changes in real time.

[0043] In some embodiments, the terminal device 124 may draw a first group of map elements and / or a second group of map elements associated with the target area based on a drawing mode corresponding to the adjusted zoom level. The target area is a preset range where at least one travel location associated with the travel service is located. This preset range may be any appropriate shape, such as a circle, a square, etc., which will not be elaborated here. The road sections contained in the target area may include road sections where vehicles for travel services are allowed to stop, and may also include road sections where vehicles for travel services are not allowed to stop, etc. The first group of map elements is used to represent road sections in the target area that can be used to stop vehicles for travel services. The second group of map elements is used to indicate at least one parking spot associated with the target area. It should be noted that the drawing modes corresponding to different zoom levels are different, and the map elements drawn and associated with the target area are also different.

[0044] The following describes a process in which the terminal device 124 draws the first group of map elements based on the drawing mode corresponding to the adjusted zoom level.

[0045] In some embodiments, the terminal device 124 may obtain parking information associated with the target area, and the parking information may indicate multiple road sections within the target area where vehicles are allowed to park. The parking information associated with the target area may be sent from the cloud device 122 to the terminal device 124.

[0046] The terminal device 124 can determine the distances of the multiple map elements to be drawn corresponding to the multiple road sections based on the adjusted zoom level, wherein one road section corresponds to one map element to be drawn, and the higher the zoom level, the greater the distances of the multiple map elements to be drawn corresponding to the multiple road sections. The map elements to be drawn corresponding to the road sections can be elements of any appropriate form. As an example, the map elements to be drawn corresponding to the road sections can be line elements. Of course, the map elements to be drawn corresponding to the road sections can also be elements of other appropriate types, etc., which will not be described in detail here.

[0047] In some embodiments, the terminal device 124 may determine whether the distance between the first map element and the second map element in the map element to be drawn is less than a threshold. The first map element and the second map element are any two different road sections in a plurality of road sections where vehicles are allowed to park.

[0048] If the distance between the first map element and the second map element in the plurality of map elements to be drawn is less than a threshold, in order to improve the user's visual experience, in some embodiments, the terminal device 124 may merge the first map element and the second map element into a third map element. The terminal device 124 may draw the third map element in the map component. If the distance between the first map element and the second map element in the plurality of map elements to be drawn is not less than the threshold, the terminal device 124 may draw the first map element and the second map element separately in the map component.

[0049] The following will be combined Figure 4A-4D To describe the specific drawing process of the first group of map elements. It should be understood that Figure 4A-4D The description is for illustrative purposes only. Figure 4A-4D In the figure, the distance between road segments increases as the zoom level increases, and level A is higher than level B, level B is higher than level C, and level C is higher than level D.

[0050] In the map components of the interfaces 400A-400D, the map elements to be drawn corresponding to the road sections within the target area where parking is allowed can be presented. Figure 4AThe road sections A, B, and C in the figure are all road sections in the target area where vehicles are allowed to stop. The map element corresponding to road section A is line element 401, the map element corresponding to road section B is line element 402, and the map element corresponding to road section C is line element 403. The lane corresponding to road section A and the lane corresponding to road section B are two parallel lanes. Road section A and road section C are located in the same lane. It should be noted that the road sections where vehicles are allowed to stop can be highlighted in interfaces 400A-400D, for example, by presenting a different color, fill, border, etc. from other road sections.

[0051] like Figure 4A As shown, the zoom level corresponding to the interface 400A is level A. At level A, the distance between the line element 401 corresponding to the road segment A and the line element 402 corresponding to the road segment B is not less than the threshold value, and the terminal device 124 can Figure 4A The line element 401 corresponding to the drawn road segment A and the line element 402 corresponding to the road segment B are separated in the map component. In some embodiments, the distance between the line element 401 corresponding to the road segment A and the line element 402 corresponding to the road segment B can be the lateral distance 404 between the line element 401 and the line element 402 corresponding to the road segment B.

[0052] like Figure 4A As shown, at level A, the distance between the line element 401 corresponding to the road segment A and the line element 403 corresponding to the road segment C is not less than the threshold value, and the terminal device 124 can Figure 4A The line element 401 corresponding to the drawn road segment A and the line element 403 corresponding to the road segment C are separated in the map component in FIG. In some embodiments, the distance between the line element 401 corresponding to the road segment A and the line element 403 corresponding to the road segment C can be the longitudinal interval 405 between the line element 401 and the line element 403.

[0053] like Figure 4B As shown, the zoom level corresponding to the interface 400B is level B. At level B, the distance between the line element 401 corresponding to the road segment A and the line element 402 corresponding to the road segment B is not less than the threshold value, and the terminal device 124 can Figure 4B The line element 401 corresponding to the drawn road segment A and the line element 402 corresponding to the road segment B are separated in the map component in FIG. In some embodiments, the distance between the line element 401 corresponding to the road segment A and the line element 402 corresponding to the road segment B can be the horizontal distance 404 between the line element 401 and the line element 402.

[0054] like Figure 4BAs shown, at level B, the distance between the line element 401 corresponding to the road segment A and the line element 403 corresponding to the road segment C is less than the threshold value, and the terminal device 124 can merge the line element 401 corresponding to the road segment A and the line element 403 corresponding to the road segment C into a line element 406. Figure 4B In some embodiments, the terminal device 124 may connect the first end Q of the line element 401 with the second end H of the line element 403 to merge them into the line element 406. In some embodiments, the distance between the line element 401 corresponding to the road segment A and the line element 403 corresponding to the road segment C may be the longitudinal interval 405 between the line element 401 and the line element 403.

[0055] like Figure 4C As shown, the zoom level corresponding to the interface 400C is level C. At level C, the distance between the line element 401 corresponding to the road segment A and the line element 402 corresponding to the road segment B is less than the threshold value, and the terminal device 124 can merge the line element 401 corresponding to the road segment A and the line element 402 corresponding to the road segment B into a line element 407. Figure 4C In some embodiments, the terminal device 124 may overlap the line element 401 corresponding to the road segment A and the line element 402 corresponding to the road segment B in width to merge them into the line element 407. In some embodiments, the distance between the line element 401 corresponding to the road segment A and the line element 402 corresponding to the road segment B may be the lateral distance 404 between the line element 401 and the line element 402.

[0056] Since at level B, the terminal device 124 has determined that the distance between the line element 401 corresponding to section A and the line element 403 corresponding to section C is less than the threshold, and the line element 401 corresponding to section A and the line element 403 corresponding to section C are merged into line element 406, and level C is lower than level B. Therefore, at level C, the distance between the line element 401 corresponding to section A and the line element 403 corresponding to section C must be less than the threshold. In other words, at level C, the terminal device 124 also merges the line element 401 corresponding to section A and the line element 403 corresponding to section C into a line element and displays them under the map component of level C, which will not be elaborated here.

[0057] It should be noted that the size of map elements displayed at different zoom levels is also different. For example, the display width of map elements corresponding to road sections is different. Figures 4A-4DAs shown, the width of the map element corresponding to the road segment under level A can be higher than the width of the map element corresponding to the road segment under level B, the width of the map element corresponding to the road segment under level B can be higher than the width of the map element corresponding to the road segment under level C, and the width of the map element corresponding to the road segment under level C can be higher than the width of the map element corresponding to the road segment under level D ( Figure 4D The map element corresponding to the road segment in cannot be displayed in the map component because the corresponding display width at level D is too small).

[0058] The following describes a process in which the terminal device 124 draws the second group of map elements based on the drawing mode corresponding to the adjusted zoom level.

[0059] In some embodiments, the terminal device 124 may determine a plurality of parking spots associated with the target area, the plurality of parking spots corresponding to a plurality of map elements to be drawn. The plurality of parking spots may be sent from the cloud device 122 to the terminal device 124 .

[0060] In some embodiments, the terminal device 124 may draw the plurality of parking spots in a map component.

[0061] In some other embodiments, the terminal device 124 may determine a fourth map element and a fifth map element among the map elements to be drawn corresponding to the plurality of parking points. The fourth map element corresponds to the first parking point, and the fifth map element corresponds to the second parking point, that is, the fourth map element and the fifth map element are map elements corresponding to different parking points. The distance between the fourth map element and the fifth map element at the adjusted zoom level is less than a threshold. The threshold may be set as required.

[0062] In order to avoid overlapping of the fifth map element and the fourth map element when displayed in the map component, thereby affecting the user's visual experience, in some embodiments, the terminal device 124 may draw the third map element instead of the fourth map element in the map component based on the priority of the first parking point and the second parking point, wherein the priority of the first parking point is higher than that of the second parking point, that is, for the map elements corresponding to two parking points whose distance is less than a threshold, the map element with a higher priority is drawn in the map component, and the map element with a lower priority is not drawn in the map component.

[0063] like Figure 4B As shown, the second group of map elements drawn at level B includes map element 408 corresponding to parking point A, map element 409 corresponding to parking point B, and map element 410 corresponding to parking point A. Figure 4CAs shown, at level C, the distance between the map element 409 corresponding to parking point B and the map element 410 corresponding to the parking point is less than the threshold. Therefore, the terminal device 124 can draw the map element 409 corresponding to the parking point B with a high priority in the map component, and does not draw the map element 410 corresponding to the parking point C with a low priority in the map component.

[0064] exist Figure 4D As shown, at level D, the distance between the map element 409 corresponding to parking point B and the map element 408 corresponding to parking point A is less than the threshold. Therefore, the terminal device 124 can draw the map element 408 corresponding to the parking point A with a high priority in the map component, and does not draw the map element 409 corresponding to the parking point B with a low priority in the map component.

[0065] In some embodiments, the terminal device 124 may determine the priority corresponding to the corresponding parking point according to the distance between the corresponding parking point and the reference position of the map component and / or the heat information of the corresponding parking point. The smaller the distance between the parking point and the reference position of the map component, the higher the priority corresponding to the parking point. The higher the heat information of the parking point, the higher the priority corresponding to the parking point.

[0066] In this way, the embodiments of the present disclosure can dynamically adjust a set of map elements associated with the target area displayed in the map component based on preset operations on the map component, which helps users to flexibly view map information associated with travel services and can effectively improve users' travel experience.

[0067] Example devices and equipment

[0068] Figure 5 A schematic structural block diagram of an apparatus 500 for controlling a map component according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in a terminal device 124. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0069] As shown in the figure, the device 500 includes a presentation module 510, which is configured to present a target interface associated with the travel service, and the target interface includes a map component; an adjustment module 520, which is configured to adjust the zoom level of the map component based on a preset operation of the map component; and a first drawing module 530, which is configured to draw a group of map elements associated with the target area in the map component based on a drawing mode corresponding to the adjusted zoom level, and the group of map elements are used to represent road sections in the target area that can be used to park vehicles for the travel service.

[0070] In some embodiments, the map component is used to select at least one travel location associated with the travel service.

[0071] In some embodiments, the first drawing module 530 is specifically configured to: obtain docking information associated with the target area, the docking information indicating multiple road sections within the target area where vehicles are allowed to dock; determine distances of multiple map elements to be drawn corresponding to the multiple road sections based on the adjusted zoom level; in response to a distance between a first map element and a second map element among the multiple map elements to be drawn being less than a threshold, merge the first map element and the second map element into a third map element; and draw the third map element in the map component.

[0072] In some embodiments, the apparatus 500 further includes a second drawing module configured to separately draw the first map element and the second map element in the map component in response to a distance between the first map element and the second map element among the plurality of map elements to be drawn being not less than a threshold.

[0073] In some embodiments, the first map element and the second map element include two line elements corresponding to two parallel lanes, and the first drawing module 530 is specifically configured to: in response to a lateral spacing between the two line elements at a zoom level being less than a threshold, merge the two line elements into a single line element.

[0074] In some embodiments, the first map element and the second map element include two line elements corresponding to different sections of the same lane, and the first drawing module 530 is specifically configured to: in response to the longitudinal spacing between the two line elements at the zoom level being less than a threshold, merge the two line elements into a single line element.

[0075] In some embodiments, the set of map elements is a first set of map elements, and the map component further displays a second set of map elements, the second set of map elements indicating at least one parking spot associated with the target area.

[0076] In some embodiments, the device 500 also includes a first determination module, configured to: determine multiple parking points associated with the target area, the multiple parking points correspond to multiple map elements to be drawn; a second determination module, configured to: determine a fourth map element and a fifth map element among the multiple map elements to be drawn, the fourth map element corresponds to the first parking point, the fifth map element corresponds to the second parking point, and the distance between the fourth map element and the fifth map element at the adjusted zoom level is less than a threshold; and a third drawing module, configured to: based on the priority of the first parking point and the second parking point, draw the fourth map element in the map component instead of drawing the fifth map element, the first parking point having a higher priority than the second parking point.

[0077] In some embodiments, the priority is determined based on at least one of: a distance of the corresponding parking point from a reference position of the map component; and heat information of the corresponding parking point.

[0078] Figure 6 A block diagram illustrating a computing device 600 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that Figure 6 The computing device 600 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 6 The computing device 600 shown may be used to implement Figure 1 terminal device 124.

[0079] like Figure 6 As shown, computing device 600 is in the form of a general-purpose computing device. Components of computing device 600 may include, but are not limited to, one or more processors or processing units 610, memory 620, storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. Processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to a program stored in memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to increase the parallel processing capabilities of computing device 600.

[0080] The computing device 600 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the computing device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 may 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 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the computing device 600.

[0081] The computing 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.

[0082] The communication unit 640 enables communication with other computing devices via a communication medium. Additionally, the functions of the components of the computing device 600 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Therefore, the computing 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.

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

[0084] 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.

[0085] 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.

[0086] 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.

[0087] 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.

[0088] 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.

[0089] 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 selection of 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 controlling a map component, comprising: Presenting a target interface associated with the travel service, the target interface including a map component; Adjusting a zoom level of the map component based on a preset operation on the map component; as well as In the map component, a group of map elements associated with a target area are drawn based on a drawing mode corresponding to the adjusted zoom level, the group of map elements being used to represent road segments in the target area that can be used to park vehicles of the travel service. 2 . The method of claim 1 , wherein the map component is used to select at least one travel location associated with the travel service.

3. The method of claim 1 , wherein drawing a set of map elements associated with a target area based on a drawing mode corresponding to the adjusted zoom level comprises: Acquire parking information associated with the target area, the parking information indicating a plurality of road sections within the target area where the vehicle is allowed to park; Based on the adjusted zoom level, determining distances of a plurality of to-be-drawn map elements corresponding to the plurality of road segments; In response to the distance between a first map element and a second map element in the plurality of map elements to be drawn being less than a threshold, merging the first map element and the second map element into a third map element; as well as The third map element is drawn in the map component.

4. The method according to claim 3, further comprising: In response to the distance between a first map element and a second map element in the plurality of map elements to be drawn being not less than the threshold, the first map element and the second map element are separately drawn in the map component.

5. The method of claim 3, wherein the first map element and the second map element include two line elements corresponding to two parallel lanes, and merging the first map element and the second map element into a third map element comprises: In response to a horizontal distance between the two line elements at the zoom level being smaller than the threshold, the two line elements are merged into a single line element.

6. The method of claim 3, wherein the first map element and the second map element include two line elements corresponding to different road segments of the same lane, and merging the first map element and the second map element into a third map element comprises: In response to a longitudinal distance between the two line elements at the zoom level being smaller than the threshold, the two line elements are merged into a single line element. 7 . The method of claim 1 , wherein the set of map elements is a first set of map elements, the map component further displaying a second set of map elements, the second set of map elements indicating at least one parking spot associated with the target area.

8. The method according to claim 7, further comprising: determining a plurality of parking spots associated with the target area, the plurality of parking spots corresponding to a plurality of map elements to be drawn; Determine a fourth map element and a fifth map element among the plurality of map elements to be drawn, wherein the fourth map element corresponds to a first parking point, the fifth map element corresponds to a second parking point, and a distance between the fourth map element and the fifth map element at the adjusted zoom level is less than a threshold; as well as The fourth map element is drawn in the map component without drawing the fifth map element based on priorities of the first parking point and the second parking point, the first parking point having a higher priority than the second parking point.

9. The method of claim 8, wherein the priority is determined based on at least one of: a distance from the corresponding parking point to a reference position of the map component; The heat information of the corresponding parking spot.

10. A device for controlling a map component, comprising: A presentation module, configured to present a target interface associated with the travel service, wherein the target interface includes a map component; an adjustment module, configured to adjust the zoom level of the map component based on a preset operation on the map component; as well as A drawing module is configured to draw a group of map elements associated with a target area in the map component based on a drawing mode corresponding to the adjusted zoom level, wherein the group of map elements are used to represent road segments in the target area that can be used to park vehicles of the travel service.

11. 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, cause the electronic device to perform the method according to any one of claims 1 to 9.

12. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 9 when executed by a processor.

13. 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 9.

Citation Information

Patent Citations

  • Context aware stopping for autonomous vehicles

    CN111033427A

  • Route planning method, device and equipment, and computer readable storage medium

    CN111476512A

  • Method for determining waiting light information and method for displaying vehicle information

    CN114155734A

  • Parking road section busy degree calculation method, system and device and storage medium

    CN116704782A

  • Urban parking resource display method and device and electronic equipment

    CN116991920A