CN114485697A - Navigation information display method, device, equipment and storage medium - Google Patents

Navigation information display method, device, equipment and storage medium Download PDF

Info

Publication number
CN114485697A
CN114485697A CN202111602156.3A CN202111602156A CN114485697A CN 114485697 A CN114485697 A CN 114485697A CN 202111602156 A CN202111602156 A CN 202111602156A CN 114485697 A CN114485697 A CN 114485697A
Authority
CN
China
Prior art keywords
navigation
time period
vehicles
time
road section
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
CN202111602156.3A
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.)
Beijing Wutong Chelian Technology Co Ltd
Original Assignee
Beijing Wutong Chelian Technology 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 Beijing Wutong Chelian Technology Co Ltd filed Critical Beijing Wutong Chelian Technology Co Ltd
Priority to CN202111602156.3A priority Critical patent/CN114485697A/en
Publication of CN114485697A publication Critical patent/CN114485697A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3407Route searching; Route guidance specially adapted for specific applications
    • G01C21/3415Dynamic re-routing, e.g. recalculating the route when the user deviates from calculated route or after detecting real-time traffic data or accidents
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3667Display of a road map
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3691Retrieval, searching and output of information related to real-time traffic, weather, or environmental conditions

Abstract

The application discloses a navigation information display method, a navigation information display device, navigation information display equipment and a storage medium, and belongs to the technical field of Internet of vehicles. The method comprises the following steps: acquiring a navigation starting position, a navigation ending position and navigation starting time; acquiring navigation information based on the navigation starting position, the navigation ending position and the navigation starting time, wherein the navigation information comprises a first navigation route and the number of vehicles existing in a road section between any two positions in the first navigation route in a corresponding first time period; and displaying the navigation information. The method can acquire richer navigation information, so that the navigation effect is better, and the navigation accuracy is improved.

Description

Navigation information display method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of vehicle networking, in particular to a navigation information display method, a navigation information display device, navigation information display equipment and a storage medium.
Background
With the continuous development of social economy and the continuous improvement of living standard, a proper travel route is selected through navigation, and great convenience is brought to the life of people. How to display richer navigation information and better meet the travel requirements of users is very important.
In the related art, the server plans a navigation route based on a navigation start position, a navigation end position, and a navigation start time. And sending the navigation route to the terminal, and displaying the navigation route by the terminal.
However, the navigation information displayed above is only one navigation route from the navigation starting position to the navigation ending position, so that the displayed navigation information is single and deficient, and the navigation effect is poor.
Disclosure of Invention
The embodiment of the application provides a navigation information display method, a navigation information display device, navigation information display equipment and a storage medium, which can be used for solving the problems in the related art. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a method for displaying navigation information, where the method includes:
acquiring a navigation starting position, a navigation ending position and navigation starting time;
acquiring navigation information based on the navigation starting position, the navigation ending position and the navigation starting time, wherein the navigation information comprises a first navigation route and the number of vehicles existing in a road section between any two positions in the first navigation route in a corresponding first time period;
and displaying the navigation information.
In one possible implementation, the first navigation route includes at least one via point; the acquiring navigation information based on the navigation start position, the navigation end position and the navigation start time comprises:
acquiring the first navigation route based on the navigation starting position and the navigation ending position;
determining estimated arrival times corresponding to the navigation ending position and the at least one passing point respectively based on the navigation starting time and the navigation starting position;
determining a first time period corresponding to a road section between any two positions in the first navigation route based on the start navigation time, the navigation termination position and the predicted arrival time corresponding to the at least one passing point;
determining a number of vehicles present in a segment between any two locations in the first navigation route for a corresponding first time period.
In one possible implementation, the determining the number of vehicles present in the road segment between any two locations in the first navigation route in the corresponding first time period includes:
acquiring a plurality of second navigation routes, wherein the second navigation routes comprise first road sections, and the first road sections are road sections between any two positions in the first navigation routes;
and determining the number of vehicles existing in the first road section in the first navigation route in the corresponding first time period based on the time period corresponding to the first road section in each second navigation route and the first time period corresponding to the first road section in the first navigation route.
In one possible implementation, the determining the number of vehicles present in the road segment between any two positions in the first navigation route in the corresponding first time period includes:
acquiring the number of vehicles existing in a second time period of a second road section, wherein the starting and ending time points of the second time period are the same as those of the first time period, and before the first time period, the second road section is a road section between any two positions in the first navigation route;
determining the number of vehicles present for the second road segment during the corresponding first time period based on the number of vehicles present for the second road segment during the second time period.
In one possible implementation, the determining, based on the number of vehicles present in the second segment for the second time period, the number of vehicles present in the second segment for the corresponding first time period includes:
in response to that the number of the second time periods is multiple, adding the number of the vehicles in each second time period of the second road section to obtain the total number of the vehicles corresponding to the second road section;
and determining the number of the vehicles in the second road section in the first time period based on the total number of the vehicles corresponding to the second road section and the number of the second time periods.
In one possible implementation manner, the obtaining of the number of vehicles existing in the second road segment in the second time period includes:
acquiring a road section image of any sub road section in the second time period;
cutting the road section image to obtain an intermediate image, wherein the driving direction of a vehicle in the intermediate image is consistent with the road section direction of the second road section;
determining a number of vehicles included in the intermediate image;
determining the number of vehicles present for the second road segment in the second time period based on the number of vehicles included in the intermediate image.
In a possible implementation manner, the obtaining navigation information based on the navigation start position, the navigation end position, and the navigation start time includes:
generating a navigation request based on the navigation starting position, the navigation ending position and the navigation starting time, wherein the navigation request carries the navigation starting position, the navigation ending position and the navigation starting time, and is used for acquiring the navigation information;
sending the navigation request to a server, and acquiring the navigation information through the server;
and receiving the navigation information returned by the server based on the navigation request.
In another aspect, an embodiment of the present application provides a display device for navigation information, where the device includes:
the acquisition module is used for acquiring a navigation starting position, a navigation ending position and navigation starting time;
the acquiring module is further configured to acquire navigation information based on the navigation start position, the navigation end position and the navigation start time, where the navigation information includes a first navigation route and a number of vehicles existing in a road segment between any two positions in the first navigation route in a corresponding first time period;
and the display module is used for displaying the navigation information.
In one possible implementation, the first navigation route includes at least one via point;
the acquisition module is used for acquiring the first navigation route based on the navigation starting position and the navigation ending position; determining estimated arrival times corresponding to the navigation ending position and the at least one passing point respectively based on the navigation starting time and the navigation starting position; determining a first time period corresponding to a road section between any two positions in the first navigation route based on the start navigation time, the navigation termination position and the predicted arrival time corresponding to the at least one passing point; determining a number of vehicles present in a segment between any two locations in the first navigation route for a corresponding first time period.
In a possible implementation manner, the obtaining module is configured to obtain a plurality of second navigation routes, where the second navigation routes include a first road segment, and the first road segment is a road segment between any two positions in the first navigation route; and determining the number of vehicles existing in the first road section in the first navigation route in the corresponding first time period based on the time period corresponding to the first road section in each second navigation route and the first time period corresponding to the first road section in the first navigation route.
In a possible implementation manner, the obtaining module is configured to obtain a number of vehicles existing in a second time period of a second road segment, where the second time period is the same as a start-stop time point of the first time period, and before the first time period, the second road segment is a road segment between any two positions in the first navigation route; determining the number of vehicles present for the second road segment during the corresponding first time period based on the number of vehicles present for the second road segment during the second time period.
In a possible implementation manner, the obtaining module is configured to add, in response to that the number of the second time periods is multiple, the number of vehicles existing in each second time period of the second road segment, to obtain a total number of vehicles corresponding to the second road segment; and determining the number of the vehicles in the second road section in the first time period based on the total number of the vehicles corresponding to the second road section and the number of the second time periods.
In a possible implementation manner, the obtaining module is configured to obtain a segment image of any sub-segment in the second time period; clipping the road section image to obtain an intermediate image, wherein the driving direction of a vehicle in the intermediate image is consistent with the road section direction of the second road section; determining a number of vehicles included in the intermediate image; determining the number of vehicles present for the second road segment in the second time period based on the number of vehicles included in the intermediate image.
In one possible implementation, the apparatus further includes:
a generating module, configured to generate a navigation request based on the navigation start position, the navigation end position, and the navigation start time, where the navigation request carries the navigation start position, the navigation end position, and the navigation start time, and the navigation request is used to obtain the navigation information;
the sending module is used for sending the navigation request to a server and acquiring the navigation information through the server;
and the receiving module is used for receiving the navigation information returned by the server based on the navigation request.
On the other hand, an embodiment of the present application provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor, so that the electronic device implements any one of the above navigation information display methods.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor, so as to enable a computer to implement any one of the above-mentioned navigation information display methods.
In another aspect, a computer program or a computer program product is provided, in which at least one computer instruction is stored, and the at least one computer instruction is loaded and executed by a processor, so as to enable a computer to implement any one of the above-mentioned navigation information display methods.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
according to the technical scheme, the acquired navigation information not only comprises the navigation route, but also comprises the number of vehicles in the corresponding time period of the road section between any two positions in the navigation route, so that the acquired navigation information is richer and more comprehensive. And then the user can navigate based on richer navigation information, so that the navigation effect is better, and the navigation accuracy is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a display method of navigation information according to an embodiment of the present application;
fig. 2 is a flowchart of a display method of navigation information according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a display of a home page of an application according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a first navigation route provided by an embodiment of the present application;
fig. 5 is a schematic diagram of a road segment image of any one sub-road segment in a second time period in a second road segment provided in an embodiment of the present application;
FIG. 6 is a schematic illustration of a navigation message display provided by an embodiment of the present application;
fig. 7 is a flowchart of a display method of navigation information according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a display device for navigation information according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, the following detailed description of the embodiments of the present application will be made with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of a display method of navigation information according to an embodiment of the present application, and as shown in fig. 1, the implementation environment includes: a terminal device 101 and a server 102.
The terminal device 101 may be a vehicle-mounted terminal of a vehicle, and may also be a device capable of remotely controlling the vehicle-mounted terminal of the vehicle, which is not limited in this embodiment of the application. The terminal device 101 is configured to execute the display method of the navigation information provided in the embodiment of the present application.
Alternatively, the terminal device 101 may also acquire the navigation start position, the navigation end position, and the navigation start time, transmit the navigation start position, the navigation end position, and the navigation start time to the server 102, and acquire the navigation information based on the navigation start position, the navigation end position, and the navigation start time by the server 102. The server then returns the navigation information to the terminal apparatus 101, and the terminal apparatus 101 displays the navigation information.
The terminal device 101 may be generally referred to as one of a plurality of terminal devices, and the present embodiment is only illustrated by the terminal device 101. Those skilled in the art will appreciate that the number of terminal devices 101 may be greater or fewer. For example, the number of the terminal device 101 may be only one, or the number of the terminal device 101 may be several tens or several hundreds, or more, and the number of the terminal devices and the device types are not limited in the embodiment of the present application.
The server 102 may be a server, or a server cluster composed of multiple servers, or any one of a cloud computing platform and a virtualization center, which is not limited in this embodiment of the present application. The server 102 and the terminal apparatus 101 are communicatively connected via a wired network or a wireless network. The server 102 has a data receiving function, a data processing function, and a data transmitting function. Of course, the server 102 may also have other functions, which are not limited in this embodiment.
Based on the foregoing implementation environment, an embodiment of the present application provides a method for displaying navigation information, which may be executed by the terminal device 101 in fig. 1, taking a flowchart of the method for displaying navigation information provided in the embodiment of the present application shown in fig. 2 as an example. As shown in fig. 2, the method comprises the steps of:
in step 201, a navigation start position, a navigation end position and a start navigation time are acquired.
In the exemplary embodiment of the present application, an application program (hereinafter, simply referred to as an application program) for navigation is installed and executed in the terminal device, and the application program may be any type of application program, which is not limited in this application embodiment. The terminal equipment is a terminal needing to acquire navigation information. And responding to a selected instruction for the application program, displaying a home page of the application program, and displaying a navigation starting position determining frame, a navigation ending position determining frame and a navigation starting time determining frame in the home page of the application program. The user inputs a navigation start position in the navigation start position determination box, a navigation end position in the navigation end position determination box, and a navigation start time in the navigation start time determination box. And after the user inputs the navigation starting position, the navigation ending position and the navigation starting time, the terminal equipment responds to a selection instruction of the user on the confirmation control, and acquires the navigation starting position, the navigation ending position and the navigation starting time.
Optionally, a Global Positioning System (GPS) is also installed and operated in the terminal device, and the GPS is used to obtain a current geographic location of the terminal device. When the confirmation control is selected by the user, the user inputs the navigation ending position in the navigation ending position determination frame, the navigation starting time is input in the navigation starting time determination frame, but the navigation starting position is not input in the navigation starting position determination frame, the terminal equipment calls a GPS to acquire the current geographic position of the terminal equipment, and the current geographic position of the terminal equipment is used as the navigation starting position.
Optionally, a time component is also installed and operated in the terminal device, and the time component is used for determining the time information. And when the user selects the confirmation control, the user inputs a navigation ending position in the navigation ending position determination box, the navigation starting position is input in the navigation starting position determination box, but the navigation starting time is not input in the navigation starting time, and then the time component is called to acquire the current time, and the current time is used as the navigation starting time.
Optionally, when the user selects the confirmation control, the user inputs the navigation end position only in the navigation end position determination box, but does not input the navigation start position in the navigation start position determination box, or does not input the navigation start time in the navigation start time determination box, and then the terminal device invokes the GPS to obtain the current geographic position of the terminal device, uses the current geographic position of the terminal device as the navigation start position, invokes the time component to determine the current time, and uses the current time as the navigation start time.
It should be noted that the instruction for selecting the application program may be a click operation of an icon of the application program by a user, or may be an instruction for selecting the application program through a voice wake-up mode, which is not limited in the embodiment of the present application. Similarly, the instruction selected by the user for the confirmation control may be a click operation of the user on the confirmation control, or may be a selection of the confirmation control by voice wake-up or the like, which is not limited in the embodiment of the present application.
As shown in fig. 3, which is a schematic display diagram of a home page of an application program according to an embodiment of the present application, in fig. 3, a user inputs a navigation start position as position one in a navigation start position determination box 301, inputs a navigation end position as position two in a navigation end position determination box 302, and inputs a navigation start time as 12 months, 20 days, 12 days 12 in 2021 year in a navigation start time determination box 303: 20. in response to a user's selection instruction of the confirmation control 304, the terminal device acquires a navigation start position (position one), a navigation end position (position two), and a navigation start time (12/20/12/2021).
In step 202, navigation information is acquired based on a navigation start position, a navigation end position and a navigation start time, wherein the navigation information comprises a first navigation route and the number of vehicles on a road section between any two positions in the first navigation route in a corresponding first time period.
The first navigation route comprises at least one passing point. Based on the navigation starting position, the navigation ending position and the navigation starting time, the process of acquiring the navigation information comprises the following steps: and acquiring a first navigation route based on the navigation starting position and the navigation ending position. And determining predicted arrival time corresponding to the navigation ending position and at least one passing point respectively based on the navigation starting position and the navigation starting position. And determining a first time period corresponding to the road section between any two positions in the first navigation route based on the predicted arrival time corresponding to the navigation starting time, the navigation ending position and at least one passing point respectively, and determining the number of vehicles existing in the road section between any two positions in the first navigation route in the corresponding first time period.
The process of determining the predicted arrival time corresponding to the navigation ending position and the at least one passing point respectively based on the navigation starting route and the navigation starting position comprises the following steps: acquiring a first distance corresponding to a first navigation route; and determining the predicted arrival time corresponding to the navigation termination position based on the first distance and the starting navigation time. Determining a second distance between any one of the at least one route point and the navigation starting position; and determining the predicted arrival time corresponding to any one of the passing points based on the second distance and the starting navigation time.
In a possible implementation manner, before the estimated arrival time corresponding to the navigation ending position and the at least one passing point respectively is obtained, the driving speed of the terminal equipment is required to be obtained. The method for acquiring the running speed of the terminal equipment comprises the following steps: and determining the vehicle type of the vehicle corresponding to the terminal equipment based on the terminal identification of the terminal equipment. And acquiring the running speed corresponding to the vehicle type of the vehicle corresponding to the terminal equipment, and taking the running speed corresponding to the vehicle type of the vehicle corresponding to the terminal equipment as the running speed of the terminal equipment. The terminal identifier of the terminal device may be a production number of the terminal device, or may be another identifier capable of uniquely representing the terminal device, which is not limited in the embodiment of the present application. There is a difference in the travel speeds of different types of vehicles. The table for the correspondence relationship between the vehicle type and the travel speed provided in the embodiment of the present application is shown in the first table below.
Watch 1
Type of vehicle Speed of travel (kilometers/hour)
First type First running speed
Of the second type Second running speed
Third type Third travel speed
As shown in the above table one, when the vehicle type is the first type, the corresponding running speed is the first running speed, and when the vehicle type is other, the corresponding running speed is shown in the above table one, which is not described herein again.
It should be noted that the above table is only an example of the correspondence relationship between the vehicle type and the travel speed provided in the embodiment of the present application, and the vehicle type and the travel speed corresponding to the vehicle type are not limited.
In one possible implementation, the process of determining the estimated time of arrival corresponding to the navigation termination position based on the first distance and the start navigation time includes: determining a first duration of the first navigation route based on the first distance and the travel speed; and adding a first time length on the basis of the navigation starting time to obtain the predicted arrival time corresponding to the navigation ending position.
Wherein a quotient between the first distance and the travel speed is taken as a first duration of the first navigation route.
Illustratively, the start navigation time is 12 months, 12 days, 20 days, 12 in 2021: and 20, the first distance corresponding to the first navigation route is 100 kilometers, and the driving speed of the terminal equipment is 150 kilometers per hour. Determining the first duration to be 40 minutes, adding the first duration on the basis of the navigation starting time, and obtaining the predicted arrival time corresponding to the navigation ending position to be 12 months, 20 months and 13 days in 2021: 00.
based on the second distance and the navigation starting time, determining the estimated arrival time corresponding to any one of the passing points is similar to the process for determining the estimated arrival time corresponding to the navigation ending position, and optionally, based on the second distance and the driving speed, determining a second time length required by the navigation starting position to any one of the passing points; and adding a second time length on the basis of the navigation starting time to obtain the predicted arrival time corresponding to any one passing point.
Wherein the quotient between the second distance and the traveling speed is taken as a second time length required from the navigation start position to any one of the transit points.
Illustratively, the start navigation time is 12 months, 12 days, 20 days, 12 in 2021: 20, the second distance from the navigation starting position to the first passing point is 30 kilometers, and the driving speed of the terminal device is 150 kilometers per hour. And determining that the second time length is 12 minutes, adding the second time length on the basis of the navigation starting time, and obtaining the estimated arrival time corresponding to the first passing point, which is 12 months in 2021, 20 days in 12: 32.
it should be noted that, when the number of the route points included in the first navigation route is greater than one, the process of determining the estimated arrival time of each route point is similar to the process of determining the estimated arrival time of the first route point, and details are not described here.
The process of determining a first time period corresponding to a road section between any two positions in the first navigation route based on the predicted arrival time corresponding to the navigation starting time, the navigation ending position and the at least one passing point respectively comprises the following steps: and taking the time period corresponding to the predicted arrival time of any two positions in the first navigation route as the first time period corresponding to the road section between the two positions.
As shown in fig. 4, a schematic diagram of a first navigation route provided by the embodiment of the present application is shown, in the first navigation route shown in fig. 4, a navigation start position is a position a, a navigation end position is a position D, and the first navigation route includes two route points, which are a route point B and a route point C respectively. The predicted arrival time corresponding to the position A is the navigation starting time (12/20/2021), and the predicted arrival time corresponding to the position B is 12/20/12/2021: 32, predicted arrival time for position C is 12 months, 20 days, 12 in 2021: 48, position D corresponds to an estimated time of arrival of 12 months at 2021, 20 days 13: 00. the segment between position a and position B is segment AB, corresponding to a first time period 12 months 20 days 12 in 2021: 20-2021 year 12 month 20 day 12: 32, a first step of removing the first layer; the link between location B and location C is link BC, corresponding to a first time period of 12 months, 20 days 12 in 2021: 12 month, 12 day, 20 day, 12, 32-2021: 48; the segment between location C and location D is segment CD, corresponding to a first time period of 12 months, 20 days 12 in 2021: 12 months, 20 days, 13 in 48-2021: 00. the determination process of the first time period corresponding to the other road segments is similar to the determination process of the first time period corresponding to the road segment AB, and is not described herein again.
In one possible implementation, there may be two implementations for determining the number of vehicles present in a segment between any two locations in the first navigation route during the corresponding first time period.
The method comprises the following steps that firstly, a plurality of second navigation routes are obtained, wherein the second navigation routes comprise first road sections, and the first road sections are road sections between any two positions in the first navigation routes; and determining the number of vehicles in the first navigation route at the corresponding first time period based on the time period corresponding to the first road section in each second navigation route and the first time period corresponding to the first road section in the first navigation route.
The method comprises the steps of sending an acquisition request to a server, wherein the acquisition request is used for acquiring a second navigation route, and the second navigation route is acquired by the server based on navigation requests sent to the server by other terminal devices except the terminal device. The second navigation route comprises a first road section, and the first road section is a road section between any two positions in the first navigation route.
In a possible implementation manner, the number of the second navigation routes in which the time period corresponding to the first road segment in the second navigation route includes the first time period corresponding to the first road segment in the first navigation route is used as the number of the vehicles existing in the first road segment in the first navigation route in the corresponding first time period.
Illustratively, the first navigation route includes a road segment AB, and the first time period corresponding to the road segment AB is 12 months and 20 days in 2021: 20-2021 year 12 month 20 day 12: 32. acquiring 100 second navigation routes, wherein each of the 100 second navigation routes comprises a road section AB, and the time period corresponding to the road section AB in 80 second navigation routes comprises 12 months in 2021, 20 days in 20 months in 12 days in 20 days in 2021: 20-2021 year 12 month 20 day 12: 32, therefore, it is determined that the first navigation route segment AB is within 12 months, 20 days 12 in the first time period 2021: 20-2021 year 12 month 20 day 12: 32 are present in a number of 80.
It should be noted that the process of determining the number of vehicles existing in the first time period corresponding to the other road segments in the first navigation route is similar to the process of determining the number of vehicles existing in the first time period corresponding to the road segment AB in the first navigation route, and details are not repeated here.
And acquiring the number of vehicles existing in a second time period of a second road section, wherein the starting and stopping time points of the second time period are the same as those of the first time period, and before the first time period, the second road section is a road section between any two positions in the first navigation route. The number of vehicles present in the second road segment during the corresponding first time period is determined based on the number of vehicles present in the second road segment during the second time period.
Wherein the number of the second time periods is at least one. Illustratively, the first time period is 12 months, 20 days, 12, 2021: 20-12: 32, if the number of the second time periods is three, the second time period is 12 months, 19 days, 12 days in 2021: 20-12: 32. 12/2021, 12/month, 18/day 12: 20-12: 32 and 2021, 12 month, 17 day 12: 20-12: 32.
in one possible implementation, the number of vehicles present in the second road segment during the second time segment may be obtained in any one of several ways. Optionally, a road section image of any sub-road section in the second time period is acquired; cutting the road section image to obtain an intermediate image, wherein the driving direction of the vehicle in the intermediate image is consistent with the road section direction of the second road section; determining the number of vehicles included in the intermediate image; the number of vehicles present in the second road segment for the second time period is determined based on the number of vehicles included in the intermediate image. The road section image of any sub road section in the second time period in the second road section is the road section image corresponding to any time point in the second time period in any sub road section in the second road section. The process of determining the number of vehicles included in the intermediate image includes: and identifying the intermediate image to obtain the number of vehicles in the intermediate image.
Optionally, the terminal device sends an image acquisition request to the server, where the image acquisition request carries a road segment identifier of any sub-road segment in the second road segment and a second time period, the server receives the image acquisition request, acquires a road segment image of any sub-road segment in the second time period based on the image acquisition request, and sends a road segment image of any sub-road segment in the second time period to the terminal device, that is, the terminal device acquires the road segment image of any sub-road segment in the second time period.
Since any sub-road section in the second road section comprises vehicles in two driving directions in the road section image in the second time period, the road section image needs to be cut to obtain an intermediate image, and the driving directions of the vehicles in the intermediate image are all consistent and consistent with the road section direction of the second road section. The process of cutting the road section image is to remove the partial image of the road section image, wherein the driving direction of the vehicle is inconsistent with the road section direction.
The process of determining the number of vehicles present in the second road segment for the second time period based on the number of vehicles included in the intermediate image includes: acquiring the acquisition proportion of a camera for acquiring a road section image; acquiring the image length of the intermediate image; determining the road section length of the sub road section corresponding to the intermediate image based on the acquisition proportion and the image length of the intermediate image; and determining the number of the vehicles existing in the second road section in the second time period based on the number of the vehicles included in the intermediate image, the road section length of the sub-road section corresponding to the intermediate image and the road section length of the second road section.
The process of determining the road section length of the sub road section corresponding to the intermediate image based on the acquisition proportion and the image length of the intermediate image comprises the following steps: and taking the quotient between the image length and the acquisition proportion of the intermediate image as the road section length of the sub-road section corresponding to the intermediate image.
Illustratively, the acquisition ratio is 1: 100000 and the image length of the intermediate image is 10 cm. The quotient between the image length and the acquisition ratio of the intermediate image is 1000000, i.e. the link length of the sub-link to which the intermediate image corresponds is 1000000 centimeters (10 kilometers).
Determining the number S of the vehicles existing in the second time segment according to the following formula (1) based on the number of the vehicles included in the intermediate image, the link length of the sub-link corresponding to the intermediate image and the link length of the second link:
Figure BDA0003433339620000121
in the above formula (1), Y is the link length of the second link, X is the link length of the sub-link corresponding to the intermediate image, and P is the number of vehicles included in the intermediate image.
Illustratively, the number of vehicles included in the intermediate image is 10, the link length of the sub-link corresponding to the intermediate image is 10 kilometers, and the link length of the second link is 30 kilometers, and based on the above formula (1), it is determined that the number of vehicles existing in the second link in the second time period is 30.
As shown in fig. 5, which is a schematic diagram of a link image of any one sub-link in a second time period according to an embodiment of the present application, in fig. 5, a capturing time of the link image is 12/19/12/2021: 30, the link images include images of two driving directions, the link direction of the second link is a to B, and the image in which the driving direction of the vehicle coincides with the link direction is the bottom half image in fig. 5, so that the image in the bottom half of fig. 5, that is, the intermediate image, is obtained by cutting the image in fig. 5 and removing the top half image in fig. 5. The intermediate image includes 10 vehicles.
In one possible implementation manner, when the number of the second time periods is one, the number of the vehicles existing in the second time period of the second road segment is taken as the number of the vehicles existing in the first time period of the second road segment.
And when the number of the second time periods is multiple, acquiring the number of vehicles of the second road period in each second time period. Adding the number of vehicles in each second time period of the second road section to obtain the total number of vehicles corresponding to the second road section; and determining the number of the vehicles in the second road section in the first time period based on the total number of the vehicles corresponding to the second road section and the number of the second time periods.
Optionally, a quotient between a total amount of vehicles corresponding to the second road segment and the number of the second time segments is used as the number of vehicles existing in the second road segment in the first time segment.
Illustratively, the number of the second time periods is 3, which are 12 months and 19 days in 2021: 20-12: 32. 12/2021, 12/month, 18/day 12: 20-12: 32 and 2021, 12 month, 17 day 12: 20-12: 32. second road segment 12 at 12 month 12 and 19 day 2021: 20-12: 32, 30, and a second road segment 12, 12/2021: 20-12: 32, and a second road segment 12 at 12 months and 17 days 2021: 20-12: 32 are present in a number of 75 vehicles. The total amount of vehicles corresponding to the second road segment is determined to be 30+60+ 75-165, and then the quotient between the total amount of vehicles corresponding to the second road segment and the number of the second time segments is determined to be 55, that is, the number of vehicles existing in the second road segment in the first time segment is 55.
It should be noted that the number of vehicles existing in the road segment between any two positions in the first navigation route in the corresponding first time period may be determined based on any one of the manners described above.
In step 203, navigation information is displayed.
In a possible implementation manner, after the terminal device obtains the navigation information, the terminal device displays the navigation information, that is, displays the first navigation route and the number of vehicles existing in a road segment between any two positions in the first navigation route in a corresponding first time period.
Optionally, when the terminal device displays the navigation information, it may further determine whether the number of vehicles existing in the reference route in the corresponding first time period is greater than a number threshold, where the reference road segment is a road segment between any two locations in the first navigation route.
In response to the reference road segment having a number of vehicles present for a corresponding first time period greater than a number threshold, the reference road segment is displayed in a first form in the first navigation route. In response to the reference road segment not being greater than the quantity threshold for the corresponding first time period for which the number of vehicles is present, the reference road segment is displayed in a second form in the first navigation route.
The number threshold is set based on experience, and may also be adjusted according to an application scenario, which is not limited in the embodiment of the present application. Illustratively, the quantity threshold is 50. The first form and the second form are two different forms. Illustratively, the first form is to display the reference road segment in gray, and the second form is to display the reference road segment in black. Of course, the first form and the second form may also correspond to other colors, which is not limited in the embodiments of the present application.
As shown in fig. 6, which is a schematic view illustrating display of navigation information provided in an embodiment of the present application, in fig. 6, a first time period corresponding to a road segment AB is 12/2021: 20-12: 32, the number of vehicles present in the link AB during the corresponding first time period is 55, and the link AB is displayed in gray since the number of vehicles present in the link AB during the corresponding first time period is greater than the number threshold. The information of other road sections is shown in fig. 6, and is not described in detail here.
Optionally, the page for displaying the navigation information in the terminal device further includes a switching control, and the switching control is used for switching the navigation route. In response to a selection instruction of a user for a switching control, a terminal device receives a switching request, and re-plans a navigation route based on the switching request, where a via point included in the re-planned navigation route may coincide with a via point included in a first navigation route, or may not coincide with a via point included in the first navigation route. The re-planned navigation route is two different navigation routes than the first navigation route. And then acquiring the number of vehicles existing in the road section between any two positions in the re-planned navigation route in the corresponding time period. The terminal device displays the re-planned navigation route and the number of vehicles existing in a corresponding time period on a road section between any two positions in the re-planned navigation route.
In a possible implementation manner, in the driving process of the vehicle corresponding to the terminal device, when the user wants to know the number of vehicles before the vehicle corresponding to the terminal device and the number of vehicles behind the vehicle corresponding to the terminal device in the road section where the vehicle corresponding to the terminal device is currently located, the terminal device may further determine the road section where the vehicle corresponding to the terminal device is located based on the current location of the vehicle corresponding to the terminal device. The method comprises the steps of obtaining the current positions of other vehicles, and determining the number of vehicles located in front of a vehicle corresponding to the terminal device and the number of vehicles located behind the vehicle corresponding to the terminal device in a road section where the vehicle corresponding to the terminal device is located at present based on the current positions of the other vehicles and the current positions of the vehicles corresponding to the terminal device.
The terminal device can display the number of vehicles in front of the vehicle corresponding to the terminal device and the number of vehicles behind the vehicle corresponding to the terminal device on an interface of the terminal device, and the terminal device can broadcast the number of vehicles in front of the vehicle corresponding to the terminal device and the number of vehicles behind the vehicle corresponding to the terminal device in a voice broadcast mode so that a user can know the number of vehicles in front of the vehicle corresponding to the terminal device and the number of vehicles behind the vehicle corresponding to the terminal device. The display mode of the number of vehicles in front of the vehicle corresponding to the terminal device and the number of vehicles behind the vehicle corresponding to the terminal device is not limited in the embodiment of the application.
The navigation information acquired by the method not only comprises the navigation route, but also comprises the number of vehicles existing in the corresponding time period of the road section between any two positions in the navigation route, so that the acquired navigation information is richer and more comprehensive. And then the user can navigate based on richer navigation information, so that the navigation effect is better, and the navigation accuracy is improved.
An embodiment of the present application provides a method for displaying navigation information, and taking a flowchart of the method for displaying navigation information provided in the embodiment of the present application shown in fig. 7 as an example, the method may be described by interaction between the terminal device 101 and the server 102 in fig. 1. As shown in fig. 7, the method comprises the steps of:
in step 701, the terminal device acquires a navigation start position, a navigation end position, and a navigation start time.
In a possible implementation manner, the process of the terminal device acquiring the navigation start position, the navigation end position, and the navigation start time is described in step 201, and is not described herein again.
In step 702, the terminal device transmits a navigation start position, a navigation end position, and a navigation start time to the server.
In a possible implementation manner, after acquiring the navigation start position, the navigation end position, and the navigation start time, the terminal device generates a navigation request, where the navigation request includes the navigation start position, the navigation end position, and the navigation start time. The terminal device sends the navigation request to the server, namely the terminal device sends the navigation starting position, the navigation ending position and the navigation starting time to the server.
Alternatively, the terminal device may also directly send the navigation start position, the navigation end position, and the navigation start time to the server without generating the navigation request.
The terminal equipment immediately sends the navigation starting position, the navigation ending position and the navigation starting time to the server after acquiring the navigation starting position, the navigation ending position and the navigation starting time, and also can send the navigation starting position, the navigation ending position and the navigation starting time to the server after staying for a target time length.
The target duration is set based on experience, and may also be adjusted according to an application scenario, which is not limited in the embodiment of the present application. Illustratively, the target duration is 10 seconds.
In step 703, the server receives the navigation start position, the navigation end position, and the navigation start time sent by the terminal device, and acquires navigation information based on the navigation start position, the navigation end position, and the navigation start time.
The navigation information comprises a first navigation route and the number of vehicles on a road section between any two positions in the first navigation route in a corresponding first time period. The first navigation route includes at least one route point.
Optionally, in response to the terminal device sending the navigation start position, the navigation end position and the navigation start time to the server, the server directly obtains the navigation start position, the navigation end position and the navigation start time. When the terminal equipment sends a navigation request to the server, the server analyzes the navigation request after receiving the navigation request to obtain a navigation starting position, a navigation ending position and navigation starting time which are included in the navigation request.
In a possible implementation manner, the process of acquiring the navigation information by the server based on the navigation start position, the navigation end position, and the navigation start time is similar to the process of acquiring the navigation information by the terminal device based on the navigation start position, the navigation end position, and the navigation start time in step 202, and is not described herein again.
In step 704, the server sends navigation information to the terminal device.
In a possible implementation manner, after acquiring the navigation information, the server sends the navigation information to the terminal device, where the navigation information includes the first navigation route and the number of vehicles existing in a road segment between any two positions in the first navigation route in a corresponding first time period. The embodiment of the application does not limit the time when the server sends the navigation information to the terminal equipment.
In step 705, the terminal device receives the navigation information sent by the server and displays the navigation information.
In a possible implementation manner, the process of displaying the navigation information by the terminal device is consistent with the process in step 203, and is not described herein again.
The navigation information acquired by the method not only comprises the navigation route, but also comprises the number of vehicles in the corresponding time period of the road section between any two positions in the navigation route, so that the acquired navigation information is richer and more comprehensive. And then the user can navigate based on richer navigation information, so that the navigation effect is better, and the navigation accuracy is improved.
Fig. 8 is a schematic structural diagram of a display device for navigation information according to an embodiment of the present application, and as shown in fig. 8, the display device includes:
an obtaining module 801, configured to obtain a navigation start position, a navigation end position, and a navigation start time;
the obtaining module 801 is further configured to obtain navigation information based on a navigation start position, a navigation end position, and a navigation start time, where the navigation information includes a first navigation route and a number of vehicles existing in a road segment between any two positions in the first navigation route in a corresponding first time period;
a display module 802 for displaying the navigation information.
In one possible implementation, the first navigation route includes at least one via point;
an obtaining module 801, configured to obtain a first navigation route based on a navigation start position and a navigation end position; determining predicted arrival time corresponding to the navigation ending position and at least one passing point respectively based on the navigation starting time and the navigation starting position; determining a first time period corresponding to a road section between any two positions in a first navigation route based on the start navigation time, the navigation termination position and the estimated arrival time corresponding to at least one passing point; a number of vehicles present for a segment between any two locations in the first navigation route for a corresponding first time period is determined.
In a possible implementation manner, the obtaining module 801 is configured to obtain a plurality of second navigation routes, where the second navigation routes include a first road segment, and the first road segment is a road segment between any two positions in the first navigation route; and determining the number of vehicles in the first navigation route at the corresponding first time period based on the time period corresponding to the first road section in each second navigation route and the first time period corresponding to the first road section in the first navigation route.
In a possible implementation manner, the obtaining module 801 is configured to obtain the number of vehicles in a second time period of a second road segment, where the second time period is the same as a start-stop time point of the first time period, and before the first time period, the second road segment is a road segment between any two locations in the first navigation route; the number of vehicles present in the second road segment during the corresponding first time period is determined based on the number of vehicles present in the second road segment during the second time period.
In a possible implementation manner, the obtaining module 801 is configured to add, in response to that the number of the second time periods is multiple, the number of vehicles in each second time period of the second road segment to obtain a total number of vehicles corresponding to the second road segment; and determining the number of the vehicles in the second road section in the first time period based on the total number of the vehicles corresponding to the second road section and the number of the second time periods.
In a possible implementation manner, the obtaining module 801 is configured to obtain a road segment image of any sub-road segment in the second time period; cutting the road section image to obtain an intermediate image, wherein the driving direction of the vehicle in the intermediate image is consistent with the road section direction of the second road section; determining the number of vehicles included in the intermediate image; the number of vehicles present in the second road segment for the second time period is determined based on the number of vehicles included in the intermediate image.
In one possible implementation, the apparatus further includes:
the generating module is used for generating a navigation request based on the navigation starting position, the navigation ending position and the navigation starting time, wherein the navigation request carries the navigation starting position, the navigation ending position and the navigation starting time, and is used for acquiring navigation information;
the sending module is used for sending a navigation request to the server and acquiring navigation information through the server;
and the receiving module is used for receiving the navigation information returned by the server based on the navigation request.
The navigation information acquired by the device not only comprises the navigation route, but also comprises the number of vehicles in the corresponding time period of the road section between any two positions in the navigation route, so that the acquired navigation information is richer and more comprehensive. And then the user can navigate based on richer navigation information, so that the navigation effect is better, and the navigation accuracy is improved.
It should be understood that, when the above-mentioned apparatus is provided to implement its functions, it is only illustrated by the division of the above-mentioned functional modules, and in practical applications, the above-mentioned functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 9 shows a block diagram of a terminal device 900 according to an exemplary embodiment of the present application. The terminal device 900 may be a portable mobile terminal device such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal device 900 may also be referred to by other names such as user equipment, portable terminal device, laptop terminal device, desktop terminal device, and so on.
In general, terminal device 900 includes: a processor 901 and a memory 902.
Processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 901 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 901 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 902 is used to store at least one instruction for execution by processor 901 to implement a method of displaying navigation information provided by method embodiments of the present application.
In some embodiments, the terminal device 900 may further include: a peripheral interface 903 and at least one peripheral. The processor 901, memory 902, and peripheral interface 903 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 903 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 904, a display screen 905, a camera assembly 906, an audio circuit 907, a positioning assembly 908, and a power supply 909.
The peripheral interface 903 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, memory 902, and peripheral interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902 and the peripheral interface 903 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 904 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 904 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 904 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 904 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 904 may communicate with other terminal devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 904 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 905 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 905 is a touch display screen, the display screen 905 also has the ability to capture touch signals on or over the surface of the display screen 905. The touch signal may be input to the processor 901 as a control signal for processing. At this point, the display 905 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 905 may be one, and is disposed on the front panel of the terminal device 900; in other embodiments, the number of the display screens 905 may be at least two, and the display screens are respectively disposed on different surfaces of the terminal device 900 or in a folding design; in other embodiments, the display 905 may be a flexible display, disposed on a curved surface or on a folded surface of the terminal device 900. Even more, the display screen 905 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display panel 905 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 906 is used to capture images or video. Optionally, camera assembly 906 includes a front camera and a rear camera. In general, a front camera is provided on the front panel of the terminal apparatus 900, and a rear camera is provided on the rear surface of the terminal apparatus 900. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 906 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuit 907 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 901 for processing, or inputting the electric signals to the radio frequency circuit 904 for realizing voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different positions of the terminal apparatus 900. The microphone may also be an array microphone or an omni-directional acquisition microphone. The speaker is used to convert electrical signals from the processor 901 or the radio frequency circuit 904 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuit 907 may also include a headphone jack.
The positioning component 908 is used to locate the current geographic Location of the terminal device 900 to implement navigation or LBS (Location Based Service). The Positioning component 908 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 909 is used to supply power to each component in the terminal apparatus 900. The power source 909 may be ac, dc, disposable or rechargeable. When the power source 909 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal device 900 also includes one or more sensors 910. The one or more sensors 910 include, but are not limited to: acceleration sensor 911, gyro sensor 912, pressure sensor 913, optical sensor 915, and proximity sensor 916.
The acceleration sensor 911 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal apparatus 900. For example, the acceleration sensor 911 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 901 can control the display screen 905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 911. The acceleration sensor 911 may also be used for acquisition of motion data of a game or a user.
The gyroscope sensor 912 can detect the body direction and the rotation angle of the terminal device 900, and the gyroscope sensor 912 and the acceleration sensor 911 cooperate to acquire the 3D motion of the user on the terminal device 900. The processor 901 can implement the following functions according to the data collected by the gyro sensor 912: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 913 may be disposed on a side bezel of the terminal device 900 and/or underneath the display 905. When the pressure sensor 913 is disposed on the side frame of the terminal device 900, the holding signal of the terminal device 900 from the user can be detected, and the processor 901 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 913. When the pressure sensor 913 is disposed at a lower layer of the display screen 905, the processor 901 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 905. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The optical sensor 915 is used to collect ambient light intensity. In one embodiment, the processor 901 may control the display brightness of the display screen 905 based on the ambient light intensity collected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display brightness of the display screen 905 is increased; when the ambient light intensity is low, the display brightness of the display screen 905 is reduced. In another embodiment, the processor 901 can also dynamically adjust the shooting parameters of the camera assembly 906 according to the ambient light intensity collected by the optical sensor 915.
The proximity sensor 916, also called a distance sensor, is generally provided on the front panel of the terminal apparatus 900. The proximity sensor 916 is used to collect the distance between the user and the front surface of the terminal device 900. In one embodiment, when the proximity sensor 916 detects that the distance between the user and the front face of the terminal device 900 gradually decreases, the processor 901 controls the display 905 to switch from the bright screen state to the dark screen state; when the proximity sensor 916 detects that the distance between the user and the front surface of the terminal device 900 becomes gradually larger, the processor 901 controls the display 905 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 9 does not constitute a limitation of terminal device 900 and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
Fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 1000 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1001 and one or more memories 1002, where at least one program code is stored in the one or more memories 1002, and is loaded and executed by the one or more processors 1001 to implement the display method of the navigation information provided by the above method embodiments. Of course, the server 1000 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 1000 may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to cause a computer to implement any one of the above-mentioned navigation information display methods.
Alternatively, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program or a computer program product having at least one computer instruction stored therein, the at least one computer instruction being loaded and executed by a processor to cause a computer to implement any one of the above-mentioned navigation information display methods.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for displaying navigation information, the method comprising:
acquiring a navigation starting position, a navigation ending position and navigation starting time;
acquiring navigation information based on the navigation starting position, the navigation ending position and the navigation starting time, wherein the navigation information comprises a first navigation route and the number of vehicles existing in a road section between any two positions in the first navigation route in a corresponding first time period;
and displaying the navigation information.
2. The method of claim 1, wherein the first navigation route includes at least one waypoint; the acquiring navigation information based on the navigation start position, the navigation end position and the navigation start time comprises:
acquiring the first navigation route based on the navigation starting position and the navigation ending position;
determining estimated arrival times corresponding to the navigation ending position and the at least one passing point respectively based on the navigation starting time and the navigation starting position;
determining a first time period corresponding to a road section between any two positions in the first navigation route based on the start navigation time, the navigation termination position and the predicted arrival time corresponding to the at least one passing point;
determining a number of vehicles present in a segment between any two locations in the first navigation route for a corresponding first time period.
3. The method of claim 2, wherein the determining the number of vehicles present for the segment between any two locations in the first navigation route for the corresponding first time period comprises:
acquiring a plurality of second navigation routes, wherein the second navigation routes comprise first road sections, and the first road sections are road sections between any two positions in the first navigation routes;
and determining the number of vehicles existing in the first road section in the first navigation route in the corresponding first time period based on the time period corresponding to the first road section in each second navigation route and the first time period corresponding to the first road section in the first navigation route.
4. The method of claim 2, wherein the determining the number of vehicles present for the segment between any two locations in the first navigation route for the corresponding first time period comprises:
acquiring the number of vehicles existing in a second time period of a second road section, wherein the starting and ending time points of the second time period are the same as those of the first time period, and before the first time period, the second road section is a road section between any two positions in the first navigation route;
determining the number of vehicles present for the second road segment during the corresponding first time period based on the number of vehicles present for the second road segment during the second time period.
5. The method of claim 4, wherein determining the number of vehicles present for the second road segment during the corresponding first time period based on the number of vehicles present for the second road segment during the second time period comprises:
in response to that the number of the second time periods is multiple, adding the number of the vehicles in each second time period of the second road section to obtain the total number of the vehicles corresponding to the second road section;
and determining the number of the vehicles in the second road section in the first time period based on the total number of the vehicles corresponding to the second road section and the number of the second time periods.
6. The method of claim 4, wherein the obtaining the number of vehicles present for the second road segment over the second time period comprises:
acquiring a road section image of any sub road section in the second time section;
clipping the road section image to obtain an intermediate image, wherein the driving direction of a vehicle in the intermediate image is consistent with the road section direction of the second road section;
determining a number of vehicles included in the intermediate image;
determining the number of vehicles present for the second road segment in the second time period based on the number of vehicles included in the intermediate image.
7. The method according to any one of claims 1 to 6, wherein the obtaining navigation information based on the navigation start position, the navigation end position and the navigation start time comprises:
generating a navigation request based on the navigation starting position, the navigation ending position and the navigation starting time, wherein the navigation request carries the navigation starting position, the navigation ending position and the navigation starting time, and is used for acquiring the navigation information;
sending the navigation request to a server, and acquiring the navigation information through the server;
and receiving the navigation information returned by the server based on the navigation request.
8. An apparatus for displaying navigation information, the apparatus comprising:
the acquisition module is used for acquiring a navigation starting position, a navigation ending position and navigation starting time;
the acquiring module is further configured to acquire navigation information based on the navigation start position, the navigation end position and the navigation start time, where the navigation information includes a first navigation route and a number of vehicles existing in a road segment between any two positions in the first navigation route in a corresponding first time period;
and the display module is used for displaying the navigation information.
9. An electronic device, comprising a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to cause the electronic device to implement the method for displaying navigation information according to any one of claims 1 to 7.
10. A computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to cause a computer to implement the display method of navigation information according to any one of claims 1 to 7.
CN202111602156.3A 2021-12-24 2021-12-24 Navigation information display method, device, equipment and storage medium Pending CN114485697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111602156.3A CN114485697A (en) 2021-12-24 2021-12-24 Navigation information display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111602156.3A CN114485697A (en) 2021-12-24 2021-12-24 Navigation information display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114485697A true CN114485697A (en) 2022-05-13

Family

ID=81496959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111602156.3A Pending CN114485697A (en) 2021-12-24 2021-12-24 Navigation information display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114485697A (en)

Similar Documents

Publication Publication Date Title
CN110148294B (en) Road condition state determining method and device
CN110243386B (en) Navigation information display method, device, terminal and storage medium
CN110278464B (en) Method and device for displaying list
CN110095128B (en) Method, device, equipment and storage medium for acquiring missing road information
CN111400610B (en) Vehicle-mounted social method and device and computer storage medium
CN110288689B (en) Method and device for rendering electronic map
CN111125436B (en) Data management method, device and system
CN111402844B (en) Song chorus method, device and system
CN111083554A (en) Method and device for displaying live gift
CN112839107B (en) Push content determination method, device, equipment and computer-readable storage medium
CN110471614B (en) Method for storing data, method and device for detecting terminal
CN110231049B (en) Navigation route display method, device, terminal and storage medium
CN112269939A (en) Scene search method, device, terminal, server and medium for automatic driving
CN111294626A (en) Lyric display method and device
CN112365088B (en) Method, device and equipment for determining travel key points and readable storage medium
CN114598992A (en) Information interaction method, device, equipment and computer readable storage medium
CN112699906B (en) Method, device and storage medium for acquiring training data
CN113935678A (en) Method, device, equipment and storage medium for determining multiple distribution terminals held by distributor
CN115545592A (en) Display positioning method, device, equipment and storage medium
CN110336881B (en) Method and device for executing service processing request
CN111984755A (en) Method and device for determining target parking point, electronic equipment and storage medium
CN114485697A (en) Navigation information display method, device, equipment and storage medium
CN112818243A (en) Navigation route recommendation method, device, equipment and storage medium
CN110944294B (en) Movement track recording method, device, system, computer equipment and storage medium
CN114566064B (en) Method, device, equipment and storage medium for determining position of parking space

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