Payment page exit method and device, storage medium and program product

By obtaining the position changes and motion mode of the electronic device, and automatically judge and exit the payment page, the asset security and power consumption caused by the page stay after mobile payment is solved, and the user experience and payment security are improved.

CN119273358APending Publication Date: 2025-01-07WUXI RUIQIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411294643.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The existing mobile payment methods remain on the payment page after payment is completed, which has hidden dangers in personal assets and power consumption problems, and environmental factors in the payment scenario are not considered.

Method used

By obtaining the position change information and motion mode of the electronic device, we can judge whether to end the payment scenario, and automatically exit the payment page after the payment scenario is determined to end it, preventing staying and improving user asset security.

Benefits of technology

Effectively prevent asset security threats and power consumption caused by staying on payment pages, improve user experience, ensure that payment pages exit in a timely manner when they are not needed, and protect user personal assets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119273358A_ABST
    Figure CN119273358A_ABST
Patent Text Reader

Abstract

The invention provides a payment page exit method and device, a storage medium and a program product, and is applied to the technical field of intelligent payment. The method comprises the following steps: acquiring position change information of the electronic equipment and / or a motion mode of the electronic equipment; determining whether the electronic equipment ends the payment scene according to the position change information and / or the motion mode; and if the electronic equipment ends the payment scene, exiting the payment page. The method comprises the following steps: acquiring position change information of the electronic equipment and / or a motion mode of the electronic equipment, and judging whether the electronic equipment ends a payment scene or not according to the position change information and / or the motion mode; and when the electronic equipment ends the payment scene, the payment page is exited, so that the electronic equipment does not stay on the payment page when not in the payment scene, and the effect of improving the personal asset security of the user is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart payment technology, and in particular to a payment page exit method, device, storage medium and program product. Background Art

[0002] With the widespread popularity of mobile Internet and electronic devices, mobile payment has become a common means of daily transactions. Whether it is shopping, dining or transportation, mobile payment has greatly improved the convenience and efficiency of transactions.

[0003] The current mobile payment method used by electronic devices first requires the user to open the mobile code scanning payment page, and then point the mobile code scanning payment page at the merchant's code scanning device to complete the mobile payment; after the mobile payment is completed, the user needs to exit the mobile code scanning payment page. This method has the risk of not being able to guarantee the safety of personal assets. Summary of the invention

[0004] The present application provides a payment page exit method, device, storage medium and program product to achieve the effect of improving the security of user's personal assets.

[0005] In a first aspect, the present application provides a method for exiting a payment page, comprising:

[0006] Acquiring position change information of the electronic device and / or a motion pattern of the electronic device;

[0007] Determining whether the electronic device ends the payment scenario based on the location change information and / or the motion pattern;

[0008] If the electronic device ends the payment scenario, exit the payment page.

[0009] In a possible implementation, determining whether the electronic device ends the payment scenario according to the location change information includes:

[0010] When the change between the geographic location where the electronic device opens the payment page and the current geographic location is greater than a preset threshold, it is determined that the electronic device ends the payment scenario.

[0011] In a possible implementation, determining whether the electronic device ends the payment scenario according to the motion pattern includes:

[0012] If the exercise mode is continuous walking or continuous riding, determine that the electronic device ends the payment scenario.

[0013] In a possible implementation, determining whether the electronic device ends the payment scenario according to the location change information includes:

[0014] Determine whether the electronic device ends the payment scenario based on the location change information and the fact that the electronic device has completed a payment.

[0015] In a possible implementation, before determining whether the electronic device ends the payment scenario based on the location change information and the fact that the electronic device has completed a payment, the method further includes:

[0016] When detecting that the electronic device is on a payment page, obtaining payment data of the electronic device;

[0017] Based on the payment data, determine whether the electronic device is in a situation where a payment has been completed.

[0018] In a possible implementation, if the electronic device ends the payment scenario and exits the payment page, it includes:

[0019] If the electronic device ends the payment scenario, monitoring the duration for which the electronic device remains on the payment page;

[0020] If the duration is greater than or equal to the preset duration threshold, exit the payment page.

[0021] In a possible implementation, a payment page exit method further includes:

[0022] If the electronic device ends the payment scenario, the prompt information is output in the form of voice broadcast and / or the prompt information is output by vibrating the electronic device.

[0023] In a second aspect, the present application provides a payment page exit device, comprising:

[0024] An acquisition module, used to acquire position change information of the electronic device and / or a motion pattern of the electronic device;

[0025] A determination module, used to determine whether the electronic device ends the payment scenario according to the position change information and / or the motion pattern;

[0026] The processing module is used to exit the payment page if the electronic device ends the payment scenario.

[0027] In a possible implementation manner, the determination module is further configured to:

[0028] When the change between the geographic location where the electronic device opens the payment page and the current geographic location is greater than a preset threshold, it is determined that the electronic device ends the payment scenario.

[0029] In a possible implementation manner, the determination module is further configured to:

[0030] If the exercise mode is continuous walking or continuous riding, determine that the electronic device ends the payment scenario.

[0031] In a possible implementation manner, the determination module is specifically configured to:

[0032] Determine whether the electronic device ends the payment scenario based on the location change information and the fact that the electronic device has completed a payment.

[0033] In a possible implementation, the determination module is specifically used to: when detecting that the electronic device is on a payment page, obtain payment data of the electronic device; and determine whether the electronic device is in a state where a payment has been completed based on the payment data.

[0034] In a possible implementation manner, the processing module is specifically used for:

[0035] If the electronic device ends the payment scenario, monitoring the duration for which the electronic device remains on the payment page;

[0036] If the duration is greater than or equal to the preset duration threshold, exit the payment page.

[0037] In a possible implementation, the payment page exit device further includes an output module, and the output module is specifically used to:

[0038] If the electronic device ends the payment scenario, the prompt information is output in the form of voice broadcast and / or the prompt information is output by vibrating the electronic device.

[0039] In a third aspect, the present application provides a method for exiting a payment page, comprising:

[0040] When detecting that the electronic device has completed a payment, monitoring the duration of the electronic device still completing a payment;

[0041] If the duration is greater than or equal to a preset duration threshold and the electronic device is on a payment page, it is determined that the electronic device ends the payment scenario and exits the payment page.

[0042] In a fourth aspect, the present application provides a payment page exit device, comprising:

[0043] A monitoring module, for monitoring the duration of the electronic device completing a payment when detecting that the electronic device has completed a payment;

[0044] The processing module is used to determine that the electronic device ends the payment scenario and exits the payment page if the duration is greater than or equal to a preset duration threshold and the electronic device is on the payment page.

[0045] In a fifth aspect, the present application provides an electronic device, including: a memory, a processor;

[0046] Memory stores computer-executable instructions;

[0047] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the first aspect and / or the third aspect and / or various possible implementations of the first aspect and / or various possible implementations of the third aspect as described above.

[0048] In a fourth aspect, the present application provides a computer-readable storage medium, which stores computer execution instructions. When the computer execution instructions are executed by a processor, they are used to implement the first aspect and / or the third aspect and / or various possible implementation methods of the first aspect and / or various possible implementation methods of the third aspect as above.

[0049] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the first aspect and / or the third aspect and / or various possible implementations of the first aspect and / or various possible implementations of the third aspect as above.

[0050] The method, device, storage medium and program product for exiting the payment page provided by the present application obtain the position change information of the electronic device and / or the motion pattern of the electronic device; determine whether the electronic device has ended the payment scenario based on the position change information and / or the motion pattern; if the electronic device has ended the payment scenario, exit the payment page. The present application obtains the position change information of the electronic device and / or the motion pattern of the electronic device, and determines whether the electronic device has ended the payment scenario based on the position change information and / or the motion pattern; when the electronic device has ended the payment scenario, exits the payment page, so that the electronic device does not stay on the payment page when ending the payment scenario, thereby achieving the effect of improving the security of the user's personal assets. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0052] Figure 1 Schematic diagram of the process of exiting the payment page provided in the embodiment of the present application Figure 1 ;

[0053] Figure 2 Schematic diagram of the process of exiting the payment page provided in the embodiment of the present application Figure 2 ;

[0054] Figure 3 A schematic diagram of a payment page exit method provided in an embodiment of the present application Figure 3 ;

[0055] Figure 4 A schematic diagram of the structure of the payment page exit device provided in the embodiment of the present application Figure 1 ;

[0056] Figure 5 A schematic diagram of the structure of the payment page exit device provided in the embodiment of the present application Figure 2 ;

[0057] Figure 6 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application.

[0058] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0059] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0060] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0061] In addition, this application involves big data analysis of user information (including but not limited to personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.), and the use of artificial intelligence technology for automated decision-making, and a technical solution for making decisions that have a significant impact on personal rights and interests based on the results of automated decision-making. The application provides users with corresponding operation entrances for them to choose to agree or reject the results of automated decision-making; if the user chooses to reject, the expert decision-making process will be entered.

[0062] The mobile payment methods currently used in the market usually stay on the payment page after the user completes the payment. This means that the mobile payment methods currently used in the market do not take into account the environmental factors of the current payment scenario.

[0063] For example, after completing the mobile code scanning payment on a smart wearable device, if the user does not actively exit the payment page, the smart wearable device will remain on the payment page, which will not only cause power consumption problems, but may even allow others to secretly scan the code and pay, posing a threat to the user's personal asset security and payment protection, resulting in a bad user experience. Furthermore, the mobile code scanning payment method of smartphones has the same problem as smart wearable devices.

[0064] In response to the above problems, the present application combines the mobile payment scenario with changes in the current user's geographic location, exercise mode or exercise data. When an electronic device is using mobile payment, if it is found that the user has changed the payment scenario, for example, the user is in a non-payment scenario such as walking or riding, a voice reminder will be given to the user and the payment page will be automatically exited, thereby reducing the security risks of personal asset payments using electronic products and improving the user experience.

[0065] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0066] Figure 1 Schematic diagram of the process of exiting the payment page provided in the embodiment of the present application Figure 1 ,like Figure 1 As shown, the method includes:

[0067] S101: Acquire position change information of an electronic device and / or a motion pattern of the electronic device.

[0068] In this step, it can be understood that when the electronic device is on the payment page, it is necessary to obtain the position change information of the electronic device and / or the motion mode of the electronic device, wherein the method for determining the position change information of the electronic device and the motion mode of the electronic device can be set according to actual needs. For example, the position change information of the electronic device is determined by the global positioning system; the motion mode of the electronic device is determined by the motion data change information of the electronic device recorded by the acceleration sensor.

[0069] S102: Determine whether the electronic device ends the payment scenario based on the location change information and / or the motion pattern.

[0070] In this step, it can be understood that the premise for determining whether the electronic device ends the payment scenario is that the electronic device is on the payment page. This means that when the electronic device is not on the payment page, it is not necessary to determine whether the electronic device ends the payment scenario; when the electronic device is on the payment page, it is necessary to obtain position change information and / or motion mode, and determine whether the electronic device ends the payment scenario based on the position change information and / or motion mode. Among them, the type of electronic device can be set according to actual needs, and the embodiment of the present application does not limit this. For example, after the user opens the payment page of the smart watch, it is necessary to obtain the position change information and / or motion mode of the smart watch, and determine whether the smart watch ends the payment scenario based on the position change information and / or motion mode.

[0071] Further, when it is determined that the electronic device ends the payment scenario, S103 is executed.

[0072] S103: If the electronic device ends the payment scenario, exit the payment page.

[0073] In this step, it can be understood that when the electronic device ends the payment scenario, it is necessary to exit the electronic device from the payment page, wherein the specific implementation method of the electronic device exiting the payment page can be set according to actual needs.

[0074] For example, when the electronic device ends the payment scenario, the electronic device will automatically exit the payment page, return to the home screen, and clear the cached data of the payment page at the same time.

[0075] The embodiments of the present application obtain the position change information of the electronic device and / or the motion pattern of the electronic device, and determine whether the electronic device has ended the payment scenario based on the position change information and / or the motion pattern; when the electronic device ends the payment scenario, the payment page is exited, so that the electronic device does not stay on the payment page when the payment scenario is ended, thereby achieving the effect of improving the security of the user's personal assets.

[0076] In one implementation, determining whether the electronic device ends the payment scenario is determined based on location change information, including: determining that the electronic device ends the payment scenario when the location change between the geographic location where the electronic device opens the payment page and the current geographic location is greater than a preset threshold.

[0077] In this embodiment, it can be understood that if you want to determine whether the electronic device has ended the payment scenario, you need to know the geographical location when the electronic device opens the payment page, as well as the geographical location of the current electronic device, and compare the geographical location of the electronic device when the payment page is opened with the geographical location of the current electronic device. If the geographical location of the electronic device when the payment page is opened and the geographical location of the current electronic device change in position greater than a preset threshold, it can be determined that the electronic device has ended the payment scenario; if the geographical location of the electronic device when the payment page is opened and the geographical location of the current electronic device change in position less than or equal to the preset threshold, it can be determined that the electronic device has not ended the payment scenario and is still in the payment scenario. Among them, the preset threshold can be set according to actual needs, and the embodiment of the present application does not limit it.

[0078] The embodiment of the present application can improve the accuracy of the payment page exit method by determining whether the electronic device has ended the payment scenario based on location change information.

[0079] In another implementation, determining whether the electronic device ends the payment scenario is determined based on the motion mode, including: if the motion mode is continuous walking or continuous riding, determining that the electronic device ends the payment scenario.

[0080] In this embodiment, it can be understood that when the acquired motion mode of the electronic device is continuous walking or continuous riding, it can be determined that the electronic device has ended the payment scenario; when the acquired motion mode of the electronic device is discontinuous walking or discontinuous riding, it is determined that the electronic device has not ended the payment scenario and is still in the payment scenario.

[0081] Furthermore, the motion mode of the electronic device can be determined in the following ways: extracting features from the position change information to obtain feature information; analyzing the feature information in different dimensions to obtain the motion mode of the electronic device. This means that when determining the motion mode of the electronic device, it is first necessary to extract features from the position change information. After obtaining the feature information, the feature information is analyzed in different dimensions to obtain the motion mode of the electronic device, for example, the feature information is analyzed in three dimensions: horizontal axis, vertical axis, and vertical axis to obtain the motion mode of the electronic device.

[0082] The embodiment of the present application can improve the accuracy of the payment page exit method by determining whether the electronic device has ended the payment scenario based on the motion pattern.

[0083] In another implementation, determining whether the electronic device ends the payment scenario based on the location change information includes: determining whether the electronic device ends the payment scenario based on the location change information and the fact that the electronic device has completed a payment.

[0084] In this embodiment, it can be understood that if you want to determine whether the electronic device has ended the payment scenario, you first need to obtain the location change information and the situation that the electronic device has completed a payment. Before determining whether the electronic device has ended the payment scenario based on the location change information and the situation that the electronic device has completed a payment, the method for exiting the payment page also includes: when it is detected that the electronic device is on the payment page, obtaining the payment data of the electronic device; and determining whether the electronic device is in a situation where a payment has been completed based on the payment data.

[0085] If the acquired location change information of the electronic device is that the location change between the geographical location where the electronic device opens the payment page and the current geographical location is greater than a preset threshold, and the electronic device has completed a payment, it can be determined that the electronic device has ended the payment scenario.

[0086] Furthermore, based on the acquired payment data, a specific implementation method for determining whether the electronic device has completed a payment can be set according to actual conditions.

[0087] For example, the background data of the payment transaction is used to determine whether the current payment transaction of the electronic device has been completed, and thereby determine whether the electronic device has completed a payment. The reason is that after the electronic device completes the payment transaction, the personal account will have data on the successful payment transaction. The wallet of the electronic device obtains the data on the successful payment transaction from the personal account and feeds the data on the successful payment transaction back to the payment.

[0088] When it is determined that the electronic device ends the payment scenario, it is necessary to exit the payment page, wherein the specific implementation method of the electronic device exiting the payment page can be set according to actual needs.

[0089] For example, when the electronic device ends the payment scenario, the electronic device will automatically exit the payment page, return to the home screen, and clear the cached data of the payment page at the same time.

[0090] The embodiment of the present application can improve the accuracy of the payment page exit method by determining whether the electronic device has ended the payment scenario based on location change information and the fact that the electronic device has completed a payment.

[0091] Based on the above embodiment, if the electronic device ends the payment scenario, exit the payment page, including: if the electronic device ends the payment scenario, monitor the duration that the electronic device is still on the payment page; if the duration is greater than or equal to the preset duration threshold, exit the payment page.

[0092] In this embodiment, it is understood that when the electronic device ends the payment scenario, it is necessary to monitor the duration of the electronic device remaining on the payment page. When the duration is greater than or equal to the preset duration threshold, the payment page is exited. The preset duration threshold can be set according to actual conditions, for example, the preset duration threshold is set to 60 seconds.

[0093] For example, when the electronic device ends the payment scenario and remains on the payment page for 60 seconds, the payment page is exited.

[0094] The embodiment of the present application improves the security of the payment page exit method by monitoring the duration that the electronic device remains on the payment page and exiting the payment page when the duration is greater than or equal to a preset duration threshold, thereby protecting the user's personal assets.

[0095] Based on the above embodiment, the method for exiting the payment page also includes: if the electronic device ends the payment scene, outputting a prompt message in the form of voice broadcast, and / or outputting a prompt message in the form of vibrating the electronic device. The prompt message can be set according to actual needs, for example, the prompt message is set to: the current electronic device is still on the payment page, and there are certain security risks.

[0096] In one implementation, when the electronic device ends the payment scenario, a prompt message is output in the form of a voice broadcast.

[0097] In another implementation, when the electronic device ends the payment scenario, a prompt message is output by vibrating the electronic device.

[0098] In another implementation, when the electronic device ends the payment scenario, a prompt message is output in the form of voice broadcast and vibration of the electronic device.

[0099] The embodiments of the present application can timely remind users, ensure the safety of users' personal assets and enhance user experience by outputting prompt information in the form of voice broadcast and / or vibrating the electronic device when the payment scenario is completed on the electronic device.

[0100] Figure 2 Schematic diagram of the process of exiting the payment page provided in the embodiment of the present application Figure 2 ,like Figure 2 As shown, the method includes:

[0101] S201. When it is detected that the electronic device has completed a payment, monitor the duration for which the electronic device has completed a payment.

[0102] In this step, it can be understood that when it is detected that the electronic device is in a state where a payment has been completed, it is necessary to monitor the duration of the electronic device still in a state where a payment has been completed. The state where the electronic device is in a state where a payment has been completed can be determined in the following manner: when it is detected that the electronic device is in a payment page, the payment data of the electronic device is obtained; and according to the payment data, it is determined whether the electronic device is in a state where a payment has been completed.

[0103] S202: If the duration is greater than or equal to a preset duration threshold, and the electronic device is on a payment page, determine that the electronic device ends the payment scenario and exit the payment page.

[0104] When the duration is greater than or equal to a preset duration threshold, it can be determined that the electronic device ends the payment scenario. The preset duration threshold can be set according to actual conditions, for example, the preset duration threshold is set to 60 seconds.

[0105] When it is determined that the electronic device is in the end payment scenario, the payment page is exited. The specific implementation method of the electronic device exiting the payment page can be set according to actual needs.

[0106] For example, when the electronic device ends the payment scenario, the electronic device will automatically exit the payment page, return to the home screen, and clear the cached data of the payment page at the same time.

[0107] Furthermore, when it is determined that the electronic device is in the end payment scenario, exiting the payment page also includes: if the electronic device ends the payment scenario, outputting a prompt message in the form of voice broadcast, and / or outputting a prompt message in the form of vibrating the electronic device. The prompt message can be set according to actual needs, for example, the prompt message is set to: the current electronic device is still in the payment page, and there are certain security risks.

[0108] In one implementation, when the electronic device ends the payment scenario, a prompt message is output in the form of a voice broadcast.

[0109] In another implementation, when the electronic device ends the payment scenario, a prompt message is output by vibrating the electronic device.

[0110] In another implementation, when the electronic device ends the payment scenario, a prompt message is output in the form of voice broadcast and vibration of the electronic device.

[0111] The embodiment of the present application can timely remind the user, ensure the safety of the user's personal assets and improve the user experience by detecting that the electronic device is in a situation where a payment has been completed and monitoring that the duration of the electronic device remaining in the situation where a payment has been completed is greater than or equal to a preset duration threshold, determining that the electronic device has ended the payment scenario and exiting the payment page.

[0112] Next, using a smartwatch as an example, we will explain how to log out of the payment page. Figure 3 A schematic diagram of a payment page exit method provided in an embodiment of the present application Figure 3 .

[0113] like Figure 3 As shown, the method for exiting the payment page includes the following steps:

[0114] 1. It is assumed that the smartwatch is currently on the payment page. The smartwatch determines whether the user's exercise mode is continuous walking or continuous riding that exceeds a preset time threshold based on the current user's location change information and exercise data change information. The preset time threshold can be set according to demand. For example, the preset time threshold can be set to 1 minute, 30 seconds, two minutes, etc.; if the judgment result is that the user has walked or ridden continuously for more than one minute, and the current smartwatch is still on the payment page, a prompt message is output in the form of voice broadcast, and / or a prompt message is output in the form of vibration of the smartwatch, and the payment page currently on the smartwatch is automatically exited; if the judgment result is that the user has not walked or ridden continuously for more than one minute, or the current smartwatch is not on the payment page, the process ends;

[0115] 2. The smartwatch is currently on the payment page, and the smartwatch uses the background data of the payment transaction to determine whether the current payment transaction has been completed. When the current payment transaction is completed and has continuously exceeded the preset time threshold, if the smartwatch is still on the payment page, a prompt message is output in the form of voice broadcast, and / or a prompt message is output in the form of vibration of the smartwatch, and the payment page currently on the smartwatch is automatically exited; if the smartwatch determines that the current payment transaction is not completed through the background data of the payment transaction, the process ends.

[0116] In summary, the payment page exit method provided in the embodiment of the present application can correct errors for users in a timely manner, protect the user's personal assets and save power of electronic devices when the user does not need to use the payment scenario, improve the payment protection function of the electronic device, and at the same time improve the user experience.

[0117] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0118] Figure 4 A schematic diagram of the structure of the payment page exit device provided in the embodiment of the present application Figure 1 ,like Figure 4 As shown, the payment page exit device 400 provided in this embodiment includes:

[0119] An acquisition module 401 is used to acquire position change information of an electronic device and / or a motion pattern of the electronic device;

[0120] A determination module 402, configured to determine whether the electronic device ends the payment scenario according to the location change information and / or the motion pattern;

[0121] The processing module 403 is used to exit the payment page if the electronic device ends the payment scenario.

[0122] In a possible implementation, the determination module 402 is further configured to:

[0123] When the change between the geographic location where the electronic device opens the payment page and the current geographic location is greater than a preset threshold, it is determined that the electronic device ends the payment scenario.

[0124] In a possible implementation, the determination module 402 is further configured to:

[0125] If the exercise mode is continuous walking or continuous riding, determine that the electronic device ends the payment scenario.

[0126] In a possible implementation, the determination module 402 is specifically configured to:

[0127] Determine whether the electronic device ends the payment scenario based on the location change information and the fact that the electronic device has completed a payment.

[0128] In a possible implementation, the determination module 402 is specifically used to: when it is detected that the electronic device is on a payment page, obtain payment data of the electronic device; and determine whether the electronic device is in a state where a payment has been completed based on the payment data.

[0129] In a possible implementation manner, the processing module 403 is specifically configured to:

[0130] If the electronic device ends the payment scenario, monitoring the duration for which the electronic device remains on the payment page;

[0131] If the duration is greater than or equal to the preset duration threshold, exit the payment page.

[0132] In a possible implementation, the payment page exit device further includes an output module (not shown), and the output module is specifically used to:

[0133] If the electronic device ends the payment scenario, the prompt information is output in the form of voice broadcast and / or the prompt information is output by vibrating the electronic device.

[0134] Figure 5 A schematic diagram of the structure of the payment page exit device provided in the embodiment of the present application Figure 2 ,like Figure 5As shown, the payment page exit device 500 provided in this embodiment includes:

[0135] The monitoring module 501 is used for monitoring the duration of the electronic device still completing a payment when it is detected that the electronic device is in a state of completing a payment;

[0136] The processing module 502 is used to determine that the electronic device ends the payment scenario and exits the payment page if the duration is greater than or equal to a preset duration threshold and the electronic device is on the payment page.

[0137] The payment page exit device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be described in detail here.

[0138] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the processing module can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0139] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module is implemented in the form of a processing element to allocate program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0140] Figure 6 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 6 As shown, the electronic device 600 provided in the embodiment of the present application may include: a processor 601, and a memory 602 connected to the processor in communication, wherein:

[0141] Memory stores computer-executable instructions;

[0142] The processor executes the computer-executable instructions stored in the memory to implement the method described in the foregoing method embodiment.

[0143] It should be understood that the processor 601 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can be any conventional processor, etc. The steps of the method disclosed in the application can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor. The memory 602 may include a high-speed random access memory (RAM), and may also include non-volatile storage NVM (non-volatile memory), such as at least one disk storage, and can also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.

[0144] Optionally, the electronic device 600 may further include a communication interface 603. In a specific implementation, if the communication interface 603, the memory 602 and the processor 601 are implemented independently, the communication interface 603, the memory 602 and the processor 601 may be interconnected through a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0145] Optionally, in a specific implementation, if the communication interface 603, the memory 602 and the processor 601 are integrated on a chip, the communication interface 603, the memory 602 and the processor 601 can communicate through an internal interface.

[0146] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed, they are used to implement the method described in any of the aforementioned embodiments.

[0147] It is understood that the computer readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special computer.

[0148] An exemplary computer-readable storage medium is coupled to a processor so that the processor can read information from the computer-readable storage medium and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be an integral part of the processor. The processor and the computer-readable storage medium can be located in an ASIC. Of course, the processor and the computer-readable storage medium can also exist in an electronic device as discrete components.

[0149] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a computer-readable storage medium, including a number of instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application.

[0150] An embodiment of the present application also provides a computer program product, including a computer program, which implements the method described in any of the above embodiments when executed.

[0151] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0152] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0153] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0154] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0155] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for exiting a payment page, characterized in that: include: Acquiring position change information of an electronic device and / or a motion pattern of the electronic device; Determining whether the electronic device ends the payment scenario according to the position change information and / or the motion pattern; If the electronic device ends the payment scenario, exit the payment page.

2. The method according to claim 1, characterized in that The determining, according to the location change information, whether the electronic device ends the payment scenario includes: When the change between the geographical location where the electronic device opens the payment page and the current geographical location is greater than a preset threshold, it is determined that the electronic device ends the payment scenario.

3. The method according to claim 1, characterized in that The step of determining, according to the motion pattern, whether the electronic device ends the payment scenario includes: If the motion mode is continuous walking or continuous riding, it is determined that the electronic device ends the payment scenario.

4. The method according to claim 1, characterized in that: The determining, according to the location change information, whether the electronic device ends the payment scenario includes: According to the location change information and the fact that the electronic device has completed a payment, it is determined whether the electronic device ends the payment scenario.

5. The method according to claim 4, characterized in that Before determining whether the electronic device ends the payment scenario according to the location change information and the fact that the electronic device has completed a payment, the method further includes: When detecting that the electronic device is on a payment page, obtaining payment data of the electronic device; Based on the payment data, determine whether the electronic device is in a state where a payment has been completed.

6. The method according to any one of claims 1 to 5, characterized in that If the electronic device ends the payment scenario, exiting the payment page includes: If the electronic device ends the payment scenario, monitoring the duration for which the electronic device remains on the payment page; If the duration is greater than or equal to the preset duration threshold, exit the payment page.

7. The method according to any one of claims 1 to 5, characterized in that Also includes: If the electronic device ends the payment scenario, the prompt information is output in the form of voice broadcast, and / or the prompt information is output in the form of vibration of the electronic device.

8. A method for exiting a payment page, characterized in that: Also includes: When detecting that the electronic device has completed a payment, monitoring the duration of the electronic device still completing a payment; If the duration is greater than or equal to a preset duration threshold and the electronic device is on a payment page, it is determined that the electronic device ends the payment scenario and exits the payment page.

9. A payment page exit device, characterized in that: include: An acquisition module, used to acquire position change information of an electronic device and / or a motion pattern of the electronic device; a determination module, configured to determine whether the electronic device ends the payment scenario according to the position change information and / or the motion pattern; The processing module is used to exit the payment page if the electronic device ends the payment scenario.

10. A payment page exit device, characterized in that: include: A monitoring module, for monitoring the duration of the electronic device completing a payment when detecting that the electronic device has completed a payment; The processing module is used to determine that the electronic device ends the payment scenario and exits the payment page if the duration is greater than or equal to a preset duration threshold and the electronic device is on the payment page.

11. An electronic device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 8.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed.

13. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed.