CN108108206A - Mobile payment cut-in method and device - Google Patents

Mobile payment cut-in method and device Download PDF

Info

Publication number
CN108108206A
CN108108206A CN201711297246.XA CN201711297246A CN108108206A CN 108108206 A CN108108206 A CN 108108206A CN 201711297246 A CN201711297246 A CN 201711297246A CN 108108206 A CN108108206 A CN 108108206A
Authority
CN
China
Prior art keywords
mobile payment
application program
url
mobile
payment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711297246.XA
Other languages
Chinese (zh)
Inventor
杨亮
秦碧
童伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711297246.XA priority Critical patent/CN108108206A/en
Publication of CN108108206A publication Critical patent/CN108108206A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure is directed to mobile payment cut-in method and devices.This method includes:When application program receives mobile payment request, mobile payment url corresponding with mobile payment request is obtained;It is asked according to mobile payment, at the current interface loading payment request interface of application program, webView components is loaded in payment request interface, the h5 webpages of application program are run in webView components;By the h5 page jumps of application program to mobile payment url, the corresponding mobile payment pages of mobile payment url are loaded.The disclosure provides running environment by using webView components for the h5 pages of application program, the mobile payment access capability based on h5 webpages can be encapsulated and application program is supplied to use, so as to by the ability platform of mobile payment, mobile payment ability can be provided to arbitrary application program, mobile payment efficiency is improved, improves user experience.

Description

