Interaction method, device and electronic equipment based on electronic map
By distinguishing the presentation status of points of interest in the electronic map interactive interface, the problem of low interaction efficiency in the prior art is solved, the effect of users to quickly find points of interest is achieved, and the utilization rate of computing resources is improved.
Patent Information
- Application Number
- CN202110125340.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-29
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2041-01-29
AI Technical Summary
The existing electronic map interaction methods are inefficient, and users need to interact multiple times to find the required points of interest, resulting in wasted computing resources.
By presenting an electronic map in the human-computer interaction interface, in response to user interaction operations, a first point of interest is presented according to the first state, and at least one second point of interest is presented as the name of the first point of interest is presented according to the second state, thereby improving interaction efficiency.
The efficiency of electronic map interaction is improved, and users can quickly find points of interest that meet their needs, reduce interaction time, and improve the utilization rate of computing resources.
Smart Images

Figure CN114911880B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to computer technology, and in particular to an interactive method, device, electronic device and computer-readable storage medium based on an electronic map. Background Art
[0002] Electronic maps, also known as digital maps, are maps that are stored and viewed digitally using computer technology and are widely used in transportation scenarios such as daily travel and tourist guides. When using electronic maps, users often perform interactive operations (such as clicking) on points of interest to find points of interest that meet their needs.
[0003] In the solutions provided by related technologies, interactive points of interest are usually presented separately from other points of interest. However, this solution will cause users to need to perform more interactions to find the required points of interest, that is, the interaction efficiency is poor, and it will also cause the computing resources consumed by the electronic device during the interaction process to be wasted unnecessarily. Summary of the invention
[0004] The embodiments of the present application provide an electronic map-based interaction method, device, electronic device, and computer-readable storage medium, which can improve interaction efficiency and also improve the actual utilization rate of computing resources consumed by the electronic device.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] The present application embodiment provides an electronic map-based interactive method, including:
[0007] Presenting electronic maps in a human-computer interaction interface;
[0008] In response to an interactive operation on a point of interest in the electronic map, presenting a first point of interest according to a first state, and presenting at least one second point of interest having the same name as the first point of interest according to a second state;
[0009] The first state is different from the second state.
[0010] In the above solution, after presenting the first point of interest according to the first state and presenting at least one second point of interest with the same name as the first point of interest according to the second state, the method further includes:
[0011] In response to a selection operation on any second point of interest, replacing the first point of interest according to the selected second point of interest;
[0012] The presentation state of the first point of interest after replacement is switched from the second state to the first state, and the presentation state of the first point of interest before replacement is switched from the first state to the second state.
[0013] The embodiment of the present application provides an interactive device based on an electronic map, comprising:
[0014] A map presentation module, used to present an electronic map in a human-computer interaction interface;
[0015] a state presentation module, configured to present a first point of interest according to a first state and present at least one second point of interest having the same name as the first point of interest according to a second state in response to an interactive operation on the point of interest in the electronic map;
[0016] The first state is different from the second state.
[0017] In the above solution, the status presentation module is also used for:
[0018] In response to a selection operation on any second point of interest, replacing the first point of interest according to the selected second point of interest;
[0019] The presentation state of the first point of interest after replacement is switched from the second state to the first state, and the presentation state of the first point of interest before replacement is switched from the first state to the second state.
[0020] An embodiment of the present application provides an electronic device, including:
[0021] A memory for storing executable instructions;
[0022] The processor is used to implement the electronic map-based interaction method provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0023] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute and implement the electronic map-based interaction method provided in the embodiment of the present application.
[0024] The embodiments of the present application have the following beneficial effects:
[0025] When receiving an interactive operation for a point of interest in an electronic map, the first point of interest is presented according to the first state, and at least one second point of interest with the same name as the first point of interest is presented according to the second state. In this way, on the one hand, multiple points of interest that may meet the needs of the user, namely the first point of interest and the second point of interest, can be highlighted; on the other hand, the first point of interest and the second point of interest with the same name can be effectively distinguished, so that the user can quickly find the point of interest that meets their needs. That is, through the embodiments of the present application, the interaction efficiency in the electronic map can be improved, and the actual utilization rate of the computing resources consumed by the electronic device during the interaction process can also be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a schematic diagram of the architecture of an interactive system based on an electronic map provided in an embodiment of the present application;
[0027] Figure 2 It is a schematic diagram of the architecture of a terminal device provided in an embodiment of the present application;
[0028] Figure 3A is a flowchart of an electronic map-based interactive method provided in an embodiment of the present application;
[0029] Figure 3B is a flowchart of an electronic map-based interactive method provided in an embodiment of the present application;
[0030] Figure 3C is a flowchart of an electronic map-based interactive method provided in an embodiment of the present application;
[0031] Figure 3D is a flowchart of an electronic map-based interactive method provided in an embodiment of the present application;
[0032] Figure 3E is a flowchart of an electronic map-based interactive method provided in an embodiment of the present application;
[0033] Figure 3F is a flowchart of an electronic map-based interactive method provided in an embodiment of the present application;
[0034] Figure 3G is a flowchart of an electronic map-based interactive method provided in an embodiment of the present application;
[0035] Figure 4A is a schematic diagram of a human-computer interaction interface provided in an embodiment of the present application;
[0036] Figure 4B is a schematic diagram of a human-computer interaction interface provided in an embodiment of the present application;
[0037] Figure 5A is a schematic diagram of a human-computer interaction interface provided in an embodiment of the present application;
[0038] Figure 5B is a schematic diagram of a human-computer interaction interface provided in an embodiment of the present application;
[0039] Figure 5C is a schematic diagram of a human-computer interaction interface provided in an embodiment of the present application;
[0040] Figure 5D is a schematic diagram of a human-computer interaction interface provided in an embodiment of the present application;
[0041] Figure 6is a schematic diagram of the architecture of an interactive system based on an electronic map provided in an embodiment of the present application;
[0042] Fig. 7A It is a schematic diagram of allocating unique identification information provided by an embodiment of the present application;
[0043] Figure 7B It is a schematic diagram of allocating unique identification information provided by an embodiment of the present application;
[0044] Figure 7C It is a schematic diagram of allocating unique identification information provided by an embodiment of the present application;
[0045] Figure 8 is a schematic diagram of multiple presentation states provided in an embodiment of the present application;
[0046] Fig. 9 is a schematic diagram of the architecture of an interactive system based on an electronic map provided in an embodiment of the present application;
[0047] Fig.10 It is a timing diagram of the electronic map-based interaction method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0049] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0050] In the following description, the terms "first\second\third\fourth" are only used to distinguish similar objects, and do not represent a specific order for the objects. It is understandable that "first\second\third\fourth" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In the following description, the term "multiple" refers to at least two.
[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0052] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0053] 1) Electronic Map: Also known as digital map, it is a map that is stored and consulted digitally using computer technology, and can be visualized through specific hardware or software, such as in a human-computer interaction interface. The present application embodiment does not limit the type of electronic map, for example, the electronic map can be two-dimensional or three-dimensional.
[0054] 2) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0055] 3) Point of Interest (POI): Information points in the electronic map, including but not limited to shops, mailboxes, platforms (such as bus stations and subway platforms, etc.) and scenic spots. In the embodiment of the present application, all types of POIs can be interacted with, or only specific types of POIs (such as bus stations) can be interacted with, depending on the actual application scenario.
[0056] 4) Interaction operation: refers to the received operation for interacting with the points of interest in the electronic map. The types of interaction operations include but are not limited to search operations and selection operations.
[0057] 5) Presentation state: refers to the presentation state of the point of interest in the electronic map. Different presentation states have different visual effects. For example, the presentation state may refer to presenting the icon corresponding to the point of interest according to a specific color and / or size, wherein the content in the icon may include at least one of the name of the point of interest and unique identification information. Here, the types of presentation states may include a first state, a second state, a third state, and a fourth state.
[0058] 6) Database: A collection of data that is stored together in a certain way, can be shared with multiple users, has as little redundancy as possible, and is independent of the application program. Users can perform operations such as adding, querying, updating, and deleting data in the database. In the embodiment of the present application, the database can be used to store data related to the electronic map.
[0059] The embodiments of the present application provide an electronic map-based interactive method, device, electronic device, and computer-readable storage medium, which can improve the interactive efficiency and also improve the actual utilization rate of the computing resources of the electronic device. The following describes an exemplary application of the electronic device provided by the embodiments of the present application. The electronic device provided by the embodiments of the present application can be implemented as various types of terminal devices or as a server.
[0060] See also Figure 1 , Figure 1 It is an architectural diagram of an electronic map-based interactive system 100 provided in an embodiment of the present application, wherein a terminal device 400 is connected to a server 200 via a network 300, and the server 200 is connected to a database 500, wherein the network 300 may be a wide area network or a local area network, or a combination of the two.
[0061] In some embodiments, taking the electronic device as a terminal device as an example, the electronic map-based interaction method provided in the embodiment of the present application can be implemented by the terminal device. For example, the terminal device 400 runs the client 410 (such as a map application in an offline state), and the client 410 presents the electronic map in the human-computer interaction interface according to the relevant data of the electronic map cached locally (such as road data, location data of various points of interest, etc.). When the client 410 receives an interactive operation for a point of interest in the electronic map, the first point of interest is marked as a first state, and at least one second point of interest with the same name as the first point of interest is marked as a second state, and then the corresponding point of interest is presented according to the marked presentation state. It is worth noting that the relevant data of various presentation states (such as the color and / or size of the icon, and the content in the icon) can also be pre-stored locally in the client 410, and when necessary, the relevant data of the presentation state is called to realize the loading of the presentation state.
[0062] In some embodiments, taking the electronic device as a server as an example, the electronic map-based interaction method provided in the embodiment of the present application can also be implemented by the server and the terminal device in collaboration. For example, the terminal device 400 runs the client 410 (such as a map application in an online state), and when the client 410 receives a trigger operation for the electronic map, it sends a request to the server 200 to obtain the relevant data of the electronic map stored by the server 200 (such as stored in the database 500). Then, the client 410 presents the electronic map in the human-computer interaction interface according to the relevant data of the electronic map obtained. Of course, the relevant data of the electronic map can also be pre-stored locally in the client 410. When the client 410 receives an interactive operation for a point of interest in the electronic map, it sends the interactive operation (referring to the relevant data of the interactive operation) to the server 200, so that the server 200 determines the first state marked for the first point of interest and the second state marked for the second point of interest. The server 200 may directly send the relevant data of the marked presentation status (which may be stored in the database 500) and the correspondence between the marked presentation status and the points of interest to the client 410, so that the client 410 presents the corresponding points of interest according to the marked presentation status; or, the client 410 may pre-store the relevant data of various presentation statuses, and the server 200 sends the state identification information (such as the number) of the marked presentation status and the correspondence between the state identification information and the points of interest to the client 410, so that the client 410 calls the relevant data of the presentation status (indicating the marked presentation status) stored locally according to the state identification information to present the corresponding points of interest.
[0063] As an example, in Figure 1 Taking the case where the point of interest is a platform as an example, the human-computer interaction interface 411 shows the Renmin Road Platform A and the Renmin Road Platform B, both of which have the same name "Renmin Road". When an interactive operation for the Renmin Road Platform A is received, the Renmin Road Platform A is presented according to the first state 412, and the Renmin Road Platform B is presented according to the second state 413. Figure 1 The content of the icon corresponding to the presentation state includes the graphic, name and unique identification information of the platform (i.e., platform A or platform B). Compared with the second state 413, the icon corresponding to the first state 412 is larger in size, so that platform A and platform B can be effectively distinguished.
[0064] In some embodiments, the terminal device 400 or the server 200 can implement the electronic map-based interactive method provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as a map application (corresponding to the client 410 above); it can also be a small program, that is, a program that can be run only after being downloaded to a browser environment; it can also be a small program that can be embedded in any APP, such as a small program component embedded in a map application, wherein the small program component can be controlled to run or closed by the user. In short, the above-mentioned computer program can be an application, module or plug-in in any form.
[0065] In some embodiments, the server 200 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, CDN, and big data and artificial intelligence platforms, wherein the cloud service may be an interactive service based on an electronic map for the terminal device 400 to call. The terminal device 400 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart TV, a smart watch, etc., but is not limited thereto. The terminal device and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0066] See also Figure 2 , Figure 2 is a schematic diagram of the structure of a terminal device 400 provided in an embodiment of the present application, Figure 2 The terminal device 400 shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the terminal device 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not shown in FIG. Figure 2 Various buses are labeled as bus system 440 .
[0067] Processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0068] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0069] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0070] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0071] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0072] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0073] A network communication module 452, for reaching other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: Bluetooth, Wireless Compatibility Authentication (WiFi), and Universal Serial Bus (USB);
[0074] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., display screen, speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripherals and displaying content and information);
[0075] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.
[0076] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2 An interactive device 455 based on an electronic map stored in a memory 450 is shown, which may be software in the form of a program or a plug-in, and includes the following software modules: a map presentation module 4551 and a status presentation module 4552. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0077] The electronic map-based interaction method provided in the embodiment of the present application will be described in combination with the exemplary application and implementation of the electronic device provided in the embodiment of the present application.
[0078] See also Figure 3A , Figure 3A is a flowchart of an interactive method based on an electronic map provided in an embodiment of the present application, which will be combined with Figure 3A The steps shown are explained.
[0079] In step 101, an electronic map is presented in a human-computer interaction interface.
[0080] Here, when presenting the electronic map, the points of interest in the electronic map may be presented at the same time, for example, in a default presentation state, wherein the default presentation state may be any one of a first state, a second state, a third state, and a fourth state; or the points of interest in the electronic map may not be presented, for example, only roads and rivers in the electronic map may be presented. The points of interest here may refer to all types of points of interest, or may refer to points of interest of a specific type (such as a bus stop).
[0081] It is worth noting that the embodiments of the present application do not limit the type of electronic map. For example, it can be a two-dimensional electronic map or a three-dimensional electronic map. For example, it can be an electronic map corresponding to the real world, or a fictional electronic map, such as an electronic map in a virtual scene, wherein the virtual scene refers to a scene that is different from the real world and output by an electronic device, such as a virtual scene in a game.
[0082] In this step, an electronic map centered on a set position or a real-time position may be presented. The real-time position in the real world may be obtained in real time through a global positioning system (GPS) or the like; the real-time position in a virtual scene may be directly obtained from relevant data of the virtual scene.
[0083] In step 102, in response to an interactive operation on a point of interest in an electronic map, a first point of interest is presented according to a first state, and at least one second point of interest having the same name as the first point of interest is presented according to a second state; wherein the first state is different from the second state.
[0084] Here, the interactive operation may be a search operation or a selection operation for a point of interest that has been presented in the electronic map, wherein the selection operation is such as a click operation or a long press operation. When an interactive operation for a point of interest in the electronic map is received, a point of interest that interacts with the interactive operation is determined as the first point of interest. Since in the real world or virtual scene, multiple points of interest often have the same name, for example, a site includes multiple platforms with the same name (i.e., site name) (platforms are points of interest), and a scenic spot includes multiple entrances with the same name (i.e., scenic spot name) (entrances are points of interest), the first point of interest may not be a point of interest that meets the needs of the user, and therefore, other points of interest with the same name as the first point of interest are also determined as second points of interest, wherein the second point of interest is different from the first point of interest, and the number of the second points of interest is not limited here. In order to improve the accuracy of the determined second point of interest, other points of interest whose distance from the first point of interest is less than the distance threshold can also be screened out first, and then the point of interest with the same name as the first point of interest among the screened multiple points of interest is used as the second point of interest, wherein the distance can be a straight-line distance or a traffic distance, and the meanings of the two distances will be elaborated in detail later.
[0085] After obtaining the first point of interest and at least one second point of interest, the first point of interest is presented according to the first state, and each second point of interest is presented according to the second state. In this way, it can be clearly shown that the point of interest presented according to the first state is the currently interacted point of interest, and the point of interest presented according to the second state is the point of interest that may meet the needs, which is convenient for users to quickly search. It is worth noting that for points of interest other than the first point of interest and the second point of interest, they can be not presented, or presented according to other presentation states (such as the third state or the fourth state) for distinction.
[0086] In an embodiment of the present application, the presentation state may refer to presenting an icon corresponding to a point of interest according to a specific color and / or size, wherein an icon refers to a mark presented in an electronic map for representing a point of interest, and an icon does not necessarily include a graphic, for example, an icon may be in text form. The content in the icon may include at least one of a graphic for representing the type of point of interest (such as a schematic graphic of a bus stop), a name of the point of interest, and a unique identification information of the point of interest, and for different presentation states, the presentation parameters of the graphic (referring to color and / or size) are different. For example, the first state refers to presenting an icon corresponding to a point of interest according to a first size, and the icon includes a graphic, a name, and a unique identification information; the second state refers to presenting an icon corresponding to a point of interest according to a second size, and the icon includes a graphic, a name, and a unique identification information, wherein the first size is larger than the second size. It is worth noting that the icon can be superimposed on the base map of the electronic map, so as to be presented in the electronic map, wherein the base map is the bottom layer of multiple layers of the electronic map, and of course, the icon can also be presented in other ways.
[0087] In some embodiments, when presenting a first point of interest according to a first state and presenting at least one second point of interest with the same name as the first point of interest according to a second state, it also includes: performing any one of the following processing: presenting summary information corresponding to the point of interest for each of the first point of interest and at least one second point of interest; presenting summary information corresponding to the first point of interest; wherein the summary information corresponding to the point of interest is obtained by performing summary extraction processing on the detailed information corresponding to the point of interest.
[0088] Points of interest in electronic maps have corresponding detailed information. Taking bus stops as an example, detailed information may include name, unique identification information, the number of bus routes in operation, and the last update time of bus routes. It may also include the name, destination, fare, first bus time, last bus time, the arrival time of the closest vehicle, the number of stations between the closest vehicle, and the degree of congestion of the closest vehicle, etc. of each bus route. Since the amount of detailed information is large and not convenient for quick reading, the detailed information corresponding to the point of interest may be processed for summary extraction to obtain summary information, that is, the summary information includes key information in the detailed information. The method of summary extraction processing is not limited here and can be set according to the actual application scenario. Taking bus stops as an example, the summary information may include name, unique identification information, and the names of multiple bus routes in operation. In this way, by presenting summary information, users can quickly understand the corresponding points of interest and judge whether the points of interest meet their needs.
[0089] While presenting the first point of interest according to the first state and presenting at least one second point of interest according to the second state, the corresponding summary information can be presented. Here, there are two ways to present the summary information. The first way is to present the summary information corresponding to the first point of interest and each of all the second points of interest. This way can improve the comprehensiveness of information presentation and facilitate users to comprehensively understand the first point of interest and the second point of interest; the second way is to only present the summary information corresponding to the first point of interest. This way can improve the pertinence of the first point of interest and avoid the summary information corresponding to the second point of interest from interfering with the user. The above two presentation methods have different emphases, and any one of them can be applied according to the actual application scenario. It is worth noting that after presenting the summary information, the corresponding detailed information can be presented in response to the viewing operation of the summary information, so that users can have a deeper understanding.
[0090] In some embodiments, after step 102, it also includes: in response to a selection operation on any second point of interest, replacing the first point of interest according to the selected second point of interest; switching the presentation state of the replaced first point of interest from the second state to the first state, and switching the presentation state of the first point of interest before replacement from the first state to the second state.
[0091] In an embodiment of the present application, a replacement operation for the first point of interest is also supported. For example, after presenting the first point of interest according to the first state and presenting at least one second point of interest according to the second state, if a selection operation for any second point of interest is received, the first point of interest is replaced according to the selected second point of interest. For the replaced first point of interest (i.e., the selected second point of interest), the presentation state is switched from the second state to the first state; for the first point of interest before replacement (i.e., the initial first point of interest), the presentation state is switched from the first state to the second state. It is worth noting that the embodiment of the present application does not limit the number of replacement operations. The above method can enhance the freedom and flexibility of interaction and can fully meet the user's interaction needs.
[0092] like Figure 3A As shown, the embodiment of the present application presents a first point of interest according to a first state, and presents at least one second point of interest according to a second state, so that users can quickly find points of interest that meet their needs, that is, it can reduce the interaction time, improve the interaction efficiency, and is suitable for scenarios such as traffic navigation; at the level of electronic devices, it can make effective use of the computing resources consumed by electronic devices during the interaction process, and at the same time it can also save the computing resources of electronic devices.
[0093] In some embodiments, see Figure 3B , Figure 3B is a flow chart of an electronic map-based interactive method provided in an embodiment of the present application. Figure 3AThe illustrated step 102 can be implemented through steps 201 to 203 , which will be described in conjunction with each step.
[0094] In step 201, in response to a search operation for a point of interest keyword, a plurality of candidate points of interest corresponding to the point of interest keyword are presented according to a second state.
[0095] Here, the interactive operation may include a search operation and a selection operation. When a search operation for a point of interest keyword (i.e., a search request including a point of interest keyword) is received, multiple points of interest corresponding to the point of interest keyword are determined as candidate points of interest. Among them, the point of interest keyword may be at least one of the characteristics of the point of interest, such as the name, type, and purpose, and the purpose is also called function, such as eating, playing, refueling or parking, etc.
[0096] The points of interest corresponding to the point of interest keywords may include only the points of interest whose features are exactly the same as the point of interest keywords (i.e., the similarity is 100%), and may also include the points of interest whose features are different from the point of interest keywords and the similarity is greater than the similarity threshold (named as the search similarity threshold for easy distinction). The similarity between the features of the point of interest and the point of interest keywords can be calculated according to the edit distance algorithm, the machine learning model (such as the word2vec model) or other methods.
[0097] Taking the case where the keyword of the point of interest is the name as an example, if the keyword of the point of interest is "Yongfeng Road", the candidate points of interest may only include the point of interest named "Yongfeng Road", and may also include the point of interest named "Yongfeng Road South Road" and the point of interest named "Yongfeng Road Hospital", among which the similarity between "Yongfeng Road South Road" and "Yongfeng Road" is greater than the search similarity threshold, and the similarity between "Yongfeng Road Hospital" and "Yongfeng Road" is also greater than the search similarity threshold.
[0098] After obtaining multiple candidate interest points, multiple candidate interest points are presented according to the same presentation state, wherein the same presentation state is such as the second state, and of course it can also be the first state, the third state or the fourth state. For ease of understanding, the second state is used for explanation below.
[0099] In step 202, in response to a selection operation on any candidate point of interest, the selected candidate point of interest is used as a first point of interest, and the candidate point of interest with the same name as the first point of interest is used as a second point of interest.
[0100] Here, when a selection operation for any candidate point of interest is received, it is proved that the user has a need to view the selected candidate point of interest, so the selected candidate point of interest is used as the first point of interest. At the same time, among multiple candidate points of interest, the candidate point of interest with the same name as the first point of interest is used as the second point of interest, wherein the second point of interest is different from the first point of interest.
[0101] In some embodiments, when presenting multiple candidate points of interest corresponding to the point of interest keyword according to the second state, it also includes: presenting summary information corresponding to the multiple candidate points of interest respectively; in response to a viewing operation of the summary information corresponding to any one of the candidate points of interest, presenting detailed information corresponding to any one of the candidate points of interest.
[0102] Here, when multiple candidate points of interest are presented according to the second state, the summary information corresponding to the multiple candidate points of interest can also be presented so that the user can quickly understand the multiple candidate points of interest. On this basis, when a viewing operation for the summary information corresponding to any candidate point of interest is received, it proves that the user has a need to further understand the candidate point of interest, so the detailed information corresponding to the candidate point of interest is presented. In the above manner, it can help users quickly and accurately perform selection operations and improve interaction efficiency.
[0103] In some embodiments, the selection operation for any candidate point of interest includes any one of the following: a selection operation for an icon corresponding to any candidate point of interest; a selection operation for summary information corresponding to any candidate point of interest.
[0104] Here, presenting multiple candidate points of interest according to the second state may refer to presenting icons corresponding to the multiple candidate points of interest. In this case, the selection operation of the icon corresponding to any candidate point of interest may be used as the selection operation for the candidate point of interest; the selection operation of the summary information corresponding to any candidate point of interest may also be used as the selection operation for the candidate point of interest. In the above manner, the execution flexibility of the selection operation can be improved, the user's freedom can be improved, and the operation habits of different users can be met.
[0105] It is worth noting that, for the sake of easy distinction, for each summary information presented, a viewing option and a selection option can be presented at the same time. In this way, the triggering operation (such as a click operation) of the viewing option for a certain summary information can be used as the viewing operation for the summary information; the triggering operation of the selection option for a certain summary information can be used as the selection operation for the summary information. Of course, the viewing operation and the selection operation can be defined according to the actual application scenario, and are not limited to the examples here.
[0106] In step 203, the presentation state of the first point of interest is switched from the second state to the first state, and at least one second point of interest is continuously presented according to the second state.
[0107] After determining the first point of interest and at least one second point of interest from a plurality of candidate points of interest, the presentation state of the first point of interest is switched from the second state to the first state, and all second points of interest continue to be presented according to the second state.
[0108] It is worth noting that candidate points of interest different from the first and second points of interest may not be presented, or may be presented according to a presentation state different from the first and second states, such as the third or fourth state, for distinction.
[0109] like Figure 3B As shown, the embodiment of the present application realizes interaction based on search operation and selection operation, which improves the flexibility of interaction and the freedom of users.
[0110] In some embodiments, see Figure 3C , Figure 3C is a flow chart of an electronic map-based interactive method provided in an embodiment of the present application. Figure 3A The illustrated step 102 can be implemented through steps 301 to 302, which will be described in conjunction with each step.
[0111] In step 301, in response to a search operation for a point of interest keyword, a candidate point of interest is determined from multiple candidate points of interest corresponding to the point of interest keyword as a first point of interest, and a candidate point of interest with the same name as the first point of interest is determined as a second point of interest.
[0112] In the embodiment of the present application, the interactive operation may also include only a search operation. When a search operation for a point of interest keyword is received, multiple points of interest corresponding to the point of interest keyword are first determined as candidate points of interest, wherein the determination method of the candidate points of interest is similar to step 201. Then, a candidate point of interest is automatically determined from the multiple candidate points of interest as the first point of interest, and the candidate point of interest with the same name as the first point of interest is used as the second point of interest, wherein the second point of interest is different from the first point of interest.
[0113] It is worth noting that in step 301, the presentation of the electronic map may not be changed, that is, there is no need to present multiple candidate points of interest according to the second state (because the user does not need to perform a selection operation on the candidate points of interest), which can save computing resources.
[0114] In some embodiments, the above-mentioned determination of a candidate point of interest from multiple candidate points of interest corresponding to the point of interest keywords as the first point of interest can be achieved in the following manner: performing any of the following processing on the multiple candidate points of interest corresponding to the point of interest keywords to obtain the first point of interest: taking any one of the multiple candidate points of interest as the first point of interest; determining the straight-line distances between the real-time location and the multiple candidate points of interest respectively, and taking the candidate point of interest with the smallest straight-line distance as the first point of interest; determining the traffic distances between the real-time location and the multiple candidate points of interest according to the selected means of transportation, and taking the candidate point of interest with the smallest traffic distance as the first point of interest; determining the ease of arrival between the real-time location and the multiple candidate points of interest respectively, and taking the candidate point of interest with the highest ease of arrival as the first point of interest; wherein the ease of arrival is determined according to at least one of the number of roads to be crossed and the degree of congestion.
[0115] The embodiments of the present application provide the following four methods to automatically determine the first point of interest.
[0116] 1) Any one of the plurality of candidate interest points is used as the first interest point, that is, the first interest point is obtained through random selection. In addition, the first interest point may also be pre-set.
[0117] 2) For each candidate point of interest, determine the straight-line distance between the candidate point of interest and the real-time position (the real-time position of the electronic device in the real world or the real-time position in the virtual scene). Then, the candidate point of interest with the smallest straight-line distance is taken as the first point of interest.
[0118] 3) For each candidate point of interest, determine the transportation distance between the candidate point of interest and the real-time location according to the currently selected means of transportation, where the transportation distance refers to the distance calculated according to the currently selected means of transportation, such as walking, bicycle or car. Then, the candidate point of interest with the smallest transportation distance is taken as the first point of interest.
[0119] 4) For each candidate point of interest, determine the accessibility between the real-time location and the candidate point of interest, wherein the accessibility is determined by at least one of the number of roads that need to be crossed and the degree of congestion. The accessibility is negatively correlated with the number of roads (such as sidewalks) that need to be crossed, that is, the more roads that need to be crossed, the lower the accessibility; and negatively correlated with the degree of congestion, that is, the higher the degree of congestion, the lower the accessibility. After obtaining the accessibility corresponding to each candidate point of interest, the candidate point of interest with the highest accessibility is taken as the first point of interest.
[0120] The above four methods automatically determine the first point of interest through different factors, which can improve the applicability to different application scenarios.
[0121] In step 302, a first point of interest is presented according to a first state, and at least one second point of interest is presented according to a second state.
[0122] Here, the determined first point of interest is presented in the first state; and all the determined second points of interest are presented in the second state, thereby highlighting the difference between the first point of interest and the second point of interest.
[0123] It is worth noting that candidate points of interest different from the first and second points of interest may not be presented, or may be presented according to a presentation state different from the first and second states, such as the third or fourth state, for distinction.
[0124] like Figure 3C As shown, the embodiment of the present application provides another way of interaction, that is, determining the first point of interest and the second point of interest only based on the search operation, which can effectively reduce the operations that the user needs to perform.
[0125] In some embodiments, see Figure 3D , Figure 3D is a flow chart of an electronic map-based interactive method provided in an embodiment of the present application. Figure 3A The illustrated step 102 can be implemented through steps 401 to 403 , which will be described in conjunction with each step.
[0126] In step 401, in response to a selection operation on any point of interest in the electronic map, the selected point of interest and at least one point of interest having the same name as the selected point of interest are presented as candidate points of interest according to a second state.
[0127] In an embodiment of the present application, the interactive operation may include two selection operations. When a selection operation is received for any point of interest in the electronic map, the selected point of interest and at least one point of interest with the same name as the selected point of interest are presented according to the same presentation state, so that the user can select the first point of interest from them. For ease of explanation, the points of interest presented here are all named candidate points of interest, and an example is given with the same presentation state as the second state. Similarly, summary information corresponding to multiple candidate points of interest can also be presented here.
[0128] In step 402, in response to a selection operation on any candidate point of interest, the selected candidate point of interest is used as a first point of interest, and the candidate point of interest different from the first point of interest is used as a second point of interest.
[0129] Here, for the second selection operation, that is, the received selection operation for any candidate point of interest, the selected candidate point of interest is used as the first point of interest. Meanwhile, all candidate points of interest different from the first point of interest are used as the second points of interest.
[0130] In some embodiments, the selection operation for any candidate point of interest includes any one of the following: a selection operation for an icon corresponding to any candidate point of interest; a selection operation for summary information corresponding to any candidate point of interest.
[0131] In step 403, the presentation state of the first point of interest is switched from the second state to the first state, and at least one second point of interest is continuously presented according to the second state.
[0132] Here, the presentation state of the first point of interest is switched from the second state to the first state, and the presentation states of all second points of interest are kept unchanged.
[0133] It is worth noting that, for points of interest different from the first points of interest and the second points of interest, they may not be presented, or they may be presented according to a presentation state different from the first state and the second state, for example, according to the third state or the fourth state, for distinction.
[0134] like Figure 3D As shown, the embodiment of the present application provides another way of interaction, which can improve the accuracy of the determined first point of interest through two selection operations, and is suitable for application scenarios that mainly support or only support selection operations.
[0135] In some embodiments, see Figure 3E , Figure 3E is a flow chart of an electronic map-based interactive method provided in an embodiment of the present application. Figure 3A The illustrated step 102 can be implemented through steps 501 to 502, which will be described in conjunction with each step.
[0136] In step 501, in response to a selection operation on any point of interest in the electronic map, the selected point of interest is used as a first point of interest.
[0137] In the embodiment of the present application, the interactive operation may also include only one selection operation. When a selection operation for any point of interest in the electronic map (such as a selection operation for an icon corresponding to any point of interest) is received, the selected point of interest is used as the first point of interest.
[0138] In step 502, a first point of interest is presented according to a first state, and at least one second point of interest having the same name as the first point of interest is presented according to a second state.
[0139] Here, at least one second point of interest having the same name as the first point of interest is determined, and the first point of interest is presented in a first state, and the second point of interest is presented in a second state.
[0140] It is worth noting that, for points of interest different from the first points of interest and the second points of interest, they may not be presented, or they may be presented according to a presentation state different from the first state and the second state, for example, according to the third state or the fourth state, for distinction.
[0141] like Figure 3E As shown, the embodiment of the present application provides another way of interaction, which can minimize the operations that the user needs to perform and streamline the interaction process.
[0142] In some embodiments, see Figure 3F , Figure 3F is a flow chart of an interactive method based on an electronic map provided in an embodiment of the present application, based on Figure 3A When presenting a first point of interest according to a first state and presenting at least one second point of interest having the same name as the first point of interest according to a second state, at least one third point of interest may be presented according to a third state in step 601; wherein the first point of interest and the third point of interest satisfy a similarity condition.
[0143] In the embodiment of the present application, only the first point of interest and all the second points of interest may be presented, and other points of interest may also be presented. For example, among multiple points of interest different from the first point of interest and all the second points of interest, a point of interest that meets a similarity condition with the first point of interest is determined as the third point of interest.
[0144] In some embodiments, for any point of interest that is different from the first point of interest and the second point of interest, the following processing is performed: based on at least one of the name, type and purpose, the similarity between any point of interest and the first point of interest is determined; when the similarity is greater than a similarity threshold, any point of interest is used as a third point of interest.
[0145] Here, for each point of interest (named as point of interest A for ease of explanation) that is different from the first point of interest and all the second points of interest, the similarity between the feature of point of interest A and the feature of the first point of interest can be used as the similarity between point of interest A and the first point of interest. The feature of the point of interest can be at least one of a name, a type, and a purpose. Similarly, the similarity between two features can be calculated by an edit distance algorithm or with the aid of a machine learning model.
[0146] When the similarity between point of interest A and the first point of interest is greater than a set similarity threshold, point of interest A is used as the third point of interest, and the similarity threshold can be set according to the actual application scenario. In the above manner, the third point of interest that satisfies the similarity condition with the first point of interest can meet the user's potential search needs.
[0147] In step 602, at least one fourth point of interest is presented according to a fourth state; wherein the fourth point of interest is different from the first point of interest, the second point of interest and the third point of interest; wherein the first state, the second state, the third state and the fourth state are different from each other.
[0148] Here, a point of interest that is different from the first point of interest, the second point of interest, and the third point of interest is regarded as a fourth point of interest. If there is at least one fourth point of interest, the fourth point of interest is presented in the electronic map according to the fourth state. The first state, the second state, the third state, and the fourth state are different from each other. In some embodiments, since the importance of the first point of interest, the second point of interest, the third point of interest, and the fourth point of interest decreases, the recognition of the first state, the second state, the third state, and the fourth state may also decrease accordingly.
[0149] In some embodiments, the first state, the second state, the third state and the fourth state are distinguished from each other, including: icons corresponding to points of interest in different presentation states present different colors and / or sizes; wherein the content of the icon includes the name of the point of interest and at least one of the unique identification information.
[0150] Here, different presentation states may correspond to different presentation parameters, wherein the presentation parameters refer to the color and / or size of the icon, and of course may also include other parameters. The content of the icon may include at least one of a graphic used to represent the type of the point of interest, the name of the point of interest, and the unique identification information of the point of interest. For different presentation states, the content in the corresponding icons may be the same, for example, both only include unique identification information; or they may be different, for example, the icon corresponding to the first state and the icon corresponding to the second state both include graphics, names, and unique identification information, the icon corresponding to the third state only includes graphics and names, and the icon corresponding to the fourth state only includes graphics. In the above manner, the visual effect difference of different presentation states can be ensured, and the first point of interest, the second point of interest, the third point of interest, and the fourth point of interest can be effectively distinguished.
[0151] In some embodiments, for multiple points of interest with the same name, the following processing is performed: multiple unique identification information with a sequence is obtained; the point of interest that meets the position limit condition among the multiple points of interest is used as the initial point of interest, and the first unique identification information is assigned to the initial point of interest according to the sequence; taking the initial point of interest as the starting point, traversing the remaining points of interest among the multiple points of interest according to the set direction, and assigning the remaining unique identification information to the traversed points of interest according to the sequence.
[0152] In an embodiment of the present application, for multiple points of interest with the same name, the unique identification information corresponding to each point of interest may correspond to reality, such as station A or station B in reality; or it may be automatically assigned, and the latter method is illustrated here.
[0153] For example, multiple unique identification information with sequence may be obtained, such as station A, station B, ... station Z. The point of interest that meets the position limit condition among the multiple points of interest with the same name is taken as the initial point of interest, and the first unique identification information (such as station A) among the multiple unique identification information is assigned to the initial point of interest. For example, when the electronic map is oriented with north at the top and south at the bottom, the leftmost (i.e., westernmost) point of interest is taken as the initial point of interest.
[0154] Then, starting from the initial point of interest, the remaining points of interest among the multiple points of interest are traversed according to the set direction. For example, the set direction can be a clockwise direction with the north direction as the starting axis. According to the order of the unique identification information, the remaining unique identification information is allocated to the traversed points of interest. For example, for the first traversed point of interest, the second unique identification information (such as station B) is allocated; for the second traversed point of interest, the third unique identification information (such as station C) is allocated, and so on. In the above manner, the automatic allocation of unique identification information can be achieved. Since the allocation rules do not change with time and user selection, etc., the validity and stability of the unique identification information can be guaranteed.
[0155] In some embodiments, the above-mentioned presentation of at least one fourth point of interest according to the fourth state can be achieved in the following manner: obtaining the number of interactions corresponding to each fourth point of interest; presenting fourth points of interest having a number of interactions greater than a quantity threshold according to the fourth state; wherein the number of interactions represents the number of historical interaction operations corresponding to the fourth point of interest.
[0156] Here, for each determined fourth point of interest, the number of interactions corresponding to the fourth point of interest can be obtained, and the number of interactions can be the number of historical interaction operations received for the fourth point of interest, wherein the historical interaction operation can refer only to the historical search operation, can refer only to the historical selection operation, or can cover both the historical search operation and the historical selection operation. Since the historical interaction operation can reflect the historical needs of the user, the fourth point of interest with an interaction number greater than the number threshold can be presented according to the fourth state, and the fourth point of interest with an interaction number less than or equal to the number threshold is not presented, which can effectively save computing resources.
[0157] like Figure 3F As shown, the embodiment of the present application presents the first point of interest, the second point of interest, the third point of interest and the fourth point of interest in different presentation states, which can effectively reflect the difference between the different points of interest and facilitate the user to search.
[0158] In some embodiments, see Figure 3G , Figure 3G is a flow chart of an electronic map-based interactive method provided in an embodiment of the present application. Figure 3A The illustrated step 102 can be implemented through steps 701 to 702, which will be described in conjunction with each step.
[0159] In step 701, in response to an interactive operation on a point of interest in an electronic map, a minimum area including a first point of interest and at least one second point of interest is used as a point of interest presentation area; wherein there is an interaction between the first point of interest and the interactive operation, and the second point of interest has the same name as the first point of interest.
[0160] Here, the minimum area including the first interest point and all the second interest points can be used as the interest point presentation area. The shape of the interest point presentation area can be restricted, such as being restricted to a rectangle or a circle.
[0161] In some embodiments, after step 701, any of the following processing may also be performed: filling the presentation area of the electronic map according to the point of interest presentation area; expanding the point of interest presentation area to obtain a new point of interest presentation area, and filling the presentation area of the electronic map according to the new point of interest presentation area.
[0162] After obtaining the interest point presentation area, the presentation area for presenting the electronic map in the human-computer interaction interface can be directly filled according to the interest point presentation area, and the process may involve scaling the interest point presentation area. After filling, the electronic map presentation area overlaps with the interest point presentation area.
[0163] In the above method, the first point of interest or the second point of interest may be presented at the edge of the presentation area of the electronic map, resulting in poor presentation effect. Therefore, the point of interest presentation area can be expanded according to the set expansion parameters to obtain a new point of interest presentation area, and then the presentation area of the electronic map is filled according to the new point of interest presentation area, wherein the expansion parameters such as the straight line distance (also called margin value) expanded (extended) outward in the four directions of up, down, left and right may also involve scaling the new point of interest presentation area during the filling process. After the filling is completed, the presentation area of the electronic map overlaps with the new point of interest presentation area.
[0164] It is worth noting that the center of the (new) point of interest presentation area may be made coincident with the center of the presentation area of the electronic map as a target for filling.
[0165] In step 702, a first point of interest is presented in a point of interest presentation area according to a first state, and at least one second point of interest is presented according to a second state; wherein the center of the point of interest presentation area coincides with the center of the presentation area of the electronic map.
[0166] Here, in the point of interest presentation area, a first point of interest is presented according to a first state, and at least one second point of interest is presented according to a second state. Of course, at least one third point of interest can also be presented according to a third state, and at least one fourth point of interest can be presented according to a fourth state. Among them, the center of the point of interest presentation area coincides with the center of the presentation area of the electronic map, which can improve the presentation effect. It is worth noting that if the presentation area of the electronic map includes other presentation areas that are different from the point of interest presentation area, then for other presentation areas, they can be presented according to the default presentation state, or the points of interest or any content of the electronic map may not be presented to save computing resources.
[0167] like Figure 3G As shown, the embodiment of the present application can improve the presentation effect of the points of interest by determining the presentation area of the points of interest, avoid presenting unnecessary points of interest, and achieve the purpose of saving computing resources.
[0168] The following will describe an exemplary application of the embodiment of the present application in an actual application scenario. For ease of understanding, the case where the point of interest is a bus stop is used as an example. In the embodiment of the present application, when a search operation for a bus stop and / or a selection operation for a bus stop is received, the number of bus stops with the same name can be displayed accordingly. As an example, the following is provided: Figure 4AThe schematic diagram of the human-computer interaction interface shown in the figure shows an electronic map 42 and a page card 43 in the human-computer interaction interface 41, and a search box 421 is superimposed in the presentation area of the electronic map 42. When a search operation for the search keyword "Yongfeng Road South Station" is received (such as the user enters "Yongfeng Road South Station" in the search box 421), two candidate bus stops corresponding to "Yongfeng Road South Station" are determined from the multiple bus stops included in the electronic map 42 (corresponding to the candidate points of interest mentioned above), namely, Yongfeng Road South Station Platform A and Yongfeng Road South Station Platform B, wherein the search keyword corresponds to the point of interest keyword mentioned above. Here, the number of candidate bus stops is two, then one of the candidate bus stops can be selected by default to be presented in the currently selected state (corresponding to the first state mentioned above), and the remaining other candidate bus stop can be presented in the associated selected state (corresponding to the second state mentioned above). Figure 4A In the example, the presentation of Platform A of Yongfeng Road South Station (corresponding to the first point of interest above) according to the current selected state 422 and the presentation of Platform B of Yongfeng Road South Station (corresponding to the second point of interest above) according to the associated selected state 423 are used for explanation. In the current selected state 422 and the associated selected state 423, the icons presented include the graphics, name (i.e., Yongfeng Road South Station) and unique identification information (Platform A or Platform B) of the bus station. The difference is that, compared with the associated selected state 423, the size corresponding to the current selected state 422 is larger, and the unique identification information is presented in different colors, which can be easily distinguished by the user. It is worth noting that the presentation state (the icon corresponding to the presentation state) can be superimposed on the base map of the electronic map 42, so as to realize the display of the presentation state, wherein the base map is the bottommost layer among the multiple layers included in the electronic map 42.
[0169] exist Figure 4A In the page card 43 shown, only the summary information corresponding to the bus stop presented in the current selected state may be presented, such as Figure 4A The summary information of Platform A of Yongfeng Road South Station is shown in the figure, including the name, unique identification information, distance from the real-time location (such as straight-line distance), and summary information of the bus lines in operation (such as the name of the bus line and the arrival status, etc.); the summary information corresponding to the bus station presented according to the current selection state and the summary information corresponding to the bus station presented according to the associated selection state can also be presented at the same time, such as in the form of a list. When a viewing operation for any summary information is received, the corresponding detailed information can be presented. Here, the viewing operation for any summary information can be a trigger operation for the presentation area of any summary information. Of course, the viewing operation can be defined according to the actual application scenario.
[0170] In addition to the search operation, the embodiment of the present application can also support the selection operation. Figure 4BAs shown, when a selection operation (such as a click operation) is received for Platform A of Yongfeng Road South Station (referring to the icon corresponding to Platform A of Yongfeng Road South Station presented in the electronic map), Platform A of Yongfeng Road South Station is presented according to the current selection state 424, and Platform B of Yongfeng Road South Station is presented according to the associated selection state 425. It is worth noting that Figure 4B In the corresponding scenario, no search operation is received, that is, the search box is empty.
[0171] In another case, the number of candidate bus stops is greater than two, and all candidate bus stops obtained by the search operation may be first presented in an associated selected state. Figure 5A The schematic diagram of the human-computer interaction interface shown in FIG. 1 shows Xiyuan Station A, Xiyuan Station B, and Xiyuan Station F presented in the electronic map according to the associated selected state. In addition, the summary information corresponding to each candidate bus station is presented in a list form in page card 51. Due to the presentation area limitation of page card 51, Figure 5A Taking the summary information corresponding to Xiyuan Platform A, Xiyuan Platform B and Xiyuan Platform C as an example, it can support presenting other summary information (such as the summary information corresponding to Xiyuan Platform D) through the received sliding operation.
[0172] based on Figure 5A When a viewing operation for any summary information is received, the corresponding detailed information can be presented. Here, the viewing operation for any summary information can be a trigger operation for the "route" option in the presentation area of any summary information. Of course, this does not constitute a limitation on the embodiments of the present application. Figure 5B The detailed information 52 corresponding to Xiyuan A platform is used as an example for explanation. The detailed information 52 includes the number of bus lines (i.e., "5 lines have real-time bus information") and the update time (i.e., "updated at 09:40"), and also includes the destination of each bus line (such as the north gate of xx school), fare, first bus time, last bus time, the arrival time of the nearest vehicle, the number of platforms separated from the nearest vehicle, and the congestion level of the nearest vehicle. Due to the limitation of the size of the presentation area of the detailed information, only part of the detailed information can be presented, such as the detailed information corresponding to some bus lines. The remaining detailed information can be presented through the received sliding operation. It is worth noting that when the detailed information is presented by sliding through the received sliding operation, the number of bus lines and the update time can be fixed.
[0173] based on Figure 5A When a selection operation is received for any candidate bus stop, the selected candidate bus stop is presented according to the current selection state, and other bus stops with the same name as the selected candidate bus stop (i.e., the remaining candidate bus stops) are presented according to the associated selection state. Figure 5C In the example, the selected candidate bus station is Xiyuan A station, and the Xiyuan A station presented according to the current selection state 53 and the Xiyuan F station presented according to the associated selection state 54 are exemplarily shown, wherein the received selection operation for Xiyuan A station can be an icon corresponding to Xiyuan A station (referring to Figure 5A The selection operation may be an icon presented in the electronic map in the figure, or it may be a selection operation for the summary information corresponding to Xiyuan Platform A, for example, a trigger operation for the presentation area other than the "route" option in the presentation area of the summary information corresponding to Xiyuan Platform A. Of course, the selection operation may be defined according to the actual application scenario and is not limited to the examples here.
[0174] Apart from Figure 5A In addition to the search operation shown, the embodiment of the present application can also support a selection operation. Figure 5D As shown, when a selection operation (such as a click operation) is received for Xiyuan A platform (referring to the icon corresponding to Xiyuan A platform presented in the electronic map), Xiyuan A platform is presented according to the current selection state 54, and Xiyuan F platform is presented according to the associated selection state 55. It is worth noting that in Figure 5D In the corresponding scenario, no search operation is received, that is, the search box is empty.
[0175] In the underlying implementation, the embodiment of the present application assigns unique identification information to the bus station, determines the presentation status to be presented according to the received operation, and displays the results that meet the user's needs in the electronic map in combination with the client's capabilities, so that the user can accurately and quickly identify multiple stations. As an example, the embodiment of the present application provides the following Figure 6 The schematic diagram of the architecture of the interactive system based on the electronic map is shown. For the sake of ease of understanding, each of them will be explained separately in the form of numbers.
[0176] 1) Unique identification information.
[0177] For multiple bus stops with the same name in the real world, it is necessary to assign unique identification information to each bus stop to distinguish them. Here, the unique identification information assigned to the bus stop does not change with time or user selection. For example, the assignment method can be:
[0178] ① Sequential capital letters A to Z are used as multiple unique identification information to be allocated.
[0179] ② With the electronic map facing north at the top and south at the bottom, determine the leftmost bus stop (corresponding to the position limit condition above) among multiple bus stops with the same name as the initial bus stop (corresponding to the initial point of interest above), and assign the first unique identification information, i.e., the letter A, to the initial bus stop.
[0180] ③ Taking the initial bus stop as the starting point and the north direction as the starting axis, traverse the remaining bus stops in a clockwise direction and assign the remaining unique identification information in turn.
[0181] As an example, the following is provided: Fig. 7A The schematic diagram of allocating unique identification information when the number of bus stops with the same name is 5 is shown in FIG. Figure 7B and Figure 7C The diagram shown is a schematic diagram of allocating unique identification information when there are two bus stops with the same name.
[0182] 2) Polymorphic calibration (polymorphic logic).
[0183] In addition to assigning unique identification information, in an embodiment of the present application, the presentation status of the bus stops in the electronic map is also marked and presented according to interactive operations (such as search operations and / or selection operations). The presentation status includes, but is not limited to, the current selected state, the associated selected state, the extensive search result state (corresponding to the third state above), and the base map state (corresponding to the fourth state above). Among them, the bus stop that is selected (or selected by default) is used to mark the current selected state; the bus stops with the same name as the selected bus stop are used to mark the associated selected state; the bus stops that meet similar conditions (such as similar conditions based on names) with the selected bus stop are used to mark the extensive search result state; and the remaining bus stops are used to mark the base map state. As an example, the following is provided: Figure 8 The schematic diagram of multiple presentation states shown exemplarily shows a current selected state 81 , an associated selected state 82 , an extensive search result state 83 and a background map state 84 .
[0184] 3) Optimal field of view algorithm.
[0185] After marking the presentation status of the bus stop in the electronic map, the presentation area of the bus stop (corresponding to the above point of interest presentation area) is determined according to the best view algorithm. The process is as follows:
[0186] ① According to the longitude and latitude of the bus stop marked as currently selected and the longitude and latitude of the bus stop marked as associated selected, a rectangular area is constructed. For example, the matrix area can be the minimum area that can accommodate all the bus stops marked as currently selected and all the bus stops marked as associated selected. The matrix area is the presentation area of the bus stop.
[0187] ② Place the center of the matrix area at the center of the presentation area of the electronic map, where the presentation area of the electronic map can be as follows: Figure 4AThe rendering area of the electronic map 42 shown in the figure may also be the area between the lower edge of the search box and the upper edge of the page card. Then, the matrix area is expanded according to the set expansion parameters (such as the margin values set in the four directions of top, bottom, left and right) to fill the rendering area of the electronic map according to the new matrix area (the matrix area after the expansion process).
[0188] ③In the new matrix area, bus stops marked with various presentation states are presented.
[0189] 4)System framework.
[0190] In the embodiment of the present application, the communication between multiple modules such as the client, the backend (server), the search layer, the data layer, and the base map can be realized. In particular, the backend, the search layer, and the data layer actually belong to the backend category, but they are divided into different functional modules due to different divisions of labor; similarly, the base map belongs to the client category. As an example, the embodiment of the present application provides the following example: Fig. 9 The architecture diagram shown in Fig. 9 In the present invention, the data layer is used to provide data classification (i.e., providing different presentation states) and data identification (i.e., providing unique identification information) capabilities for bus stations; the search layer is used to provide data search capabilities for bus stations; the background is used to provide data transmission capabilities (such as for transmitting keywords of points of interest, presentation states, etc.); the base map is used to provide icon classification capabilities (such as providing different icons for different presentation states) and presentation state loading capabilities; the client is used to provide user-oriented search capabilities (such as based on a search box or search page), summary information presentation capabilities (such as based on page cards), detail information presentation capabilities (such as based on a specific detail display page), and electronic map presentation capabilities (such as based on the base map display page, that is, the presentation area of the electronic map).
[0191] 5) Timing diagram.
[0192] As an example, the present application embodiment provides the following Fig.10As shown in the timing diagram, when the client receives the search (search operation) initiated by the user, it initiates a search to the background, and the background converts the data and initiates a search to the search layer. The search layer further initiates a search to the data layer, and after receiving the response data returned by the data layer, it sends the response data to the background, which converts it into data available to the client (such as the presentation status of each bus stop, and the detailed information and summary information of each bus stop, etc.) and returns it to the client. In this way, the client can present the bus stops marked with various presentation states in the presentation area of the bus stop, wherein the client can obtain the base map data from the base map, such as the relevant data of the electronic map (such as roads, rivers, bus stops, etc.), and the icons corresponding to the presentation status, for presentation. It is worth noting that the search layer provides search capabilities for all businesses, some of which are not needed by the client or do not meet the format requirements of the client, such as points of interest other than bus stops. Therefore, the role of the background is to filter and organize the data provided by the search layer into the data and data format required by the client. Similarly, the data provided by the client (such as the relevant data of the search operation) can also be filtered and organized.
[0193] In the embodiment of the present application, by distinguishing bus stops with the same name and marking corresponding presentation states for different bus stops according to interactive operations, it is possible to solve the problems of users having difficulty finding and going to the wrong bus stop due to too many bus stops with the same name.
[0194] The following is a description of an exemplary structure of an electronic map-based interactive device 455 provided in an embodiment of the present application implemented as a software module. In some embodiments, for example, Figure 2 As shown, the software modules in the electronic map-based interaction device 455 stored in the memory 450 may include: a map rendering module 4551, used to present the electronic map in the human-computer interaction interface; a state presentation module 4552, used to respond to interactive operations on points of interest in the electronic map, present a first point of interest according to a first state, and present at least one second point of interest with the same name as the first point of interest according to a second state; wherein the first state is different from the second state.
[0195] In some embodiments, the interactive operation includes a search operation and a selection operation; the state presentation module 4552 is also used to: in response to a search operation for a point of interest keyword, present multiple candidate points of interest corresponding to the point of interest keyword according to the second state; in response to a selection operation for any candidate point of interest, take the selected candidate point of interest as the first point of interest, and take the candidate point of interest with the same name as the first point of interest as the second point of interest; switch the presentation state of the first point of interest from the second state to the first state, and continue to present at least one second point of interest according to the second state.
[0196] In some embodiments, the status presentation module 4552 is further used to: present summary information corresponding to a plurality of candidate points of interest respectively; and present detailed information corresponding to any one of the candidate points of interest in response to a viewing operation on the summary information corresponding to any one of the candidate points of interest.
[0197] In some embodiments, the selection operation for any candidate point of interest includes any one of the following: a selection operation for an icon corresponding to any candidate point of interest; a selection operation for summary information corresponding to any candidate point of interest.
[0198] In some embodiments, the interactive operation includes a search operation; the state presentation module 4552 is also used to: in response to a search operation for a point of interest keyword, determine a candidate point of interest from multiple candidate points of interest corresponding to the point of interest keyword as the first point of interest, and use the candidate point of interest with the same name as the first point of interest as the second point of interest; present the first point of interest according to the first state, and present at least one second point of interest according to the second state.
[0199] In some embodiments, the status presentation module 4552 is also used to: perform any of the following processing on multiple candidate points of interest corresponding to the point of interest keywords to obtain a first point of interest: take any one of the multiple candidate points of interest as the first point of interest; determine the straight-line distances between the real-time position and the multiple candidate points of interest respectively, and take the candidate point of interest with the smallest straight-line distance as the first point of interest; determine the traffic distances between the real-time position and the multiple candidate points of interest according to the selected means of transportation, and take the candidate point of interest with the smallest traffic distance as the first point of interest; determine the ease of arrival between the real-time position and the multiple candidate points of interest respectively, and take the candidate point of interest with the highest ease of arrival as the first point of interest; wherein the ease of arrival is determined according to at least one of the number of roads that need to be crossed and the degree of congestion.
[0200] In some embodiments, the interactive operation includes two selection operations; the state presentation module 4552 is also used to: in response to a selection operation on any point of interest in the electronic map, present the selected point of interest and at least one point of interest with the same name as the selected point of interest as candidate points of interest according to the second state; in response to a selection operation on any candidate point of interest, present the selected candidate point of interest as the first point of interest, and present the candidate point of interest different from the first point of interest as the second point of interest; switch the presentation state of the first point of interest from the second state to the first state, and continue to present at least one second point of interest according to the second state.
[0201] In some embodiments, the interactive operation includes a selection operation; the state presentation module 4552 is also used to: in response to a selection operation on any point of interest in the electronic map, take the selected point of interest as the first point of interest; present the first point of interest according to the first state, and present at least one second point of interest with the same name as the first point of interest according to the second state.
[0202] In some embodiments, the state presentation module 4552 is also used to: present at least one third point of interest according to the third state; wherein the first point of interest and the third point of interest satisfy similarity conditions; present at least one fourth point of interest according to the fourth state; wherein the fourth point of interest is different from the first point of interest, the second point of interest and the third point of interest; wherein the first state, the second state, the third state and the fourth state are different from each other.
[0203] In some embodiments, the first state, the second state, the third state and the fourth state are distinguished from each other, including: icons corresponding to points of interest in different presentation states present different colors and / or sizes; wherein the content of the icon includes the name of the point of interest and at least one of the unique identification information.
[0204] In some embodiments, the status presentation module 4552 is also used to perform the following processing for multiple points of interest with the same name: obtain multiple unique identification information with order; take the point of interest that meets the position limit condition among the multiple points of interest as the initial point of interest, and assign the first unique identification information to the initial point of interest according to the order; take the initial point of interest as the starting point, traverse the remaining points of interest among the multiple points of interest according to the set direction, and assign the remaining unique identification information to the traversed points of interest according to the order.
[0205] In some embodiments, the status presentation module 4552 is also used to perform the following processing for any point of interest that is different from the first point of interest and the second point of interest: determining the similarity between any point of interest and the first point of interest based on at least one of the name, type and purpose; when the similarity is greater than the similarity threshold, treating any point of interest as the third point of interest.
[0206] In some embodiments, the state presentation module 4552 is further used to: obtain the number of interactions corresponding to each fourth point of interest; present fourth points of interest whose number of interactions is greater than a quantity threshold according to the fourth state; wherein the number of interactions represents the number of historical interaction operations corresponding to the fourth point of interest.
[0207] In some embodiments, the state presentation module 4552 is also used to: use the minimum area including the first point of interest and at least one second point of interest as the point of interest presentation area; present the first point of interest according to the first state within the point of interest presentation area, and present at least one second point of interest according to the second state; wherein the center of the point of interest presentation area coincides with the center of the presentation area of the electronic map.
[0208] In some embodiments, the status presentation module 4552 is also used to: perform any one of the following processing: fill the presentation area of the electronic map according to the point of interest presentation area; expand the point of interest presentation area to obtain a new point of interest presentation area, and fill the presentation area of the electronic map according to the new point of interest presentation area.
[0209] In some embodiments, the status presentation module 4552 is also used to perform any of the following processing: presenting summary information corresponding to the first point of interest and each of the at least one second point of interest; presenting summary information corresponding to the first point of interest; wherein the summary information corresponding to the point of interest is obtained by performing summary extraction processing on the detailed information corresponding to the point of interest.
[0210] In some embodiments, the status presentation module 4552 is also used to: in response to a selection operation on any second point of interest, replace the first point of interest according to the selected second point of interest; switch the presentation status of the replaced first point of interest from the second state to the first state, and switch the presentation status of the first point of interest before replacement from the first state to the second state.
[0211] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the electronic map-based interaction method described in the embodiment of the present application.
[0212] The present application embodiment provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will be caused to execute the method provided by the present application embodiment, for example, Figure 3A , Figure 3B , Figure 3C , Figure 3D , Figure 3E , Figure 3F and Figure 3G An interactive method based on an electronic map is shown.
[0213] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0214] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0215] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0216] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0217] The above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. An interactive method based on an electronic map, characterized in that: The method comprises: Presenting electronic maps in a human-computer interaction interface; In response to an interactive operation on a point of interest in the electronic map, presenting a first point of interest according to a first state, and presenting at least one second point of interest having the same name as the first point of interest according to a second state, wherein the first state is different from the second state; When the interactive operation includes a search operation, the response to the interactive operation on the point of interest in the electronic map, presenting a first point of interest according to a first state, and presenting at least one second point of interest with the same name as the first point of interest according to a second state, includes: in response to a search operation on a point of interest keyword, determining a candidate point of interest from a plurality of candidate points of interest corresponding to the point of interest keyword as the first point of interest, and using the candidate point of interest with the same name as the first point of interest as the second point of interest; presenting the first point of interest according to the first state, and presenting at least one second point of interest according to the second state.
2. The method according to claim 1, characterized in that When the interactive operation includes a search operation and a selection operation, the presenting of a first point of interest according to a first state and presenting of at least one second point of interest having the same name as the first point of interest according to a second state in response to the interactive operation on the point of interest in the electronic map comprises: In response to a search operation for a point of interest keyword, presenting a plurality of candidate points of interest corresponding to the point of interest keyword according to the second state; In response to a selection operation on any one of the candidate points of interest, the selected candidate point of interest is used as a first point of interest, and the candidate point of interest having the same name as the first point of interest is used as a second point of interest; The presentation state of the first point of interest is switched from the second state to the first state, and at least one second point of interest is continuously presented according to the second state.
3. The method according to claim 2, characterized in that When presenting a plurality of candidate points of interest corresponding to the point of interest keyword according to the second state, the method further includes: The summary information corresponding to each of the plurality of candidate interest points is presented.
4. The method according to claim 3, characterized in that The selection operation for any candidate point of interest includes any of the following: An operation of selecting an icon corresponding to any candidate point of interest; The selection operation for the summary information corresponding to any candidate POI.
5. The method according to claim 1, characterized in that: When the interactive operation includes two selection operations, the presenting of a first point of interest according to a first state and presenting at least one second point of interest having the same name as the first point of interest according to a second state in response to the interactive operation on the point of interest in the electronic map includes: In response to a selection operation on any one point of interest in the electronic map, presenting the selected point of interest and at least one point of interest having the same name as the selected point of interest according to the second state as candidate points of interest; In response to a selection operation on any one of the candidate interest points, taking the selected candidate interest point as a first interest point, and taking a candidate interest point different from the first interest point as a second interest point; The presentation state of the first point of interest is switched from the second state to the first state, and at least one second point of interest is continuously presented according to the second state.
6. The method according to claim 1, characterized in that When the interactive operation includes a selection operation, in response to the interactive operation on the point of interest in the electronic map, presenting a first point of interest according to a first state, and presenting at least one second point of interest having the same name as the first point of interest according to a second state, comprises: In response to a selection operation on any one point of interest in the electronic map, taking the selected point of interest as a first point of interest; The first point of interest is presented according to the first state, and at least one second point of interest having the same name as the first point of interest is presented according to the second state.
7. The method according to any one of claims 1 to 6, characterized in that: When presenting a first point of interest according to a first state, and presenting at least one second point of interest having the same name as the first point of interest according to a second state, the method further includes: Presenting at least one third point of interest according to the third state; wherein the first point of interest and the third point of interest meet a similarity condition; Presenting at least one fourth point of interest according to a fourth state; wherein the fourth point of interest is different from the first point of interest, the second point of interest, and the third point of interest; The first state, the second state, the third state and the fourth state are distinguished from each other.
8. The method according to claim 7, characterized in that The first state, the second state, the third state and the fourth state are distinguished from each other and include: Icons corresponding to points of interest in different presentation states are presented in different colors and / or sizes; The content of the icon includes at least one of the name of the point of interest and unique identification information.
9. The method according to claim 8, characterized in that The method further comprises: For multiple points of interest with the same name, perform the following processing: Obtaining multiple unique identification information in sequence; Taking the point of interest satisfying the position limit condition among the multiple points of interest as the initial point of interest, and assigning the first unique identification information to the initial point of interest according to the order; Taking the initial point of interest as a starting point, traverse the remaining points of interest among the multiple points of interest according to a set direction, and assign the remaining unique identification information to the traversed points of interest according to the order.
10. The method according to claim 7, characterized in that The method further comprises: For any one point of interest different from the first point of interest and the second point of interest, the following processing is performed: Determining a similarity between the any one point of interest and the first point of interest based on at least one of a name, a type, and a purpose; When the similarity is greater than a similarity threshold, any one of the interest points is used as a third interest point.
11. The method according to any one of claims 1 to 6, characterized in that: The presenting of the first point of interest according to the first state and presenting of at least one second point of interest having the same name as the first point of interest according to the second state includes: using a minimum area including the first interest point and at least one of the second interest points as an interest point presentation area; Presenting the first point of interest in the point of interest presentation area according to the first state, and presenting at least one second point of interest according to the second state; The center of the interest point presentation area coincides with the center of the electronic map presentation area.
12. The method according to any one of claims 1 to 6, characterized in that: When presenting a first point of interest according to a first state, and presenting at least one second point of interest having the same name as the first point of interest according to a second state, the method further includes: Perform any of the following: For each of the first point of interest and at least one of the second points of interest, present summary information corresponding to the point of interest; The summary information corresponding to the first point of interest is presented.
13. An interactive device based on an electronic map, characterized in that: The device comprises: A map presentation module, used to present an electronic map in a human-computer interaction interface; a state presentation module, configured to present a first point of interest according to a first state and present at least one second point of interest having the same name as the first point of interest according to a second state in response to an interactive operation on the point of interest in the electronic map; wherein the first state is different from the second state; The state presentation module is also used for presenting a first point of interest according to a first state and presenting at least one second point of interest with the same name as the first point of interest according to a second state in response to an interactive operation on a point of interest in the electronic map when the interactive operation includes a search operation, including: in response to a search operation on a point of interest keyword, determining a candidate point of interest from a plurality of candidate points of interest corresponding to the point of interest keyword as the first point of interest, and taking the candidate point of interest with the same name as the first point of interest as the second point of interest; presenting the first point of interest according to the first state, and presenting at least one second point of interest according to the second state.
14. An electronic device, characterized in that: include: A memory for storing executable instructions; The processor is used to implement the electronic map-based interaction method described in any one of claims 1 to 12 when executing the executable instructions stored in the memory.
15. A computer-readable storage medium, characterized in that: Executable instructions are stored, which are used to implement the electronic map-based interaction method described in any one of claims 1 to 12 when executed by a processor.
16. A computer program product comprising computer executable instructions or a computer program, characterized in that When the computer executable instructions or computer program are executed by a processor, the electronic map-based interaction method described in any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Target location display method, system and terminal
CN111143499A