Disclosure of Invention
In view of the above, it is necessary to provide a mobile payment method, an apparatus, a mobile terminal and a storage medium capable of reducing the preparation time of mobile payment and speeding up the mobile payment.
A mobile payment method, the method comprising:
acquiring a trigger event corresponding to the payment icon in the floating window; the payment icon corresponds to a payment application;
responding to the trigger event, and acquiring a page identifier corresponding to the payment icon;
and entering a payment page in the payment application program according to the page identification so that the payment application program responds to the operation in the payment page to pay.
In one embodiment, the floating window comprises a plurality of payment application icons and corresponding payment icons; the method further comprises the following steps:
counting triggering events corresponding to the plurality of payment icons according to a preset frequency;
acquiring a payment icon with the largest number of trigger event statistics;
and arranging the payment icon with the maximum number of trigger event statistics corresponding to the payment application program icon in the first row of the floating window for displaying.
In one embodiment, after the step of counting the trigger events corresponding to the plurality of payment icons according to the preset frequency, the method further includes:
acquiring a payment icon of which the triggering event statistic times are less than or equal to a first threshold;
and hiding the payment icon of which the triggering event statistic times are less than or equal to a first threshold value.
In one embodiment, the floating window comprises a plurality of payment application icons and corresponding payment icons; the method further comprises the following steps:
obtaining a pressing event corresponding to the payment application program icon;
acquiring a pressure value and pressing time corresponding to the pressing event;
if the pressure value is larger than or equal to a second threshold value and the pressing event is larger than or equal to preset time, hiding the payment application program icon and the corresponding payment icons.
In one embodiment, the payment icon comprises a payment code icon; after the step of entering a payment page in the payment application program according to the page identifier, the method further comprises the following steps:
receiving a push message, and acquiring a message link corresponding to the push message;
extracting a payment code from a payment page corresponding to the payment code icon;
and generating a new payment page by using the payment code and the message link, and displaying the new payment page.
A mobile payment device, the device comprising:
the acquisition module is used for acquiring a trigger event corresponding to the payment icon in the floating window; the payment icon corresponds to a payment application;
the response module is used for responding to the trigger event and acquiring a page identifier corresponding to the payment icon;
and the payment module is used for entering a payment page in the payment application program according to the page identification so that the payment application program responds to the operation in the payment page to carry out payment.
In one embodiment, the device further comprises a counting module, configured to count trigger events corresponding to the plurality of payment icons according to a preset frequency; acquiring a payment icon with the largest number of trigger event statistics; and arranging the payment icon with the maximum number of trigger event statistics corresponding to the payment application program icon in the first row of the floating window for displaying.
In one embodiment, the hiding module is further configured to obtain a payment icon with a triggering event count less than or equal to a first threshold; and hiding the payment icon with the triggering event statistic times smaller than or equal to a first threshold value and the corresponding payment application program icon.
A mobile terminal comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to carry out the method steps provided in the above embodiments.
One or more computer-readable non-transitory storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform steps to implement the methods provided in the embodiments described above.
According to the mobile payment method, the mobile payment system, the computer device and the storage medium, the trigger event corresponding to the payment icon in the floating window is obtained, the trigger event is responded, and the page identifier corresponding to the payment icon can be obtained. And entering a payment page in the payment application program according to the page identification, so that the payment application program responds to the operation in the payment page to carry out payment. In the process, operation flows of searching a target payment application program in a large number of application programs, searching a target payment icon in the target payment application program, acquiring a corresponding payment page by using the target payment icon and the like are avoided. The preparation time of mobile payment is shortened, and the mobile payment speed is faster.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present invention. Both the first client and the second client are clients, but they are not the same client.
In an embodiment, as shown in fig. 1, a mobile payment method is provided, which is described by taking an example that the method is applied to a mobile terminal, and specifically includes:
102, acquiring a trigger event corresponding to a payment icon in a floating window; the payment icon corresponds to a payment application.
And 104, responding to the trigger event, and acquiring a page identifier corresponding to the payment icon.
And step 106, entering a payment page in the payment application program according to the page identification so that the payment application program responds to the operation in the payment page to pay.
The mobile terminal can be a smart phone, a tablet computer, a personal digital assistant and the like. A floating window is displayed in the mobile terminal. The floating window is displayed on the uppermost layer of the user interface, and can cover the content of the lower layer of the user interface but cannot be covered by the content of the lower layer. The mobile terminal obtains the payment application program icon and the corresponding payment icon, and generates a floating window from the payment application program icon and the corresponding payment icon through a window management class, wherein the floating window can comprise various payment application program icons. Such as payment applications icons for a payment treasure, WeChat, the Jingdong wallet, and various banks. The floating window may also include a payment icon corresponding to the payment application icon, such as a white bar of a wallet of kyoto, a sweep of a payment instrument, a payment of money for a payment instrument, a sweep of a WeChat, and a receipt and payment of WeChat.
As shown in fig. 2, the icons in the floating window include various payment application icons and corresponding payment icons, and the mobile terminal respectively displays the payment application icons in different rows of the first column of the floating window, and further displays the payment icons corresponding to the payment application icons in other columns of the corresponding rows. When the user triggers the minimized icon, the mobile terminal displays the payment application icon and the payment icon in the floating window according to a trigger event, wherein the trigger event can be double-click, single-click, press and the like. The mobile terminal can open the corresponding payment application program by triggering the payment icon in the floating window, enter the corresponding payment page and then complete mobile payment on the payment page.
Further, as shown in fig. 3, the mobile terminal may also minimize the floating window using the minimized icon, and may also change the position where the minimized icon is displayed on the display screen. The minimized icon may be in a hidden state, or may be in a translucent state or an opaque state.
The mobile terminal can carry out mobile payment through the payment icon in the floating window. Specifically, a user triggers a payment icon in the floating window, and the mobile terminal obtains a trigger event corresponding to the payment icon in the floating window. And the mobile terminal responds to the trigger event corresponding to the payment icon to acquire the page identifier corresponding to the payment icon. The page identifier of the payment page may be a link address of the payment page. The mobile terminal calls an intent mechanism, the name of the payment application program and the page identification corresponding to the payment page can be configured in the intent mechanism in advance, the mobile terminal starts the corresponding payment application program through the intent mechanism, and then the payment page corresponding to the payment icon is jumped into. And the mobile terminal carries out payment by using the payment page.
In one embodiment, the payment page of the payment application may be a scan page, such as a WeChat scan, a Payment Scan, and the like. The payment application program comprises a plurality of payment methods, such as a balance treasure of the payment treasure, a bank card associated with the payment treasure, an ant flower, a change of a WeChat, a bank card associated with a WeChat, a white stripe of the Jingdong and the like. The mobile terminal scans the payment identifier of the merchant by using the camera to obtain the payment identifier of the merchant. The mobile terminal obtains the payment amount and the payment mode corresponding to the payment application program, and pays the corresponding payment amount to the payment identifier of the merchant through the payment mode, so that mobile payment is completed.
In one embodiment, the payment page may be a payment code page that includes a payment code. Such as WeChat receipts and payments, pay for money, and the like. The merchant scans the scanning page on the mobile terminal by using the scanning terminal, acquires the payment code on the scanning page, generates payment information and sends the payment information to the mobile terminal. The mobile terminal may pay according to the payment information, for example, if the payment amount in the payment information is less than 2000 yuan, the mobile terminal pays according to the payment information. And if the payment amount in the payment information is larger than or equal to 2000 yuan, the payment application program pops up a password page, the user is required to input a payment password, and the mobile terminal carries out payment according to the password and the payment information.
In this embodiment, the page identifier corresponding to the payment icon can be obtained by obtaining the trigger event corresponding to the payment icon in the floating window and responding to the trigger event. And entering a payment page in the payment application program according to the page identification, so that the payment application program responds to the operation in the payment page to carry out payment. In the process, operation flows of searching a target payment application program in a large number of application programs, searching a target payment icon in the target payment application program, acquiring a corresponding payment page by using the target payment icon and the like are avoided. The preparation time of mobile payment is shortened, and the mobile payment speed is faster.
Further, when the user wants to know other information after the payment is completed, the user can select a payment application icon in the floating window to enter the main page of the payment application by using the mobile terminal. Specifically, a user triggers a payment application icon in the floating window, the mobile terminal obtains a trigger event corresponding to the payment application icon in the floating window, and responds to the trigger event corresponding to the payment application icon to obtain a page identifier of a main page of the payment application. The page identifier of the main page may be a link address of the main page. And the mobile terminal skips to enter the main page of the payment application program according to the page identifier. The payment application program icon in the floating window enters the corresponding main page, so that the problem that a path for searching the target payment application program is deep in a traditional mode is solved, and convenience is brought to quick use of the application program.
Further, when a user opens one payment application program due to misoperation, the payment application program needs to be closed, a target payment application program is searched in a plurality of application programs of the mobile terminal, and then payment is performed by using a target payment mode in the target payment application program. The conventional mode has complicated steps for replacing the payment mode, and brings inconvenience to users. In this embodiment, a user can directly search for a payment icon corresponding to a target payment application icon in the floating window, and after the user mistakenly clicks one payment icon to enter a payment page, the user can search for the target payment icon again through the floating window and enter the required payment page by using the target payment icon to perform mobile payment. Different payment icons are clicked through the suspension window, different payment modes can be switched, the process of replacing the payment modes can be simplified, and mobile payment is more convenient.
In one embodiment, the floating window includes a plurality of payment application icons and corresponding payment icons; the mobile payment method further comprises the following steps: counting triggering events corresponding to the plurality of payment icons according to a preset frequency; acquiring a payment icon with the largest number of trigger event statistics; and arranging the payment icon with the maximum number of trigger event statistics corresponding to the payment application program icon in the first row of the floating window for displaying.
The floating window comprises a plurality of payment application icons, and the payment application icons comprise corresponding payment icons. For example, the pay treasure icon includes a pay treasure scan icon, a pay treasure pay icon. The WeChat icon comprises a WeChat scanning icon and a WeChat receipt and payment icon.
In order to facilitate the user to search the common payment icon, the mobile terminal can count the use condition of the user on different payment icons, and rearrange the positions of the payment icons in the floating window according to the use condition of the payment icons. Specifically, the mobile terminal counts trigger events corresponding to the payment icon according to a preset frequency, and obtains the number of times of counting corresponding to the payment icon. The preset frequency includes the frequency of the trigger event corresponding to the statistical payment icon, and may be weekly, monthly, quarterly, etc. The preset frequency includes a corresponding preset time, for example, weekly for a week and monthly for a month, etc. The counted times include the number of trigger events corresponding to the payment icon within a preset time, for example, the number of trigger events for a wechat scan within one week is 5. The more statistical times corresponding to the payment icon represents that the mobile payment times of the payment icon in the preset time are more, and the less statistical times corresponding to the payment icon represents that the mobile payment times of the payment icon in the preset time are less. The mobile terminal pays by using the payment icon in the floating window, acquires the trigger event corresponding to the payment icon, records the trigger event corresponding to the payment icon, and updates the counting times of the trigger event corresponding to the payment icon. And the mobile terminal detects whether the counting time reaches the preset detection time or not, and if the counting time reaches the preset detection time, the mobile terminal counts the trigger events corresponding to all the payment icons.
Specifically, the mobile terminal obtains the statistical times of the trigger events corresponding to all the payment icons, and sorts the statistical times of all the payment icons to obtain the payment icon with the largest statistical times. The sorting method may be a bubble sorting method, a cocktail sorting method, or the like. The maximum number of times of statistics of the payment icon represents that the number of times of mobile payment performed by the payment icon in a preset time is the maximum, and the payment mode corresponding to the payment icon may be the payment mode used by the user the most. The mobile terminal arranges the payment application program icons corresponding to the payment icons with the largest counting times in the first row of the floating window for displaying, and displays all the payment icons corresponding to the payment application program icons in other columns of the same row according to the counting times.
For example, the payment application icons in the floating window include a jingdong wallet that includes a scan and a payment code, a WeChat that includes a scan and a receipt of a payment, and a Payment treasure that includes a scan and a payment. The statistical frequency of the Jingdong scan is 8 times, the statistical frequency of the Jingdong payment code is 10 times, the statistical frequency of the WeChat scan is 10 times, the statistical frequency of the WeChat receipt payment is 15 times, the statistical frequency of the Payment treasure scan is 20 times, and the statistical frequency of the Payment money is 30 times. The payment of the treasures is the payment icon with the largest statistical frequency, and the mobile terminal can arrange the icons of the payment treasures in the first row and the first column of the suspension window for display, arrange the payment icons of the payment treasures in the first row and the second column for display, and arrange the scanning icons of the payment treasures in the first row and the third column for display. Through showing the payment icon with the largest number of times of statistics and the payment application program corresponding to the payment icon, the payment icon which accords with the payment habit of the user can be displayed at a relatively obvious position in the suspension window, and the user can conveniently use the common payment icon to carry out mobile payment.
In one embodiment, the mobile terminal may further display all payment icons and corresponding payment applications in the floating window according to the counted number of the payment icons. For example, if the number of times of paying money for a treasure is 30, the number of times of paying money for a WeChat is 15, and the number of times of paying money for a Jingdong is 10, the mobile terminal may arrange the icons of paying money in the first row and the first column of the floating window, arrange the icons of WeChat in the second row and the first column of the floating window, and arrange the icons of Jingdong wallet in the third row and the first column of the floating window. Similarly, the mobile terminal may also display all payment icons corresponding to the payment application program according to the arrangement mode in the previous embodiment. All payment application program icons and corresponding payment icons are displayed in the floating window according to the statistical times, so that the arrangement of the payment icons is more consistent with the use habits of users, and the users can select the payment icons conveniently.
In one embodiment, after the step of counting the triggering events corresponding to the plurality of payment icons according to a preset frequency, the method further includes: acquiring a payment icon with the statistical frequency less than or equal to a first threshold; and hiding the payment icons with the statistical times smaller than or equal to the first threshold value.
And the mobile terminal counts the trigger events corresponding to all the payment icons and hides the payment icons by utilizing the counted times of the payment icons. Specifically, the mobile terminal obtains the statistics times and the first threshold corresponding to all the payment icons. The first threshold includes a preset number of statistics times of the mobile terminal, which may be 3 times, 5 times, and the like. The mobile terminal compares the counting times corresponding to all the payment icons with a first threshold value respectively, if the counting times are smaller than or equal to the first threshold value, the fact that the user uses the payment icon to pay infrequently is indicated, the mobile terminal records the payment icon corresponding to the counting times, and the payment icon is hidden. For example, the first threshold is 5 times, the statistical frequency of the wechat scanning icon in the preset time is 3 times, and the statistical frequency of the wechat scanning icon is smaller than the first threshold, the mobile terminal hides the wechat scanning icon. Through hiding the payment icon with the statistical frequency smaller than the first threshold value, the payment icon which is not commonly used in the floating window is automatically hidden, and a user can conveniently find the commonly used payment icon.
In one embodiment, the payment application program corresponds to a plurality of payment icons, and the mobile terminal can hide the payment icon and the corresponding payment application program icon according to the counted times of the plurality of payment icons corresponding to the payment application program icon. Specifically, the mobile terminal compares the statistical times of the payment application icons corresponding to the payment application icons with a first threshold value, and if the statistical times of the payment application icons corresponding to the payment application icons are all smaller than or equal to the first threshold value, the mobile terminal hides the payment application icons and all the corresponding payment icons. For example, the first threshold is 5 times, the statistical frequency of the wechat scanning icon in the preset time is 3 times, the statistical frequency of the wechat receipt and payment icon in the preset time is 4 times, the statistical frequency of the wechat scanning icon is smaller than the first threshold, and the statistical frequency of the wechat receipt and payment icon is smaller than the first threshold, so that the mobile terminal hides the wechat icon, the wechat receipt and payment icon, and the wechat scanning icon. The payment icons with the statistical times smaller than the first threshold are automatically hidden, the payment icons with the statistical times larger than or equal to the first threshold and the corresponding payment application program icons are displayed, and the payment icons which are frequently used by the user can be displayed more accurately.
In one embodiment, the mobile terminal obtains the statistical times of all the payment icons, hides the payment icons with the statistical times smaller than a first threshold value and the corresponding payment application programs, and rearranges the payment icons with the statistical times larger than the first threshold value and the corresponding payment application programs in the floating window. For example, the payment application icons in the floating window include a jingdong wallet that includes a scan and a payment code, a WeChat that includes a scan and a receipt of a payment, and a Payment treasure that includes a scan and a payment. The mobile terminal hides the payment treasure icon, the payment treasure scanning icon and the money payment icon and displays the Jingdong wallet icon, the WeChat icon and the corresponding payment icon on the floating window according to the statistical times. By displaying the payment icons and the payment application program icons with the statistical times larger than the first threshold value, the number of the payment icons and the payment application program icons in the floating window is reduced, and a user can quickly find the common payment icons.
In one embodiment, the floating window includes a plurality of payment application icons and corresponding payment icons; the mobile payment method further comprises the following steps: obtaining a pressing event corresponding to the payment application program icon; acquiring a pressure value and pressing time corresponding to a pressing event; and if the pressure value is greater than or equal to the second threshold value and the pressing time is greater than or equal to the preset time, hiding the payment application program icon and the corresponding payment icons.
The mobile terminal can automatically hide the payment application program icon and the corresponding payment icon according to the counting times corresponding to the payment icon, and can also manually hide the payment application program and the corresponding payment icon by a user. When a user wants to hide the payment application icon and the corresponding payment icon in the floating window, the payment application icon and the corresponding payment icon can be hidden by pressing the payment application icon.
The mobile terminal sets a preset time for pressing the payment icon and a second threshold value, wherein the preset time represents the shortest time for pressing the payment application icon, and the second threshold value represents the smallest pressure value for pressing the payment application icon. When the payment application program icon is pressed, the mobile terminal acquires a pressing event corresponding to the payment application program icon, wherein the pressing event comprises pressing time and a pressure value. The mobile terminal detects the pressing time and the pressure value of the pressing event, the pressure value corresponding to the pressing event is compared with a second threshold value, and if the pressure value is smaller than the second threshold value, the mobile terminal does not hide the payment application program icon. If the pressure value is greater than or equal to the second threshold value, it indicates that the user may want to hide the payment application icon, the mobile terminal further compares a pressing time corresponding to the pressing event with a preset time, and if the pressing time is less than the preset time, the mobile terminal does not hide the payment application icon. And if the pressing time is greater than or equal to the preset time, the user needs to hide the payment application icon, and the mobile terminal hides the payment application icon and the corresponding payment icon. For example, the payment application icon in the floating window comprises a wechat icon, and the payment icon corresponding to the wechat icon comprises a wechat scanning icon and a wechat receipt and payment icon. The mobile terminal obtains a pressing event of the WeChat icon, the pressure value corresponding to the pressing event is larger than a second threshold value, and the pressing time corresponding to the pressing event is larger than preset time, so that the WeChat icon, the WeChat scanning icon and the WeChat payment and receipt icon are hidden by the mobile terminal. The method has the advantages that the pressing time and the pressure value of the payment icon are detected, the payment icon which the user wants to hide is hidden, the habit that the user pays by using the payment icon can be better reflected, and the user can pay by using the commonly used payment icon conveniently.
In one embodiment, the mobile terminal acquires a pressing event corresponding to the payment icon, compares a pressure value of the pressing event with a second threshold value, compares a pressing time of the pressing event with a preset time, and hides the payment icon if the pressure value is greater than or equal to the second threshold value and the pressing time is greater than or equal to the preset time. For example, the payment application icon in the floating window includes a wechat icon, the payment icon corresponding to the wechat icon includes a wechat scanning icon and a wechat payment icon, the mobile terminal acquires a pressing event corresponding to the wechat scanning icon, the pressure value of the pressing event is greater than a second threshold value, and the pressing time of the pressing event is greater than the preset time, then the mobile terminal hides the wechat scanning icon. Through hiding the payment icon, convenience of a user directly hides the payment icon which is not commonly used, the hiding mode is more flexible, and the use habit of the user is better met.
In one embodiment, the payment icon includes a payment code icon; after the step of entering the payment page in the payment application program according to the page identification, the method further comprises the following steps: receiving a push message, and acquiring a message link corresponding to the push message; extracting a payment code from a payment page corresponding to the payment code icon; and generating a new payment page by using the payment code and the message link, and displaying the new payment page.
The floating window may be a functional item of a specified application. When the server sends the push message to the appointed application program, the appointed application program can receive the push message sent by the server, the floating window can also obtain the message link corresponding to the push message through the appointed application program, and the push message can be a financial product, financial information and the like. When the user carries out mobile payment, the icon corresponding to the payment code is triggered through the floating window, and a payment page corresponding to the payment application program is entered. And the appointed application program extracts the payment code from the payment page, generates a new payment page by using the payment code and the message link, and displays the new payment page to the user. The user can click the message link on the new payment page, jump to the corresponding message page through the message link, and then view the content of the message page. By generating a new payment page, mobile payment can be realized, and message popularization can be performed on the user.
Further, when the push message is received by the designated application, the user may be prompted through the floating window. Specifically, when the specified application program receives the push message, the keywords of the page corresponding to the push message are extracted. If a plurality of push messages are received, the appointed application program can also count the number of the push messages. The keywords corresponding to the push messages can be displayed on the floating window, and the number of the push messages can also be displayed on the floating window. For example, the content may be presented in the form of bubbles, and the user may enter the page of the corresponding push message by triggering the bubbles, and then view the content of the push page. Because the floating window is positioned on the uppermost layer of the user interface, the received push message is prompted to the user through the floating window, so that the user can timely know the push message, and convenience is provided for the user.
In one embodiment, as shown in fig. 4, there is provided a mobile payment device comprising: an acquisition module 402, a response module 404, and a payment module 406, wherein:
an obtaining module 402, configured to obtain a trigger event corresponding to a payment icon in a floating window; the payment icon corresponds to a payment application;
a response module 404, configured to respond to the trigger event, and obtain a page identifier corresponding to the payment icon;
and the payment module 406 is configured to enter a payment page in the payment application according to the page identifier, so that the payment application makes a payment in response to an operation in the payment page.
In one embodiment, the apparatus further includes a counting module 408, configured to count trigger events corresponding to the plurality of payment icons according to a preset frequency; acquiring a payment icon with the largest number of trigger event statistics; and arranging the payment icon with the maximum number of trigger event statistics corresponding to the payment application program icon in the first row of the floating window for displaying.
In one embodiment, the hiding module 410 is further configured to obtain a payment icon with a triggering event count less than or equal to a first threshold; and hiding the payment icon with the triggering event counting number smaller than or equal to a first threshold value and the corresponding payment application icon.
In one embodiment, the hiding module 410 is further configured to obtain a pressing event corresponding to the payment application icon; acquiring a pressure value and pressing time corresponding to a pressing event; and if the pressure value is greater than or equal to the second threshold value and the pressing event is greater than or equal to the preset time, hiding the payment application program icon and the corresponding payment icons.
In one embodiment, the payment module 406 is further configured to receive a push message, and obtain a message link corresponding to the push message; extracting a payment code from a payment page corresponding to the payment code icon; and generating a new payment page by using the payment code and the message link, and displaying the new payment page.
In one embodiment, a mobile terminal is provided, as shown in fig. 5, which includes a processor, a non-volatile storage medium, an internal memory and a network interface, a camera, a display screen, and an input device connected through a system bus. Wherein the processor is configured to provide computational and control capabilities. The memory includes a nonvolatile storage medium, an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The computer readable instructions, when executed by the processor, implement a mobile payment method. The network interface is used for network communication with an external network port. The camera can scan and shoot. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device can be a touch layer covered on the display screen. The terminal can be a mobile phone, a tablet computer or a personal digital assistant and the like. The processor, when executing the computer readable instructions, may perform the steps of: acquiring a trigger event corresponding to the payment icon in the floating window; the payment icon corresponds to a payment application; responding to a trigger event, and acquiring a page identifier corresponding to the payment icon; and entering a payment page in the payment application program according to the page identification so that the payment application program responds to the operation in the payment page to pay.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal to which the present application is applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the processor, when executing the computer readable instructions, further performs the steps of:
counting triggering events corresponding to the plurality of payment icons according to a preset frequency;
acquiring a payment icon with the largest number of trigger event statistics;
and arranging the payment icon with the maximum number of trigger event statistics corresponding to the payment application program icon in the first row of the floating window for displaying.
In one embodiment, the processor, when executing the computer readable instructions, further performs the steps of:
acquiring a payment icon of which the triggering event statistic times are less than or equal to a first threshold;
and hiding the payment icon of which the triggering event statistic times are less than or equal to a first threshold value.
In one embodiment, the processor, when executing the computer readable instructions, further performs the steps of:
obtaining a pressing event corresponding to the payment application program icon;
acquiring a pressure value and pressing time corresponding to a pressing event;
and if the pressure value is greater than or equal to the second threshold value and the pressing event is greater than or equal to the preset time, hiding the payment application program icon and the corresponding payment icons.
In one embodiment, the processor, when executing the computer readable instructions, further performs the steps of:
receiving a push message, and acquiring a message link corresponding to the push message;
extracting a payment code from a payment page corresponding to the payment code icon;
and generating a new payment page by using the payment code and the message link, and displaying the new payment page.
In one embodiment, one or more computer-readable non-transitory storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of:
acquiring a trigger event corresponding to the payment icon in the floating window; the payment icon corresponds to a payment application;
responding to a trigger event, and acquiring a page identifier corresponding to the payment icon;
and entering a payment page in the payment application program according to the page identification so that the payment application program responds to the operation in the payment page to pay.
In one embodiment, the computer readable instructions when executed by the processor further perform the steps of:
counting triggering events corresponding to the plurality of payment icons according to a preset frequency;
acquiring a payment icon with the largest number of trigger event statistics;
and arranging the payment icon with the maximum number of trigger event statistics corresponding to the payment application program icon in the first row of the floating window for displaying.
In one embodiment, the computer readable instructions when executed by the processor further perform the steps of:
acquiring a payment icon of which the triggering event statistic times are less than or equal to a first threshold;
and hiding the payment icon of which the triggering event statistic times are less than or equal to a first threshold value.
In one embodiment, the computer readable instructions when executed by the processor further perform the steps of:
obtaining a pressing event corresponding to the payment application program icon;
acquiring a pressure value and pressing time corresponding to a pressing event;
and if the pressure value is greater than or equal to the second threshold value and the pressing event is greater than or equal to the preset time, hiding the payment application program icon and the corresponding payment icons.
In one embodiment, the computer readable instructions when executed by the processor further perform the steps of:
receiving a push message, and acquiring a message link corresponding to the push message;
extracting a payment code from a payment page corresponding to the payment code icon;
and generating a new payment page by using the payment code and the message link, and displaying the new payment page.
It will be understood by those of ordinary skill in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware associated with computer readable instructions, which can be stored in a non-volatile computer readable storage medium, and when executed, can include processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.