CN117723080A - Navigation method, navigation device, electronic equipment and readable storage medium - Google Patents

Navigation method, navigation device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117723080A
CN117723080A CN202311711113.8A CN202311711113A CN117723080A CN 117723080 A CN117723080 A CN 117723080A CN 202311711113 A CN202311711113 A CN 202311711113A CN 117723080 A CN117723080 A CN 117723080A
Authority
CN
China
Prior art keywords
navigation
user
initial
input
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311711113.8A
Other languages
Chinese (zh)
Inventor
张恩来
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202311711113.8A priority Critical patent/CN117723080A/en
Publication of CN117723080A publication Critical patent/CN117723080A/en
Pending legal-status Critical Current

Links

Landscapes

  • Navigation (AREA)

Abstract

The application discloses a navigation method, a navigation device, electronic equipment and a readable storage medium, which belong to the technical field of communication, wherein the method comprises the following steps: displaying a first navigation interface, wherein the first navigation interface comprises at least two initial position identifiers, and each initial position identifier indicates an initial position; determining an end position according to at least two initial positions indicated by the at least two initial position identifiers and user setting information; generating at least two navigation routes according to the end position and the at least two initial positions, wherein the end points of the at least two navigation routes are the end positions, and the initial points of the at least two navigation routes are any one of the at least two initial positions.

Description