Mobile payment cut-in method and device
Technical field
This disclosure relates to field of communication technology more particularly to mobile payment cut-in method and device.
Background technology
Through service provides to the user can use the service of application program immediately without downloading installation, and user is allowed to experience The experience that the very fast second opens.When user wants application program or service using a through service support, this only need to be searched Application program or service, then clicking directly on can just use, and need not download installation, without occupying excessive memory space.Directly Up to service as millet new application operation platform, it is necessary to operate in each new application or the service above platform The ability of mobile payment is provided.
For this purpose, Android (android) version provided using mobile payment service provider is directly accessed in through service The mode of payment software development kit (SDK, Software Development Kit), it is each above platform to operate in New application or service provide the ability of mobile payment.
The content of the invention
To overcome the problems, such as present in correlation technique, the embodiment of the present disclosure provides a kind of mobile payment cut-in method and dress It puts.The technical solution is as follows:
According to the embodiment of the present disclosure in a first aspect, providing a kind of mobile payment cut-in method, mobile payment cut-in method Including:
When application program receives mobile payment request, mobile payment system corresponding with mobile payment request is obtained One Resource Locator url;
It is asked according to the mobile payment, at the current interface loading payment request interface of the application program, described Webpage view webView components are loaded in payment request interface, the of the application program is run in the webView components Five generation hypertext markup language h5 webpages;
By the h5 page jumps of the application program to the mobile payment url, load the mobile payment url and correspond to The mobile payment page.
In one embodiment, the corresponding mobile payment pages of the mobile payment url are loaded, including:
The mobile payment url plays the mobile payment by Android deep linking android deep link technologies tune The corresponding mobile payment pages of url.
In one embodiment, mobile payment uniform resource locator url corresponding with mobile payment request is obtained, Including:
Mobile payment request is sent to the background server of the application program;Wherein, wrapped in the mobile payment request Include the h5 banners of the application program;
Receive the mobile payment url that the background server of the application program is sent.
In one embodiment, the webView components are invisible to user.
In one embodiment, the size of the webView components is a pixel.
According to the second aspect of the embodiment of the present disclosure, a kind of mobile payment access device is provided, including:
Acquisition module, for when application program receives mobile payment request, obtaining and mobile payment request pair The mobile payment uniform resource locator url answered;
For being asked according to the mobile payment, branch is loaded in the current interface of the application program for first load-on module Request interface is paid, webpage view webView components are loaded in the payment request interface, are transported in the webView components 5th generation hypertext markup language h5 webpage of the row application program;
Second load-on module, for by the h5 page jumps of the application program to the mobile payment url, loading institute State the corresponding mobile payment pages of mobile payment url.
In one embodiment, the second load-on module is risen by Android deep linking android deep link technologies tune The corresponding mobile payment page of the mobile payment url.
In one embodiment, acquisition module, including:
Sending submodule, for sending mobile payment request to the background server of the application program;Wherein, the shifting Dynamic payment request includes the h5 banners of the application program;
Receiving submodule, for receiving the mobile payment url of the background server of application program transmission.
In one embodiment, the webView components are invisible to user.
In one embodiment, the size of the webView components is a pixel.
According to the third aspect of the embodiment of the present disclosure, a kind of mobile payment access device is provided, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When application program receives mobile payment request, mobile payment system corresponding with mobile payment request is obtained One Resource Locator url;
It is asked according to the mobile payment, at the current interface loading payment request interface of the application program, described Webpage view webView components are loaded in payment request interface, the of the application program is run in the webView components Five generation hypertext markup language h5 webpages;
By the h5 page jumps of the application program to the mobile payment url, load the mobile payment url and correspond to The mobile payment page.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating The step of machine instructs, which realizes above-mentioned first aspect the method when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:The technical solution by using WebView components provide running environment for the h5 pages of application program, and mobile payment is jumped in the h5 pages of application program Url has adjusted the mobile payment page, so as to fulfill the access of the mobile payment based on h5 webpages provided using mobile payment service provider Ability provides mobile payment access capability to application program, this can just encapsulate the mobile payment access capability based on h5 webpages And application program is supplied to use, thus by the ability platform of mobile payment, movement can be provided to arbitrary application program Ability to pay improves mobile payment efficiency, improves user experience.
It should be appreciated that above general description and following detailed description are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is the application scenarios figure according to the mobile payment cut-in method shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the mobile payment cut-in method shown in an exemplary embodiment.
Fig. 3 is the block diagram according to the mobile payment access device shown in an exemplary embodiment.
Fig. 4 is the block diagram according to the mobile payment access device shown in an exemplary embodiment.
Fig. 5 is the block diagram according to the mobile payment access device shown in an exemplary embodiment.
Fig. 6 is the block diagram according to the mobile payment access device shown in an exemplary embodiment.
Fig. 7 is the block diagram according to the mobile payment access device shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
In one embodiment, using the access mobile payment service provider offer directly in through service platform The modes of android editions payment SDK provide mobile prop up to operate in each application program above through service platform or service The ability paid;However, during using aforesaid way, through service platform can only give some specific application program or service to provide shifting The ability of dynamic payment, can not hardware and software platform, through service platform is once changed to operation other applications or service, mobile payment Android editions payment SDK will refuse mobile payment request, this just causes to perplex to user's use, reduces mobile payment efficiency, Influence user experience.
To solve the above-mentioned problems, the embodiment of the present disclosure provides a kind of mobile payment cut-in method, including:Using journey When sequence receives mobile payment request, acquisition mobile payment uniform resource locator corresponding with mobile payment request (url, Uniform Resource Locator);It is asked according to mobile payment, payment request circle is loaded in the current interface of application program Face loads webpage view (webView) component in payment request interface, and the of application program is run in webView components Five generation hypertext markup language (h5, Html5) webpages;By the h5 page jumps of application program to mobile payment url, load and move It is dynamic to pay the corresponding mobile payment pages of url.
Application program (app) involved in the embodiment of the present disclosure, for example, (Hyvrid app) is applied in mixing, but the disclosure It is not limited thereto.To better illustrate the embodiment in the disclosure, following explanation is carried out to application program:Application program can be with Including:(Hyvrid app) is applied in native applications (Native app), web application (Web app) and mixing.Wherein, it is primary to answer With being individually to be developed for different intelligent mobile phone operating system locally applied, need first to download to terminal and pacify if you need to use Dress, the most common process for downloading Native app is access application shop, application shop (App Store) such as apple, Android market, Google shop (Google Play) etc..Web application be a touch screen version website, Web application completely with Html, Add the Web technological development such as a watt script (JavaScript) and cascading style sheets (CSS, Cascading Style Sheets), lead to The browser of terminal is crossed to access, shortcoming is that these applications based on browser can not calling system application programming interface (API, Application Programming Interface) realizes some Premium Features, is also not suitable for high performance requirements Occasion.Mixing application is the app between a kind of app between Native app and Web, although mixing application appears to be one A Native app, but a simply UI WebView, that the inside accesses is a Web App.The essence of mixing application is pseudo- The apk/ipa native programs of a browser are made, and have run a Web app.Hybrid app have both that " Native app are good The advantage of good user-interaction experience " and " advantage of Web app Cross-border congestion managements ".It can allow web developer almost The transition of zero cost is into mobile application developer, and identical code need to only be compiled for different platform and can be achieved with Multi-platform distribution, and compared to Web app, developer can call most of common system by packaged interface API。
Referring to an optional application scenarios of mobile payment cut-in method in the embodiment of the present disclosure shown in Fig. 1;Fig. 1 institutes The application scenarios shown include:Terminal 11, background server 12, mobile payment server 13, network 14 and the net of mixing application Network 15;Wherein, operation has the service platform for being capable of providing that the application program second opens function, such as mixed developing platform in terminal 11 (Hybrid platform), which provides to the user can be immediately using mixing application without downloading installation Service;Terminal 11 is communicated by network 14 with the background server 12 of mixing application, mixes the background server of application 12 are communicated with mobile payment server 13 by network 15;Terminal is, for example, smart mobile phone, tablet computer, desktop computer, pen Remember this computer or wearable device (such as bracelet, intelligent glasses) etc.;The background server 12 of mixing application can be one The server cluster of server or multiple servers composition;Mobile payment server 13 can be a server, It can be the server cluster of multiple servers composition;Network 14 for example can be cable network or wireless network, wireless network Such as the cordless communication networks such as WiFi, 2G/3G/4G/5G;Network 15 for example can be cable network or wireless network.
It should be noted that the application scenarios shown in Fig. 1 are only mobile payment access sides in the embodiment of the present disclosure One possible application scenarios example of method, other applications scene can also include the equipment being not directed in Fig. 1.This The mobile payment cut-in method that open embodiment provides can be applied in above-mentioned scene, and being by using webView components should Running environment is provided with the h5 pages of program, mobile payment url is jumped in the h5 pages of application program, has adjusted mobile payment The page realizes the mobile payment access capability based on h5 webpages provided based on mobile payment service provider, is provided to application program Mobile payment accesses, thus by the ability platform of mobile payment, can provide mobile payment energy to any one application program Power improves mobile payment efficiency, improves user experience.
Based on above-mentioned analysis, following specific embodiment is proposed.
Fig. 2 is according to a kind of flow chart of mobile payment cut-in method shown in an exemplary embodiment, and this method is held Row main body can be terminal;As shown in Fig. 2, this method comprises the following steps 201-203:
In step 201, when application program receives mobile payment request, obtain and the corresponding shifting of mobile payment request Dynamic payment url.
It is exemplary, in terminal operation have the service platform for being capable of providing that the application program second opens function, such as mixed developing Platform, which provides to the user can use the service of application program immediately without downloading installation.Work as user It is direct in the entrances such as global search or browser by the system for being configured with mixed developing platform when the desired second opens application program It clicks on the corresponding second opening of bid of application program to know with regard to the second application program can be opened, installation need not be downloaded.
It is exemplary, during user is based on above-mentioned mixed developing platform using application program, when user needs to carry out During mobile payment, opened for the second mobile payment request of application program, such as click on the " branch of application program runnable interface Pay " button.When terminal detects the mobile payment request for application program, mobile branch corresponding with mobile payment request is obtained Pay url.For example, the background server that terminal opens application program to the second sends mobile payment request;Wherein, in mobile payment request H5 banners including application program;The background server of application program sends mobile payment to mobile payment server please It asks;Mobile payment server sends mobile payment url corresponding with mobile payment request to the background server of application program;It should With the background server of program mobile payment url is sent to terminal;Terminal receives the shifting that the background server of application program is sent Dynamic payment url.
In step 202, asked according to mobile payment, payment request interface is loaded in the current interface of application program, WebView components are loaded in payment request interface, the h5 webpages of application program are run in webView components.
Exemplary, payment request interface can be a pop-up or full frame interface.WebView components can not to user See;Alternatively, the size of webView components is a pixel.It is exemplary, using webView components as the h5 pages of application program Running environment.
In step 203, corresponded to by the h5 page jumps of application program to mobile payment url, loading mobile payment url The mobile payment page.
It is exemplary, using mobile payment url as the h5 pages of parameter loading application programs;It is obtained from the h5 pages of application program Mobile payment url;Jump to mobile payment url, the corresponding mobile payment pages of loading mobile payment url.
Exemplary, mobile payment url plays mobile payment by Android deep linking (android deep link) technology tune The corresponding mobile payment pages of url.
The technical scheme provided by this disclosed embodiment is carried by using webView components for the h5 pages of application program For running environment, mobile payment url is jumped in the h5 pages of application program, has adjusted the mobile payment page, so as to fulfill adopting The mobile payment access capability based on h5 webpages provided with mobile payment service provider provides mobile payment access to application program Ability, this can just encapsulate the mobile payment access capability based on h5 webpages and application program is supplied to use, so as to move The ability platform of payment can provide mobile payment ability to arbitrary application program, improve mobile payment efficiency, in this way, User experience can be improved.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 3 is the block diagram according to a kind of mobile payment access device shown in an exemplary embodiment;The device can be adopted Implement in various manners, such as all components of implementation in the terminal, alternatively, implement in a coupled manner in end side Component in device;The device can by software, hardware or both be implemented in combination with it is above-mentioned this disclosure relates to method, such as Shown in Fig. 3, which includes:Acquisition module 301, the first load-on module 302 and the second load-on module 303, Wherein:
Acquisition module 301 is configured as, when application program receives mobile payment request, obtaining and asking with mobile payment Corresponding mobile payment url;
First load-on module 302 is configured as being asked according to mobile payment, and payment is loaded in the current interface of application program Interface is asked, webView components are loaded in payment request interface, the h5 webpages of application program are run in webView components;
Second load-on module 303 is configured as the h5 page jumps by application program to mobile payment url, loads movement Pay the corresponding mobile payment pages of url.
The device that the embodiment of the present disclosure provides can be used in performing the technical solution of embodiment illustrated in fig. 2, executive mode Similar with advantageous effect, details are not described herein again.
In a kind of possible embodiment, the second load-on module 303 is risen by android deep link technologies tune and moved It is dynamic to pay the corresponding mobile payment pages of url.
In a kind of possible embodiment, webView components are invisible to user.
In a kind of possible embodiment, the size of webView components is a pixel.
In a kind of possible embodiment, as shown in figure 4, the mobile payment access device shown in Fig. 3 can also include Acquisition module 301 is configured to include:Sending submodule 401 and receiving submodule 402, wherein:
Sending submodule 401 is configured as sending mobile payment request to the background server of application program;Wherein, it is mobile Payment request includes the h5 banners of application program;
Receiving submodule 402 is configured as receiving the mobile payment url that the background server of application program is sent.
Fig. 5 is according to a kind of block diagram of mobile payment access device 500 shown in an exemplary embodiment, and mobile payment connects Enter device 500 and various modes may be employed to implement, for example, in the terminal all components of implementation or end side with Component in the mode implementation of coupling;Mobile payment access device 500 includes:
Processor 501;
For storing the memory 502 of processor-executable instruction;
Wherein, processor 501 is configured as:
When application program receives mobile payment request, mobile payment url corresponding with mobile payment request is obtained;
It is asked according to mobile payment, at the current interface loading payment request interface of application program, at payment request interface Middle loading webView components run the h5 webpages of application program in webView components;
By the h5 page jumps of application program to mobile payment url, the corresponding mobile payment pages of mobile payment url are loaded Face.
In one embodiment, above-mentioned processor 501 is also configured to:Pass through android deep link technology tune Play the corresponding mobile payment pages of mobile payment url.
In one embodiment, webView components are invisible to user.
In one embodiment, the size of webView components is a pixel.
In one embodiment, above-mentioned processor 501 is also configured to:
Mobile payment request is sent to the background server of application program;Wherein, mobile payment request is included using journey The h5 banners of sequence;
Receive the mobile payment url that the background server of application program is sent.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is the block diagram according to a kind of mobile payment access device shown in an exemplary embodiment.For example, mobile payment Access device 600 can be smart mobile phone, tablet computer or Wearable etc..
With reference to Fig. 6, mobile payment access device 600 can include following one or more assemblies:Processing component 602, is deposited Reservoir 604, power supply module 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor group Part 614 and communication component 616.
The integrated operation of the usually control mobile payment access device 600 of processing component 602, such as with display, call, Data communication, camera operation and record operate associated operation.Processing component 602 can include one or more processors 620 execute instruction, to perform all or part of the steps of the methods described above.In addition, processing component 602 can include one or Multiple modules, convenient for the interaction between processing component 602 and other assemblies.For example, processing component 602 can include multimedia mould Block, to facilitate the interaction between multimedia component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in mobile payment access device 600. The example of these data is included for the instruction of any application program or method that are operated on mobile payment access device 600, Contact data, telephone book data, message, picture, video etc..Memory 604 can be by any kind of volatibility or non-easy The property lost storage device or combination thereof realize that, such as static RAM (SRAM), electrically erasable is read-only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only storage Device (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 606 provides electric power for the various assemblies of mobile payment access device 600.Power supply module 606 can wrap Include power-supply management system, one or more power supplys and other with generating, managing and distributing electricity for mobile payment access device 600 The associated component of power.
Multimedia component 608 is included in one output interface of offer between mobile payment access device 600 and user Screen.In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touching Panel is touched, screen may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more Touch sensor is to sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense touch or slip The border of action, but also detect and touch or the relevant duration and pressure of slide.In some embodiments, more matchmakers Body component 608 includes a front camera and/or rear camera.When mobile payment access device 600 is in operation mode, During such as screening-mode or video mode, front camera and/or rear camera can receive external multi-medium data.Each Front camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike Wind (MIC), when mobile payment access device 600 is in operation mode, such as call model, logging mode and speech recognition mode When, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 604 Or it is sent via communication component 616.In some embodiments, audio component 610 further includes a loud speaker, for exporting audio Signal.
I/O interfaces 612 provide interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 614 includes one or more sensors, for providing each side for mobile payment access device 600 The status assessment in face.For example, sensor module 614 can detect opening/closed state of mobile payment access device 600, The relative positioning of component, such as the display and keypad that component is mobile payment access device 600, sensor module 614 is also The position that 600 1 components of mobile payment access device 600 or mobile payment access device can be detected changes, user and movement Pay the existence or non-existence that access device 600 contacts, 600 orientation of mobile payment access device or acceleration/deceleration and mobile branch Pay the temperature change of access device 600.Sensor module 614 can include proximity sensor, be configured to not any Physical contact when detect the presence of nearby objects.Sensor module 614 can also include optical sensor, as CMOS or CCD schemes As sensor, for being used in imaging applications.In some embodiments, which can also include acceleration Sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate wired or wireless side between mobile payment access device 600 and other equipment The communication of formula.Mobile payment access device 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or it Combination.In one exemplary embodiment, communication component 616 is received via broadcast channel from external broadcasting management system Broadcast singal or broadcast related information.In one exemplary embodiment, communication component 616 further includes near-field communication (NFC) Module, to promote short range communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) can be based in NFC module Technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, mobile payment access device 600 can be by one or more application application-specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), scene can It programs gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks to realize, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 604 of instruction, above-metioned instruction can be performed by the processor 620 of mobile payment access device 600 in completion State method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Fig. 7 is the block diagram according to a kind of mobile payment access device shown in an exemplary embodiment.For example, mobile payment Access device 700 may be provided as a server.Mobile payment access device 700 includes processing component 702, further wraps Include one or more processors and as the memory resource representated by memory 703, it can be by processing component 702 for storing Execution instruction, such as application program.The application program stored in memory 703 can include one or more every One module for corresponding to one group of instruction.In addition, processing component 702 is configured as executing instruction, to perform the above method.
Mobile payment access device 700 can also be configured as performing mobile payment access including a power supply module 706 The power management of device 700, a wired or wireless network interface 705 are configured as connecting mobile payment access device 700 To network and input and output (I/O) interface 708.Mobile payment access device 700, which can operate, to be based on being stored in memory 703 operating system, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is by mobile payment access device 600 or mobile payment access device 700 processor perform when so that mobile payment access device 600 or mobile payment access Device 700 is able to carry out following mobile payment cut-in method, and method includes:
When application program receives mobile payment request, mobile payment url corresponding with mobile payment request is obtained;
It is asked according to mobile payment, at the current interface loading payment request interface of application program, at payment request interface Middle loading webView components run the h5 webpages of application program application program in webView components;
By the h5 page jumps of application program to mobile payment url, the corresponding mobile payment pages of mobile payment url are loaded Face.
In one embodiment, the corresponding mobile payment pages of mobile payment url are loaded, including:Mobile payment url passes through Android deep link technologies tune plays the corresponding mobile payment pages of mobile payment url.
In one embodiment, webView components are invisible to user.
In one embodiment, the size of webView components is a pixel.
In one embodiment, mobile payment url corresponding with mobile payment request is obtained, including:To application program Background server sends mobile payment request;Wherein, mobile payment request includes the h5 banners of application program;Receiving should The mobile payment url sent with the background server of program.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (12)

1. a kind of mobile payment cut-in method, which is characterized in that including:
When application program receives mobile payment request, the unified money of mobile payment corresponding with mobile payment request is obtained Source finger URL url;
It is asked according to the mobile payment, at the current interface loading payment request interface of the application program, in the payment It asks to load webpage view webView components in interface, the 5th generation of the application program is run in the webView components Hypertext markup language h5 webpages;
By the h5 page jumps of the application program to the mobile payment url, the corresponding shiftings of the mobile payment url are loaded The dynamic payment page.
2. according to the method described in claim 1, it is characterized in that, load the corresponding mobile payment pages of the mobile payment url Face, including:
The mobile payment url plays url pairs of the mobile payment by Android deep linking android deep link technologies tune The mobile payment page answered.
3. it according to the method described in claim 1, it is characterized in that, obtains and the corresponding mobile payment of mobile payment request Uniform resource locator url, including:
Mobile payment request is sent to the background server of the application program;Wherein, the mobile payment request includes institute State the h5 banners of application program;
Receive the mobile payment url that the background server of the application program is sent.
4. method according to any one of claims 1 to 3, which is characterized in that the webView components can not to user See.
5. method according to any one of claims 1 to 3, which is characterized in that the size of the webView components is one Pixel.
6. a kind of mobile payment access device, which is characterized in that including:
Acquisition module, for when application program receives mobile payment request, obtaining corresponding with mobile payment request Mobile payment uniform resource locator url;
First load-on module, please in the current interface loading payment of the application program for being asked according to the mobile payment Interface is asked, webpage view webView components are loaded in the payment request interface, institute is run in the webView components State the 5th generation hypertext markup language h5 webpage of application program;
Second load-on module, for, to the mobile payment url, loading the shifting by the h5 page jumps of the application program It is dynamic to pay the corresponding mobile payment pages of url.
7. device according to claim 6, which is characterized in that the second load-on module passes through Android deep linking android Deep link technologies tune plays the corresponding mobile payment pages of the mobile payment url.
8. device according to claim 6, which is characterized in that acquisition module, including:
Sending submodule, for sending mobile payment request to the background server of the application program;Wherein, the mobile branch Paying request includes the h5 banners of the application program;
Receiving submodule, for receiving the mobile payment url of the background server of application program transmission.
9. the device according to any one of claim 6 to 8, which is characterized in that the webView components can not to user See.
10. the device according to any one of claim 6 to 8, which is characterized in that the size of the webView components is One pixel.
11. a kind of mobile payment access device, which is characterized in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When application program receives mobile payment request, the unified money of mobile payment corresponding with mobile payment request is obtained Source finger URL url;
It is asked according to the mobile payment, at the current interface loading payment request interface of the application program, in the payment It asks to load webpage view webView components in interface, the 5th generation of the application program is run in the webView components Hypertext markup language h5 webpages;
By the h5 page jumps of the application program to the mobile payment url, the corresponding shiftings of the mobile payment url are loaded The dynamic payment page.
12. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of method any one of claim 1-5 is realized during execution.
CN201711297246.XA 2017-12-08 2017-12-08 Mobile payment cut-in method and device Pending CN108108206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711297246.XA CN108108206A (en) 2017-12-08 2017-12-08 Mobile payment cut-in method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711297246.XA CN108108206A (en) 2017-12-08 2017-12-08 Mobile payment cut-in method and device

Publications (1)

Publication Number Publication Date
CN108108206A true CN108108206A (en) 2018-06-01

Family

ID=62208287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711297246.XA Pending CN108108206A (en) 2017-12-08 2017-12-08 Mobile payment cut-in method and device

Country Status (1)

Country Link
CN (1) CN108108206A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918588A (en) * 2019-01-31 2019-06-21 德联易控科技(北京)有限公司 Data processing method, device and the electronic equipment that accident is declared
CN112036853A (en) * 2020-07-24 2020-12-04 长沙市到家悠享网络科技有限公司 Payment method, payment mode configuration method, device and equipment
CN114356477A (en) * 2021-12-22 2022-04-15 青岛海信移动通信技术股份有限公司 Terminal device and application program calling method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200360A (en) * 2014-09-04 2014-12-10 深圳市腾讯计算机系统有限公司 Information process method, system and terminal
EP2988213A1 (en) * 2014-08-19 2016-02-24 Nokia Corporation Method, apparatus and computer program for activity sensor data processing
CN107370775A (en) * 2016-05-11 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and system for starting application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2988213A1 (en) * 2014-08-19 2016-02-24 Nokia Corporation Method, apparatus and computer program for activity sensor data processing
CN104200360A (en) * 2014-09-04 2014-12-10 深圳市腾讯计算机系统有限公司 Information process method, system and terminal
CN107370775A (en) * 2016-05-11 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and system for starting application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HTTPS://BLOG.CSDN.NET/FUZHONGBIN/ARTICLE/DETAILS/77162010: "Android的Webview中H5支付调起微信支付", 《HTTPS://BLOG.CSDN.NET/FUZHONGBIN/ARTICLE/DETAILS/77162010》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918588A (en) * 2019-01-31 2019-06-21 德联易控科技(北京)有限公司 Data processing method, device and the electronic equipment that accident is declared
CN112036853A (en) * 2020-07-24 2020-12-04 长沙市到家悠享网络科技有限公司 Payment method, payment mode configuration method, device and equipment
CN114356477A (en) * 2021-12-22 2022-04-15 青岛海信移动通信技术股份有限公司 Terminal device and application program calling method
CN114356477B (en) * 2021-12-22 2024-04-09 青岛海信移动通信技术有限公司 Terminal equipment and application program calling method

Similar Documents

Publication Publication Date Title
CN109032606B (en) Native application compiling method and device and terminal
CN106126685B (en) Page loading method and device
CN109428911A (en) Apparatus control method, device, terminal device and operating system
CN107193441B (en) Desktop pendant previewing method and device
CN104778063A (en) Method and device for updating resource
CN107193606B (en) Application distribution method and device
CN103493018A (en) Customized launching of applications
CN105630949B (en) Page load, backing method and device
CN106201610A (en) Web application accesses the method and device of the primary function of terminal
CN105808305B (en) Static resource loading method and device
CN110874217A (en) Interface display method and device for fast application and storage medium
CN105094830B (en) A kind of method and apparatus of performance objective function
CN108108206A (en) Mobile payment cut-in method and device
CN105183493A (en) Display method and device of network information
US11210449B2 (en) Page display method and device and storage medium
CN107423218A (en) Application testing method, device and terminal
CN107911482A (en) Intended application deployment method and device
CN107463372B (en) Data-driven page updating method and device
CN104035977A (en) Webpage loading method and device
CN108073610B (en) Method and device for realizing webpage loading
CN105976201B (en) Purchasing behavior monitoring method and device for e-commerce system
CN109558553A (en) Pattern determines method and device
CN104866340A (en) Method and apparatus for updating terminal device software
CN115373763B (en) Plug-in loading method and device, electronic equipment and storage medium
CN112328330A (en) iOS component calling method, device, middleware, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination