A method for displaying a target control
By acquiring vehicle location information and determining the driving distance, and displaying the target control, the problem of cumbersome mobile payment operations for users while driving is solved, thus improving payment efficiency.
Patent Information
- Application Number
- CN202411685007.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2044-11-22
AI Technical Summary
In existing technologies, the operation steps for users to make mobile payments while driving are cumbersome, resulting in low payment efficiency.
By obtaining vehicle location information, it is determined whether the vehicle is within a preset scenario and the driving distance to the preset target point is calculated. When the distance is less than the preset value, the target control corresponding to the target operation is displayed, simplifying the operation process.
It improves the efficiency of mobile payment operations and simplifies the payment process for users while driving.
Smart Images

Figure CN119718477B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of human-computer interaction technology, and in particular to a method for displaying target controls. Background Technology
[0002] With the rapid popularization of mobile payment methods such as WeChat Pay and Alipay, most users now use payment codes or QR codes to make payments, such as for parking fees or road tolls.
[0003] Currently, when users pay by mobile payment at parking lot exits while driving, the typical procedure involves exiting the current application, switching to a payment app like WeChat or Alipay on the mobile device, and then opening the corresponding payment code or launching a scanning app to make the payment. This method involves many steps and is inefficient. Summary of the Invention
[0004] This invention provides a method for displaying target controls, aiming to overcome the deficiencies in the prior art, simplify the operation process of corresponding applications, and thereby improve the corresponding operation efficiency.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] This invention provides a method for displaying a target control, comprising:
[0007] Step 1: Obtain the vehicle's current location information and determine the vehicle's position on the navigation map based on the location information;
[0008] Step 2: Determine whether the vehicle's location on the navigation map belongs to the preset scenario. If yes, proceed to the next step; otherwise, return to Step 1.
[0009] Step 3: Determine whether there is a preset target point within the corresponding distance based on the scene to which the vehicle is currently located. If yes, calculate the driving distance between the vehicle's current location and the preset target point and proceed to the next step; otherwise, return to step 1.
[0010] Step 4: Determine whether the travel distance is less than a preset value; if yes, proceed to the next step.
[0011] Step 5: Send the target operation prompt message and determine whether the preset confirmation message has been received. If yes, proceed to the next step; otherwise, end the current operation.
[0012] Step 6: Display the target control corresponding to the target operation.
[0013] Specifically, step 1 includes:
[0014] Step 101: Obtain the vehicle's current location information;
[0015] Step 102: Obtain the number of candidate road segments at the current location, and determine whether the candidate road segment is unique. If it is, use the current candidate road segment as the matching road segment; otherwise, proceed to the next step.
[0016] Step 103: Obtain the vertical distance, included angle, and topological relationship from the current location to each candidate road segment. The included angle is determined by the direction angle of each candidate road segment and the current direction angle of the vehicle according to the first preset relationship.
[0017] Step 104: Calculate the matching degree of each candidate road segment;
[0018] Step 105: Select the candidate road segment with the lowest matching degree as the matching road segment.
[0019] Specifically, the first preset relationship is:
[0020] θ(k)=min(|α(k)-β|,|α(k)-β+180|) and 0≤θ(k)≤180°.
[0021] Where θ(k) represents the included angle, α(k) represents the direction angle of each candidate road segment, β represents the current direction angle of the vehicle, and min() represents taking the minimum value.
[0022] Specifically, step 104 includes: calculating the matching degree of each candidate road segment according to a second preset relation, wherein the second preset relation is:
[0023] F(k)=W d (k)*D(k)+W θ (k)*θ(k)+W t (k)*T(k)
[0024] Where F(k) represents the matching degree of each candidate road segment, D(k) represents the vertical distance from the current position to each candidate road segment, θ(k) represents the included angle, T(k) represents the topological relationship, and W d (k), W θ (k), W t (k) is the weighting coefficient, and W d (k)++W θ (k)++W t If (k) = 1, and the current candidate road segment is a road segment subject to traffic rules, then W t (k) = 0.5, otherwise W t (k) = 0.2; If the current candidate road segment is an unregulated road segment and the current location is near an intersection, then W θ (k) = 0.5, otherwise W θ (k) = 0.3.
[0025] Specifically, determining whether a preset confirmation message has been received includes:
[0026] Step 501: Determine whether a voice message has been received within a preset time. If yes, proceed to the next step; otherwise, it is determined that the preset confirmation message has not been received.
[0027] Step 502: Preprocess the speech information, and divide the processed speech into a preset number of segments and save them as unit speech;
[0028] Step 503: Obtain the unit Mel frequency cepstral coefficients corresponding to the unit speech, and calculate the average value of all the unit Mel frequency cepstral coefficients to obtain the global Mel frequency cepstral coefficient average value.
[0029] Step 504: Calculate the first similarity and determine whether the first similarity exceeds the first threshold. If yes, proceed to the next step; otherwise, it is determined that the preset confirmation information has not been received. The first similarity is the similarity between the average value of the global Mel frequency cepstral coefficients and the preset Mel frequency cepstral coefficients.
[0030] Step 505: Perform a first-order difference operation on the unit Mel frequency cepstral coefficients to obtain the unit difference Mel frequency cepstral coefficients;
[0031] Step 506: Calculate the second similarity, which is the similarity between the unit differential Mel frequency cepstral coefficient and the preset Mel frequency cepstral coefficient. Determine whether the difference between the first similarity and the second similarity is less than the second threshold. If it is, it is determined that the preset confirmation information has been received; otherwise, it is determined that the preset confirmation information has not been received.
[0032] Furthermore, the procedure includes the following steps before step 5 and after step 4:
[0033] Step 41: Start preloading and load the target control display elements corresponding to the target operation into memory.
[0034] Furthermore, following step 6, the following is also included:
[0035] Step 7: Monitor whether the preset operation is completed. If so, display the operation result.
[0036] Furthermore, following step 7, the following is also included:
[0037] Step 8: Monitor whether the vehicle has left the preset target point. If so, automatically hide the target control after a preset time and return to step 1.
[0038] Furthermore, prior to step 1, the following is also included:
[0039] Step 0: Determine if the intelligent target control display function in the system is active. If yes, proceed to the next step.
[0040] The beneficial effects of the present invention are as follows: By obtaining the current location information of the vehicle, when the vehicle's location belongs to a preset scene and a preset target point, the present invention calculates the driving distance between the vehicle's current location and the preset target point. If the driving distance is less than a preset value, the target control corresponding to the target operation is displayed, which simplifies the operation process of the corresponding application and thus improves the corresponding operation efficiency. Attached Figure Description
[0041] Figure 1 This is a flowchart illustrating the target control display method of the present invention. Detailed Implementation
[0042] The embodiments of the present invention are described in detail below with reference to the accompanying drawings. The drawings are for reference and illustration only and do not constitute a limitation on the scope of protection of the present invention.
[0043] In the process described in the specification, claims, or drawings of this invention, each step is numbered (e.g., step 10, 20, etc.). These numbers are used only to distinguish the steps and do not represent any execution order. It should be noted that the terms "first," "second," etc., used herein are only for distinguishing the objects being described and do not represent a chronological order, nor do they indicate that "first," "second," etc., are different types.
[0044] like Figure 1 As shown, this embodiment provides a method for displaying a target control, including:
[0045] Step 1: Obtain the vehicle's current location information and determine the vehicle's position on the navigation map based on the location information.
[0046] In this embodiment, step 1 includes:
[0047] Step 101: Obtain the vehicle's current location information.
[0048] In practice, the location information may be GPS or / and BeiDou navigation and positioning data.
[0049] Step 102: Obtain the number of candidate road segments at the current location, and determine whether the candidate road segment is unique. If it is, use the current candidate road segment as the matching road segment; otherwise, proceed to the next step.
[0050] Step 103: Obtain the vertical distance D(k), included angle θ(k), and topological relationship T(k) from the current location to each candidate road segment. The included angle θ(k) is determined by the direction angle α(k) of each candidate road segment and the current direction angle β of the vehicle according to the first preset relationship.
[0051] In this embodiment, the first preset relationship is:
[0052] θ(k)=min(|α(k)-β|,|α(k)-β+180|) and 0≤θ(k)≤180°.
[0053] Where θ(k) represents the included angle, α(k) represents the direction angle of each candidate road segment, β represents the current direction angle of the vehicle, and min() represents taking the minimum value.
[0054] In this embodiment, the vehicle direction angle β is the angle between the vehicle's current driving direction (i.e., the heading angle in the positioning information) and the due north direction of the navigation map, and the direction angle α(k) of the candidate road segment is the angle between each candidate road segment and the due north direction of the navigation map.
[0055] In this embodiment, the topology T(k) represents the number of nodes directly connected to each candidate road segment.
[0056] Step 104: Calculate the matching degree F(k) of each candidate road segment.
[0057] In this embodiment, step 104 includes: calculating the matching degree F(k) of each candidate road segment according to a second preset relation, wherein the second preset relation is:
[0058] F(k)=W d (k)*D(k)+W θ (k)*θ(k)+W t (k)*T(k)
[0059] Where F(k) represents the matching degree of each candidate road segment, D(k) represents the vertical distance from the current position to each candidate road segment, θ(k) represents the included angle, T(k) represents the topological relationship, and W d (k), W θ (k), W t (k) is the weighting coefficient, and W d (k)++W θ (k)++W t If (k) = 1, and the current candidate road segment is a road segment subject to traffic rules, then W t (k) = 0.5, otherwise W t (k) = 0.2; If the current candidate road segment is an unregulated road segment and the current location is near an intersection, then W θ (k) = 0.5, otherwise W θ (k) = 0.3.
[0060] Step 105: Select the candidate road segment with the smallest matching degree F(k) as the matching road segment.
[0061] Step 2: Determine whether the vehicle's location on the navigation map belongs to the preset scenario. If yes, proceed to the next step; otherwise, return to Step 1.
[0062] In this embodiment, the preset scenarios include parking lots and highways.
[0063] Step 3: Determine whether there is a preset target point within the corresponding distance based on the scene to which the vehicle's current position belongs. If yes, calculate the driving distance between the vehicle's current position and the preset target point and proceed to the next step; otherwise, return to step 1.
[0064] In this embodiment, the preset target point is the toll exit.
[0065] For example, if the vehicle is currently in a parking lot or shopping mall, the toll exit is usually nearby, so you should look for a toll exit within a relatively short distance (e.g., 100-500 meters). Conversely, if the vehicle is on a highway, the toll exit is usually far away, so you should look for a toll exit at a relatively long distance (e.g., 2-5 km).
[0066] Of course, depending on different needs, the preset target point can be set to other types of points of interest.
[0067] Calculating the distance between the vehicle's current location and the toll exit is existing technology and will not be elaborated further.
[0068] Step 4: Determine whether the travel distance is less than a preset value. If yes, proceed to the next step.
[0069] Step 5: Send the target operation prompt message and determine whether the preset confirmation message has been received. If yes, proceed to the next step; otherwise, end the current operation.
[0070] In this embodiment, the target operation is a payment operation. As an example of an exemplified implementation, the prompt message could be: "Dear driver, I have detected that you appear to have reached the tollbooth exit. Would you like me to show you a quick payment method?"
[0071] Of course, depending on different needs, the target operation can be set to other operations (such as taking a picture).
[0072] In this embodiment, determining whether a preset confirmation message has been received includes:
[0073] Step 501: Determine whether a voice message has been received within a preset time. If yes, proceed to the next step; otherwise, it is determined that the preset confirmation message has not been received.
[0074] Step 502: Preprocess the speech information, and divide the processed speech into a preset number of segments and save them as unit speech.
[0075] In this embodiment, the preprocessing includes noise reduction and other processing measures to improve the signal-to-noise ratio of the original speech.
[0076] Step 503: Obtain the unit Mel frequency cepstral coefficients corresponding to the unit speech, and calculate the average value of all the unit Mel frequency cepstral coefficients to obtain the global Mel frequency cepstral coefficient average value.
[0077] For example, if the processed original speech is divided into 10 units, then 10 units of Mel-frequency cepstral coefficients are obtained, and the average value of these 10 units of Mel-frequency cepstral coefficients is calculated.
[0078] Step 504: Calculate the first similarity and determine whether the first similarity exceeds the first threshold. If yes, proceed to the next step; otherwise, it is determined that the preset confirmation information has not been received. The first similarity is the similarity between the average value of the global Mel frequency cepstral coefficients and the preset Mel frequency cepstral coefficients.
[0079] In this embodiment, the preset Mel frequency cepstral coefficients are the Mel frequency cepstral coefficients of the sound sample compared to the preset target (e.g., the car owner).
[0080] Step 505: Perform a first-order difference operation on the unit Mel frequency cepstral coefficients to obtain the unit difference Mel frequency cepstral coefficients.
[0081] In this embodiment, a first-order difference operation is creatively performed on the unit Mel frequency cepstral coefficients to obtain the transition characteristics of the resonance peak, which makes up for the defect that the global Mel frequency cepstral coefficients cannot reflect the transition characteristics of the resonance peak, thereby further improving the accuracy of the judgment.
[0082] Step 506: Calculate the second similarity, which is the similarity between the unit differential Mel frequency cepstral coefficient and the preset Mel frequency cepstral coefficient. Determine whether the difference between the first similarity and the second similarity is less than the second threshold. If it is, it is determined that the preset confirmation information has been received; otherwise, it is determined that the preset confirmation information has not been received.
[0083] Understandably, determining whether a preset confirmation message has been received can also be done through images, such as facial recognition or body movement recognition.
[0084] Step 6: Display the target control corresponding to the target operation.
[0085] For example, if the target operation is a payment operation, then the target control is the payment code and / or a quick scan icon of the target payment program.
[0086] In practice, the payment code can be displayed by directly reading the payment code from WeChat or Alipay, and the quick scan icon can be a shortcut linking to the scan icon in WeChat or Alipay.
[0087] In terms of display method, a layer specifically for displaying the target control can be overlaid on the current interface, or it can be displayed in a split-screen manner with the current interface, for example, divided into two horizontal areas, with the upper or lower area used to display the target control. This invention does not limit this.
[0088] In another embodiment of the present invention, the method further includes the following steps before step 5 and after step 4:
[0089] Step 41: Start preloading and load the target control display elements corresponding to the target operation into memory.
[0090] In another embodiment of the invention, the method further includes the following after step 6:
[0091] Step 7: Monitor whether the preset operation is completed. If so, display the operation result.
[0092] For example, if the preset operation is a payment operation, the payment amount will be displayed so that users can understand the operation result in real time.
[0093] In another embodiment of the invention, the method further includes the following step after step 7:
[0094] Step 8: Monitor whether the vehicle has left the preset target point. If so, automatically hide the target control after a preset time and return to step 1.
[0095] In another embodiment of the invention, the method further includes the following step prior to step 1:
[0096] Step 0: Determine if the intelligent target control display function in the system is active. If yes, proceed to the next step.
[0097] The above-disclosed embodiments are merely preferred embodiments of the present invention and should not be construed as limiting the scope of protection of the present invention. Therefore, any equivalent variations made in accordance with the claims of the present invention are still within the scope of the present invention.
Claims
1. A method for displaying a target control, characterized in that, include: Step 1: Obtain the vehicle's current location information and determine the vehicle's position on the navigation map based on the location information; Step 2: Determine whether the vehicle's location on the navigation map belongs to the preset scenario. If yes, proceed to the next step; otherwise, return to Step 1. Step 3: Determine whether there is a preset target point within the corresponding distance based on the scene to which the vehicle is currently located. If yes, calculate the driving distance between the vehicle's current location and the preset target point and proceed to the next step; otherwise, return to step 1. Step 4: Determine whether the travel distance is less than a preset value; if yes, proceed to the next step. Step 5: Send the target operation prompt message and determine whether the preset confirmation message has been received. If yes, proceed to the next step; otherwise, end the current operation. Step 6: Display the target control corresponding to the target operation; Step 1 includes: Step 101: Obtain the vehicle's current location information; Step 102: Obtain the number of candidate road segments at the current location, and determine whether the candidate road segment is unique. If it is, use the current candidate road segment as the matching road segment; otherwise, proceed to the next step. Step 103: Obtain the vertical distance, included angle, and topological relationship from the current location to each candidate road segment. The included angle is determined by the direction angle of each candidate road segment and the current direction angle of the vehicle according to the first preset relationship. Step 104: Calculate the matching degree of each candidate road segment; Step 105: Select the candidate road segment with the lowest matching degree as the matching road segment; Step 104 includes: calculating the matching degree of each candidate road segment according to a second preset relation, wherein the second preset relation is: F(k)=W d (k)*D(k)+W θ (k)*θ(k)+W t (k)*T(k) Where F(k) represents the matching degree of each candidate road segment, D(k) represents the vertical distance from the current position to each candidate road segment, θ(k) represents the included angle, T(k) represents the topological relationship, and W d (k), W θ (k), W t (k) is the weighting coefficient, and W d (k)+W θ (k)+W t If (k)=1, and the current candidate road segment is a road segment subject to traffic rules, then W t (k)=0.5, otherwise W t (k)=0.2; If the current candidate road segment is an unregulated road segment and the current location is near an intersection, then W θ (k)=0.5, otherwise W θ (k)=0.3; The determination of whether a preset confirmation message has been received includes: Step 501: Determine whether a voice message has been received within a preset time. If yes, proceed to the next step; otherwise, it is determined that the preset confirmation message has not been received. Step 502: Preprocess the speech information, and divide the processed speech into a preset number of segments and save them as unit speech; Step 503: Obtain the unit Mel frequency cepstral coefficients corresponding to the unit speech, and calculate the average value of all the unit Mel frequency cepstral coefficients to obtain the global Mel frequency cepstral coefficient average value. Step 504: Calculate the first similarity and determine whether the first similarity exceeds the first threshold. If yes, proceed to the next step; otherwise, it is determined that the preset confirmation information has not been received. The first similarity is the similarity between the average value of the global Mel frequency cepstral coefficients and the preset Mel frequency cepstral coefficients. Step 505: Perform a first-order difference operation on the unit Mel frequency cepstral coefficients to obtain the unit difference Mel frequency cepstral coefficients; Step 506: Calculate the second similarity, which is the similarity between the unit differential Mel frequency cepstral coefficient and the preset Mel frequency cepstral coefficient. Determine whether the difference between the first similarity and the second similarity is less than the second threshold. If it is, it is determined that the preset confirmation information has been received; otherwise, it is determined that the preset confirmation information has not been received.
2. The target control display method according to claim 1, characterized in that, The first preset relationship is: θ(k)=min(|α(k)-β|,|α(k)-β+180|) and 0≤θ(k)≤180° Where θ(k) represents the included angle, α(k) represents the direction angle of each candidate road segment, β represents the current direction angle of the vehicle, and min() represents taking the minimum value.
3. The target control display method according to claim 1, characterized in that, The steps before step 5 and after step 4 also include: Step 41: Start preloading and load the target control display elements corresponding to the target operation into memory.
4. The target control display method according to claim 1, characterized in that, The process after step 6 also includes: Step 7: Monitor whether the target operation is completed. If so, display the operation result.
5. The target control display method according to claim 4, characterized in that, The process after step 7 also includes: Step 8: Monitor whether the vehicle has left the preset target point. If so, automatically hide the target control after a preset time and return to step 1.
6. The target control display method according to claim 1, characterized in that, The steps preceding step 1 also include: Step 0: Determine if the intelligent target control display function in the system is active. If yes, proceed to the next step.
Citation Information
Patent Citations
Payment method and electronic equipment
CN111126995A
Vehicle payment method and device, vehicle, storage medium and chip
CN114862384A