Navigation method, navigation device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a navigation method, a navigation device, electronic equipment and a readable storage medium.
Background
With the popularization of electronic devices, people can communicate in real time through the electronic devices when seeing a meeting place, determine the meeting place, and then navigate to the meeting place. At present, two or more parties needing to meet select the appointment place according to the respective positions, then determine the navigation route, if the two or more parties meeting are in an unfamiliar area, the positions are generally positioned through map software, one appointment place is automatically determined, then navigation is performed according to the appointment place, and the navigation route is obtained.
Disclosure of Invention
An object of the embodiments of the present application is to provide a navigation method, apparatus, electronic device, and readable storage medium, which can determine an appointment place for a user according to a position of the user and provide a navigation route, thereby improving an acquisition efficiency of the navigation route.
In a first aspect, an embodiment of the present application provides a navigation method, including:
displaying a first navigation interface, wherein the first navigation interface comprises at least two initial position identifiers, and each initial position identifier indicates an initial position;
determining a first end position according to at least two initial positions indicated by the at least two initial position identifiers and user setting information;
generating at least two navigation routes according to the first end position and the at least two initial positions, wherein the end points of the at least two navigation routes are the first end position, and the start points of the at least two navigation routes are any one of the at least two initial positions.
In a second aspect, embodiments of the present application provide a navigation device, including:
the display module is used for displaying a first navigation interface, wherein the first navigation interface comprises at least two initial position identifiers, and each initial position identifier indicates one initial position;
The determining module is used for determining an end position according to the at least two initial positions indicated by the at least two initial position identifiers and the user setting information;
the generating module is used for generating at least two navigation routes according to the end position and the at least two initial positions, wherein the end points of the at least two navigation routes are the end positions, and the starting points of the at least two navigation routes are any one of the at least two initial positions.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a program product stored in a storage medium, the program product being executed by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, at least two initial position identifiers can be displayed in the navigation interface, then the first end position is determined based on the at least two initial position identifiers and the user setting information, and the navigation route is generated according to the end position and each initial position, so that the user does not need to manually select the end position, the user can avoid the operation of manually inquiring the navigation route, the user operation is simplified, and the acquisition efficiency and the travel efficiency of the navigation route are improved.
Drawings
FIG. 1 is a flow chart of a navigation method provided by an embodiment of the present application;
FIG. 2A is a schematic diagram of a first navigation interface provided by an embodiment of the present application;
FIG. 2B is a schematic view of a first interface display provided in an embodiment of the present application;
FIG. 2C is a schematic diagram of a third interface display provided by an embodiment of the present application;
FIG. 2D is a schematic diagram of a shared code display according to an embodiment of the present disclosure;
fig. 2E is a schematic diagram of prompt message display provided in an embodiment of the present application;
FIG. 2F is a schematic diagram of a second interface display provided in an embodiment of the present application;
FIG. 2G is a schematic diagram of an end position display provided in an embodiment of the present application;
FIG. 2H is a schematic diagram of a navigation route provided by an embodiment of the present application;
FIG. 3 is a block diagram of a navigation device provided in an embodiment of the present application;
FIG. 4 is one of the block diagrams of the electronic device provided in the embodiments of the present application;
fig. 5 is a second block diagram of the electronic device according to the embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms "first," "second," and the like in the description of the present application, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. In addition, "and/or" in the specification means at least one of the connected objects, and the character "/", generally means a relationship in which the associated objects are one kind of "or".
The navigation method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of a navigation method provided in an embodiment of the present application, where the navigation method in the embodiment is executed by a first electronic device, and includes the following steps:
step 101, displaying a first navigation interface, wherein the first navigation interface comprises at least two starting position identifiers, and each starting position identifier indicates a starting position.
And displaying a first navigation interface of map software on a display screen, wherein the map software is installed on the first electronic equipment, M initial position identifiers are displayed on the first navigation interface, each initial position identifier indicates that one initial position corresponds, and M is an integer larger than 1.
Map software is installed on the first electronic device, a map is displayed on the first navigation interface, M initial position identifiers are displayed on the map, and the initial position identifiers refer to position identifiers of the initial positions of users mapped to the map. As shown in fig. 2A, reference symbol a shows a start position identifier of the user a, and reference symbol B shows a start position identifier of the user B.
And 102, determining an end position according to the at least two initial positions indicated by the at least two initial position identifiers and the user setting information.
For example, the user setting information may be preference information set by N users among the users corresponding to the M start position identifications, for example, if M is 3, the value of N may be 1, 2 or 3, that is, in the case that there are 3 users, preference information of 1, 2 or 3 users among the 3 users may be acquired. The preference information may include at least one of a traffic style preference and a venue preference. The traffic mode preference refers to a traffic mode preferred by a user, such as buses, subways, taxi taking, self-driving and the like, and the place preference refers to a place preferred by the user, such as a coffee shop, a milky tea shop, a middle restaurant, a western restaurant, a hot pot shop, a shopping mall and the like.
The shortest path calculation is performed according to the starting positions of the M users, so that the sum of the distances from the first position to each starting position in all the positions is minimum, namely the sum of the distances from the first position to the starting position of each user is smaller than the sum of the distances from any other position to the starting position of each user. Any other position refers to any starting position other than the first position. And determining an end position within a preset distance range of the first position according to the user setting information. The preset distance range may be set according to practical situations, for example, 100 meters, 500 meters, etc., which is not limited herein. The preset distance of the first location may be referred to as a first location range, and an end location matching the user setting information is determined in the first location range, for example, in the case where the preference information includes a preference place, if N users all prefer a coffee shop, the end location may be a coffee shop.
In this embodiment of the present application, the end position may be a position where the time to all the start positions is shorter. For example, a plurality of alternative positions may be determined based on the user setting information, and then one position closer to all the start positions may be selected from the plurality of alternative positions.
And 103, generating at least two navigation routes according to the end position and the at least two initial positions, wherein the end points of the at least two navigation routes are the end positions, and the start points of the at least two navigation routes are any one of the at least two initial positions.
After determining the end position, generating a navigation route according to each initial position to the end position, wherein the end point of each navigation route is the end position, and displaying each navigation route on the first navigation interface.
In this embodiment, at least two initial position identifiers may be displayed in the navigation interface, then, based on the at least two initial position identifiers and user setting information, a first end position is determined, and a navigation route is generated according to the end position and each initial position, so that the user does not need to manually select the end position, and the user can avoid the operation of manually querying the navigation route, thereby simplifying the user operation and improving the acquisition efficiency and the travel efficiency of the navigation route.
In an embodiment of the present application, the at least two starting positions include a first starting position and a second starting position;
before the displaying the first navigation interface, the method further includes:
displaying a first interface, wherein the first interface comprises a first control and a first starting position identifier; wherein the first starting position is identified as the first starting position determined according to a positioning function of the first electronic device;
receiving a first input of a user to the first control;
the second starting position is determined in response to the first input.
Wherein the first input is an input for inputting a name of the second starting position; or, the first input is an input of a shared code corresponding to the second starting position, where the shared code indicates that the first electronic device is agreed to acquire the second starting position.
In the above, the first starting position refers to a starting position obtained by positioning the first electronic device, and the second starting position refers to a starting position obtained by positioning the second electronic device.
Specifically, for ease of description, a first user is referred to as a user using a first electronic device, a second user is referred to as a user using a second electronic device, and a first starting location may be determined according to a location function of the first electronic device. The second starting position may be manually input by the first user, or may be sent to the first electronic device by the second electronic device used by the second user, or may be sent to the server of the map software by the second electronic device used by the second user, where the server sends the second starting position to the first electronic device.
In this embodiment, the first starting position and the second starting position are acquired, the starting position identifiers corresponding to the first starting position and the second starting position are displayed on the first navigation interface, and when each starting position identifier is displayed, the identifier of the second user, for example, the name of the second user, is also displayed, so that the position information of each user is displayed on the first navigation interface more intuitively.
Fig. 2B is a diagram showing a first interface example of map software, in which a first control 1 is displayed, the first control 1 is an input box, and a second start position is input in the input box, for example, a name of the second start position is input, or a sharing code of the second start position is input, where the sharing code is used to share the second start position. The first electronic device may be configured to determine, according to the first starting position, a first starting position of the first electronic device, and determine, according to the second starting position of the first electronic device, whether the first starting position is the first starting position or not; or after the second electronic device generates the shared code, the second electronic device sends the second starting position to a server of the map software, and the second starting position is stored on the server, in this case, the first electronic device may acquire the second starting position corresponding to the shared code from the server.
It should be noted that, if the first input inputs the shared code of the second starting position, the starting position identifier of the first starting position may also be displayed on the first navigation interface of the second electronic device.
The number of the second starting positions can be multiple, the sharing code of each second starting position is different, and the sharing code of each second starting position is input in the first control, so that the plurality of second starting positions can be obtained.
In yet another embodiment of the present application, there is also provided a method for acquiring a second starting position, where the acquiring the second starting position includes:
displaying a third interface of map software installed on the first electronic device on a display screen, wherein the third interface comprises a second control;
receiving a fourth input to the second control;
generating a first sharing code in response to the fourth input, the first sharing code for sharing the first starting location;
transmitting the first shared code to second electronic equipment used by a second user;
and receiving a second starting position, wherein the second starting position is transmitted under the condition that the first sharing code is input in map software installed in the second electronic equipment.
In this embodiment, the first electronic device generates the first start position sharing code, and the second user inputs the first start position sharing code on the second electronic device used by the first electronic device, so that the first electronic device obtains the second start position sharing code sent by the second electronic device.
Fig. 2C is a diagram illustrating a third interface of the map software, in which the second control 2 is displayed, and the user clicks on the second control to generate the sharing code, as shown in fig. 2D, and in fig. 2D, the generated sharing code "666666" is displayed. For convenience of description, the shared code of the first start position will be referred to as a first shared code.
The first electronic device may send the first shared code to the second electronic device through social software, or a short message.
In an exemplary embodiment, when the second user inputs the first shared code in the map software installed in the second electronic device, the second electronic device may send the second starting position to the server of the map software, and simultaneously obtain the first starting position from the server according to the first shared code, and display a starting position identifier corresponding to the first starting position on the first navigation interface of the second electronic device. After the server acquires the second starting position, the second starting position is sent to the first electronic device, and the first electronic device receives the second starting position.
In this embodiment, the first user may generate the first shared code of the first starting position through the first electronic device, and send the first shared code to the second electronic device used by the second user, where the first electronic device may also obtain the second starting position under the condition that the second user inputs the first shared code in the map software of the second electronic device, so as to implement position sharing of the first user and the second user.
In yet another embodiment of the present application, before the determining the end position according to the at least two start positions indicated by the at least two start position identifiers and the user setting information, the method further includes:
displaying a second interface, the second interface comprising at least one first setting option and at least one second setting option;
receiving a second input of a target setting option from a user;
determining the user setting information in response to the second input;
wherein the target setting options include at least one of: at least one of the at least one first setting option, at least one of the at least one second setting option.
Specifically, after displaying at least two start position identifiers on the first navigation interface, a prompt message may be displayed, where the prompt message is used to query whether planning is required for the first end position, as shown in fig. 2E, and if yes, a second interface is displayed, where the second interface is shown in fig. 2F, and the second interface includes at least one first setting option and at least one second setting option. At least one first setting option is used for characterizing a place preference, and at least one second setting option is used for characterizing a traffic mode preference, wherein the place preference comprises a cafe, a milky tea shop and a hot pot shop, the place preference can be further input in a customized mode, such as a first customized input box 3 in fig. 2F, and places which are not in the place preference to be selected can be input into the first customized input box 3; the traffic mode preference includes public transportation, subway and self-driving, and the traffic mode preference can be input in a self-defining manner, for example, the second self-defining input box 4 in fig. 2F can input the traffic mode which is not in the traffic mode preference to be selected into the second self-defining input box 4.
In an embodiment of the present application, the user setting information includes a traffic mode preference and a location preference corresponding to each starting location;
the determining the end position according to the at least two start positions indicated by the at least two start position identifiers and the user setting information comprises the following steps:
determining a first position range according to the at least two initial positions;
determining a second location range within the first location range according to the traffic pattern preference;
determining the end position within the second range of positions according to the venue preference.
In an exemplary embodiment, according to the traffic mode preference corresponding to each starting position, a second position is selected within a first preset distance range (may also be referred to as a first position range) of the first position, for example, if there are N starting positions, the sum of the durations used by each starting position to navigate to the second position according to the traffic mode preference corresponding to itself is a first duration, the sum of the durations used by each starting position to navigate to a third position according to the traffic mode preference corresponding to itself is a second duration, the first duration is less than the second duration, and the third position is any position except the second position within the first preset distance range.
And determining the first end position within a second preset distance range (also called a second position range) of the second position according to the place preference corresponding to each start position.
Specifically, the first preset distance range may be set according to actual situations, for example, the first preset distance range may be a circular area with the first position as a center and the first preset length as a radius, and the first preset length may be 500 meters, 1000 meters, or the like, which is not limited herein.
If the traffic mode preference corresponding to the first starting position where the first user is located is public transportation and the traffic mode preference corresponding to the second starting position where the second user is located is self-driving, selecting one undetermined position from the first position range, calculating the duration from the starting position to the undetermined position of the first user in a bus trip mode, calculating the duration from the starting position to the undetermined position of the second user in a self-driving trip mode, and calculating the sum of the two durations, wherein the second position is a position in a first preset distance range of all the first positions, and the sum of the durations is shortest.
The second preset distance range may be set according to practical situations, for example, the second preset distance range may be a circular area with the second position as a center of a circle and the second preset length as a radius, and the second preset length may be 500 meters, 1000 meters, or the like, which is not limited herein.
In yet another embodiment of the present application, the selecting the end location within the second location range according to the venue preference includes:
acquiring at least one alternative position in the second position range according to the place preference of each user;
acquiring voting information of each user for the at least one alternative position;
and determining the end position according to the voting information, wherein the end position is the candidate position with the most votes among the at least one candidate position.
Illustratively, if the first user's location preference is a cafe and the second user's location preference is a milky tea store, then all milky tea stores and cafes are screened out from a second predetermined distance range of the second location (i.e., the second location range), and these milky tea stores and cafes are selected as alternative locations for the user to vote, and the user may discard the vote if there is no favorite location. If multiple users select different places, the final end position is the candidate position with the highest ticket number among all the candidate positions. If the ticket numbers of the plurality of places are the same, calculating the place with the shortest sum of time for each user to arrive from the starting position in the places with the same ticket number. If the user does not select a place, the first user can manually select a final end position, and after the end position is confirmed, a position identifier corresponding to the end position can be displayed on the first navigation interface. As shown in fig. 2G, points a and B in the figure show initial position identifiers of two users, and point C shows position identifier of an end position.
In an embodiment of the present application, after the generating at least two navigation routes, the method further includes:
receiving a third input from the user;
and generating a navigation screenshot in response to the third input, wherein the navigation screenshot comprises graphic code information, and the graphic code information indicates at least one of the at least two navigation routes.
In this embodiment, the third input may be an input triggering the generation of a navigation screenshot, as shown in fig. 2H, which is a schematic diagram of a navigation route generated for the user a. The first user can share the navigation screenshot with the second user, so that each user can avoid the operation of manually inquiring the navigation route, the user operation is simplified, and the travel efficiency is improved.
The following illustrates the navigation method provided in the embodiment of the present application.
The following description is made with a first user as a perspective, the first user may refer to user a in fig. 2A, and the second user refers to user B in fig. 2A. After the first user opens the map software on the first electronic device, the first electronic device performs position location, and displays the location result on the first navigation interface of the map software, where the reference symbol a is shown in fig. 2A, that is, the start position identifier of the start position of the first user. The first user may share its own location to the second user by:
The first user clicking on the second control 2 as shown in fig. 2C will generate a 6-digit shared code.
After the second user opens the map software installed in the second electronic device, an interface as shown in fig. 2B is displayed, the second user inputs the sharing code of the first user in the first control 1, and the respective map software of the first electronic device and the second electronic device displays the initial position identifiers of the first user and the second user at the same time, that is, displays the interface as shown in fig. 2A.
Similarly, if the sharing code of the second user is input into the first electronic device, the initial position identifiers of the first user and the second user may be displayed in the respective map software of the first electronic device and the second electronic device at the same time, so that the interface shown in fig. 2A is displayed.
If there are multiple second users to share the location with the first user, each second user may share the location with the first user in the manner described above.
If the user participating in the location sharing is to log out of the location sharing, the user may log out of the interface by clicking the "log out" button shown in fig. 2A.
If the second user does not download the map software or participate in the location sharing, the first user may also input the name of the second starting location, as shown in fig. 2B, and input the name of the second starting location in the first control 1. After the input is completed, the position of the second user is displayed on the first navigation interface. In this way, a plurality of second starting positions can be added in the same manner.
After the first navigation interface displays the initial position identifiers of two or more users, a prompt about whether to perform end position planning is displayed in the interface, and the prompt information is shown in fig. 2E. If the second user uses the map software through the second electronic device, the prompt information can be popped up not only on the first electronic device, but also on the second electronic device. If the second initial positions are manually added by the first user, the prompt information is popped up only in the first navigation interface of the first electronic equipment.
If the user selects no, the route planning of the first end position is not participated. If less than two users participate in the path planning, the following flow is not performed, and the popup window is prompted to disappear.
If the user selects "yes", on the first navigation interface displayed on the electronic device used by the user, the prompt information of the preference setting is popped up, and as shown in fig. 2F, the interface of the preference setting is shown. The user selects the place preference of the meeting and the preference of the traffic mode.
After the user has finished selecting, the software automatically generates an optimal end point position based on the preference of each user participating in the selection. The generation logic is as follows:
First, the first position is determined according to the first starting position and the second starting position.
The time required for each user to reach the first location is calculated based on the traffic pattern preferences selected by the first user and the second user. The second location is selected within a first predetermined distance of the first location such that the sum of the time taken for each user to reach the second location is minimized.
And finding out all the places meeting the conditions in a second preset distance range of the second position according to the place preference of each user.
The places meeting the conditions can be displayed on a display screen, the users can vote, and the places without likes can discard the votes. If a plurality of users select different places, the final first end point position selects the highest ticket number in all places.
If the ticket numbers of the multiple places are the same, the software calculates that the time consumption is shortest in the places with the same ticket number. If none of the users selects a place, the final end position is manually selected by the sponsor of the position sharing (i.e., the first user).
After the end point position is generated, the software automatically generates route navigation for each user participating in the position sharing based on the current position of the user.
If the second initial position is manually added by the first user, the first electronic device generates a navigation route from the initial position to the final position of each user, and supports one-key generation of a navigation screenshot, wherein the screenshot has two-dimension code information. The first user can send the screenshot to the second user through the social software, the second user can directly check navigation after receiving the screenshot, or can scan the two-dimensional code to open the webpage to download the map software, and after the map software is opened, navigation to the end position is opened on the map software.
The navigation method provided by the embodiment of the application can plan the optimal end position for the user based on the initial position of each user, so that the trouble of manually inquiring and determining the end position by the user is avoided, and the determination efficiency of the end position is improved. And a navigation route from the current position to the terminal position of the user can be planned for each user, so that the user experience is improved.
According to the navigation method provided by the embodiment of the application, the execution body can be a navigation device. In the embodiment of the present application, a navigation device is described by taking a navigation device executing a navigation method as an example.
As shown in fig. 3, the embodiment of the present application further provides a navigation device, where the navigation device 300 includes:
the first display module 301 is configured to display a first navigation interface, where the first navigation interface includes at least two start position identifiers, and each of the start position identifiers indicates a start position;
a determining module 302, configured to determine an end position according to at least two start positions indicated by the at least two start position identifiers and user setting information;
the generating module 303 is configured to generate at least two navigation routes according to the end position and the at least two start positions, where an end point of the at least two navigation routes is the end position, and a start point of the at least two navigation routes is any one of the at least two start positions.
In an embodiment of the present application, the at least two starting positions include a first starting position and a second starting position;
the apparatus further comprises:
the second display module is used for displaying a first interface, and the first interface comprises a first control and a first starting position identifier; wherein the first starting position is identified as the first starting position determined according to a positioning function of the first electronic device;
the first receiving module is used for receiving a first input of a user to the first control;
and the first response module is used for responding to the first input and determining the second starting position.
In an embodiment of the present application, the first input is an input for inputting a name of the second starting position;
or, the first input is an input of a shared code corresponding to the second starting position, where the shared code indicates that the first electronic device is agreed to acquire the second starting position.
In an embodiment of the present application, the apparatus further includes:
the third display module is used for displaying a second interface, and the second interface comprises at least one first setting option and at least one second setting option;
the second receiving module is used for receiving a second input of a target setting option from a user;
A second response module for determining the user setting information in response to the second input;
wherein the target setting options include at least one of: at least one of the at least one first setting option, at least one of the at least one second setting option.
In an embodiment of the present application, the user setting information includes a traffic mode preference and a location preference corresponding to each starting location;
the determining module 302 includes:
the first determining submodule is used for determining a first position range according to the at least two initial positions;
a second determining sub-module for determining a second range of locations within the first range of locations based on the traffic pattern preference;
and a third determining sub-module for determining the end position according to the location preference within the second range of positions.
In an embodiment of the present application, the third determining sub-module includes:
a first obtaining unit, configured to obtain at least one alternative location in the second location range according to a location preference of each user;
a second obtaining unit, configured to obtain voting information of each user for the at least one alternative location;
And the determining unit is used for determining the end position according to the voting information, wherein the end position is the candidate position with the most votes among the at least one candidate position.
In an embodiment of the present application, the apparatus further includes:
a third receiving module for receiving a third input of the user;
and the third response module is used for responding to the third input and generating a navigation screenshot, wherein the navigation screenshot comprises graphic code information, and the graphic code information indicates at least one of the at least two navigation routes.
The navigation device 300 provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
The navigation device 300 in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The navigation device 300 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
Optionally, as shown in fig. 4, the embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, where the memory 402 stores a program or an instruction that can be executed on the processor 401, and the program or the instruction implements each step of the above navigation method embodiment when executed by the processor 401, and the steps can achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a hardware configuration diagram of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, and processor 510.
Those skilled in the art will appreciate that the electronic device 500 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 510 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The display unit 506 is configured to display a first navigation interface, where the first navigation interface includes at least two start position identifiers, and each of the start position identifiers indicates a start position;
a processor 510 for determining an end position according to the at least two start positions indicated by the at least two start position identifiers and the user setting information;
generating at least two navigation routes according to the end position and the at least two initial positions, wherein the end points of the at least two navigation routes are the end positions, and the initial points of the at least two navigation routes are any one of the at least two initial positions.
In an embodiment of the present application, the at least two starting positions include a first starting position and a second starting position;
the display unit 506 is further configured to display a first interface, where the first interface includes a first control and a first start position identifier; wherein the first starting position is identified as the first starting position determined according to a positioning function of the first electronic device;
the user input unit 507 is further configured to receive a first input of the first control by a user;
the processor 510 is further configured to determine the second starting position in response to the first input.
In an embodiment of the present application, the first input is an input for inputting a name of the second starting position;
or, the first input is an input of a shared code corresponding to the second starting position, where the shared code indicates that the first electronic device is agreed to acquire the second starting position.
In an embodiment of the present application, the display unit 506 is further configured to display a second interface, where the second interface includes at least one first setting option and at least one second setting option;
a user input unit 507, configured to receive a second input of a target setting option from a user;
A processor 510 further configured to determine the user setting information in response to the second input;
wherein the target setting options include at least one of: at least one of the at least one first setting option, at least one of the at least one second setting option.
In an embodiment of the present application, the user setting information includes a traffic mode preference and a location preference corresponding to each starting location;
the processor 510 is further configured to determine a first location range according to the at least two starting locations;
determining a second location range within the first location range according to the traffic pattern preference;
determining the end position within the second range of positions according to the venue preference.
In an embodiment of the present application, the processor 510 is further configured to obtain at least one alternative location within the second location range according to a location preference of each user;
acquiring voting information of each user for the at least one alternative position;
and determining the end position according to the voting information, wherein the end position is the candidate position with the most votes among the at least one candidate position.
In an embodiment of the present application, the user input unit 507 is further configured to receive a third input of the user;
The processor 510 is further configured to generate, in response to the third input, a navigation screenshot, where the navigation screenshot includes graphical code information, where the graphical code information indicates at least one of the at least two navigation routes.
The electronic device provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, so as to avoid repetition and achieve the same technical effect, which is not described herein again.
It should be appreciated that in embodiments of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, with the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen. Touch panel 5071 may include two parts, a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 509 may include volatile memory or nonvolatile memory, or the memory 509 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 509 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the processes of the above navigation method embodiment are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the navigation method embodiment, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the navigation method embodiments described above, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A navigation method performed by a first electronic device, comprising:
displaying a first navigation interface, wherein the first navigation interface comprises at least two initial position identifiers, and each initial position identifier indicates an initial position;
determining an end position according to at least two initial positions indicated by the at least two initial position identifiers and user setting information;
generating at least two navigation routes according to the end position and the at least two initial positions, wherein the end points of the at least two navigation routes are the end positions, and the initial points of the at least two navigation routes are any one of the at least two initial positions.
2. The method of claim 1, wherein the at least two starting positions comprise a first starting position and a second starting position;
before the displaying the first navigation interface, the method further includes:
displaying a first interface, wherein the first interface comprises a first control and a first starting position identifier; wherein the first starting position is identified as the first starting position determined according to a positioning function of the first electronic device;
receiving a first input of a user to the first control;
The second starting position is determined in response to the first input.
3. The method of claim 2, wherein the first input is an input inputting a name of the second starting location;
or, the first input is an input of a shared code corresponding to the second starting position, where the shared code indicates that the first electronic device is agreed to acquire the second starting position.
4. The method of claim 1, wherein prior to determining the end position based on the at least two start positions indicated by the at least two start position identifiers and the user setting information, the method further comprises:
displaying a second interface, the second interface comprising at least one first setting option and at least one second setting option;
receiving a second input of a target setting option from a user;
determining the user setting information in response to the second input;
wherein the target setting options include at least one of: at least one of the at least one first setting option, at least one of the at least one second setting option.
5. The method of claim 1, wherein the user setting information includes traffic mode preferences and venue preferences corresponding to each start position;
The determining the end position according to the at least two start positions indicated by the at least two start position identifiers and the user setting information comprises the following steps:
determining a first position range according to the at least two initial positions;
determining a second location range within the first location range according to the traffic pattern preference;
determining the end position within the second range of positions according to the venue preference.
6. The method of claim 5, wherein said selecting said end location within said second location range according to said venue preference comprises:
acquiring at least one alternative position in the second position range according to the place preference of each user;
acquiring voting information of each user for the at least one alternative position;
and determining the end position according to the voting information, wherein the end position is the candidate position with the most votes among the at least one candidate position.
7. The method of claim 1, wherein after the generating at least two navigation routes, the method further comprises:
receiving a third input from the user;
and generating a navigation screenshot in response to the third input, wherein the navigation screenshot comprises graphic code information, and the graphic code information indicates at least one of the at least two navigation routes.
8. A navigation device, comprising:
the display module is used for displaying a first navigation interface, wherein the first navigation interface comprises at least two initial position identifiers, and each initial position identifier indicates one initial position;
the determining module is used for determining an end position according to the at least two initial positions indicated by the at least two initial position identifiers and the user setting information;
the generating module is used for generating at least two navigation routes according to the end position and the at least two initial positions, wherein the end points of the at least two navigation routes are the end positions, and the starting points of the at least two navigation routes are any one of the at least two initial positions.
9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the navigation method of any one of claims 1 to 7.
10. A readable storage medium, characterized in that it stores thereon a program or instructions that, when executed by a processor, implement the steps of the navigation method according to any one of claims 1 to 7.
CN202311711113.8A 2023-12-12 2023-12-12 Navigation method, navigation device, electronic equipment and readable storage medium Pending CN117723080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311711113.8A CN117723080A (en) 2023-12-12 2023-12-12 Navigation method, navigation device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311711113.8A CN117723080A (en) 2023-12-12 2023-12-12 Navigation method, navigation device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117723080A true CN117723080A (en) 2024-03-19

Family

ID=90209999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311711113.8A Pending CN117723080A (en) 2023-12-12 2023-12-12 Navigation method, navigation device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117723080A (en)

Similar Documents

Publication Publication Date Title
KR102057592B1 (en) Gallery of messages with a shared interest
US20180268460A1 (en) Method and apparatus for information recommendation
US9479900B2 (en) Geographic location-based communications method, mobile terminal, server, and geographic location-based communications system
CN103069370A (en) Methods, apparatuses and computer program products for automatically generating suggested information layers in augmented reality
JP6411011B2 (en) User terminal device, server, and control method thereof
CN110036401B (en) Interactive user interface for profile management
CN111667328B (en) Page content display method and device and electronic equipment
CN109040289A (en) Interest point information method for pushing, server, terminal and storage medium
KR102249501B1 (en) Method, system, and computer program for providing ruputation badge for video chat
CN109154511A (en) Along the search based on collection of route
CN107430631A (en) From position, report determines semantic place name
CN109040955B (en) Equipment activation method and device based on service identification code
JP2006023876A (en) Social network service system, server, and social network service supply method
US20120303481A1 (en) System and Method for Dynamic Object Mapping
CN110096327A (en) The method and apparatus of background for rendering
CN111835866A (en) Data search method, device, system, medium and Internet of things terminal
WO2014169498A1 (en) Method and system for third-party service platform login
CN117723080A (en) Navigation method, navigation device, electronic equipment and readable storage medium
KR102433670B1 (en) System for providing virtual environment based on location of space using real image
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN110049088A (en) Atom communication thread is obtained from independent addressable message
CN114090896A (en) Information display method and device and electronic equipment
CN106034154B (en) Bus information sharing method and device
US10165019B2 (en) Shared experience information construction system
CN113297476A (en) Information processing method, display method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination