CN111126995A - Payment method and electronic equipment - Google Patents

Payment method and electronic equipment Download PDF

Info

Publication number
CN111126995A
CN111126995A CN201911207667.8A CN201911207667A CN111126995A CN 111126995 A CN111126995 A CN 111126995A CN 201911207667 A CN201911207667 A CN 201911207667A CN 111126995 A CN111126995 A CN 111126995A
Authority
CN
China
Prior art keywords
electronic equipment
target
payment
moving speed
electronic device
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
CN201911207667.8A
Other languages
Chinese (zh)
Inventor
薛一帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911207667.8A priority Critical patent/CN111126995A/en
Publication of CN111126995A publication Critical patent/CN111126995A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]
    • G06Q20/3224Transactions dependent on location of M-devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Navigation (AREA)

Abstract

The invention discloses a payment method and electronic equipment, comprising the following steps: in the running process of a vehicle, acquiring a first geographic position and a first moving speed of electronic equipment at a first moment, and a second geographic position and a second moving speed of the electronic equipment at a second moment, wherein a map navigation interface is displayed on the electronic equipment, and the first moment is earlier than the second moment; determining whether the electronic equipment is in a first state according to the first geographical position, the first moving speed, the second geographical position and the second moving speed, wherein the first state is used for representing that the electronic equipment enters a preset payment area of the target building; if the electronic equipment is in the first state, displaying a target control on a map navigation interface; and receiving a first operation aiming at the target control, responding to the first operation, and displaying a target payment code interface. The user can rapidly call the target payment code interface by simply operating the target control without quitting the map navigation interface and opening the target payment code interface, so that the payment operation is simple, and the payment efficiency is improved.

Description

Payment method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of electronic payment, in particular to a payment method and electronic equipment.
Background
With the development of network application technology, more and more users choose to use a map navigation application in the electronic device for route navigation during traveling. Meanwhile, with the popularization of mobile payment, more and more users pay fees, such as parking fees or road and bridge fees, by using payment codes of payment applications in the electronic equipment during traveling.
Taking the payment of the highway toll in the road and bridge toll as an example, in the driving process of a user, under the condition that the user uses a map navigation application in the electronic equipment to navigate, if the user uses a payment code of the payment application in the electronic equipment to pay the highway toll, the user needs to firstly operate to return to the desktop of the electronic equipment, open the payment application in the electronic equipment, then open the payment code in the payment application and pay the toll.
Therefore, when the user drives to go out, the electronic equipment is used for paying the cost, the operation of the whole payment process is complex, and the payment efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a payment method and electronic equipment, and aims to solve the technical problems of complex operation and low efficiency in a payment process due to the fact that the electronic equipment is used for paying fees in the driving and traveling process of a user.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a payment method applied to an electronic device, where the method includes:
in the running process of a vehicle, acquiring a first geographic position and a first moving speed of electronic equipment at a first moment, and a second geographic position and a second moving speed of the electronic equipment at a second moment, wherein a map navigation interface is displayed on the electronic equipment, and the first moment is earlier than the second moment;
determining whether the electronic equipment is in a first state according to the first geographical position, the first moving speed, the second geographical position and the second moving speed, wherein the first state is used for representing that the electronic equipment enters a preset payment area of a target building;
if the electronic equipment is in the first state, displaying a target control on the map navigation interface;
and receiving a first operation aiming at the target control, and responding to the first operation to display a target payment code interface.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
the electronic equipment comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring a first geographic position and a first moving speed of the electronic equipment at a first moment and a second geographic position and a second moving speed of the electronic equipment at a second moment in the driving process of the vehicle, a map navigation interface is displayed on the electronic equipment, and the first moment is earlier than the second moment;
the determining unit is used for determining whether the electronic equipment is in a first state according to the first geographic position, the first moving speed, the second geographic position and the second moving speed, wherein the first state is used for representing that the electronic equipment enters a preset payment area of a target building;
the first display unit is used for displaying a target control on the map navigation interface under the condition that the determination result of the determination unit is positive;
a receiving unit, configured to receive a first operation for the target control;
and the second display unit is used for responding to the first operation and displaying the target payment code interface.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the payment method in the first aspect.
In a fourth aspect, the embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the payment method described in the first aspect.
In the embodiment of the invention, in the travel process of a user, the navigation is carried out by using the map navigation interface of the electronic equipment, and under the scene of paying the fee by using the payment code, whether the electronic equipment is in the state of entering the preset payment area (namely, the toll gate area) of the target building or not can be determined according to the first geographic position and the first moving speed of the electronic equipment at the first moment and the second geographic position and the second moving speed of the electronic equipment at the second moment, if yes, a target control is displayed on the map navigation interface of the electronic equipment, and the user can rapidly call the target payment code interface by simply operating the control without quitting the map navigation interface and then opening the applied target payment code interface, so that the payment operation is simple, and the payment efficiency is improved.
Drawings
Fig. 1 is a flowchart of a payment method provided by an embodiment of the present invention;
FIG. 2 is a view illustrating a driving state of a vehicle entering a toll gate area of a highway exit toll station according to an embodiment of the present invention;
FIG. 3 is an exemplary diagram of a payment method provided by an embodiment of the invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a payment method and electronic equipment.
The following first describes a payment method provided in an embodiment of the present invention.
It should be noted that the method provided by the embodiment of the present invention is applicable to an electronic device, and in practical application, the electronic device may include: smart phones, tablet computers, personal digital assistants, and the like, which are not limited in this embodiment of the present invention.
Fig. 1 is a flowchart of a payment method provided in an embodiment of the present invention, and as shown in fig. 1, the method may include the following steps: step 101, step 102, step 103 and step 104, wherein,
in step 101, during the running process of the vehicle, a first geographic position and a first moving speed of the electronic device at a first time and a second geographic position and a second moving speed of the electronic device at a second time are obtained, wherein a map navigation interface is displayed on the electronic device, and the first time is earlier than the second time.
In the embodiment of the invention, under the scene that a user uses the map navigation application of the electronic equipment to navigate in the driving process of the vehicle, a map navigation interface of the navigation application is displayed on the screen of the electronic equipment, and navigation route information is displayed in the map navigation interface.
In the embodiment of the present invention, the electronic device may obtain the location information of the geographic location of the electronic device in a base station Positioning manner, a WiFi (Wireless Fidelity) Positioning manner, or a GPS (Global Positioning System) Positioning manner.
In the embodiment of the present invention, in consideration of the fact that GPS positioning is accurate, the error range of the GPS positioning can be reduced to within several meters, and therefore, preferably, the electronic device obtains the first geographic position, the first movement speed, the second geographic position, and the second movement speed of the electronic device through a GPS chip in the electronic device.
In the embodiment of the present invention, since both the electronic device and the user of the electronic device are in the vehicle, the driving state of the vehicle may be represented by a motion state of the electronic device, specifically, the geographic location of the vehicle may be represented by a geographic location of the electronic device, and the driving speed of the vehicle may be represented by a moving speed of the electronic device, that is, the geographic location of the vehicle at the first time is a first geographic location of the electronic device at the first time, the geographic location of the vehicle at the second time is a second geographic location of the electronic device at the second time, the driving speed of the vehicle at the first time is a first moving speed of the electronic device at the first time, and the driving speed of the vehicle at the second time is a second moving speed of the electronic device at the second time.
In step 102, determining whether the electronic equipment is in a first state according to the first geographical position, the first moving speed, the second geographical position and the second moving speed; if yes, go to step 103, otherwise do not process.
In the embodiment of the invention, the first state is used for representing that the electronic equipment enters the preset payment area of the target building, namely the electronic equipment enters the toll gate area of the target building.
In the embodiment of the present invention, the target building may be a parking toll station, an expressway toll station, an ordinary highway toll station, a toll station in a shopping place, a toll station in a dining place, or other types of toll stations, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, whether the electronic device is in the first state is determined according to the first geographic position, the first moving speed, the second geographic position and the second moving speed of the electronic device, which is essentially to determine whether the vehicle approaches the target building at a low speed according to the first geographic position, the first moving speed, the second geographic position and the second moving speed of the electronic device, and if the electronic device is in the first state, it indicates that the vehicle approaches the target building at a low speed, that is, the vehicle enters the toll gate area of the target building.
In one scenario, when the target building is a parking toll station, if the electronic device is in the first state, it indicates that the vehicle enters the toll gate area of the parking toll station, i.e., the parking fee is to be paid at the toll gate of the parking toll station, and the driver user in the vehicle needs to call up a pay code interface as soon as possible to be presented to the toll collector or toll machine of the parking toll station.
In another scenario, when the target building is a highway toll station, if the electronic device is in the first state, it indicates that the vehicle enters the toll gate area of the highway toll station, i.e., the highway toll is to be paid at the toll gate of the highway toll station, and the driver user in the vehicle needs to call up a pay code interface as soon as possible to be presented to the toll collector or toll machine of the highway toll station.
In another scenario, when the target building is a toll gate, if the electronic device is in the first state, it indicates that the vehicle enters a toll gate area of the toll gate, i.e. the toll gate of the toll gate is to pay a toll fee for the toll gate, and the driver user in the vehicle needs to call up a pay code interface as soon as possible to be presented to the toll collector or toll machine of the toll gate.
In an embodiment of the present invention, considering that when a vehicle enters a toll gate area of a target building, the distance between the vehicle and the target building is generally closer and closer, and the driving speed is significantly reduced, in this case, in an embodiment provided by the present invention, the step 102 may specifically include the following steps:
determining whether the following condition is satisfied: the first geographical position and the second geographical position are on the same side of the target building, the distance from the first geographical position to the target building is greater than the distance from the second geographical position to the target building, the first geographical position and the second geographical position are both within a preset range of the target building, and the first moving speed and the second moving speed are both lower than a first preset threshold;
if the conditions are met, determining that the electronic equipment is in a first state; otherwise, determining that the electronic equipment is not in the first state.
In practical applications, the first preset threshold may be 20 km/h.
For convenience of understanding, a scenario of paying a toll on a highway is taken as an example, and is described with reference to the scenario diagram shown in fig. 2, for example, fig. 2 shows a scenario diagram of a driving state of a vehicle entering a toll gate area of a highway exit toll gate, a target building is the highway exit toll gate, and a first preset threshold is 20km/h, in this scenario, an electronic device (not shown in the figure) in the vehicle acquires a geographic position and a moving speed of the vehicle at a first time, and acquires a geographic position and a moving speed of the vehicle at a second time. The geographic position of the vehicle at the first moment and the geographic position of the vehicle at the second moment are on the same side of the highway exit toll station, the distance from the geographic position of the vehicle at the first moment to the highway exit toll station is greater than the distance from the geographic position of the vehicle at the second moment to the highway exit toll station, the geographic position of the vehicle at the first moment and the geographic position of the vehicle at the second moment are both within the preset range of the highway exit toll station, and the moving speed of the vehicle at the first moment is 18km/h and the moving speed of the vehicle at the second moment is 16km/h, which are both lower than 20km/h, so that the vehicle is determined to enter the toll gate area of the highway exit toll station.
In step 103, a target control is displayed on the map navigation interface.
In order to reduce the operation of a driver on the electronic device and accelerate the payment speed, in the embodiment of the invention, when the electronic device is in the first state, namely when a vehicle enters a toll gate area of a target building, a target control can be displayed on a map navigation interface of the electronic device, the target control is a shortcut for triggering calling out a target payment code interface, and the driver can quickly call out the target payment code interface by simply operating the target control.
It should be noted that, in the embodiment of the present invention, determining that the electronic device is in the first state may be displaying the target control on the map navigation interface when detecting that the electronic device is in the first state for the second time, and may not display the target control when detecting that the electronic device is in the first state for the first time. Such as: the method is characterized in that the method enters a parking toll station, a common highway toll station, a toll station of a shopping place, a toll station of a catering place and the like for the first time, payment is not needed, and payment is only carried out when the method leaves preset payment areas of target buildings such as the parking toll station, the common highway toll station, the toll station of the shopping place, the toll station of the catering place and the like.
In the embodiment of the invention, in order to ensure that main information on the map navigation interface of the electronic device is not blocked, the size of the target control can be far smaller than that of the map navigation interface, for example, the size of the target control is equivalent to that of an icon of the payment application, and in addition, the target control can be displayed at an edge position of the map navigation interface, for example, the target control can be displayed at the upper right corner of the map navigation interface.
In step 104, a first operation for the target control is received, and a target pay code interface is displayed in response to the first operation.
In the embodiment of the present invention, the first operation may be a click operation, a long-press operation, a slide operation, or the like.
In one example, taking the first operation as a click operation as an example, when the electronic device detects that the user clicks the target control, a target payment code interface is displayed on the electronic device.
In the embodiment of the invention, the target payment code interface can be displayed in a split screen mode, namely, the target payment code interface is displayed on one half area of the screen of the electronic equipment, and the map navigation interface is displayed on the other half area of the electronic equipment.
In the embodiment of the invention, the target payment code interface can also be displayed in a full screen mode, and when the target payment code interface is displayed in the full screen mode on the screen of the electronic equipment, the main interface of the electronic equipment is automatically switched to the map navigation interface after payment is finished, so that the operation cost is saved, a driver can immediately start a vehicle, important information of map navigation cannot be missed, and the driving safety is improved.
For convenience of understanding, the technical solution of the present invention is described with reference to the exemplary diagram shown in fig. 3, and as shown in fig. 3, when the electronic device is determined to be in the first state, a "target control" is displayed on a map navigation interface currently displayed by the electronic device (since the electronic device is in the first state, which indicates that the vehicle enters a toll gate area of a target building, displaying the target control at this time helps a user to quickly call out a payment code to pay a fee). The electronic equipment displays a target payment code interface on a screen in a full-screen display mode when receiving a first operation aiming at the target control. And when detecting that the payment code on the target payment code interface is scanned by the code scanner to pay the fee successfully, the electronic equipment displays the current map navigation interface on the screen.
As can be seen from the above embodiments, in this embodiment, in a scenario where a user navigates by using a map navigation interface of an electronic device during a trip and pays a fee by using a payment code, whether the electronic device is in a state of entering a preset payment area (i.e., a toll gate area) of a target building can be determined according to a first geographic position and a first movement speed of the electronic device at a first time and a second geographic position and a second movement speed of the electronic device at a second time, if yes, a target control is displayed on the map navigation interface of the electronic device, and the user can quickly call the target payment code interface by simply operating the control without exiting the map navigation interface and then opening the applied target payment code interface, so that the payment operation is simple and the payment efficiency is improved.
In another embodiment provided by the present invention, after the payment is completed based on the target payment code interface, the payment success interface may not be displayed, but the payment information is biased in the form of a small window on the map navigation interface, for example, the payment information is reduced to a floating window biased on the upper side of the screen, and then after the above step 104, the following steps may be added:
and under the condition that the payment is finished based on the target payment code interface, displaying a floating window on the map navigation interface, wherein the floating window is used for displaying the payment information based on the target payment code interface.
In the embodiment of the present invention, in order to ensure that the main information on the map navigation interface of the electronic device is not blocked, the size of the floating window may be much smaller than that of the map navigation interface, and in addition, the floating window may be displayed at an edge position of the map navigation interface, for example, at an upper side of the map navigation interface.
Therefore, in the embodiment of the invention, the payment information is biased in a small window form, so that a driver can conveniently know the payment condition in time under the condition of not influencing normal navigation.
In another embodiment provided by the invention, aiming at the condition that a floating window is displayed on a map navigation interface, in order to avoid interference of long-time display of the floating window on a driver user, an in-vehicle environment picture shot when a vehicle normally runs can be compared with the framing of a current front camera, if the comparison is similar, the electronic equipment is considered to return to an electronic equipment support, and at the moment, the floating window can be retracted into a notification bar; correspondingly, after the step of displaying the floating window on the map navigation interface, the following steps can be added:
starting a front camera of the electronic equipment to acquire an image to obtain a first image;
calculating the similarity between the first image and a second image acquired in advance, wherein the second image is an image acquired by the front camera when the electronic equipment is in a second state, the second state is used for representing that the electronic equipment is in a preset position in the vehicle and the moving speed of the electronic equipment is higher than a second preset threshold; and hiding the floating window under the condition that the similarity is greater than a third preset threshold value.
In practical applications, the preset position may be a position where an electronic device bracket in the vehicle is located, and the second preset threshold may be 60 km/h.
In another embodiment provided by the invention, aiming at the condition that a floating window is displayed on a map navigation interface, in order to avoid interference of long-time display of the floating window on a driver user, the display duration of the floating window can be compared with a preset threshold, and if the time is out, a floating frame is retracted into a notification bar; correspondingly, after the step of displaying the floating window on the map navigation interface, the following steps can be added:
and hiding the floating window under the condition that the display duration of the floating window reaches a fourth preset threshold.
In another embodiment provided by the present invention, before the step 104, the following steps may be added:
setting a payment code interface with the highest use frequency in the electronic equipment as a target payment code interface; or,
and setting a target payment code interface under the condition that a second operation is received, wherein the second operation is used for selecting the target payment code interface from at least two payment code interfaces of the electronic equipment.
Therefore, in the embodiment of the invention, the target payment code interface can be a payment code interface with the highest use frequency in the electronic equipment (namely a payment code interface frequently used by a driver user) so as to conform to the use habit of the driver user; alternatively, the target pay code interface may also be a pay code interface specified by the driver user to meet the personalized needs of the driver user.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 4, the electronic device 400 may include: an acquisition unit 401, a determination unit 402, a first display unit 403, a reception unit 404, and a second display unit 405, wherein,
an obtaining unit 401, configured to obtain, during a running process of a vehicle, a first geographic position and a first moving speed of an electronic device at a first time, and a second geographic position and a second moving speed of the electronic device at a second time, where a map navigation interface is displayed on the electronic device, and the first time is earlier than the second time;
a determining unit 402, configured to determine whether the electronic device is in a first state according to the first geographic location, the first moving speed, the second geographic location, and the second moving speed, where the first state is used to represent that the electronic device enters a preset payment area of a target building;
a first display unit 403, configured to display a target control on the map navigation interface if a determination result of the determination unit is yes;
a receiving unit 404, configured to receive a first operation for the target control;
and a second display unit 405 for displaying a target payment code interface in response to the first operation.
As can be seen from the above embodiments, in this embodiment, in a scenario where a user navigates by using a map navigation interface of an electronic device during a trip and pays a fee by using a payment code, whether the electronic device is in a state of entering a preset payment area (i.e., a toll gate area) of a target building can be determined according to a first geographic position and a first movement speed of the electronic device at a first time and a second geographic position and a second movement speed of the electronic device at a second time, if yes, a target control is displayed on the map navigation interface of the electronic device, and the user can quickly call the target payment code interface by simply operating the control without exiting the map navigation interface and then opening the applied target payment code interface, so that the payment operation is simple and the payment efficiency is improved.
Optionally, as an embodiment, the determining unit 402 may include:
a first determination subunit operable to determine whether the following condition is satisfied: the first geographical position and the second geographical position are on the same side of the target building, the distance from the first geographical position to the target building is greater than the distance from the second geographical position to the target building, the first geographical position and the second geographical position are both within a preset range of the target building, and the first moving speed and the second moving speed are both lower than a first preset threshold;
a second determining subunit, configured to determine that the electronic device is in the first state if a determination result of the first determining subunit is yes;
a third determining subunit, configured to determine that the electronic device is not in the first state if a determination result of the first determining subunit is negative.
Optionally, as an embodiment, the electronic device 400 may further include:
and the third display unit is used for displaying a floating window on the map navigation interface under the condition that the completion of the payment of the fee is detected based on the target payment code interface, wherein the floating window is used for displaying the payment information based on the target payment code interface.
Optionally, as an embodiment, the electronic device 400 may further include:
the acquisition unit is used for starting a front camera of the electronic equipment to acquire an image to obtain a first image;
the calculation unit is used for calculating the similarity between the first image and a second image acquired in advance, wherein the second image is an image acquired by the front camera when the electronic equipment is in a second state, and the second state is used for representing that the electronic equipment is in a preset position in a vehicle and the moving speed of the electronic equipment is higher than a second preset threshold value;
and the first hiding unit is used for hiding the floating window under the condition that the similarity is greater than a third preset threshold value.
Optionally, as an embodiment, the electronic device 400 may further include:
and the second hiding unit is used for hiding the floating window under the condition that the display duration of the floating window reaches a fourth preset threshold value.
Optionally, as an embodiment, the electronic device 400 may further include:
the first setting unit is used for setting a payment code interface with the highest use frequency in the electronic equipment as the target payment code interface; or,
the second setting unit is used for setting the target payment code interface under the condition that a second operation is received, wherein the second operation is used for selecting the target payment code interface from at least two payment code interfaces of the electronic equipment.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in fig. 5, the electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to acquire a first geographic position and a first moving speed of the electronic device at a first time, and a second geographic position and a second moving speed of the electronic device at a second time during the driving of the vehicle, where a map navigation interface is displayed on the electronic device, and the first time is earlier than the second time; determining whether the electronic equipment is in a first state according to the first geographical position, the first moving speed, the second geographical position and the second moving speed, wherein the first state is used for representing that the electronic equipment enters a preset payment area of a target building; if the electronic equipment is in the first state, displaying a target control on the map navigation interface; and receiving a first operation aiming at the target control, and responding to the first operation to display a target payment code interface.
In the embodiment of the invention, the user can rapidly call the target payment code interface by simply operating the target control without quitting the map navigation interface and opening the target payment code interface, so that the payment operation is simple and the payment efficiency is improved.
Optionally, as an embodiment, the determining whether the electronic device is in the first state according to the first geographic location, the first moving speed, the second geographic location, and the second moving speed includes:
determining whether the following condition is satisfied: the first geographical position and the second geographical position are on the same side of the target building, the distance from the first geographical position to the target building is greater than the distance from the second geographical position to the target building, the first geographical position and the second geographical position are both within a preset range of the target building, and the first moving speed and the second moving speed are both lower than a first preset threshold;
if the condition is met, determining that the electronic equipment is in the first state; otherwise, determining that the electronic equipment is not in the first state.
Optionally, as an embodiment, after the step of displaying the target payment code interface, the method further includes:
and under the condition that the payment is finished based on the target payment code interface, displaying a floating window on the map navigation interface, wherein the floating window is used for displaying the payment information based on the target payment code interface.
Optionally, as an embodiment, after the step of displaying the floating window on the map navigation interface, the method further includes:
starting a front camera of the electronic equipment to acquire an image to obtain a first image;
calculating the similarity between the first image and a second image acquired in advance, wherein the second image is an image acquired by the front camera when the electronic equipment is in a second state, the second state is used for representing that the electronic equipment is in a preset position in a vehicle and the moving speed of the electronic equipment is higher than a second preset threshold value;
and hiding the floating window under the condition that the similarity is greater than a third preset threshold value.
Optionally, as an embodiment, after the step of displaying the floating window on the map navigation interface, the method further includes:
and hiding the floating window under the condition that the display duration of the floating window reaches a fourth preset threshold.
Optionally, as an embodiment, before the step of displaying the target control on the map navigation interface, the method further includes:
setting a payment code interface with the highest use frequency in the electronic equipment as the target payment code interface; or,
and setting the target payment code interface under the condition that a second operation is received, wherein the second operation is used for selecting the target payment code interface from at least two payment code interfaces of the electronic equipment.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image may be displayed on the display unit 506. The image processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are implemented via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of any one of the foregoing payment method embodiments, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of any one of the foregoing payment method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A payment method applied to an electronic device is characterized by comprising the following steps:
in the running process of a vehicle, acquiring a first geographic position and a first moving speed of the electronic equipment at a first moment, and a second geographic position and a second moving speed of the electronic equipment at a second moment, wherein a map navigation interface is displayed on the electronic equipment, and the first moment is earlier than the second moment;
determining whether the electronic equipment is in a first state according to the first geographical position, the first moving speed, the second geographical position and the second moving speed, wherein the first state is used for representing that the electronic equipment enters a preset payment area of a target building;
if the electronic equipment is in the first state, displaying a target control on the map navigation interface;
and receiving a first operation aiming at the target control, and responding to the first operation to display a target payment code interface.
2. The method of claim 1, wherein determining whether the electronic device is in the first state based on the first geographic location, the first movement speed, the second geographic location, and the second movement speed comprises:
determining whether the following condition is satisfied: the first geographical position and the second geographical position are on the same side of the target building, the distance from the first geographical position to the target building is greater than the distance from the second geographical position to the target building, the first geographical position and the second geographical position are both within a preset range of the target building, and the first moving speed and the second moving speed are both lower than a first preset threshold;
if the condition is met, determining that the electronic equipment is in the first state; otherwise, determining that the electronic equipment is not in the first state.
3. The method of claim 1, wherein the step of displaying a target payment code interface is followed by:
and under the condition that the payment is finished based on the target payment code interface, displaying a floating window on the map navigation interface, wherein the floating window is used for displaying the payment information based on the target payment code interface.
4. The method of claim 3, wherein after the step of displaying the floating window on the map navigation interface, further comprising:
starting a front camera of the electronic equipment to acquire an image to obtain a first image;
calculating the similarity between the first image and a second image acquired in advance, wherein the second image is an image acquired by the front camera when the electronic equipment is in a second state, the second state is used for representing that the electronic equipment is in a preset position in a vehicle and the moving speed of the electronic equipment is higher than a second preset threshold value;
and hiding the floating window under the condition that the similarity is greater than a third preset threshold value.
5. The method of claim 3, wherein after the step of displaying the floating window on the map navigation interface, further comprising:
and hiding the floating window under the condition that the display duration of the floating window reaches a fourth preset threshold.
6. The method of claim 1, wherein the step of displaying a target control on the map navigation interface is preceded by:
setting a payment code interface with the highest use frequency in the electronic equipment as the target payment code interface; or,
and setting the target payment code interface under the condition that a second operation is received, wherein the second operation is used for selecting the target payment code interface from at least two payment code interfaces of the electronic equipment.
7. An electronic device, characterized in that the electronic device comprises:
the electronic equipment comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring a first geographic position and a first moving speed of the electronic equipment at a first moment and a second geographic position and a second moving speed of the electronic equipment at a second moment in the driving process of the vehicle, a map navigation interface is displayed on the electronic equipment, and the first moment is earlier than the second moment;
the determining unit is used for determining whether the electronic equipment is in a first state according to the first geographic position, the first moving speed, the second geographic position and the second moving speed, wherein the first state is used for representing that the electronic equipment enters a preset payment area of a target building;
the first display unit is used for displaying a target control on the map navigation interface under the condition that the determination result of the determination unit is positive;
a receiving unit, configured to receive a first operation for the target control;
and the second display unit is used for responding to the first operation and displaying the target payment code interface.
8. The electronic device according to claim 7, wherein the determination unit includes:
a first determination subunit operable to determine whether the following condition is satisfied: the first geographical position and the second geographical position are on the same side of the target building, the distance from the first geographical position to the target building is greater than the distance from the second geographical position to the target building, the first geographical position and the second geographical position are both within a preset range of the target building, and the first moving speed and the second moving speed are both lower than a first preset threshold;
a second determining subunit, configured to determine that the electronic device is in the first state if a determination result of the first determining subunit is yes;
a third determining subunit, configured to determine that the electronic device is not in the first state if a determination result of the first determining subunit is negative.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the payment method as claimed in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the payment method according to one of the claims 1 to 6.
CN201911207667.8A 2019-11-29 2019-11-29 Payment method and electronic equipment Pending CN111126995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911207667.8A CN111126995A (en) 2019-11-29 2019-11-29 Payment method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911207667.8A CN111126995A (en) 2019-11-29 2019-11-29 Payment method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111126995A true CN111126995A (en) 2020-05-08

Family

ID=70496445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911207667.8A Pending CN111126995A (en) 2019-11-29 2019-11-29 Payment method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111126995A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112101933A (en) * 2020-09-23 2020-12-18 努比亚技术有限公司 Payment method, mobile terminal and computer-readable storage medium
CN112148198A (en) * 2020-09-29 2020-12-29 维沃移动通信有限公司 Display method and device of payment interface and electronic equipment
CN112596834A (en) * 2020-12-22 2021-04-02 东风汽车有限公司 Automobile screen display method and electronic equipment
CN114331420A (en) * 2022-03-07 2022-04-12 南泽(广东)科技股份有限公司 Payment system and method based on geographic position
CN114968450A (en) * 2022-04-12 2022-08-30 北京高德云信科技有限公司 Information service method and device and electronic equipment
CN115115356A (en) * 2022-06-29 2022-09-27 小米汽车科技有限公司 Vehicle payment method and device, vehicle, readable storage medium and chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895266A (en) * 2017-10-31 2018-04-10 珠海市魅族科技有限公司 Pay control method and device, terminal and readable storage medium storing program for executing
CN109523253A (en) * 2018-11-16 2019-03-26 维沃移动通信有限公司 A kind of method of payment and device
CN109767505A (en) * 2018-12-29 2019-05-17 维沃移动通信有限公司 A kind of method of payment and mobile terminal
CN109947331A (en) * 2019-03-28 2019-06-28 北京小米移动软件有限公司 Indicative information display method, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895266A (en) * 2017-10-31 2018-04-10 珠海市魅族科技有限公司 Pay control method and device, terminal and readable storage medium storing program for executing
CN109523253A (en) * 2018-11-16 2019-03-26 维沃移动通信有限公司 A kind of method of payment and device
CN109767505A (en) * 2018-12-29 2019-05-17 维沃移动通信有限公司 A kind of method of payment and mobile terminal
CN109947331A (en) * 2019-03-28 2019-06-28 北京小米移动软件有限公司 Indicative information display method, device and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112101933A (en) * 2020-09-23 2020-12-18 努比亚技术有限公司 Payment method, mobile terminal and computer-readable storage medium
CN112148198A (en) * 2020-09-29 2020-12-29 维沃移动通信有限公司 Display method and device of payment interface and electronic equipment
CN112596834A (en) * 2020-12-22 2021-04-02 东风汽车有限公司 Automobile screen display method and electronic equipment
CN112596834B (en) * 2020-12-22 2024-04-16 东风汽车有限公司 Automobile screen display method and electronic equipment
CN114331420A (en) * 2022-03-07 2022-04-12 南泽(广东)科技股份有限公司 Payment system and method based on geographic position
CN114331420B (en) * 2022-03-07 2022-07-01 南泽(广东)科技股份有限公司 Payment system and method based on geographic position
CN114968450A (en) * 2022-04-12 2022-08-30 北京高德云信科技有限公司 Information service method and device and electronic equipment
CN115115356A (en) * 2022-06-29 2022-09-27 小米汽车科技有限公司 Vehicle payment method and device, vehicle, readable storage medium and chip

Similar Documents

Publication Publication Date Title
US10310662B2 (en) Rendering across terminals
CN111126995A (en) Payment method and electronic equipment
CN111475072B (en) Payment information display method and electronic equipment
CN110221737B (en) Icon display method and terminal equipment
CN110058754B (en) Option display method and terminal device
CN108519080B (en) Navigation route planning method and terminal
CN109862504B (en) Display method and terminal equipment
CN110795949A (en) Card swiping method and device, electronic equipment and medium
CN111107219B (en) Control method and electronic equipment
CN111142723B (en) Icon moving method and electronic equipment
CN107846518B (en) Navigation state switching method, mobile terminal and computer readable storage medium
CN110456395B (en) Positioning method and terminal equipment
CN108362303B (en) Navigation method and mobile terminal
CN108510267B (en) Account information acquisition method and mobile terminal
CN110940339A (en) Navigation method and electronic equipment
CN111061530A (en) Image processing method, electronic device and storage medium
CN111145582A (en) Information control method and electronic equipment
CN110769162B (en) Electronic equipment and focusing method
CN111427644B (en) Target behavior identification method and electronic equipment
CN110035379B (en) Positioning method and terminal equipment
CN109246305B (en) Navigation processing method of navigation equipment, navigation equipment and mobile terminal
CN107730030B (en) Path planning method and mobile terminal
CN110928616A (en) Shortcut icon management method and electronic equipment
CN110440825B (en) Distance display method and terminal
CN108986508B (en) Method and terminal for displaying route information

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