WO2020243940A1 - Transaction interface control method, electronic transaction device, and storage medium - Google Patents

Transaction interface control method, electronic transaction device, and storage medium Download PDF

Info

Publication number
WO2020243940A1
WO2020243940A1 PCT/CN2019/090273 CN2019090273W WO2020243940A1 WO 2020243940 A1 WO2020243940 A1 WO 2020243940A1 CN 2019090273 W CN2019090273 W CN 2019090273W WO 2020243940 A1 WO2020243940 A1 WO 2020243940A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
area
sliding
sliding operation
graphic
Prior art date
Application number
PCT/CN2019/090273
Other languages
French (fr)
Chinese (zh)
Inventor
刘贞平
鲜丹
柳彤
朱大卫
汤慧秀
于方浦
周诗松
叶智星
秦海珊
马绍轩
Original Assignee
深圳海付移通科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳海付移通科技有限公司 filed Critical 深圳海付移通科技有限公司
Priority to CN201980010279.2A priority Critical patent/CN111801648A/en
Priority to PCT/CN2019/090273 priority patent/WO2020243940A1/en
Publication of WO2020243940A1 publication Critical patent/WO2020243940A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device

Definitions

  • This application relates to the technical field of electronic transactions, in particular to a method for controlling a transaction interface, an electronic transaction device, and a storage medium.
  • users can use a variety of payment methods to conduct transactions, including scanning, QR code for payment, and QR code for payment.
  • payment methods including scanning, QR code for payment, and QR code for payment.
  • users can switch according to the transaction method required by the merchant.
  • the current switching method is cumbersome and inconvenient for users to operate.
  • the main problem to be solved by this application is to provide a method for controlling a transaction interface, an electronic transaction device, and a storage medium, which can simplify the switching operation of transaction methods and improve the efficiency of electronic transactions.
  • the technical solution adopted in this application is to provide a method for controlling a transaction interface.
  • the transaction interface includes a first area and a second area.
  • the first area is used to display buttons for multiple transaction methods, and the second area It is used to display the graph of the first transaction method among multiple transaction methods.
  • the control method includes: acquiring the sliding operation in the set area; determining the sliding direction of the sliding operation; when the sliding direction of the sliding operation meets the first preset requirement, Switch the graphics of the first transaction method displayed in the second area to the graphics of the second transaction method; wherein the order of the buttons of the first transaction method and the buttons of the second transaction method is related to the sliding direction of the sliding operation .
  • the step of obtaining the sliding operation in the set area includes: when the single-touch signal is obtained, recording the coordinates of the first touch point at that time; and continuously monitoring the single-touch signal until the single-touch signal At the end, the coordinates of the second touch point corresponding to the last single-touch signal are recorded; the step of determining the sliding direction of the sliding operation includes: calculating the sliding direction based on the coordinates of the first touch point and the coordinates of the second touch point The sliding direction of the operation.
  • the step of switching the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode includes: determining whether the sliding direction of the sliding operation is Within the preset range; if yes, switch the graph corresponding to the first transaction method to the graph corresponding to the second transaction method.
  • the step of switching the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode includes: based on a leftward sliding operation, Switch the graphic corresponding to the first transaction method to the graphic corresponding to the second transaction method; wherein the button of the second transaction method is located to the right of the button of the first transaction method.
  • the step of switching the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode includes: based on the sliding operation to the right, Switch the graphic corresponding to the first transaction method to the graphic corresponding to the second transaction method; wherein the button of the second transaction method is located on the left side of the button of the first transaction method.
  • the method further includes: when the second area does not display any graphics corresponding to the transaction method, obtaining the sliding operation in the set area; determining the sliding direction of the sliding operation; when the sliding direction of the sliding operation meets the second preset requirement , In the second area, a graph corresponding to one of the multiple trading methods is displayed.
  • the method further includes: when the sliding direction of the sliding operation meets the third preset requirement, switching the graphic corresponding to the transaction method displayed in the second area to the setting function menu graphic.
  • the method further includes: obtaining the click and touch operation in the first area; judging whether the click and touch operation corresponds to the set range of the button of the target transaction method; if so, the first transaction method displayed in the second area To switch to the target trading method.
  • the method further includes: judging whether the click and touch operation corresponds to the set range of the buttons of the two target transaction methods; if so, the second area displayed in the second area
  • the graph of a trading mode is switched to the graphs of two target trading modes, wherein the graphs of the two target trading modes are displayed in the second area.
  • the graphics of multiple transaction methods include at least two of the payment QR code graphics, the payment QR code graphics, and the scan code graphics.
  • a floating button is displayed on the trading interface; when the touch operation of clicking the floating button is obtained, the trading interface of the current application is exited, and the trading interface of another application corresponding to the floating button is jumped to.
  • another technical solution adopted by this application is to provide electronic transaction equipment, which includes: a display screen for displaying a transaction interface; a memory for storing program data; and a processor for executing programs Data to achieve the above-mentioned control method.
  • Another technical solution adopted in this application is to provide a computer storage medium for storing program data, which when executed by a processor, is used to implement the above-mentioned control method.
  • an electronic transaction device which includes: a display module for displaying a transaction interface; wherein the transaction interface includes a first area and a second area, The first area is used to display the buttons of multiple transaction methods, the second area is used to display the graphics of the first transaction method among the multiple transaction methods; the acquisition module is used to acquire the sliding operation in the set area; the determination module uses To determine the sliding direction of the sliding operation; the switching module is used to switch the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode when the sliding direction of the sliding operation meets the first preset requirement; The sequence of the buttons of the first transaction method and the buttons of the second transaction method is related to the sliding direction of the sliding operation.
  • the beneficial effect of this application is: different from the prior art, generally requires the user to click the corresponding transaction button to enter the corresponding transaction interface; the transaction graph is displayed in full screen, how to switch, you need to exit the transaction graph Display the interface, and then click the other trading method buttons.
  • the transaction graph is only displayed in the second area, and the multiple buttons in the first area remain unchanged, the user can determine his sliding direction through the order of the buttons, which improves the convenience of operation and improves the efficiency of the transaction.
  • FIG. 1 is a first flowchart of a method for controlling a transaction interface provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a first operation interface provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of touch coordinates provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a second operation interface provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a second flow of a method for controlling a transaction interface provided by an embodiment of the present application
  • Fig. 6 is a schematic diagram of a third operation interface provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a fourth operation interface provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a third process of a control method provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a fourth flow of a control method provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a fifth flow of a control method provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a fifth operation interface provided by an embodiment of the present application.
  • FIG. 12 is a first structural diagram of an electronic transaction device provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of a second structure of an electronic transaction device provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a computer storage medium provided by an embodiment of the present application.
  • Fig. 1 is a first flowchart of a method for controlling a transaction interface provided by an embodiment of the present application, and the method includes:
  • Step 11 When the graphics corresponding to any transaction method is not displayed in the second area, obtain the sliding operation in the set area.
  • FIG. 2 is a schematic diagram of a first operation interface provided by an embodiment of the present application.
  • the first operation interface 20a includes a first area 21 and a second area 22, and the box in FIG. 2 represents a button icon.
  • the first area 21 is used to display buttons of multiple transaction methods
  • the second area 22 is used to display function menus.
  • the transaction method may include payment code (Pay), scan (Sacn), and collection code (Collect).
  • Payment payment code
  • scan Scn
  • Collection code Collection code
  • the payment code and collection code can be QR codes, barcodes, etc., which are not required here.
  • the function menu may include buttons related to financial transactions such as transactions, transfers, and red envelopes, buttons related to financial management such as periodical, fund, and stocks, and buttons related to life services such as mobile phone recharge and utility bill payment.
  • buttons related to financial transactions such as transactions, transfers, and red envelopes
  • buttons related to financial management such as periodical, fund, and stocks
  • buttons related to life services such as mobile phone recharge and utility bill payment.
  • some news, advertisements and other information may also be displayed in the second area 22.
  • buttons such as a search bar can be set above the first area 21.
  • buttons may be displayed at the bottom of the second area 22, which may include "Home”, “Financial”, “Find”, and “Me”.
  • Step 12 Determine the sliding direction of the sliding operation.
  • step 11 can specifically be: when the single-point touch signal is acquired, record the coordinates of the first touch point at this time; continue to monitor the single-point touch signal until the single-point touch signal ends, record the last single point The coordinates of the second touch point corresponding to the touch signal.
  • step 12 may specifically be: calculating the sliding direction of the sliding operation based on the coordinates of the first touch point and the coordinates of the second touch point.
  • FIG. 3 is a schematic diagram of touch coordinates provided by an embodiment of the present application.
  • the direction of the sliding track on a certain coordinate can be calculated by subtracting the coordinates. For example, to determine whether the sliding trajectory is to the left or right, you can determine the positive and negative conditions of x2-x1. To determine whether the sliding trajectory is up or down, you can determine the positive and negative conditions of y2-y1. .
  • the sliding direction is determined to be upward
  • the sliding direction is determined to be the left
  • the sliding direction is determined to be the left
  • the sliding direction is determined that the sliding direction is down
  • the sliding direction is right.
  • the angle between the AB line and X or Y in the coordinate system can also be determined according to the coordinates of the first touch point A and the second touch point B, and the sliding direction can be determined according to the size of the angle.
  • Step 13 When the sliding direction of the sliding operation meets the second preset requirement, a graphic corresponding to one of the multiple transaction methods is displayed in the second area.
  • the second preset requirement is to slide down.
  • FIG. 4 is a schematic diagram of a second operation interface provided by an embodiment of the present application.
  • the second operation interface 20b includes a first area 21 and a second area 22.
  • the first area 21 is used to display buttons of multiple transaction methods
  • the second area 22 is used to display graphics of the first transaction method among the multiple transaction methods.
  • the search bar on the first area 21 can be omitted on the second operation interface 20b, and the first area 21 can be moved up.
  • the transaction method may include a payment code (Pay), a scan (Sacn), and a collection code (Collect), and the corresponding payment code graphic, scan interface or collection code graphic is displayed in the second area 22.
  • the payment code and collection code can be QR codes, barcodes, etc., which are not required here.
  • the transaction graph displayed in the second area 22 on the second operation interface 20b corresponds to the clicked transaction method button .
  • the transaction graph displayed in the second area 22 on the second operation interface 20b can be a graph that randomly corresponds to any transaction method, or the default Set the graph of the trading method, or display the graph of the last used trading method based on the user's historical usage records, or display the graph of the most frequently used trading method.
  • FIG. 5 is a schematic diagram of a second flow of a method for controlling a transaction interface provided by an embodiment of the present application, and the method includes:
  • Step 51 Obtain the sliding operation in the set area.
  • Step 52 Determine the sliding direction of the sliding operation.
  • Step 53 When the sliding direction of the sliding operation meets the first preset requirement, switch the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode.
  • the sequence of the buttons of the first transaction method and the buttons of the second transaction method is related to the sliding direction of the sliding operation.
  • step 53 may specifically be: based on a leftward sliding operation, switch the graphic corresponding to the first transaction method to the graphic corresponding to the second transaction method; wherein, the button of the second transaction method Located to the right of the button of the first transaction method.
  • FIG. 6 is a schematic diagram of a third operation interface provided by an embodiment of the present application.
  • the third operation interface 20c includes a first area 21 and a second area 22.
  • the first area 21 is used to display buttons of multiple transaction methods
  • the second area 22 is used to display graphics of the first transaction method among the multiple transaction methods.
  • the payment code (Pay), scan (Sacn) and collection code (Collect) in the first area 21 are arranged in order from left to right, and the second area 22 of the second operation interface 20b displays The graph corresponding to the payment code (Pay) (see Figure 4).
  • a graphic corresponding to a scan (Sacn) is displayed in the second area 22 of the second operation interface 20b (see FIG. 6).
  • the graphic corresponding to the scan is the image preview interface collected by the camera.
  • a graphic collection frame can be displayed in the preview interface, and the user can align the graphic collection frame with the two-dimensional code or barcode to be scanned by moving the electronic transaction device to realize the transaction.
  • FIG. 7 is a schematic diagram of a fourth operation interface provided by an embodiment of the present application.
  • the fourth operation interface 20d includes a first area 21 and a second area 22.
  • the first area 21 is used to display buttons of multiple transaction methods
  • the second area 22 is used to display graphics of the first transaction method among the multiple transaction methods.
  • the payment code (Pay), scan (Sacn) and collection code (Collect) in the first area 21 are arranged in order from left to right, and the second area 22 of the second operation interface 20b displays Scan the corresponding graph (Sacn) ( Figure 6).
  • the graph corresponding to the collection code (Collect) is displayed in the second area 22 of the second operation interface 20b (as shown in FIG. 7).
  • step 53 may specifically be: based on a sliding operation to the right, switch the graphic corresponding to the first transaction method to the graphic corresponding to the second transaction method;
  • the button is located to the left of the button of the first transaction method.
  • the second area 22 displays the graph corresponding to the collection code (Collect) (as shown in FIG. 7).
  • the graphic corresponding to the scan (Sacn) is displayed in the second area 22 (as shown in FIG. 6).
  • the second area 22 displays a graphic corresponding to a scan (Sacn) (see FIG. 6).
  • a graphic corresponding to the payment code (Pay) is displayed in the second area 22 (as shown in FIG. 4).
  • the user In the prior art, the user generally needs to click the corresponding transaction method button to enter the corresponding transaction interface.
  • the transaction graph is displayed on a full screen. To switch, it is necessary to exit the transaction graphic display interface and then click other transaction method buttons. In the embodiment of the present application, by sliding left or right, the transaction mode can be conveniently switched. Moreover, since the transaction graph is only displayed in the second area, and the multiple buttons in the first area remain unchanged, the user can determine his sliding direction through the order of the buttons, which improves the convenience of operation and improves the efficiency of the transaction.
  • FIG. 8 is a schematic diagram of a third flow of a control method provided by an embodiment of the present application, and the method includes:
  • Step 81 Obtain the sliding operation in the set area.
  • Step 82 Determine the sliding direction of the sliding operation.
  • Step 83 When the sliding direction of the sliding operation meets the third preset requirement, switch the graphic corresponding to the transaction method displayed in the second area to the setting function menu graphic.
  • the third preset requirement may be to slide upward.
  • the operation interface 20a (as shown in Fig. 2) is generally performed after the transaction is suspended or completed.
  • a prompt of sliding upward may be displayed at the bottom of the second operation interface 20b, the third operation interface 20c, and the fourth operation interface 20d, such as "Go back to see more".
  • FIG. 9 is a schematic diagram of a fourth flow of a control method provided by an embodiment of the present application, and the method includes:
  • Step 91 Obtain the click and touch operation in the first area.
  • Step 92 It is judged whether the click touch operation corresponds to the set range of the buttons of the two target transaction methods.
  • step 93 is executed. If the click operation only corresponds to the setting range of the button of one target transaction method, the graphics of the first transaction method displayed in the second area are switched to the graphics of the target transaction method.
  • Step 93 Switch the graphics of the first transaction mode displayed in the second area to the graphics of the two target transaction modes, wherein the graphics of the two target transaction modes are displayed in the second area.
  • two graphics can be displayed in the second area 22 at the same time.
  • the area 22 displays two QR codes at the same time, which can be operated by multiple users at the same time, for example, to realize payment and collection at the same time.
  • FIG. 10 is a schematic diagram of a fifth flow of a control method provided by an embodiment of the present application, and the method includes:
  • Step 101 Display a floating button on the transaction interface.
  • FIG. 11 is a schematic diagram of a fifth operation interface provided by an embodiment of the present application.
  • the fifth operation interface 20e is similar to the second operation interface 20b, and includes a first area 21 and a second area 22.
  • the floating button 22a can be displayed in an area that does not block the QR code in the second area 22, wherein the pattern of the floating button 22a can be an application icon or a text prompt of the corresponding application name, for example
  • the text "Z" displayed on the floating button 22a indicates that it is a floating button corresponding to the Z application.
  • buttons 22a in this embodiment may be multiple, corresponding to different applications.
  • Step 102 When the touch operation of clicking the floating button is acquired, exit the transaction interface of the current application and jump to the transaction interface of another application corresponding to the floating button.
  • FIG. 12 is a first structural diagram of an electronic transaction device provided by an embodiment of the present application.
  • the electronic transaction device 120 includes a processor 121, a memory 122 and a display screen 123 connected to the processor 121 via a bus.
  • the camera may include a camera 124 and a communication module 125 connected to the processor 121 via a bus.
  • the display screen 123 is used to display the transaction interface
  • the camera 123 is used to collect two-dimensional code or bar code graphics
  • the communication module 125 is used to transmit transaction data with the financial server.
  • the memory 122 is used to store program data, and the processor 121 is used to execute the program data to implement the following method steps:
  • the first area and the second area are displayed on the trading interface.
  • the first area contains buttons for multiple trading methods, and the second area is used to display the graphics of the first trading method among the multiple trading methods; obtain the sliding operation in the set area ; Determine the sliding direction of the sliding operation; when the sliding direction of the sliding operation meets the first preset requirement, switch the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode; wherein, the first transaction
  • the arrangement order of the buttons of the method and the buttons of the second transaction method is related to the sliding direction of the sliding operation.
  • the processor 121 used to execute the program data is also used to implement the following method steps: based on a leftward sliding operation, switch the graphics corresponding to the first transaction mode to the graphics corresponding to the second transaction mode; wherein, The button of the second transaction method is located to the right of the button of the first transaction method.
  • the processor 121 used to execute the program data is also used to implement the following method steps: based on a sliding operation to the right, switch the graphics corresponding to the first transaction mode to the graphics corresponding to the second transaction mode; wherein, The button of the second transaction method is located to the left of the button of the first transaction method.
  • the processor 121 is configured to execute the program data to implement the following method steps: when the second area does not display any graphics corresponding to the transaction method, obtain the sliding operation in the set area; determine the sliding operation of the sliding operation Direction; when the sliding direction of the sliding operation meets the second preset requirement, a graphic corresponding to one of the multiple transaction methods is displayed in the second area.
  • the processor 121 is configured to execute the program data to implement the following method steps: when the sliding direction of the sliding operation meets the third preset requirement, switch the graphics corresponding to the transaction mode displayed in the second area To set the function menu graphic.
  • the electronic transaction device 130 includes a display module 131, an acquisition module 132, a determination module 133 and a switching module 134.
  • the display module 131 is used to display the transaction interface; wherein, the transaction interface includes a first area and a second area, the first area contains buttons for multiple transaction methods, and the second area is used to display the first transaction among the multiple transaction methods.
  • the obtaining module 132 is used to obtain the sliding operation in the set area; the determining module 133 is used to determine the sliding direction of the sliding operation; the switching module 134 is used to change the sliding direction of the sliding operation to the first preset requirement.
  • the graphics of the first transaction method displayed in the second area are switched to the graphics of the second transaction method; wherein the sequence of the buttons of the first transaction method and the buttons of the second transaction method is related to the sliding direction of the sliding operation.
  • FIG. 14 is a schematic structural diagram of a computer storage medium provided by an embodiment of the present application.
  • the computer storage medium 140 stores program data 141.
  • the program data 141 is used to implement the following method steps when executed by a processor :
  • the first area and the second area are displayed on the trading interface.
  • the first area contains buttons for multiple trading methods, and the second area is used to display the graphics of the first trading method among the multiple trading methods; obtain the sliding operation in the set area ; Determine the sliding direction of the sliding operation; when the sliding direction of the sliding operation meets the first preset requirement, switch the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode; wherein, the first transaction
  • the arrangement order of the buttons of the method and the buttons of the second transaction method is related to the sliding direction of the sliding operation.
  • the program data 141 when executed by the processor, it is also used to implement the following method steps: based on a leftward sliding operation, switch the graphics corresponding to the first transaction mode to the graphics corresponding to the second transaction mode; Among them, the button of the second transaction method is located to the right of the button of the first transaction method.
  • the program data 141 when executed by the processor, it is also used to implement the following method steps: based on a sliding operation to the right, switch the graphics corresponding to the first transaction mode to the graphics corresponding to the second transaction mode; Among them, the button of the second transaction method is located to the left of the button of the first transaction method.
  • the program data 141 when executed by the processor, it is also used to implement the following method steps: when the second area does not display any graphics corresponding to the transaction method, obtain the sliding operation in the set area; determine the sliding operation When the sliding direction of the sliding operation meets the second preset requirement, a graphic corresponding to one of the multiple transaction methods is displayed in the second area.
  • the program data 141 when executed by the processor, it is also used to implement the following method steps: when the sliding direction of the sliding operation meets the third preset requirement, the graphic corresponding to the transaction method displayed in the second area To switch to the setting function menu graphic.
  • the disclosed method and device may be implemented in other ways.
  • the device implementation described above is merely illustrative.
  • the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be Combined or can be integrated into another system, or some features can be ignored or not implemented.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of this embodiment.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated units in the other embodiments described above are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided are a transaction interface (20a, 20b, 20c, 20d, 20e) control method, an electronic transaction device (120, 130), and a storage medium (140); the transaction interface (20a, 20b, 20c, 20d, 20e) comprises a first region (21) and a second region (22); the first region (21) contains buttons for various transaction means; the second region (22) is used for displaying a graphic of the first transaction means among the various transaction means; said control method comprises: obtaining a slide operation in a set region; determining the direction of sliding of the slide operation; if the direction of sliding of the slide operation meets a first preset requirement, then switching the graphic of the first transaction means displayed in the second region (22) to the graphic of the second transaction means; the order of the button of the first transaction means the button of the second transaction means are associated with the direction of sliding of the slide operation. By the described means, it is possible to simplify a transaction means switching operation, improving the efficiency of electronic transactions.

Description

一种交易界面的控制方法、电子交易设备、存储介质Method for controlling transaction interface, electronic transaction equipment and storage medium 【技术领域】【Technical Field】
本申请涉及电子交易技术领域,具体涉及一种交易界面的控制方法、电子交易设备、存储介质。This application relates to the technical field of electronic transactions, in particular to a method for controlling a transaction interface, an electronic transaction device, and a storage medium.
【背景技术】【Background technique】
当前,移动支付越来越流行,相比于以前消费者携带各种银行卡、会员卡,消费者越来越倾向于仅仅就携带一个移动交易设备,如手机,智能手表等。通过在手机中安装移动支付应用程序,通过该应用程序来完成支付、收款、转账等。At present, mobile payment is becoming more and more popular. Compared with the previous consumers carrying various bank cards and membership cards, consumers are more and more inclined to carry only one mobile transaction device, such as mobile phones, smart watches, etc. By installing a mobile payment application in the mobile phone, payment, collection, transfer, etc. can be completed through the application.
在使用移动支付过程中,用户可以采用多种支付方式进行交易,包括扫一扫、付款二维码、收款二维码等。一般情况下,用户可以根据商户所要求的交易方式进行切换。但是目前的切换方式较为繁琐,用户操作不方便。In the process of using mobile payment, users can use a variety of payment methods to conduct transactions, including scanning, QR code for payment, and QR code for payment. Generally, users can switch according to the transaction method required by the merchant. However, the current switching method is cumbersome and inconvenient for users to operate.
【发明内容】[Content of the invention]
本申请主要解决的问题是提供一种交易界面的控制方法、电子交易设备、存储介质,能够简化交易方式的切换操作,提高电子交易的效率。The main problem to be solved by this application is to provide a method for controlling a transaction interface, an electronic transaction device, and a storage medium, which can simplify the switching operation of transaction methods and improve the efficiency of electronic transactions.
为解决上述技术问题,本申请采用的技术方案是提供一种交易界面的控制方法,该交易界面包括第一区域和第二区域,第一区域用于显示多种交易方式的按钮,第二区域用于显示多种交易方式中的第一交易方式的图形,控制方法包括:获取设定区域内的滑动操作;确定滑动操作的滑动方向;在滑动操作的滑动方向满足第一预设要求时,将第二区域中显示的第一交易方式的图形,切换至第二交易方式的图形;其中,第一交易方式的按钮和第二交易方式的按钮的排列顺序,与滑动操作的滑动方向相关联。In order to solve the above technical problems, the technical solution adopted in this application is to provide a method for controlling a transaction interface. The transaction interface includes a first area and a second area. The first area is used to display buttons for multiple transaction methods, and the second area It is used to display the graph of the first transaction method among multiple transaction methods. The control method includes: acquiring the sliding operation in the set area; determining the sliding direction of the sliding operation; when the sliding direction of the sliding operation meets the first preset requirement, Switch the graphics of the first transaction method displayed in the second area to the graphics of the second transaction method; wherein the order of the buttons of the first transaction method and the buttons of the second transaction method is related to the sliding direction of the sliding operation .
其中,获取设定区域内的滑动操作的步骤,包括:在获取到单点触控信号时,记录此时第一触控点的坐标;持续监听单点触控信号,直到单点触控信号结束时,记录最后单点触控信号对应的第二触控点的坐 标;确定滑动操作的滑动方向的步骤,包括:基于第一触控点的坐标和第二触控点的坐标,计算滑动操作的滑动方向。Wherein, the step of obtaining the sliding operation in the set area includes: when the single-touch signal is obtained, recording the coordinates of the first touch point at that time; and continuously monitoring the single-touch signal until the single-touch signal At the end, the coordinates of the second touch point corresponding to the last single-touch signal are recorded; the step of determining the sliding direction of the sliding operation includes: calculating the sliding direction based on the coordinates of the first touch point and the coordinates of the second touch point The sliding direction of the operation.
其中,在滑动操作的滑动方向满足第一预设要求时,将第二区域中显示的第一交易方式的图形,切换至第二交易方式的图形的步骤,包括:判断滑动操作的滑动方向是否在预设范围内;若是,则将第一交易方式对应的图形,切换至第二交易方式对应的图形。Wherein, when the sliding direction of the sliding operation meets the first preset requirement, the step of switching the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode includes: determining whether the sliding direction of the sliding operation is Within the preset range; if yes, switch the graph corresponding to the first transaction method to the graph corresponding to the second transaction method.
其中,在滑动操作的滑动方向满足第一预设要求时,将第二区域中显示的第一交易方式的图形,切换至第二交易方式的图形的步骤,包括:基于向左的滑动操作,将第一交易方式对应的图形,切换至第二交易方式对应的图形;其中,第二交易方式的按钮位于第一交易方式的按钮的右侧。Wherein, when the sliding direction of the sliding operation meets the first preset requirement, the step of switching the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode includes: based on a leftward sliding operation, Switch the graphic corresponding to the first transaction method to the graphic corresponding to the second transaction method; wherein the button of the second transaction method is located to the right of the button of the first transaction method.
其中,在滑动操作的滑动方向满足第一预设要求时,将第二区域中显示的第一交易方式的图形,切换至第二交易方式的图形的步骤,包括:基于向右的滑动操作,将第一交易方式对应的图形,切换至第二交易方式对应的图形;其中,第二交易方式的按钮位于第一交易方式的按钮的左侧。Wherein, when the sliding direction of the sliding operation meets the first preset requirement, the step of switching the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode includes: based on the sliding operation to the right, Switch the graphic corresponding to the first transaction method to the graphic corresponding to the second transaction method; wherein the button of the second transaction method is located on the left side of the button of the first transaction method.
其中,该方法还包括:在第二区域未显示任何交易方式对应的图形时,获取设定区域内的滑动操作;确定滑动操作的滑动方向;在滑动操作的滑动方向满足第二预设要求时,在第二区域中显示多种交易方式中的一种交易方式对应的图形。Wherein, the method further includes: when the second area does not display any graphics corresponding to the transaction method, obtaining the sliding operation in the set area; determining the sliding direction of the sliding operation; when the sliding direction of the sliding operation meets the second preset requirement , In the second area, a graph corresponding to one of the multiple trading methods is displayed.
其中,该方法还包括:在滑动操作的滑动方向满足第三预设要求时,将第二区域中显示的交易方式对应的图形,切换至设定功能菜单图形。Wherein, the method further includes: when the sliding direction of the sliding operation meets the third preset requirement, switching the graphic corresponding to the transaction method displayed in the second area to the setting function menu graphic.
其中,该方法还包括:获取在第一区域的点击触控操作;判断点击触控操作是否对应目标交易方式的按钮的设定范围内;若是,则将第二区域中显示的第一交易方式的图形,切换至目标交易方式的图形。Wherein, the method further includes: obtaining the click and touch operation in the first area; judging whether the click and touch operation corresponds to the set range of the button of the target transaction method; if so, the first transaction method displayed in the second area To switch to the target trading method.
其中,获取在第一区域的点击触控操作的步骤之后,还包括:判断点击触控操作是否对应两个目标交易方式的按钮的设定范围内;若是,则将第二区域中显示的第一交易方式的图形,切换至两个目标交易方式的图形,其中,两个目标交易方式的图形在第二区域中分区显示。Wherein, after the step of acquiring the click and touch operation in the first area, the method further includes: judging whether the click and touch operation corresponds to the set range of the buttons of the two target transaction methods; if so, the second area displayed in the second area The graph of a trading mode is switched to the graphs of two target trading modes, wherein the graphs of the two target trading modes are displayed in the second area.
其中,多种交易方式的图形包括付款二维码图形、收款二维码图形、扫码图形中的至少两种。Among them, the graphics of multiple transaction methods include at least two of the payment QR code graphics, the payment QR code graphics, and the scan code graphics.
其中,在交易界面显示一悬浮按钮;在获取到点击悬浮按钮的触控操作时,退出当前应用程序的交易界面,并跳转至与悬浮按钮对应的另一应用程序的交易界面。Among them, a floating button is displayed on the trading interface; when the touch operation of clicking the floating button is obtained, the trading interface of the current application is exited, and the trading interface of another application corresponding to the floating button is jumped to.
为解决上述技术问题,本申请采用的另一技术方案是提供电子交易设备,该电子交易设备包括:显示屏,用于显示交易界面;存储器,用于存储程序数据;处理器,用于执行程序数据,以实现如上述控制方法。In order to solve the above technical problems, another technical solution adopted by this application is to provide electronic transaction equipment, which includes: a display screen for displaying a transaction interface; a memory for storing program data; and a processor for executing programs Data to achieve the above-mentioned control method.
为解决上述技术问题,本申请采用的另一技术方案是提供一种计算机存储介质,用于存储程序数据,该程序数据在被处理器执行时,用于实现如上述的控制方法。In order to solve the above technical problem, another technical solution adopted in this application is to provide a computer storage medium for storing program data, which when executed by a processor, is used to implement the above-mentioned control method.
为解决上述技术问题,本申请采用的另一技术方案是提供一种电子交易设备,该电子交易设备包括:显示模块,用于显示交易界面;其中,交易界面包括第一区域和第二区域,第一区域用于显示多种交易方式的按钮,第二区域用于显示多种交易方式中的第一交易方式的图形;获取模块,用于获取设定区域内的滑动操作;确定模块,用于确定滑动操作的滑动方向;切换模块,用于在滑动操作的滑动方向满足第一预设要求时,将第二区域中显示的第一交易方式的图形,切换至第二交易方式的图形;其中,第一交易方式的按钮和第二交易方式的按钮的排列顺序,与滑动操作的滑动方向相关联。In order to solve the above technical problems, another technical solution adopted in this application is to provide an electronic transaction device, which includes: a display module for displaying a transaction interface; wherein the transaction interface includes a first area and a second area, The first area is used to display the buttons of multiple transaction methods, the second area is used to display the graphics of the first transaction method among the multiple transaction methods; the acquisition module is used to acquire the sliding operation in the set area; the determination module uses To determine the sliding direction of the sliding operation; the switching module is used to switch the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode when the sliding direction of the sliding operation meets the first preset requirement; The sequence of the buttons of the first transaction method and the buttons of the second transaction method is related to the sliding direction of the sliding operation.
通过上述方案,本申请的有益效果是:区别于现有技术中,一般需要用户点击相应的交易方式按钮,进入相应的交易界面;交易图形是全屏显示的,如何要进行切换,需要退出交易图形显示界面,再点击其他的交易方式按钮。本申请的实施例中,通过向左或者向右的滑动操作,可以方便的进行交易方式的切换。并且,由于交易图形只显示在第二区域,第一区域的多个按钮不变,用户可以通过按钮的顺序来确定自己的滑动方向,提高了操作的便捷性,提高了交易的效率。Through the above solution, the beneficial effect of this application is: different from the prior art, generally requires the user to click the corresponding transaction button to enter the corresponding transaction interface; the transaction graph is displayed in full screen, how to switch, you need to exit the transaction graph Display the interface, and then click the other trading method buttons. In the embodiment of the present application, by sliding left or right, it is convenient to switch the transaction mode. Moreover, since the transaction graph is only displayed in the second area, and the multiple buttons in the first area remain unchanged, the user can determine his sliding direction through the order of the buttons, which improves the convenience of operation and improves the efficiency of the transaction.
【附图说明】【Explanation of drawings】
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。其中:In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative work. among them:
图1是本申请实施例提供的交易界面的控制方法的第一流程示意图;FIG. 1 is a first flowchart of a method for controlling a transaction interface provided by an embodiment of the present application;
图2是本申请实施例提供的第一操作界面示意图;2 is a schematic diagram of a first operation interface provided by an embodiment of the present application;
图3是本申请实施例提供的触控坐标示意图;FIG. 3 is a schematic diagram of touch coordinates provided by an embodiment of the present application;
图4是本申请实施例提供的第二操作界面示意图;4 is a schematic diagram of a second operation interface provided by an embodiment of the present application;
图5是本申请实施例提供的交易界面的控制方法的第二流程示意图;FIG. 5 is a schematic diagram of a second flow of a method for controlling a transaction interface provided by an embodiment of the present application;
图6是本申请实施例提供的第三操作界面示意图;Fig. 6 is a schematic diagram of a third operation interface provided by an embodiment of the present application;
图7是本申请实施例提供的第四操作界面示意图;FIG. 7 is a schematic diagram of a fourth operation interface provided by an embodiment of the present application;
图8是本申请实施例提供的控制方法的第三流程示意图;FIG. 8 is a schematic diagram of a third process of a control method provided by an embodiment of the present application;
图9是本申请实施例提供的控制方法的第四流程示意图;FIG. 9 is a schematic diagram of a fourth flow of a control method provided by an embodiment of the present application;
图10是本申请实施例提供的控制方法的第五流程示意图;FIG. 10 is a schematic diagram of a fifth flow of a control method provided by an embodiment of the present application;
图11是本申请实施例提供的第五操作界面示意图;FIG. 11 is a schematic diagram of a fifth operation interface provided by an embodiment of the present application;
图12是本申请实施例提供的电子交易设备的第一结构示意图;FIG. 12 is a first structural diagram of an electronic transaction device provided by an embodiment of the present application;
图13是本申请实施例提供的电子交易设备的第二结构示意图;FIG. 13 is a schematic diagram of a second structure of an electronic transaction device provided by an embodiment of the present application;
图14是本申请实施例提供的计算机存储介质的结构示意图。FIG. 14 is a schematic structural diagram of a computer storage medium provided by an embodiment of the present application.
【具体实施方式】【Detailed ways】
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It can be understood that the specific embodiments described here are only used to explain the application, but not to limit the application. In addition, it should be noted that, for ease of description, the drawings only show a part of the structure related to the present application instead of all of the structure. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.
本申请中的术语“第一”、“第二”等是用于区别不同对象,而不 是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", etc. in this application are used to distinguish different objects, but not to describe a specific sequence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments.
参阅图1,图1是本申请实施例提供的交易界面的控制方法的第一流程示意图,该方法包括:Referring to Fig. 1, Fig. 1 is a first flowchart of a method for controlling a transaction interface provided by an embodiment of the present application, and the method includes:
步骤11:在第二区域未显示任何交易方式对应的图形时,获取设定区域内的滑动操作。Step 11: When the graphics corresponding to any transaction method is not displayed in the second area, obtain the sliding operation in the set area.
如图2所示,图2是本申请实施例提供的第一操作界面示意图。其中,该第一操作界面20a包括第一区域21和第二区域22,图2中的方框表示按钮图标。As shown in FIG. 2, FIG. 2 is a schematic diagram of a first operation interface provided by an embodiment of the present application. Wherein, the first operation interface 20a includes a first area 21 and a second area 22, and the box in FIG. 2 represents a button icon.
其中,第一区域21用于显示多种交易方式的按钮,第二区域22用于显示功能菜单。Among them, the first area 21 is used to display buttons of multiple transaction methods, and the second area 22 is used to display function menus.
可选地,交易方式可以包括付款码(Pay)、扫一扫(Sacn)以及收款码(Collect),用户点击相应的按钮,可以在第二区域22中显示相对应的交易图形,即,在第二区域22显示相应的付款码图形、扫一扫界面或者收款码图形。其中的付款码和收款码可以具体为二维码、条形码等,这里不作要求。Optionally, the transaction method may include payment code (Pay), scan (Sacn), and collection code (Collect). The user clicks the corresponding button to display the corresponding transaction graphic in the second area 22, that is, The corresponding payment code graphic, scan interface or payment code graphic is displayed in the second area 22. The payment code and collection code can be QR codes, barcodes, etc., which are not required here.
可选地,功能菜单可以包括与交易、转账、红包等金融交易相关的按钮,定期、基金、股票等理财相关的按钮,手机充值、水电费缴纳等生活服务相关的按钮。另外,第二区域22中也可以显示一些新闻、广告等信息。Optionally, the function menu may include buttons related to financial transactions such as transactions, transfers, and red envelopes, buttons related to financial management such as periodical, fund, and stocks, and buttons related to life services such as mobile phone recharge and utility bill payment. In addition, some news, advertisements and other information may also be displayed in the second area 22.
进一步,第一区域21的上方还可以设置搜索栏等其他按钮。Further, other buttons such as a search bar can be set above the first area 21.
进一步,第二区域22中的底部可以显示多个界面切换按钮,可以包括“首页(Home)”、“财务(Financial)”、“发现(Find)”、“我的(Me)”。Further, multiple interface switching buttons may be displayed at the bottom of the second area 22, which may include "Home", "Financial", "Find", and "Me".
步骤12:确定滑动操作的滑动方向。Step 12: Determine the sliding direction of the sliding operation.
其中,步骤11可以具体为:在获取到单点触控信号时,记录此时第一触控点的坐标;持续监听单点触控信号,直到单点触控信号结束时,记录最后单点触控信号对应的第二触控点的坐标。Wherein, step 11 can specifically be: when the single-point touch signal is acquired, record the coordinates of the first touch point at this time; continue to monitor the single-point touch signal until the single-point touch signal ends, record the last single point The coordinates of the second touch point corresponding to the touch signal.
其中,步骤12可以具体为:基于第一触控点的坐标和第二触控点的坐标,计算滑动操作的滑动方向。Wherein, step 12 may specifically be: calculating the sliding direction of the sliding operation based on the coordinates of the first touch point and the coordinates of the second touch point.
如图3所示,图3是本申请实施例提供的触控坐标示意图。As shown in FIG. 3, FIG. 3 is a schematic diagram of touch coordinates provided by an embodiment of the present application.
在获取到单点触控信号时,记录此时第一触控点A的坐标(x1,y1);持续监听单点触控信号,直到单点触控信号结束时,记录最后单点触控信号对应的第二触控点B的坐标(x2,y2)。When a single-touch signal is obtained, record the coordinates (x1, y1) of the first touch point A at this time; continue to monitor the single-touch signal until the single-touch signal ends, record the last single-touch The coordinates (x2, y2) of the second touch point B corresponding to the signal.
在一种实施例中,可以通过坐标的相减,计算在某一坐标上的滑动轨迹方向。例如,要判断该滑动轨迹是向左还是向右,可以通过计算x2-x1的正负情况来确定,要判断该滑动轨迹是向上还是向下,可以通过计算y2-y1的正负情况来确定。In an embodiment, the direction of the sliding track on a certain coordinate can be calculated by subtracting the coordinates. For example, to determine whether the sliding trajectory is to the left or right, you can determine the positive and negative conditions of x2-x1. To determine whether the sliding trajectory is up or down, you can determine the positive and negative conditions of y2-y1. .
在另一种实施例中,若要同时监听上述四种方向的滑动操作,可以通过以下方式:基于第一触控点A建立XAY直角坐标系,其中,AX与显示屏的上下边平行,AY与显示屏的左右边平行。将该直角坐标系的象限划分为如图3所示的八个区域,根据第二触控点B所在的区域来确定滑动方向。如下表所示:In another embodiment, if you want to monitor the sliding operations in the four directions at the same time, you can use the following method: establish an XAY rectangular coordinate system based on the first touch point A, where AX is parallel to the upper and lower sides of the display screen, and AY Parallel to the left and right sides of the display. The quadrants of the rectangular coordinate system are divided into eight areas as shown in FIG. 3, and the sliding direction is determined according to the area where the second touch point B is located. As shown in the following table:
区域area 滑动方向Sliding direction
②③②③ on
④⑤④⑤ left
⑥⑦⑥⑦ under
⑧①⑧① right
具体地,若第二触控点B位于区域②③,则确定滑动方向为上,若第二触控点B位于区域④⑤,则确定滑动方向为左,若第二触控点B位 于区域⑥⑦,则确定滑动方向为下,若第二触控点B位于区域⑧①,则确定滑动方向为右。Specifically, if the second touch point B is located in the area ②③, the sliding direction is determined to be upward, if the second touch point B is located in the area ④⑤, the sliding direction is determined to be the left, and if the second touch point B is located in the area ⑥⑦, It is determined that the sliding direction is down, and if the second touch point B is located in the area ⑧①, it is determined that the sliding direction is right.
另外,还可以根据第一触控点A和第二触控点B的坐标,确定AB连线与坐标系中X或者Y之间的夹角,根据夹角的大小来确定滑动方向。In addition, the angle between the AB line and X or Y in the coordinate system can also be determined according to the coordinates of the first touch point A and the second touch point B, and the sliding direction can be determined according to the size of the angle.
步骤13:在滑动操作的滑动方向满足第二预设要求时,在第二区域中显示多种交易方式中的一种交易方式对应的图形。Step 13: When the sliding direction of the sliding operation meets the second preset requirement, a graphic corresponding to one of the multiple transaction methods is displayed in the second area.
可选地,该第二预设要求为向下滑动。Optionally, the second preset requirement is to slide down.
如图4所示,图4是本申请实施例提供的第二操作界面示意图。其中,该第二操作界面20b包括第一区域21和第二区域22。As shown in FIG. 4, FIG. 4 is a schematic diagram of a second operation interface provided by an embodiment of the present application. Wherein, the second operation interface 20b includes a first area 21 and a second area 22.
其中,第一区域21用于显示多种交易方式的按钮,第二区域22用于显示多种交易方式中的第一交易方式的图形。通过对比图2和图4,可以在第二操作界面20b上省去第一区域21上的搜索栏等,将第一区域21上移。Among them, the first area 21 is used to display buttons of multiple transaction methods, and the second area 22 is used to display graphics of the first transaction method among the multiple transaction methods. By comparing FIG. 2 and FIG. 4, the search bar on the first area 21 can be omitted on the second operation interface 20b, and the first area 21 can be moved up.
可选地,交易方式可以包括付款码(Pay)、扫一扫(Sacn)以及收款码(Collect),在第二区域22显示相应的付款码图形、扫一扫界面或者收款码图形。其中的付款码和收款码可以具体为二维码、条形码等,这里不作要求。Optionally, the transaction method may include a payment code (Pay), a scan (Sacn), and a collection code (Collect), and the corresponding payment code graphic, scan interface or collection code graphic is displayed in the second area 22. The payment code and collection code can be QR codes, barcodes, etc., which are not required here.
可以理解地,若在第一操作界面20a点击第一区域21交易方式按钮,进入第二操作界面20b,则第二操作界面20b上的第二区域22显示的交易图形则对应点击的交易方式按钮。若在第一操作界面20a向下滑动操作,进入第二操作界面20b,则第二操作界面20b上的第二区域22显示的交易图形可以是随机对应任何一种交易方式的图形,或者默认的设定交易方式的图形,或者根据用户历史使用记录,显示上一次使用的交易方式的图形,亦或是显示使用频次最高的交易方式的图形。Understandably, if you click the transaction method button in the first area 21 on the first operation interface 20a to enter the second operation interface 20b, the transaction graph displayed in the second area 22 on the second operation interface 20b corresponds to the clicked transaction method button . If you swipe down on the first operation interface 20a to enter the second operation interface 20b, the transaction graph displayed in the second area 22 on the second operation interface 20b can be a graph that randomly corresponds to any transaction method, or the default Set the graph of the trading method, or display the graph of the last used trading method based on the user's historical usage records, or display the graph of the most frequently used trading method.
通过上述方式,可以通过简单的滑动操作,便捷的进入交易界面,并显示相关的交易图形,能够提高交易的效率。Through the above method, a simple sliding operation can be used to conveniently enter the transaction interface and display related transaction graphics, which can improve transaction efficiency.
参阅图5,图5是本申请实施例提供的交易界面的控制方法的第二流程示意图,该方法包括:Referring to FIG. 5, FIG. 5 is a schematic diagram of a second flow of a method for controlling a transaction interface provided by an embodiment of the present application, and the method includes:
步骤51:获取设定区域内的滑动操作。Step 51: Obtain the sliding operation in the set area.
步骤52:确定滑动操作的滑动方向。Step 52: Determine the sliding direction of the sliding operation.
本实施例中确定滑动方向的具体步骤可以参考上述实施例,这里不再赘述。For the specific steps of determining the sliding direction in this embodiment, reference may be made to the foregoing embodiment, which will not be repeated here.
步骤53:在滑动操作的滑动方向满足第一预设要求时,将第二区域中显示的第一交易方式的图形,切换至第二交易方式的图形。Step 53: When the sliding direction of the sliding operation meets the first preset requirement, switch the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode.
其中,第一交易方式的按钮和第二交易方式的按钮的排列顺序,与滑动操作的滑动方向相关联。The sequence of the buttons of the first transaction method and the buttons of the second transaction method is related to the sliding direction of the sliding operation.
可选地,在一实施例中,步骤53可以具体为:基于向左的滑动操作,将第一交易方式对应的图形,切换至第二交易方式对应的图形;其中,第二交易方式的按钮位于第一交易方式的按钮的右侧。Optionally, in an embodiment, step 53 may specifically be: based on a leftward sliding operation, switch the graphic corresponding to the first transaction method to the graphic corresponding to the second transaction method; wherein, the button of the second transaction method Located to the right of the button of the first transaction method.
同时参阅图4和图6,图6是本申请实施例提供的第三操作界面示意图。其中,该第三操作界面20c包括第一区域21和第二区域22。Refer to FIGS. 4 and 6 at the same time. FIG. 6 is a schematic diagram of a third operation interface provided by an embodiment of the present application. Wherein, the third operation interface 20c includes a first area 21 and a second area 22.
其中,第一区域21用于显示多种交易方式的按钮,第二区域22用于显示多种交易方式中的第一交易方式的图形。Among them, the first area 21 is used to display buttons of multiple transaction methods, and the second area 22 is used to display graphics of the first transaction method among the multiple transaction methods.
在本实施例中,第一区域21中的付款码(Pay)、扫一扫(Sacn)以及收款码(Collect)从左至右依序排列,第二操作界面20b的第二区域22显示付款码(Pay)对应的图形(如图4)。在获取到向左的滑动操作时,在第二操作界面20b的第二区域22显示扫一扫(Sacn)对应的图形(如图6)。In this embodiment, the payment code (Pay), scan (Sacn) and collection code (Collect) in the first area 21 are arranged in order from left to right, and the second area 22 of the second operation interface 20b displays The graph corresponding to the payment code (Pay) (see Figure 4). When the leftward sliding operation is acquired, a graphic corresponding to a scan (Sacn) is displayed in the second area 22 of the second operation interface 20b (see FIG. 6).
可以理解地,扫一扫(Sacn)对应的图形即为摄像头采集的图像预览界面。具体地,可以在预览界面中显示一图形采集框,用户可以通过移动电子交易设备,将该图形采集框对准需要扫描的二维码或者条形码,以实现交易。Understandably, the graphic corresponding to the scan (Sacn) is the image preview interface collected by the camera. Specifically, a graphic collection frame can be displayed in the preview interface, and the user can align the graphic collection frame with the two-dimensional code or barcode to be scanned by moving the electronic transaction device to realize the transaction.
同时参阅图6和图7,图7是本申请实施例提供的第四操作界面示意图。其中,该第四操作界面20d包括第一区域21和第二区域22。Refer to FIG. 6 and FIG. 7 at the same time. FIG. 7 is a schematic diagram of a fourth operation interface provided by an embodiment of the present application. Wherein, the fourth operation interface 20d includes a first area 21 and a second area 22.
其中,第一区域21用于显示多种交易方式的按钮,第二区域22用于显示多种交易方式中的第一交易方式的图形。Among them, the first area 21 is used to display buttons of multiple transaction methods, and the second area 22 is used to display graphics of the first transaction method among the multiple transaction methods.
在本实施例中,第一区域21中的付款码(Pay)、扫一扫(Sacn)以及收款码(Collect)从左至右依序排列,第二操作界面20b的第二区 域22显示扫一扫(Sacn)对应的图形(如图6)。在获取到向左的滑动操作时,在第二操作界面20b的第二区域22显示收款码(Collect)对应的图形(如图7)。In this embodiment, the payment code (Pay), scan (Sacn) and collection code (Collect) in the first area 21 are arranged in order from left to right, and the second area 22 of the second operation interface 20b displays Scan the corresponding graph (Sacn) (Figure 6). When the leftward sliding operation is acquired, the graph corresponding to the collection code (Collect) is displayed in the second area 22 of the second operation interface 20b (as shown in FIG. 7).
可选地,在另一实施例中,步骤53可以具体为:基于向右的滑动操作,将第一交易方式对应的图形,切换至第二交易方式对应的图形;其中,第二交易方式的按钮位于第一交易方式的按钮的左侧。Optionally, in another embodiment, step 53 may specifically be: based on a sliding operation to the right, switch the graphic corresponding to the first transaction method to the graphic corresponding to the second transaction method; The button is located to the left of the button of the first transaction method.
同时参阅图6和图7,在本实施例中,第二区域22显示收款码(Collect)对应的图形(如图7)。在获取到向右的滑动操作时,在第二区域22显示扫一扫(Sacn)对应的图形(如图6)。Referring to FIGS. 6 and 7 at the same time, in this embodiment, the second area 22 displays the graph corresponding to the collection code (Collect) (as shown in FIG. 7). When the sliding operation to the right is acquired, the graphic corresponding to the scan (Sacn) is displayed in the second area 22 (as shown in FIG. 6).
同时参阅图4和图6,在本实施例中,第二区域22显示扫一扫(Sacn)对应的图形(如图6)。在获取到向右的滑动操作时,在第二区域22显示付款码(Pay)对应的图形(如图4)。Referring to FIGS. 4 and 6 at the same time, in this embodiment, the second area 22 displays a graphic corresponding to a scan (Sacn) (see FIG. 6). When the sliding operation to the right is acquired, a graphic corresponding to the payment code (Pay) is displayed in the second area 22 (as shown in FIG. 4).
在现有技术中,一般需要用户点击相应的交易方式按钮,进入相应的交易界面,交易图形是全屏显示的,如何要进行切换,需要退出交易图形显示界面,再点击其他的交易方式按钮。而本申请的实施例中,通过向左或者向右的滑动操作,可以方便的进行交易方式的切换。并且,由于交易图形只显示在第二区域,第一区域的多个按钮不变,用户可以通过按钮的顺序来确定自己的滑动方向,提高了操作的便捷性,提高了交易的效率。In the prior art, the user generally needs to click the corresponding transaction method button to enter the corresponding transaction interface. The transaction graph is displayed on a full screen. To switch, it is necessary to exit the transaction graphic display interface and then click other transaction method buttons. In the embodiment of the present application, by sliding left or right, the transaction mode can be conveniently switched. Moreover, since the transaction graph is only displayed in the second area, and the multiple buttons in the first area remain unchanged, the user can determine his sliding direction through the order of the buttons, which improves the convenience of operation and improves the efficiency of the transaction.
参阅图8,图8是本申请实施例提供的控制方法的第三流程示意图,该方法包括:Referring to FIG. 8, FIG. 8 is a schematic diagram of a third flow of a control method provided by an embodiment of the present application, and the method includes:
步骤81:获取设定区域内的滑动操作。Step 81: Obtain the sliding operation in the set area.
步骤82:确定滑动操作的滑动方向。Step 82: Determine the sliding direction of the sliding operation.
步骤83:在滑动操作的滑动方向满足第三预设要求时,将第二区域中显示的交易方式对应的图形,切换至设定功能菜单图形。Step 83: When the sliding direction of the sliding operation meets the third preset requirement, switch the graphic corresponding to the transaction method displayed in the second area to the setting function menu graphic.
其中,该第三预设要求可以是向上滑动。Wherein, the third preset requirement may be to slide upward.
同时参阅图2、图4、图6和图7,在第二操作界面20b、第三操作界面20c和第四操作界面20d向上滑动操作(如图4、图6和图7),进入第一操作界面20a(如图2),一般是在交易中止或者完成之后进行。Refer to Figure 2, Figure 4, Figure 6 and Figure 7 at the same time, on the second operating interface 20b, the third operating interface 20c and the fourth operating interface 20d slide upward operation (Figure 4, Figure 6 and Figure 7), enter the first The operation interface 20a (as shown in Fig. 2) is generally performed after the transaction is suspended or completed.
可选地,可以在第二操作界面20b、第三操作界面20c和第四操作界面20d的底部显示一向上滑动的提示,如“向上滑动查看更多(Go back to see more)”。Optionally, a prompt of sliding upward may be displayed at the bottom of the second operation interface 20b, the third operation interface 20c, and the fourth operation interface 20d, such as "Go back to see more".
参阅图9,图9是本申请实施例提供的控制方法的第四流程示意图,该方法包括:Referring to FIG. 9, FIG. 9 is a schematic diagram of a fourth flow of a control method provided by an embodiment of the present application, and the method includes:
步骤91:获取在第一区域的点击触控操作。Step 91: Obtain the click and touch operation in the first area.
步骤92:判断点击触控操作是否对应两个目标交易方式的按钮的设定范围内。Step 92: It is judged whether the click touch operation corresponds to the set range of the buttons of the two target transaction methods.
在步骤92的判断结果为是时,执行步骤93。若点击操作仅对应一个目标交易方式的按钮的设定范围,则将第二区域中显示的第一交易方式的图形,切换至目标交易方式的图形。When the judgment result of step 92 is YES, step 93 is executed. If the click operation only corresponds to the setting range of the button of one target transaction method, the graphics of the first transaction method displayed in the second area are switched to the graphics of the target transaction method.
步骤93:将第二区域中显示的第一交易方式的图形,切换至两个目标交易方式的图形,其中,两个目标交易方式的图形在第二区域中分区显示。Step 93: Switch the graphics of the first transaction mode displayed in the second area to the graphics of the two target transaction modes, wherein the graphics of the two target transaction modes are displayed in the second area.
同时参阅图2、图4、图6和图7,在第一操作界面20a、第二操作界面20b、第三操作界面20c和第四操作界面20d任意一个操作界面中,若用户点击付款码(Pay)对应的区域,则切换至第二操作界面20b;若用户点击扫一扫(Sacn)对应的区域,则切换至第三操作界面20c;若用户点击收款码(Collect)对应的区域,则切换至第四操作界面20d。Referring to Figure 2, Figure 4, Figure 6 and Figure 7 at the same time, in any one of the first operating interface 20a, the second operating interface 20b, the third operating interface 20c, and the fourth operating interface 20d, if the user clicks the payment code ( Pay), switch to the second operation interface 20b; if the user clicks on the area corresponding to the scan (Sacn), switch to the third operation interface 20c; if the user clicks on the area corresponding to the collection code (Collect), Then switch to the fourth operation interface 20d.
另外,若用户同时点击两个交易方式对应的按钮,则可以在第二区域22中同时显示两个图形,例如,用户同时点击付款码(Pay)和收款码(Collect),则在第二区域22同时显示两个二维码,可以供多用户同时操作,例如,同时实现付款和收款。In addition, if the user clicks the buttons corresponding to the two transaction methods at the same time, two graphics can be displayed in the second area 22 at the same time. For example, if the user clicks the payment code (Pay) and the collection code (Collect) at the same time, The area 22 displays two QR codes at the same time, which can be operated by multiple users at the same time, for example, to realize payment and collection at the same time.
参阅图10,图10是本申请实施例提供的控制方法的第五流程示意图,该方法包括:Referring to FIG. 10, FIG. 10 is a schematic diagram of a fifth flow of a control method provided by an embodiment of the present application, and the method includes:
步骤101:在交易界面显示一悬浮按钮。Step 101: Display a floating button on the transaction interface.
如图11所示,图11是本申请实施例提供的第五操作界面示意图。第五操作界面20e与第二操作界面20b类似,包括第一区域21和第二区域22。As shown in FIG. 11, FIG. 11 is a schematic diagram of a fifth operation interface provided by an embodiment of the present application. The fifth operation interface 20e is similar to the second operation interface 20b, and includes a first area 21 and a second area 22.
可选地,该悬浮按钮22a可以显示于第二区域22中不遮挡二维码的区域,其中,该悬浮按钮22a的图案可以是应用程序的图标,或相应的应用程序名称的文字提示,例如悬浮按钮22a上显示文字“Z”,则表示是Z应用程序对应的悬浮按钮。Optionally, the floating button 22a can be displayed in an area that does not block the QR code in the second area 22, wherein the pattern of the floating button 22a can be an application icon or a text prompt of the corresponding application name, for example The text "Z" displayed on the floating button 22a indicates that it is a floating button corresponding to the Z application.
可以理解地,本实施例中的悬浮按钮22a的数量可以是多个,分别对应不同的应用程序。Understandably, the number of floating buttons 22a in this embodiment may be multiple, corresponding to different applications.
步骤102:在获取到点击悬浮按钮的触控操作时,退出当前应用程序的交易界面,并跳转至与悬浮按钮对应的另一应用程序的交易界面。Step 102: When the touch operation of clicking the floating button is acquired, exit the transaction interface of the current application and jump to the transaction interface of another application corresponding to the floating button.
通过上述方式,可以实现不同应用程序之间的交易界面的切换,避免用户手动退出当前应用程序,再开启另一应用程序。Through the above method, it is possible to switch the transaction interface between different applications, avoiding the user from manually exiting the current application and then opening another application.
参阅图12,图12是本申请实施例提供的电子交易设备的第一结构示意图,该电子交易设备120包括处理器121以及与处理器121通过总线连接的存储器122和显示屏123。在另一实施例中,该可以包括与处理器121通过总线连接的摄像头124和通信模组125。Referring to FIG. 12, FIG. 12 is a first structural diagram of an electronic transaction device provided by an embodiment of the present application. The electronic transaction device 120 includes a processor 121, a memory 122 and a display screen 123 connected to the processor 121 via a bus. In another embodiment, the camera may include a camera 124 and a communication module 125 connected to the processor 121 via a bus.
其中,显示屏123用于显示交易界面,摄像头123用于采集二维码或条形码的图形,通信模组125用于与金融服务器进行交易数据的传输。Among them, the display screen 123 is used to display the transaction interface, the camera 123 is used to collect two-dimensional code or bar code graphics, and the communication module 125 is used to transmit transaction data with the financial server.
其中,该存储器122用于存储程序数据,该处理器121用于执行该程序数据以实现以下的方法步骤:The memory 122 is used to store program data, and the processor 121 is used to execute the program data to implement the following method steps:
在交易界面显示第一区域和第二区域,第一区域包含多种交易方式的按钮,第二区域用于显示多种交易方式中的第一交易方式的图形;获取设定区域内的滑动操作;确定滑动操作的滑动方向;在滑动操作的滑动方向满足第一预设要求时,将第二区域中显示的第一交易方式的图形,切换至第二交易方式的图形;其中,第一交易方式的按钮和第二交易方式的按钮的排列顺序,与滑动操作的滑动方向相关联。The first area and the second area are displayed on the trading interface. The first area contains buttons for multiple trading methods, and the second area is used to display the graphics of the first trading method among the multiple trading methods; obtain the sliding operation in the set area ; Determine the sliding direction of the sliding operation; when the sliding direction of the sliding operation meets the first preset requirement, switch the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode; wherein, the first transaction The arrangement order of the buttons of the method and the buttons of the second transaction method is related to the sliding direction of the sliding operation.
可选地,处理器121用于执行该程序数据还用以实现以下的方法步骤:基于向左的滑动操作,将第一交易方式对应的图形,切换至第二交易方式对应的图形;其中,第二交易方式的按钮位于第一交易方式的按钮的右侧。Optionally, the processor 121 used to execute the program data is also used to implement the following method steps: based on a leftward sliding operation, switch the graphics corresponding to the first transaction mode to the graphics corresponding to the second transaction mode; wherein, The button of the second transaction method is located to the right of the button of the first transaction method.
可选地,处理器121用于执行该程序数据还用以实现以下的方法步 骤:基于向右的滑动操作,将第一交易方式对应的图形,切换至第二交易方式对应的图形;其中,第二交易方式的按钮位于第一交易方式的按钮的左侧。Optionally, the processor 121 used to execute the program data is also used to implement the following method steps: based on a sliding operation to the right, switch the graphics corresponding to the first transaction mode to the graphics corresponding to the second transaction mode; wherein, The button of the second transaction method is located to the left of the button of the first transaction method.
可选地,处理器121用于执行该程序数据还用以实现以下的方法步骤:在第二区域未显示任何交易方式对应的图形时,获取设定区域内的滑动操作;确定滑动操作的滑动方向;在滑动操作的滑动方向满足第二预设要求时,在第二区域中显示多种交易方式中的一种交易方式对应的图形。Optionally, the processor 121 is configured to execute the program data to implement the following method steps: when the second area does not display any graphics corresponding to the transaction method, obtain the sliding operation in the set area; determine the sliding operation of the sliding operation Direction; when the sliding direction of the sliding operation meets the second preset requirement, a graphic corresponding to one of the multiple transaction methods is displayed in the second area.
可选地,处理器121用于执行该程序数据还用以实现以下的方法步骤:在滑动操作的滑动方向满足第三预设要求时,将第二区域中显示的交易方式对应的图形,切换至设定功能菜单图形。Optionally, the processor 121 is configured to execute the program data to implement the following method steps: when the sliding direction of the sliding operation meets the third preset requirement, switch the graphics corresponding to the transaction mode displayed in the second area To set the function menu graphic.
参阅图13,图13是本申请实施例提供的电子交易设备的第二结构示意图,该电子交易设备130包括显示模块131、获取模块132、确定模块133以及切换模块134。Refer to FIG. 13, which is a second structural schematic diagram of an electronic transaction device provided by an embodiment of the present application. The electronic transaction device 130 includes a display module 131, an acquisition module 132, a determination module 133 and a switching module 134.
其中,显示模块131用于显示交易界面;其中,交易界面包括第一区域和第二区域,第一区域包含多种交易方式的按钮,第二区域用于显示多种交易方式中的第一交易方式的图形;获取模块132用于获取设定区域内的滑动操作;确定模块133用于确定滑动操作的滑动方向;切换模块134用于在滑动操作的滑动方向满足第一预设要求时,将第二区域中显示的第一交易方式的图形,切换至第二交易方式的图形;其中,第一交易方式的按钮和第二交易方式的按钮的排列顺序,与滑动操作的滑动方向相关联。Among them, the display module 131 is used to display the transaction interface; wherein, the transaction interface includes a first area and a second area, the first area contains buttons for multiple transaction methods, and the second area is used to display the first transaction among the multiple transaction methods. The obtaining module 132 is used to obtain the sliding operation in the set area; the determining module 133 is used to determine the sliding direction of the sliding operation; the switching module 134 is used to change the sliding direction of the sliding operation to the first preset requirement. The graphics of the first transaction method displayed in the second area are switched to the graphics of the second transaction method; wherein the sequence of the buttons of the first transaction method and the buttons of the second transaction method is related to the sliding direction of the sliding operation.
参阅图14,图14是本申请实施例提供的计算机存储介质的结构示意图,该计算机存储介质140中存储有程序数据141,该程序数据141在被处理器执行时,用以实现以下的方法步骤:Referring to FIG. 14, FIG. 14 is a schematic structural diagram of a computer storage medium provided by an embodiment of the present application. The computer storage medium 140 stores program data 141. The program data 141 is used to implement the following method steps when executed by a processor :
在交易界面显示第一区域和第二区域,第一区域包含多种交易方式的按钮,第二区域用于显示多种交易方式中的第一交易方式的图形;获取设定区域内的滑动操作;确定滑动操作的滑动方向;在滑动操作的滑动方向满足第一预设要求时,将第二区域中显示的第一交易方式的图 形,切换至第二交易方式的图形;其中,第一交易方式的按钮和第二交易方式的按钮的排列顺序,与滑动操作的滑动方向相关联。The first area and the second area are displayed on the trading interface. The first area contains buttons for multiple trading methods, and the second area is used to display the graphics of the first trading method among the multiple trading methods; obtain the sliding operation in the set area ; Determine the sliding direction of the sliding operation; when the sliding direction of the sliding operation meets the first preset requirement, switch the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode; wherein, the first transaction The arrangement order of the buttons of the method and the buttons of the second transaction method is related to the sliding direction of the sliding operation.
可选地,该程序数据141在被处理器执行时,还用以实现以下的方法步骤:基于向左的滑动操作,将第一交易方式对应的图形,切换至第二交易方式对应的图形;其中,第二交易方式的按钮位于第一交易方式的按钮的右侧。Optionally, when the program data 141 is executed by the processor, it is also used to implement the following method steps: based on a leftward sliding operation, switch the graphics corresponding to the first transaction mode to the graphics corresponding to the second transaction mode; Among them, the button of the second transaction method is located to the right of the button of the first transaction method.
可选地,该程序数据141在被处理器执行时,还用以实现以下的方法步骤:基于向右的滑动操作,将第一交易方式对应的图形,切换至第二交易方式对应的图形;其中,第二交易方式的按钮位于第一交易方式的按钮的左侧。Optionally, when the program data 141 is executed by the processor, it is also used to implement the following method steps: based on a sliding operation to the right, switch the graphics corresponding to the first transaction mode to the graphics corresponding to the second transaction mode; Among them, the button of the second transaction method is located to the left of the button of the first transaction method.
可选地,该程序数据141在被处理器执行时,还用以实现以下的方法步骤:在第二区域未显示任何交易方式对应的图形时,获取设定区域内的滑动操作;确定滑动操作的滑动方向;在滑动操作的滑动方向满足第二预设要求时,在第二区域中显示多种交易方式中的一种交易方式对应的图形。Optionally, when the program data 141 is executed by the processor, it is also used to implement the following method steps: when the second area does not display any graphics corresponding to the transaction method, obtain the sliding operation in the set area; determine the sliding operation When the sliding direction of the sliding operation meets the second preset requirement, a graphic corresponding to one of the multiple transaction methods is displayed in the second area.
可选地,该程序数据141在被处理器执行时,还用以实现以下的方法步骤:在滑动操作的滑动方向满足第三预设要求时,将第二区域中显示的交易方式对应的图形,切换至设定功能菜单图形。Optionally, when the program data 141 is executed by the processor, it is also used to implement the following method steps: when the sliding direction of the sliding operation meets the third preset requirement, the graphic corresponding to the transaction method displayed in the second area To switch to the setting function menu graphic.
在本申请所提供的几个实施方式中,应该理解到,所揭露的方法以及设备,可以通过其它的方式实现。例如,以上所描述的设备实施方式仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the several implementation manners provided in this application, it should be understood that the disclosed method and device may be implemented in other ways. For example, the device implementation described above is merely illustrative. For example, the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be Combined or can be integrated into another system, or some features can be ignored or not implemented.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of this embodiment.
另外,在本申请各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元 集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
上述其他实施方式中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated units in the other embodiments described above are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .
以上仅为本申请的实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only examples of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made by using the description and drawings of this application, or directly or indirectly applied to other related technical fields, The same reasoning is included in the scope of patent protection of this application.

Claims (14)

  1. 一种交易界面的控制方法,其特征在于,所述交易界面包括第一区域和第二区域,所述第一区域用于显示多种交易方式的按钮,所述第二区域用于显示所述多种交易方式中的第一交易方式的图形,所述控制方法包括:A method for controlling a trading interface, characterized in that the trading interface includes a first area and a second area, the first area is used to display buttons for multiple trading methods, and the second area is used to display the The graph of the first transaction mode among the multiple transaction modes, the control method includes:
    获取设定区域内的滑动操作;Get the sliding operation in the set area;
    确定所述滑动操作的滑动方向;Determining the sliding direction of the sliding operation;
    在所述滑动操作的滑动方向满足第一预设要求时,将所述第二区域中显示的所述第一交易方式的图形,切换至第二交易方式的图形;When the sliding direction of the sliding operation meets the first preset requirement, switching the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode;
    其中,所述第一交易方式的按钮和所述第二交易方式的按钮的排列顺序,与所述滑动操作的滑动方向相关联。Wherein, the sequence of the buttons of the first transaction method and the buttons of the second transaction method is associated with the sliding direction of the sliding operation.
  2. 根据权利要求1所述的控制方法,其特征在于,The control method according to claim 1, wherein:
    所述获取设定区域内的滑动操作的步骤,包括:The step of obtaining the sliding operation in the set area includes:
    在获取到单点触控信号时,记录此时第一触控点的坐标;When the single-point touch signal is acquired, record the coordinates of the first touch point at this time;
    持续监听单点触控信号,直到单点触控信号结束时,记录最后单点触控信号对应的第二触控点的坐标;Continue to monitor the single-touch signal until the single-touch signal ends, and record the coordinates of the second touch point corresponding to the last single-touch signal;
    所述确定所述滑动操作的滑动方向的步骤,包括:The step of determining the sliding direction of the sliding operation includes:
    基于所述第一触控点的坐标和所述第二触控点的坐标,计算所述滑动操作的滑动方向。Calculate the sliding direction of the sliding operation based on the coordinates of the first touch point and the coordinates of the second touch point.
  3. 根据权利要求1或2所述的控制方法,其特征在于,The control method according to claim 1 or 2, characterized in that:
    所述在所述滑动操作的滑动方向满足第一预设要求时,将所述第二区域中显示的所述第一交易方式的图形,切换至第二交易方式的图形的步骤,包括:The step of switching the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode when the sliding direction of the sliding operation meets the first preset requirement includes:
    判断所述滑动操作的滑动方向是否在预设范围内;Determine whether the sliding direction of the sliding operation is within a preset range;
    若是,则将所述第一交易方式对应的图形,切换至第二交易方式对应的图形。If yes, switch the graphic corresponding to the first transaction mode to the graphic corresponding to the second transaction mode.
  4. 根据权利要求1所述的控制方法,其特征在于,The control method according to claim 1, wherein:
    所述在所述滑动操作的滑动方向满足第一预设要求时,将所述第二 区域中显示的所述第一交易方式的图形,切换至第二交易方式的图形的步骤,包括:The step of switching the graphics of the first transaction mode displayed in the second area to the graphics of the second transaction mode when the sliding direction of the sliding operation meets the first preset requirement includes:
    基于向左的滑动操作,将所述第一交易方式对应的图形,切换至第二交易方式对应的图形;Based on the leftward sliding operation, switch the graphic corresponding to the first transaction method to the graphic corresponding to the second transaction method;
    其中,所述第二交易方式的按钮位于所述第一交易方式的按钮的右侧。Wherein, the button of the second transaction method is located to the right of the button of the first transaction method.
  5. 根据权利要求1所述的控制方法,其特征在于,The control method according to claim 1, wherein:
    所述在所述滑动操作的滑动方向满足第一预设要求时,将所述第二区域中显示的所述第一交易方式的图形,切换至第二交易方式的图形的步骤,包括:The step of switching the graphic of the first transaction mode displayed in the second area to the graphic of the second transaction mode when the sliding direction of the sliding operation meets the first preset requirement includes:
    基于向右的滑动操作,将所述第一交易方式对应的图形,切换至第二交易方式对应的图形;Based on the sliding operation to the right, switch the graphic corresponding to the first transaction method to the graphic corresponding to the second transaction method;
    其中,所述第二交易方式的按钮位于所述第一交易方式的按钮的左侧。Wherein, the button of the second transaction method is located on the left side of the button of the first transaction method.
  6. 根据权利要求1所述的控制方法,其特征在于,The control method according to claim 1, wherein:
    所述方法还包括:The method also includes:
    在所述第二区域未显示任何交易方式对应的图形时,获取设定区域内的滑动操作;When the graphics corresponding to any transaction method is not displayed in the second area, acquiring the sliding operation in the set area;
    确定所述滑动操作的滑动方向;Determining the sliding direction of the sliding operation;
    在所述滑动操作的滑动方向满足第二预设要求时,在所述第二区域中显示所述多种交易方式中的一种交易方式对应的图形。When the sliding direction of the sliding operation meets the second preset requirement, a graphic corresponding to one of the multiple transaction methods is displayed in the second area.
  7. 根据权利要求1所述的控制方法,其特征在于,The control method according to claim 1, wherein:
    所述方法还包括:The method also includes:
    在所述滑动操作的滑动方向满足第三预设要求时,将所述第二区域中显示的交易方式对应的图形,切换至设定功能菜单图形。When the sliding direction of the sliding operation meets the third preset requirement, the graphic corresponding to the transaction method displayed in the second area is switched to the setting function menu graphic.
  8. 根据权利要求1所述的控制方法,其特征在于,The control method according to claim 1, wherein:
    所述方法还包括:The method also includes:
    获取在所述第一区域的点击触控操作;Acquiring a click and touch operation in the first area;
    判断所述点击触控操作是否对应目标交易方式的按钮的设定范围 内;Judging whether the click and touch operation corresponds to the set range of the button of the target transaction mode;
    若是,则将所述第二区域中显示的所述第一交易方式的图形,切换至所述目标交易方式的图形。If so, switch the graph of the first transaction method displayed in the second area to the graph of the target transaction method.
  9. 根据权利要求8所述的控制方法,其特征在于,The control method according to claim 8, wherein:
    所述获取在所述第一区域的点击触控操作的步骤之后,还包括:After the step of acquiring the click and touch operation in the first area, the method further includes:
    判断所述点击触控操作是否对应两个目标交易方式的按钮的设定范围内;Judging whether the click and touch operation corresponds to the set range of the buttons of the two target transaction methods;
    若是,则将所述第二区域中显示的所述第一交易方式的图形,切换至所述两个目标交易方式的图形,其中,所述两个目标交易方式的图形在所述第二区域中分区显示。If yes, switch the graphics of the first transaction method displayed in the second area to the graphics of the two target transaction methods, wherein the graphics of the two target transaction methods are in the second area Middle partition display.
  10. 根据权利要求1-9任一项所述的控制方法,其特征在于,The control method according to any one of claims 1-9, wherein:
    所述多种交易方式的图形包括付款二维码图形、收款二维码图形、扫码图形中的至少两种。The graphics of the multiple transaction methods include at least two of the payment QR code graphics, the payment QR code graphics, and the scan code graphics.
  11. 根据权利要求1所述的控制方法,其特征在于,The control method according to claim 1, wherein:
    所述方法还包括:The method also includes:
    在所述交易界面显示一悬浮按钮;Display a floating button on the transaction interface;
    在获取到点击所述悬浮按钮的触控操作时,退出当前应用程序的交易界面,并跳转至与所述悬浮按钮对应的另一应用程序的交易界面。When the touch operation of clicking the floating button is acquired, the transaction interface of the current application is exited, and the transaction interface of another application corresponding to the floating button is jumped to.
  12. 一种电子交易设备,其特征在于,包括:An electronic transaction device, characterized in that it comprises:
    显示屏,用于显示交易界面;Display screen, used to display the trading interface;
    存储器,用于存储程序数据;Memory, used to store program data;
    处理器,用于执行所述程序数据,以实现如权利要求1-11任一项所述的控制方法。The processor is configured to execute the program data to implement the control method according to any one of claims 1-11.
  13. 一种计算机存储介质,用于存储程序数据,其特征在于,所述程序数据在被处理器执行时,用于实现如权利要求1-11任一项所述的控制方法。A computer storage medium for storing program data, wherein the program data is used to implement the control method according to any one of claims 1-11 when the program data is executed by a processor.
  14. 一种电子交易设备,其特征在于,包括:An electronic transaction device, characterized in that it comprises:
    显示模块,用于显示交易界面;其中,所述交易界面包括第一区域和第二区域,所述第一区域用于显示多种交易方式的按钮,所述第二区 域用于显示所述多种交易方式中的第一交易方式的图形;The display module is used to display the transaction interface; wherein, the transaction interface includes a first area and a second area, the first area is used to display buttons of multiple trading methods, and the second area is used to display the multiple The graph of the first transaction method among the various transaction methods;
    获取模块,用于获取设定区域内的滑动操作;The obtaining module is used to obtain the sliding operation in the set area;
    确定模块,用于确定所述滑动操作的滑动方向;A determining module for determining the sliding direction of the sliding operation;
    切换模块,用于在所述滑动操作的滑动方向满足第一预设要求时,将所述第二区域中显示的所述第一交易方式的图形,切换至第二交易方式的图形;The switching module is configured to switch the graphics of the first transaction mode displayed in the second area to the graphics of the second transaction mode when the sliding direction of the sliding operation meets the first preset requirement;
    其中,所述第一交易方式的按钮和所述第二交易方式的按钮的排列顺序,与所述滑动操作的滑动方向相关联。Wherein, the sequence of the buttons of the first transaction method and the buttons of the second transaction method is associated with the sliding direction of the sliding operation.
PCT/CN2019/090273 2019-06-06 2019-06-06 Transaction interface control method, electronic transaction device, and storage medium WO2020243940A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980010279.2A CN111801648A (en) 2019-06-06 2019-06-06 Control method of transaction interface, electronic transaction equipment and storage medium
PCT/CN2019/090273 WO2020243940A1 (en) 2019-06-06 2019-06-06 Transaction interface control method, electronic transaction device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/090273 WO2020243940A1 (en) 2019-06-06 2019-06-06 Transaction interface control method, electronic transaction device, and storage medium

Publications (1)

Publication Number Publication Date
WO2020243940A1 true WO2020243940A1 (en) 2020-12-10

Family

ID=72805811

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/090273 WO2020243940A1 (en) 2019-06-06 2019-06-06 Transaction interface control method, electronic transaction device, and storage medium

Country Status (2)

Country Link
CN (1) CN111801648A (en)
WO (1) WO2020243940A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238945A (en) * 2014-09-19 2014-12-24 联想(北京)有限公司 Method and system for controlling control and electronic device
CN107198453A (en) * 2016-03-18 2017-09-26 佛山市顺德区美的电热电器制造有限公司 Slide button display control method, device and electric cooking pot
CN107613117A (en) * 2017-09-08 2018-01-19 维沃移动通信有限公司 A kind of interface display method and mobile terminal based on multitask

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102006740B1 (en) * 2010-10-20 2019-08-02 삼성전자 주식회사 Method and apparatus for displaying screen in mobile terminal
CN105468252A (en) * 2014-09-10 2016-04-06 阿里巴巴集团控股有限公司 Application software operation interface display method and apparatus
CN104461244A (en) * 2014-12-12 2015-03-25 深圳市财富之舟科技有限公司 Method for changing interfaces of intelligent mobile phones
CN104850349A (en) * 2015-05-21 2015-08-19 努比亚技术有限公司 Page displaying method and apparatus
CN105426084A (en) * 2015-12-10 2016-03-23 小米科技有限责任公司 Interface switching method and device and terminal
KR102605470B1 (en) * 2016-01-06 2023-11-23 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN106527955B (en) * 2016-12-21 2020-07-14 深圳Tcl新技术有限公司 Method and device for controlling page sliding
CN107025280A (en) * 2017-03-28 2017-08-08 北京珠穆朗玛移动通信有限公司 The processing method and mobile terminal of picture
CN108958595A (en) * 2017-05-24 2018-12-07 北京京东尚科信息技术有限公司 Slide display control method, device, medium and electronic equipment
CN108280641B (en) * 2018-01-29 2021-01-08 口碑(上海)信息技术有限公司 AR technology-based payment method and device
CN108491240A (en) * 2018-02-27 2018-09-04 努比亚技术有限公司 A kind of payment display methods, terminal and computer readable storage medium
CN109471570A (en) * 2018-10-01 2019-03-15 魏新成 The method and system of two dimensional code barcode scanning operation is directly carried out in mobile-phone payment child window

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238945A (en) * 2014-09-19 2014-12-24 联想(北京)有限公司 Method and system for controlling control and electronic device
CN107198453A (en) * 2016-03-18 2017-09-26 佛山市顺德区美的电热电器制造有限公司 Slide button display control method, device and electric cooking pot
CN107613117A (en) * 2017-09-08 2018-01-19 维沃移动通信有限公司 A kind of interface display method and mobile terminal based on multitask

Also Published As

Publication number Publication date
CN111801648A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
JP5147352B2 (en) Information providing method for data processing apparatus
CN105426080B (en) A kind of picture switching method and terminal
CN107507000A (en) Method of payment, device, equipment and storage medium
KR20170141782A (en) User interface to loyalty account and self-branded account for wearable devices
CN101127736B (en) An instant communication system and method for processing sub-panel
CN111861448A (en) User interface for loyalty accounts and self-owned brand accounts
CN101510291A (en) Visualization method and apparatus for multidimensional data
CN107450804B (en) Method and terminal for responding touch operation
CN113805996A (en) Information display method and device
CN112269501A (en) Icon moving method and device and electronic equipment
CN101473291A (en) Line shape processing device, line shape processing method, information recording medium, and program
WO2020243940A1 (en) Transaction interface control method, electronic transaction device, and storage medium
WO2023231860A1 (en) Input method and apparatus, and device and storage medium
TW201207757A (en) Device and method for polymorphism button of the stock quoting software on a mobile apparatus
KR101349978B1 (en) Automatic transaction system
JP2015176585A (en) Expenditure management device, expenditure management system, expenditure management method, and program
KR101526046B1 (en) Barcode providing electronic device and method
CN111694498B (en) Interface display method and device and electronic equipment
CA3208078A1 (en) Data comparison method and apparatus, device and storage medium
CN108446067A (en) Touch control display terminal and its virtual key position method of adjustment and storage medium
CN107808471A (en) Cash register settlement method, cash register settlement system, cash register and readable storage medium storing program for executing
CN114063845A (en) Display method, display device and electronic equipment
JP2004164205A (en) Business support system
CN113807831A (en) Payment method and device
CN103543824A (en) Gesture input system and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19932064

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19932064

Country of ref document: EP

Kind code of ref document: A1