CN110111101A - A kind of electric paying method and electronic equipment - Google Patents

A kind of electric paying method and electronic equipment Download PDF

Info

Publication number
CN110111101A
CN110111101A CN201910330860.4A CN201910330860A CN110111101A CN 110111101 A CN110111101 A CN 110111101A CN 201910330860 A CN201910330860 A CN 201910330860A CN 110111101 A CN110111101 A CN 110111101A
Authority
CN
China
Prior art keywords
user
payment
information
electronic equipment
payment information
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.)
Granted
Application number
CN201910330860.4A
Other languages
Chinese (zh)
Other versions
CN110111101B (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910330860.4A priority Critical patent/CN110111101B/en
Publication of CN110111101A publication Critical patent/CN110111101A/en
Priority to PCT/CN2020/081896 priority patent/WO2020215995A1/en
Application granted granted Critical
Publication of CN110111101B publication Critical patent/CN110111101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the present invention provides the method and electronic equipment of a kind of e-payment.The described method includes: electronic equipment receives the calculating process of Payment Amount relevant to the first user;Electronic equipment obtains the user information for the second user traded with first user, and the user information of the second user is used to indicate the trading account of the second user;Electronic equipment sends payment request and payment information to server;Wherein, above-mentioned payment request be payment request from the first user to second user or payment request from second user to the first user;Above-mentioned payment information includes the user information of the first user, the user information of second user and the payment information including the calculating process for being used to indicate the trading account of first user.The present embodiment can be improved the efficiency and convenience of e-payment.

Description

A kind of electric paying method and electronic equipment
Technical field
The present embodiments relate to the methods and electronics of computer application technology more particularly to a kind of e-payment to set It is standby.
Background technique
With the development of internet finance, the use of e-payment is more and more frequent.
In the prior art, a kind of implementation of e-payment are as follows:
User terminal scans the gathering code of trade company, and the merchant information of trade company is read from gathering code.Trade company calculates commodity Price summation obtains the amount of money of pending payment, and the amount of money of pending payment is informed user;User is manually entered payment in payment interface The amount of money.User terminal sends payment request to server, and by payment informations such as merchant information, Payment Amount and user informations It is sent to server.Server verifies merchant information and user information in response to the payment request, after being proved to be successful Carry out delivery operation.After the completion of payment, the payment that the merchant tenninal of user terminal and trade company receives server transmission is successfully led to Know message.Notification message includes user information, merchant information and Payment Amount etc..
Another implementation are as follows:
User is scanned after the price summation that merchant tenninal calculates commodity obtains the pending payment amount of money, using merchant tenninal in trade company Payment code.The pending payment amount of money, merchant information and the user information read from payment code are sent to service by merchant tenninal Device, request server carry out delivery operation;Server verifies merchant information and user information, and according to password authentification Rule judges whether to verify the password of user.It is verified if necessary to user password, then server sends password to user terminal and tests Card request and pending payment information.Wherein, pending payment information includes merchant information and Payment Amount etc..User terminal is in response to institute Password authentification request is stated, show the pending payment amount of money received and merchant information and indicates that user inputs password.User terminal will The password of user's input is sent to server.Whether server authentication password is correct, is proved to be successful, and is paid.If be not required to User password is wanted to verify, then server directly carries out delivery operation.After the completion of payment, user terminal and merchant tenninal receive payment Successful notification message.Notification information includes user information, merchant information and Payment Amount etc..
When user buys more than one piece commodity, using above two scheme, inconvenience verify each part commodity commodity value and Whether the calculating process of trade company is correct.
Summary of the invention
The embodiment of the present invention provides the method and electronic equipment of a kind of e-payment, facilitates the calculating for verifying Payment Amount Whether journey is correct.
In a first aspect, a kind of method of e-payment provided in an embodiment of the present invention, comprising: it is defeated that electronic equipment receives first Enter to obtain the calculating process of Payment Amount relevant to the first user;The user information of electronic equipment acquisition second user;Electricity Sub- equipment sends payment request and payment information to server;Wherein, above-mentioned payment information includes being used to indicate described first to use The user information of first user of the trading account at family, be used to indicate second user trading account second user user letter Breath and the payment information including the calculating process;Payment request includes the first user to the payment request of second user or described Payment request of the second user to first user.Wherein, the first input can be at the calculating interface that electronic equipment is shown On input.Above-mentioned calculating process includes number and calculating symbol.Above-mentioned payment information can also include Payment Amount.
Electric paying method provided in an embodiment of the present invention, user can input calculating process to verify Payment Amount just True property.Using the calculated result of the calculating process of user's input as Payment Amount, Payment Amount is inputted again without user, is simplified The operation of user.
In a kind of possible design method, electronic equipment receive second input, in response to second input electronic equipment into Enter payment process, obtains the user information of second user.Wherein, the second input can be with are as follows: touches the payment calculated on interface and presses Button, long-pressing calculate "=" button on interface or press "=" button calculated on interface again.Pressing on interface is calculated by touching Button, without cumbersome operation, user can jump to payment interface from the calculating interface for calculating Payment Amount, continue subsequent Delivery operation simplifies the operation of the e-payment of user.
In a kind of possible design method, this method further include: electronic equipment reception is disappeared by the notice that server is sent Breath, the notification message include the calculating process of Payment Amount relevant to the first user and with first customer transaction second The user information of user.Server sends the notification message of the calculating process including Payment Amount to electronic equipment, is convenient for trade company Or customer verifies the calculating process of Payment Amount by the calculating process checked in the notification message.
In a kind of possible design method, electronic equipment receives third input, inputs in response to third to server and sends out Send payment request and payment information.User's verification calculation can be allowed before sending payment request and payment information to server Whether process and Payment Amount are correct.When user confirm errorless progresss third input after, then to server send payment request with Payment information.
Wherein it is possible to obtain the user information of second user by different modes.A kind of possible mode, passes through reading Payment code is taken to obtain the user information of second user, specifically: obtain the camera capture of electronic equipment still image or Video identifies the payment code of the user information including the second user in the still image or video.
Second aspect, another electric paying method provided by the embodiments of the present application, comprising: the first electronic equipment receives the One input, the first input include the calculating process of Payment Amount relevant to the first user;First electronic equipment output first is used The user information and pending payment information at family, the pending payment information include the calculating of above-mentioned Payment Amount relevant to the first user Journey;Second electronic equipment obtains the user information and pending payment information of the first user of the first electronic equipment output;Second electronics Equipment sends payment request and payment information to server;Wherein, payment request is that payment of first user to second user is asked Ask or payment request from second user to the first user;Payment information includes: the trading account for being used to indicate the first user The user information of first user, be used to indicate second user trading account second user user information and according to wait pay The payment information that the second electronic equipment of money information generates.Wherein, the first input is at the calculating interface that the first electronic equipment is shown On input.The payment information includes Payment Amount and/or calculating process.
Second electronic equipment can directly obtain the calculating process of the Payment Amount from the first electronic equipment.To service Before device sends payment request and payment information, user can verification calculation process correctness.Avoid electronic equipment to clothes The payment request and payment information for device transmission mistake of being engaged in.Electronic equipment is not necessarily to send calculating process to server, can protect use The privacy at family.
In a kind of possible mode, the first electronic equipment can receive the 4th input, defeated in response to the 4th input The user information of first user and pending payment information out.Wherein, the 4th input can be with are as follows: touches the output calculated on interface Button;Long-pressing calculates "=" button on interface;Or "=" button calculated on interface is pressed again.It is calculated on interface by touching Button, without cumbersome operation, the calculating process of the Payment Amount can be exported and give other electronic equipments by user.
Wherein it is possible to export the user information and pending payment information of the first user by different modes.In a kind of possibility Mode in, the first electronic equipment according to the user information and calculating process of the first user generate payment code, by showing the branch Code is paid to export the user information and the pending payment information of the first user.
Wherein it is possible to obtain the user information and pending payment information of the first user by different modes.In a kind of possibility Mode in, the second electronic equipment obtain the second electronic equipment camera capture still image or video;It should by identification Payment code in still image or video obtains the user information and pending payment information of the first user.
Wherein, above-mentioned payment code can be two dimensional code or bar code.
In a kind of possible mode, before the second electronic equipment sends payment request and payment information to server, The method also includes: the second electronic equipment exports the user information and the pending payment information of the first user, or output institute State the user information and the payment information of the first user;Second electronic equipment receives third input, defeated in response to the third Enter, the second electronic equipment sends payment request and payment information to server.Second electronic equipment can export pending payment information Or payment information is for the correctness of calculating process or Payment Amount in user verifies above-mentioned pending payment information or payment information.
Wherein it is possible to determine the Payment Amount in payment information by different modes.In a kind of possible mode, the The Payment Amount in payment information is calculated according to the calculating process in pending payment information for two electronic equipments.Alternatively possible In mode, the Payment Amount in pending payment information that the second electronic equipment will acquire is as the Payment Amount in payment information.
The third aspect, the application provide another electric paying method, this method comprises: the first electronic equipment receives first Input;First electronic equipment generates the first payment information of the first user according to the first input, and the first payment information includes first Payment Amount and/or the first calculating process, the first calculating process are the calculating process of the first Payment Amount;Second electronic equipment connects Receive the 5th input;Second electronic equipment generates the second payment information of second user, the second payment letter according to the 5th input Breath includes the second Payment Amount and/or the second calculating process, and second calculating process is the calculating of second Payment Amount Process;The output of second electronic equipment is used to indicate the user information and the second payment of the second user of the trading account of second user Information;First electronic equipment obtains the user information and the second payment information of the second user of the second electronic equipment output;First Electronic equipment judges whether the first payment information is consistent with second payment information;If the first payment information and second pair Money information is consistent, then the first electronic equipment sends payment request and payment information to server, and payment information includes the first payment Information or the second payment information, be used to indicate the first user trading account the first user user information and second user User information.It, can be automatically by comparing the first payment information of the first user and the second payment information of second user Whether the calculating process for verifying Payment Amount or verification Payment Amount is correct.
Wherein, when the following conditions are met, it can be determined that the first payment information is consistent with the second payment information: the first payment The amount of money and the second Payment Amount are identical, and the first calculating process is identical with the second calculating process, and the first Payment Amount and second calculates The calculated result of process is identical or the calculated result of the first calculating process is identical with the second Payment Amount.
In a kind of possible design method, when first payment information is not consistent with second payment information, First electronic equipment output error prompt.The inconsistent of prompt user-pay information is prompted by output error.
Wherein, when the following conditions are met, it is possible to determine that the first payment information is not consistent with the second payment information: first pair The money amount of money and the second Payment Amount be not identical, and the first calculating process and the second calculating process be not identical, the first Payment Amount and The calculated result of two calculating process is not identical or the calculated result of the first calculating process is identical with second Payment Amount.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, and the electronic equipment includes processor and is used for Store the memory of computer program, wherein computer program includes instruction, when the instruction is executed by processor, so that electric Sub- equipment executes the method as described in any one of in terms of first, second, third.
5th aspect, the application provides a kind of computer storage medium, including computer instruction, when computer instruction is in electricity When being run in sub- equipment, so that electronic equipment executes the method as described in any one of in terms of first, second, third.
6th aspect, the application provides a kind of computer program product, when computer program product is transported on an electronic device When row, so that electronic equipment executes the method as described in any one of in terms of first, second, third.
7th aspect, the application provide a kind of graphic user interface, which specifically includes electronic equipment and exist The graphic user interface shown when method any one of in terms of executing such as first, second, third.
It is to be appreciated that electronic equipment described in the fourth aspect of above-mentioned offer, computer storage described in the 5th aspect Graphic user interface described in computer program product described in medium, the 6th aspect and the 7th aspect, is used in execution Corresponding method provided by text, therefore, attainable beneficial effect can refer in corresponding method presented above Beneficial effect, details are not described herein again.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 2 is the software architecture diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of a scenario of electric paying method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of electric paying method provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of a scenario of another electric paying method provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of a scenario of another electric paying method provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of a scenario of another electric paying method provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of a scenario of another electric paying method provided in an embodiment of the present invention;
Fig. 9 is the schematic diagram of a scenario of another electric paying method provided in an embodiment of the present invention;
Figure 10 is the flow diagram of another electric paying method provided in an embodiment of the present invention;
Figure 11 is the schematic diagram of a scenario of another electric paying method provided in an embodiment of the present invention;
Figure 12 is the flow diagram of another electric paying method provided in an embodiment of the present invention;
Figure 13 is the schematic diagram of a scenario of another electric paying method provided in an embodiment of the present invention.
Specific embodiment
It is described in detail below in conjunction with embodiment of the attached drawing to the embodiment of the present application.It should be noted that this Shen Please a kind of method of e-payment that provides of embodiment can be applied to electronic equipment.Illustratively, which can be Tablet computer, desktop type, on knee, laptop, Ultra-Mobile PC (Ultra-mobile Personal Computer, UMPC), handheld computer, net book, personal digital assistant (Personal Digital Assistant, PDA), wearable electronic, smartwatch, mobile unit, intelligent automobile, cashing machine, calculator, mobile phone, etc., the application is real Apply the concrete form of electronic equipment is not done in example it is specifically limited.
Illustratively, Fig. 1 shows the structural schematic diagram of a kind of electronic equipment 100.
Electronic equipment 100 may include processor 110, external memory interface 120, internal storage 121, general serial Bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, display screen 194 and Subscriber Identity Module (subscriber identification module, SIM) card interface 195 Deng.Wherein sensor module 180 may include pressure sensor 180A, gyro sensor 180B, baroceptor 180C, magnetic Sensor 180D, acceleration transducer 180E, range sensor 180F, close to optical sensor 180G, fingerprint sensor 180H, temperature Spend sensor 180J, touch sensor 180K, ambient light sensor 180L, bone conduction sensor 180M etc..
It is understood that the structure of signal of the embodiment of the present invention does not constitute the specific restriction to electronic equipment 100.? In other embodiments of the application, electronic equipment 100 may include than illustrating more or fewer components, or the certain portions of combination Part perhaps splits certain components or different component layouts.The component of diagram can be with hardware, software or software and hardware Combination realize.
Processor 110 may include one or more processing units, such as: processor 110 may include application processor (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, Video Codec, number Signal processor (digital signal processor, DSP), baseband processor and/or neural network processor (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, It can integrate in one or more processors.
Controller can generate operating control signal according to instruction operation code and clock signal, complete instruction fetch and execution The control of instruction.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, processor Memory in 110 is cache memory.The memory can save the instruction that processor 110 is just used or is recycled Or data.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.It avoids Repeated access, reduces the waiting time of processor 110, thus improves the efficiency of system.
In some embodiments, processor 110 may include one or more interfaces.Interface may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit Sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiving-transmitting transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), universal input export (general-purpose Input/output, GPIO) interface, Subscriber Identity Module (subscriber identity module, SIM) interface, and/or Universal serial bus (universal serial bus, USB) interface etc..
I2C interface is a kind of bi-directional synchronization universal serial bus, including serial data line (serial data line, SDA) He Yigen serial time clock line (derail clock line, SCL).In some embodiments, processor 110 may include Multiple groups I2C bus.Processor 110 can by different I2C bus interface distinguish coupled with touch sensors 180K, charger, Flash lamp, camera 193 etc..Such as: processor 110 can make processor by I2C interface coupled with touch sensors 180K 110 are communicated with touch sensor 180K by I2C bus interface, realize the touch function of electronic equipment 100.
I2S interface can be used for voice communication.In some embodiments, processor 110 may include multiple groups I2S bus. Processor 110 can be coupled by I2S bus with audio-frequency module 170, be realized logical between processor 110 and audio-frequency module 170 Letter.In some embodiments, audio-frequency module 170 can transmit audio signal to wireless communication module 160 by I2S interface, real The function of now being received calls by bluetooth headset.
Pcm interface can be used for voice communication, by analog signal sampling, quantization and coding.In some embodiments, sound Frequency module 170 can be coupled with wireless communication module 160 by pcm bus interface.In some embodiments, audio-frequency module 170 Audio signal can also be transmitted to wireless communication module 160 by pcm interface, realize the function to receive calls by bluetooth headset Energy.The I2S interface and the pcm interface may be used to voice communication.
UART interface is a kind of Universal Serial Bus, is used for asynchronous communication.The bus can be bidirectional communications bus. The data that it will be transmitted are converted between serial communication and parallel communications.In some embodiments, UART interface usually by with In connection processor 110 and wireless communication module 160.Such as: processor 110 passes through UART interface and wireless communication module 160 In bluetooth module communication, realize Bluetooth function.In some embodiments, audio-frequency module 170 can be by UART interface to nothing Line communication module 160 transmits audio signal, realizes the function that music is played by bluetooth headset.
MIPI interface can be used to connect the peripheral components such as processor 110 and display screen 194, camera 193.MIPI connects Mouth includes camera serial line interface (camera serial interface, CSI), display screen serial line interface (display Serial interface, DSI) etc..In some embodiments, processor 110 and camera 193 are communicated by CSI interface, real The shooting function of existing electronic equipment 100.Processor 110 and display screen 194 realize electronic equipment 100 by DSI interface communication Display function.
GPIO interface can pass through software configuration.GPIO interface can be configured as control signal, may be alternatively configured as counting It is believed that number.In some embodiments, GPIO interface can be used for connecting processor 110 and camera 193, display screen 194, wirelessly Communication module 160, audio-frequency module 170, sensor module 180 etc..GPIO interface can be additionally configured to I2C interface, and I2S connects Mouthful, UART interface, MIPI interface etc..
Usb 1 30 is the interface for meeting USB standard specification, specifically can be Mini USB interface, and Micro USB connects Mouthful, USB Type C interface etc..Usb 1 30 can be used for connecting charger for the charging of electronic equipment 100, can be used for Data are transmitted between electronic equipment 100 and peripheral equipment.It can be used for connection earphone, audio played by earphone.The interface It can be also used for connecting other electronic equipments, such as AR equipment etc..
It is understood that the interface connection relationship of each intermodule of signal of the embodiment of the present invention, only schematically illustrates, The structure qualification to electronic equipment 100 is not constituted.In other embodiments of the application, electronic equipment 100 can also be used The combination of different interface connection type or multiple interfaces connection type in above-described embodiment.
Charge management module 140 is used to receive charging input from charger.Wherein, charger can be wireless charger, It is also possible to wired charger.In the embodiment of some wired chargings, charge management module 140 can pass through usb 1 30 Receive the charging input of wired charger.In the embodiment of some wireless chargings, charge management module 140 can pass through electronics The Wireless charging coil of equipment 100 receives wireless charging input.While charge management module 140 is that battery 142 charges, may be used also To be power electronic equipment by power management module 141.
Power management module 141 is for connecting battery 142, charge management module 140 and processor 110.Power management mould Block 141 receives the input of battery 142 and/or charge management module 140, is processor 110, internal storage 121, display screen 194, the power supply such as camera 193 and wireless communication module 160.Power management module 141 can be also used for monitoring battery capacity, Circulating battery number, the parameters such as cell health state (electric leakage, impedance).In some other embodiment, power management module 141 Also it can be set in processor 110.In further embodiments, power management module 141 and charge management module 140 can also To be set in the same device.
The wireless communication function of electronic equipment 100 can pass through antenna 1, antenna 2, mobile communication module 150, wireless communication Module 160, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in electronic equipment 100 can be used for covering Cover single or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: it can be by antenna 1 It is multiplexed with the diversity antenna of WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 150, which can provide, applies wirelessly communicating on electronic equipment 100 including 2G/3G/4G/5G etc. Solution.Mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (low noise amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received electricity Magnetic wave is filtered, and the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 150 can also be right The modulated modulated signal amplification of demodulation processor, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments, it moves At least partly functional module of dynamic communication module 150 can be arranged in processor 110.In some embodiments, mobile logical At least partly functional module of letter module 150 can be arranged in the same device at least partly module of processor 110.
Modem processor may include modulator and demodulator.Wherein, modulator is used for low frequency base to be sent Band signal is modulated into high frequency signal.Demodulator is used to received electromagnetic wave signal being demodulated into low frequency baseband signal.Then solution Adjust device that the low frequency baseband signal that demodulation obtains is sent to baseband processor.Low frequency baseband signal is through baseband processor Afterwards, it is delivered to application processor.Application processor is defeated by audio frequency apparatus (being not limited to loudspeaker 170A, receiver 170B etc.) Voice signal out, or image or video are shown by display screen 194.In some embodiments, modem processor can be Independent device.In further embodiments, modem processor can be independently of processor 110, with mobile communication module 150 or other function module be arranged in the same device.
It includes WLAN (wireless that wireless communication module 160, which can be provided and be applied on electronic equipment 100, Local area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), the short distance wireless communication technology (near field communication, NFC) are red The solution of the wireless communications such as outer technology (infrared, IR).Wireless communication module 160 can be integrated into few communication One or more devices of processing module.Wireless communication module 160 receives electromagnetic wave via antenna 2, by electromagnetic wave signal frequency modulation And filtering processing, by treated, signal is sent to processor 110.Wireless communication module 160 can also connect from processor 110 Signal to be sent is received, frequency modulation is carried out to it, is amplified, is switched to electromagenetic wave radiation through antenna 2 and go out.
In some embodiments, the antenna 1 of electronic equipment 100 and mobile communication module 150 couple, antenna 2 and channel radio Believe that module 160 couples, allowing electronic equipment 100, technology is communicated with network and other equipment by wireless communication.It is described Wireless communication technique may include global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), CDMA access (code Division multiple access, CDMA), wideband code division multiple access (wideband code division multiple Access, WCDMA), time division CDMA (time-division code division multiple access, TD- SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..Institute Stating GNSS may include GPS (global positioning system, GPS), global navigational satellite system It unites (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou Navigation satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite System, QZSS) and/or satellite-based augmentation system (satellite based augmentation systems, SBAS).
Electronic equipment 100 realizes display function by GPU, display screen 194 and application processor etc..GPU is at image The microprocessor of reason connects display screen 194 and application processor.GPU is calculated for executing mathematics and geometry, is used for figure wash with watercolours Dye.Processor 110 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 194 is for showing image, video etc..Display screen 194 includes display panel.Display panel can use liquid Crystal display screen (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light Emitting diodes, QLED) etc..In some embodiments, electronic equipment 100 may include 1 or N number of display screen 194, N For the positive integer greater than 1.
Electronic equipment 100 can be by ISP, camera 193, Video Codec, GPU, display screen 194 and at It manages device etc. and realizes shooting function.
ISP is used to handle the data of the feedback of camera 193.For example, opening shutter when taking pictures, light is passed by camera lens It is delivered on camera photosensitive element, optical signal is converted to electric signal, and camera photosensitive element passes to the electric signal at ISP Reason, is converted into macroscopic image.ISP can also be to the noise of image, brightness, colour of skin progress algorithm optimization.ISP can be with Exposure to photographed scene, the parameter optimizations such as colour temperature.In some embodiments, ISP can be set in camera 193.
Camera 193 is for capturing still image or video.Object generates optical imagery by camera lens and projects photosensitive member Part.Photosensitive element can be charge-coupled device (charge coupled device, CCD) or complementary metal oxide is partly led Body (complementary metal-oxide-semiconductor, CMOS) phototransistor.Photosensitive element turns optical signal It changes electric signal into, electric signal is passed into ISP later and is converted into data image signal.Data image signal is output to DSP by ISP Working process.Data image signal is converted into the RGB of standard, the picture signal of the formats such as YUV by DSP.In some embodiments, Electronic equipment 100 may include 1 or N number of camera 193, and N is the positive integer greater than 1.
Digital signal processor, in addition to can handle data image signal, can also handle it for handling digital signal His digital signal.For example, digital signal processor is used to carry out Fu to frequency point energy when electronic equipment 100 is when frequency point selects In leaf transformation etc..
Video Codec is used for compression of digital video or decompression.Electronic equipment 100 can be supported one or more Video Codec.In this way, electronic equipment 100 can play or record the video of a variety of coded formats, and such as: dynamic image is special Family's group (moving picture experts group, MPEG) 1, MPEG2, mpeg 3, MPEG4 etc..
NPU is neural network (neural-network, NN) computation processor, by using for reference biological neural network structure, Such as transfer mode between human brain neuron is used for reference, it, can also continuous self study to input information fast processing.Pass through NPU The application such as intelligent cognition of electronic equipment 100 may be implemented, such as: image recognition, recognition of face, speech recognition, text understanding Deng.
External memory interface 120 can be used for connecting external memory card, such as Micro SD card, realize that extension electronics is set Standby 100 storage capacity.External memory card is communicated by external memory interface 120 with processor 110, realizes that data store function Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 121 can be used for storing computer executable program code, and the executable program code includes Instruction.Internal storage 121 may include storing program area and storage data area.Wherein, storing program area can store operation system It unites, application program (such as sound-playing function, image player function etc.) needed at least one function etc..It storage data area can The data (such as audio data, phone directory etc.) etc. created in storage 100 use process of electronic equipment.In addition, storage inside Device 121 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk storage Device, flush memory device, generic flash memory (universal flash storage, UFS) etc..Processor 110 passes through operation It is stored in the instruction of internal storage 121, and/or is stored in the instruction for the memory being set in processor, electronics is executed and sets Standby 100 various function application and data processing.
Electronic equipment 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone Interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Audio-frequency module 170 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency Input is converted to digital audio and video signals.Audio-frequency module 170 can be also used for audio-frequency signal coding and decoding.In some embodiments In, audio-frequency module 170 can be set in processor 110, or the partial function module of audio-frequency module 170 is set to processor In 110.
Loudspeaker 170A, also referred to as " loudspeaker ", for audio electrical signal to be converted to voice signal.Electronic equipment 100 can be with Music is listened to by loudspeaker 170A, or listens to hand-free call.
Receiver 170B, also referred to as " earpiece ", for audio electrical signal to be converted into voice signal.When electronic equipment 100 connects It answers a call or when voice messaging, it can be by the way that receiver 170B be answered voice close to human ear.
Microphone 170C, also referred to as " microphone ", " microphone ", for voice signal to be converted to electric signal.When making a phone call Or when sending voice messaging, voice signal can be input to microphone by mouth close to microphone 170C sounding by user 170C.At least one microphone 170C can be set in electronic equipment 100.In further embodiments, electronic equipment 100 can be set Two microphone 170C are set, in addition to collected sound signal, can also realize decrease of noise functions.In further embodiments, electronics is set Standby 100 can also be arranged three, four or more microphone 170C, realize that collected sound signal, noise reduction can also identify sound Directional recording function etc. is realized in source.
Earphone interface 170D is for connecting wired earphone.Earphone interface 170D can be usb 1 30, be also possible to Opening mobile electronic device platform (open mobile terminal platform, OMTP) standard interface of 3.5mm, the U.S. Cellular telecommunication industrial association (cellular telecommunications industry association of the USA, CTIA) standard interface.
Pressure signal can be converted into electric signal for experiencing pressure signal by pressure sensor 180A.In some implementations In example, pressure sensor 180A be can be set in display screen 194.Pressure sensor 180A
Type it is very much, such as resistive pressure sensor, inductance pressure transducer, capacitance pressure transducer, etc..Electricity Appearance formula pressure sensor can be the parallel-plate including at least two with conductive material.Pressure sensor is acted on when strong 180A, the capacitor between electrode change.Electronic equipment 100 determines the intensity of pressure according to the variation of capacitor.When there is touch operation Display screen 194 is acted on, electronic equipment 100 detects the touch operation intensity according to pressure sensor 180A.Electronic equipment 100 The position touched can also be calculated according to the detection signal of pressure sensor 180A.In some embodiments, identical touching is acted on Position, but the touch operation of different touch operation intensity are touched, different operational orders can be corresponded to.Such as: when there is touch operation When the touch operation that intensity is less than first pressure threshold value acts on short message application icon, the instruction for checking short message is executed.When When thering is touch operation of the touch operation intensity more than or equal to first pressure threshold value to act on short message application icon, execute newly-built The instruction of short message.
Gyro sensor 180B is determined for the athletic posture of electronic equipment 100.It in some embodiments, can be with Determine that electronic equipment 100 surrounds the angular speed of three axis (that is, x, y and z-axis) by gyro sensor 180B.Gyro sensors Device 180B can be used for shooting stabilization.Illustratively, when pressing shutter, gyro sensor 180B detection electronic equipment 100 is trembled Dynamic angle goes out the distance that lens module needs to compensate according to angle calculation, camera lens is allowed to offset electronic equipment by counter motion Stabilization is realized in 100 shake.Gyro sensor 180B can be also used for navigating, somatic sensation television game scene.
Baroceptor 180C is for measuring air pressure.In some embodiments, electronic equipment 100 passes through baroceptor The atmospheric pressure value that 180C is measured calculates height above sea level, auxiliary positioning and navigation.
Magnetic Sensor 180D includes Hall sensor.Electronic equipment 100 can use Magnetic Sensor 180D flip cover skin The folding of set.In some embodiments, when electronic equipment 100 is liding machine, electronic equipment 100 can be according to Magnetic Sensor The folding of 180D flip cover.And then according to the folding condition of the leather sheath detected or the folding condition of flip lid, setting flip lid is certainly The characteristics such as dynamic unlock.
Acceleration transducer 180E can detect the big of (the generally three axis) acceleration in all directions of electronic equipment 100 It is small.It can detect that size and the direction of gravity when electronic equipment 100 is static.It can be also used for identification electronic equipment posture, answer Switch for horizontal/vertical screen, the application such as pedometer.
Range sensor 180F, for measuring distance.Electronic equipment 100 can pass through infrared or laser distance measuring.? In some embodiments, photographed scene, electronic equipment 100 can use range sensor 180F ranging to realize rapid focus.
It may include such as light emitting diode (LED) and photodetector, such as photodiode close to optical sensor 180G. Light emitting diode can be infrared light-emitting diode.Electronic equipment 100 launches outward infrared light by light emitting diode.Electronics is set Standby 100 detect the infrared external reflection light from neighbouring object using photodiode.It, can be true when detecting sufficient reflected light Determining electronic equipment 100 nearby has object.When detecting insufficient reflected light, electronic equipment 100 can determine electronic equipment 100 do not have object nearby.Electronic equipment 100 can use to be pasted close to optical sensor 180G detection user's hand-hold electronic equipments 100 Nearly ear call, so that automatic distinguishing screen achievees the purpose that power saving.It can also be used for leather sheath mode, mouth close to optical sensor 180G Bag mode automatic unlocking and screen locking.
Ambient light sensor 180L is for perceiving environmental light brightness.Electronic equipment 100 can be according to the environment bright of perception Spend 194 brightness of automatic adjusument display screen.Automatic white balance adjustment when ambient light sensor 180L can also be used for taking pictures.Environment light Sensor 180L can also cooperate with close to optical sensor 180G, electronic equipment 100 be detected whether in pocket, with false-touch prevention.
Fingerprint sensor 180H is for acquiring fingerprint.The fingerprint characteristic that electronic equipment 100 can use acquisition realizes fingerprint Unlock accesses application lock, and fingerprint is taken pictures, fingerprint incoming call answering etc..
Temperature sensor 180J is for detecting temperature.In some embodiments, electronic equipment 100 utilizes temperature sensor The temperature of 180J detection, executes Temperature Treatment strategy.For example, when the temperature sensor 180J temperature reported is more than threshold value, electronics Equipment 100 executes the performance for reducing the processor being located near temperature sensor 180J, implements Thermal protection to reduce power consumption.? In other embodiments, when temperature is lower than another threshold value, electronic equipment 100 heats battery 142, leads to electricity to avoid low temperature The abnormal shutdown of sub- equipment 100.In some other embodiment, when temperature is lower than another threshold value, electronic equipment 100 is to battery 142 output voltage executes boosting, to avoid shutting down extremely caused by low temperature.
Touch sensor 180K, also referred to as " touch-control device ".Touch sensor 180K can be set in display screen 194, by touching It touches sensor 180K and display screen 194 forms touch screen, also referred to as " touch screen ".Touch sensor 180K acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 194.In further embodiments, it touches Touching sensor 180K also can be set in the surface of electronic equipment 100, different from the location of display screen 194.
The available vibration signal of bone conduction sensor 180M.In some embodiments, bone conduction sensor 180M can be with Obtain the vibration signal of human body part vibration bone block.Bone conduction sensor 180M can also contact human pulse, receive blood pressure and jump Dynamic signal.In some embodiments, bone conduction sensor 180M also can be set in earphone, be combined into bone conduction earphone.Sound Frequency module 170 can parse voice based on the vibration signal for the part vibration bone block that the bone conduction sensor 180M is obtained Signal realizes phonetic function.The blood pressure jitter solution that application processor can be obtained based on the bone conduction sensor 180M Heart rate information is analysed, realizes heart rate detecting function.
Key 190 includes power button, volume key etc..Key 190 can be mechanical key.It is also possible to touch-key. Electronic equipment 100 can receive key-press input, generate key letter related with the user setting of electronic equipment 100 and function control Number input.
Motor 191 can produce vibration prompt.Motor 191 can be used for calling vibration prompt, can be used for touching vibration Dynamic feedback.For example, acting on the touch operation of different application (such as taking pictures, audio broadcasting etc.), different vibrations can be corresponded to Feedback effects.The touch operation of 194 different zones of display screen is acted on, motor 191 can also correspond to different vibrational feedback effects. Different application scenarios (such as: time alarm receives information, alarm clock, game etc.) different vibrational feedback effects can also be corresponded to Fruit.Touch vibrational feedback effect can also be supported customized.
Indicator 192 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction and disappear Breath, missed call, notice etc..
SIM card interface 195 is for connecting SIM card.SIM card can be by being inserted into SIM card interface 195, or from SIM card interface 195 extract, and realization is contacting and separating with electronic equipment 100.Electronic equipment 100 can support 1 or N number of SIM card interface, N For the positive integer greater than 1.SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc..The same SIM Card interface 195 can be inserted into multiple cards simultaneously.The type of multiple cards may be the same or different.SIM card interface 195 Different types of SIM card can also be compatible with.SIM card interface 195 can also be with compatible external storage card.Electronic equipment 100 passes through SIM Card and network interaction realize the functions such as call and data communication.In some embodiments, electronic equipment 100 uses eSIM, That is: embedded SIM card.ESIM card can cannot separate in electronic equipment 100 with electronic equipment 100.
The software systems of electronic equipment 100 can use layer architecture, event-driven framework, micronucleus framework, micro services frame Structure or cloud framework.The embodiment of the present invention by taking the android system of layer architecture as an example, exemplary illustration electronic equipment 100 it is soft Part structure.
Fig. 2 is the software architecture diagram of the electronic equipment 100 of the embodiment of the present invention.
Software is divided into several layers by layer architecture, and each layer has clearly role and the division of labor.Pass through between layers Software interface communication.In some embodiments, android system is divided into four layers, from top to bottom respectively application layer, answered With process block rack-layer, (Android runtime) and system library and inner nuclear layer when Android is run.
Application layer may include a series of application packages.
As shown in Fig. 2, application package may include camera, and picture library, calendar, call, map, navigation, WLAN, bluetooth, Music, video, short message, calculator, the application programs such as payment.
Application framework layer provides Application Programming Interface (application for the application program of application layer Programming interface, API) and programming framework.Application framework layer includes some functions predetermined.
As shown in Fig. 2, application framework layer may include window manager, Content Provider, view system, phone pipe Manage device, resource manager, notification manager etc..
Window manager is for managing window writing routine.The available display screen size of window manager, judges whether there is shape State column, lock-screen, screen printing etc..
Content Provider is used to store and obtains data, and accesses these data by application program.The data It may include video, image, audio, the phone dialed and answered, browsing history and bookmark, telephone directory etc..
View system includes visible controls, such as the control of display text, shows the control etc. of picture.View system is available In building application program.What display interface can be made of one or more views.E.g., including the display of short massage notice icon Interface may include the view for showing text and the view for showing picture.
Telephone supervisor is for providing the communication function of electronic equipment 100.Such as talking state management (including connect, It hangs up).
Resource manager provides various resources, such as localized strings for application program, icon, picture, topology file, Video file etc..
Notification manager allows application program to show notification information in status bar, can be used for conveying and informs type Message, can be to disappear, without user's interaction automatically after short stay.For example notification manager be used to inform that downloading is completed, and disappear Breath prompting etc..Notification manager, which can also be, appears in the logical of system head status bar with chart or scroll bar textual form Know, for example, running background application program notice, can also be occur notice on the screen in the form of dialog box.Such as Text information is prompted in status bar, issues prompt tone, vibration of electronic equipment, indicator light flashing etc..
Android Runtime includes core library and virtual machine.Android runtime be responsible for Android system scheduling and Management.
Core library includes two parts: a part is the power function that java language needs to call, and another part is Android Core library.
Application layer and application framework layer operate in virtual machine.Virtual machine is by application layer and application program It is binary file that the java file of ccf layer, which executes,.Virtual machine is used to execute the management of Object Life Cycle, stack management, line Thread management, safety and the functions such as abnormal management and garbage reclamation.
System library may include multiple functional modules.Such as: surface manager (surface manager), media library (Media Libraries), three-dimensional graph process library (such as: OpenGL ES), 2D graphics engine (such as: SGL) etc..
Surface manager provides 2D and 3D figure layer for being managed to display subsystem for multiple application programs Fusion.
Media library supports a variety of common audios, video format playback and recording and static image file etc..Media library It can support a variety of audio/video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG etc..
Three-dimensional graph process library is for realizing 3-D graphic drawing, image rendering, synthesis and figure layer process etc..
2D graphics engine is the drawing engine that 2D draws.
Inner nuclear layer is the layer between hardware and software.Inner nuclear layer includes at least display driving, webcam driver, and audio is driven It is dynamic, sensor driving.
In the embodiment of the present application, when user touches touch screen, touch sensor 180K detects finger on the touchscreen Touch operation, touch operation is passed into processor 110.Inner nuclear layer by touch operation be processed into original input event (including Touch coordinate, the information such as timestamp of touch operation).Original input event is stored in inner nuclear layer.Application framework layer from Inner nuclear layer obtains original input event, identifies control corresponding to the incoming event.As shown in (a) in Fig. 3, with touch behaviour Work is single-click operation, and control corresponding to the single-click operation is calculator application calling for the control of calculator application icon The interface of application framework layer starts calculator application.
It is understood that the method that embodiment shown in following figure 4 to Figure 13 provides is mentioned applied to foregoing embodiments In the electronic equipment of confession.
In order to make it easy to understand, below with reference to payment scene to a kind of method of e-payment provided by the embodiments of the present application into Row is specific to be introduced.Fig. 4 is a kind of flow diagram of electric paying method provided by the embodiments of the present application.As shown in figure 4, the electricity Sub- method of payment may include:
S401, electronic equipment 100 receive the first input, and first input includes Payment Amount relevant to the first user Calculating process.
Wherein, first input can be the calculating process inputted on electronic equipment 100.The calculating process be in order to Calculate Payment Amount relevant to the first user.Payment Amount relevant to the first user, it is to be paid to can be the first user Payment Amount or the first user Payment Amount to be collected money.That is, first input includes the calculating of Payment Amount Process.Electronic equipment receives the first input of the first user to obtain the calculating process of the Payment Amount.The Payment Amount Calculating process may include number and calculate symbol.Illustratively, three commodity, the amount of money difference of three commodity are such as had purchased For 1.2 yuan, 2.4 yuan, 10 yuan, then as shown in figure 5, the first user can be on the calculating interface that electronic equipment 100 is shown successively Input " 1 " " " " 2 " "+" " 2 " " " " 4 " "+" " 1 " " 0 ".At this point, the calculating process for the Payment Amount that electronic equipment 100 obtains is "12+24+10".For another example, a discounting commodity are bought, original cost is 100 yuan, makes a call to 8 foldings now, then the first user can set in electronics " 1 " " 0 " " 0 " "×" " 0 " " " " 8 " "=" is sequentially input on the calculating interface of standby display.At this point, what electronic equipment 100 obtained The calculating process of Payment Amount is " 100 × 0.8 ".It is understood that when the first user inputs "=", electronic equipment 100 It is calculated according to the first inputted formula of input, then by calculating as the result is shown on display screen 194.For another example, it buys Two pieces commodity, the amount of money of two pieces commodity are respectively 50 yuan, 40 yuan, all make a call to 8 foldings now, then the first user can be in electronic equipment " 5 " " 0 " "+" " 4 " " 0 " "=" is inputted on 100, then inputs "×" " 0 " " " " 8 " again.At this point, pair that electronic equipment 100 obtains The calculating process of the money amount of money can be " (50+40) × 0.8 ", or " 90 × 0.8 ".It should be noted that electronic equipment The method for obtaining the calculating process of Payment Amount including but not limited to calculates in interface in application interface of calculator etc. and passes through touching It touches the corresponding button input number and calculates symbol to obtain the calculating process of Payment Amount.For example, first input can be with It is voice input.Illustratively, the first user can input " original cost is 100 yuan, calculates the price after giving twenty percent discount " by voice. For another example, first input can be the bar code or two dimensional code for reading one or more commodity.Illustratively, the first user can The two dimensional code of first commodity is scanned, then scans the two dimensional code of second commodity, then electronic equipment 100 is in response to above-mentioned first Input reads two dimensional code to obtain the pricing information of each commodity.For another example, first input, which can be to capture, contains one or more The image of a commodity.Electronic equipment 100 or server identify to obtain each commodity the commodity in above-mentioned capture image Pricing information.First user also refers to user corresponding with the account of Payment Amount, i.e., with gathering or payment The user that matches of trading account.It is understood that first input can be carried out by the first user, it can also be by the Other users other than one user carry out.Likewise, each embodiment of the application do not limit each input action be by it is specific which The operation that a user executes.
S402, electronic equipment 100 receive the second input, and second input is used to indicate into payment process.
Illustratively, in some embodiments of the present application, in Fig. 6 shown in (a), application interface of calculator etc. is calculated Payment button 601 is provided on interface.Second input can be with are as follows: 601 quilt of the payment button calculated on interface It touches.In response to second input, electronic equipment 100 enters payment process.It is described into payment process can be starting or Jump to corresponding payment program or payment application.As shown in (b) in Fig. 6, the payment process that enters may include starting Webcam driver captures still image or video by camera 193.
In other embodiments of the application, as shown in Fig. 7 (a), application interface of calculator etc. calculates can in interface To be not provided with individual payment button 601.For example, second input can be with are as follows: "=" button 701 calculated on interface is grown It presses or presses again.In response to second input, electronic equipment 100 enters payment process.Alternatively, when "=" button 701 is long pressed Or weight is on time, electronic equipment 100 can show shortcut menu 702.It include at least one payment application or branch in shortcut menu 702 Pay the quick botton 703 of application function.It is understood that can also be answered including other in shortcut menu 702 although being not shown With or application function quick botton 704.Described second input for example can be with are as follows: touches a certain quick botton 703 or sliding Region near to a certain quick botton 703;In response to second input, the electronic equipment 100 enters payment process.
S403, electronic equipment 100 obtain the user information with the second user of first customer transaction.
Wherein, the user information of second user is used to indicate the trading account of the second user.For example, second user User information can be the title of second user and/or the contact method of second user.Illustratively, electronic equipment 100 can be with The still image containing payment code or video are captured by camera 193 to obtain the user information of second user.Wherein, described Payment code can be two dimensional code or strip code, and the electronic equipment 100 can obtain the use of second user from the payment code Family information.
For example, electronic equipment 100 enters payment process, the starting camera shooting of electronic equipment 100 in response to second input Head, electronic equipment 100 show the barcode scanning interface as shown in (b) in Fig. 6 by display screen 194.Electronic equipment 100 passes through camera 193 capture still images or video.Electronic equipment 100 is handled to detect still image or video by processor 110 Payment code in the still image or video.If payment code is not detected, electronic equipment 100 can pop up prompting frame, User is prompted to capture still image or video containing payment code;Alternatively, if payment code is not detected within the predetermined time, Electronic equipment can exit the payment process.If detecting payment code, electronic equipment identifies the payment code to obtain The user information of second user.
It should be noted that the method for obtaining the user information of second user, is including but not limited to captured by camera The method of two dimensional code or bar code image.
S404, electronic equipment 100 obtain the calculated result of the first input as Payment Amount.
After the user information for obtaining second user, electronic equipment 100 can be shown by display screen 194 such as (b) in Fig. 8 Shown in payment interface.The payment interface may include: the user information of second user, and input frame 801 confirms payment button 802 and keyboard 803.Wherein, the keyboard 803 is for inputting Payment Amount.The input frame 801 is used to show the payment of input The amount of money.In the prior art, electronic equipment shows user in input frame 801 by the Payment Amount that keyboard 803 is manually entered. In the embodiment of the present application, electronic equipment 100 can be using the calculated result of the first input as Payment Amount Auto-writing to defeated Enter in frame 801.
For example, the first input is that " 1 " " 0 " " 0 " "×" " 0 " " " " 8 " "=" or first are defeated as shown in (c) in Fig. 8 Entering for " 5 " " 0 " "+" " 5 " " 0 " "=" "×" " 0 " " " " 8 " or the first input is " 1 " " 0 " " 0 " "×" " 0 " " " " 8 " When, electronic equipment 100 can be by calculated result " 80 " Auto-writing into input frame 801.
It should be noted that electronic equipment 100 can directly acquire first described in step S401 in the embodiment of the present application The calculated result of input is as Payment Amount.Alternatively, the available calculating process of electronic equipment 100, according to the calculating Process calculates the calculated result of first input.For example, the calculating process obtained is (50+40) × 0.8, calculating process (50+ 40) calculated result × 0.8 is 72, then electronic equipment 100 is shown 72 automatically as Payment Amount into input frame 801.
It should be noted that electronic equipment 100 obtains the user information of second user first in embodiments herein, Then the calculated result of the first input is obtained as Payment Amount.Alternative, it is defeated that electronic equipment 100 can obtain first first Then the calculated result entered obtains the user information of second user as Payment Amount.
S405, electronic equipment 100 receive third input, input in response to the third, send payment request to server And payment information.
Wherein, the payment information includes the user information of the first user, the user information of second user and payment letter Breath.The third input is used to indicate the electronic equipment and sends payment request and payment information to server.Illustratively, institute Stating third input can be with are as follows: the confirmation payment button 802 is touched.For example, when the first user clicks shown in (c) in Fig. 8 Confirmation payment button 802 after, inputted in response to the third, electronic equipment 100 sends payment request and payment to server Information.Wherein, the payment to the first user of payment request or second user that payment request includes the first user to second user Request.The payment information includes the user information of the first user, the user information of second user and payment information.Wherein, The user information of first user is used to indicate the trading account of first user.The user information of first user can wrap It includes: the title of the first user.The payment information may include the calculating process of Payment Amount and/or the Payment Amount.
For convenience of explanation, it is assumed that the first user is customer, and second user is trade company.In response to first user to The payment request of two users, server execute delivery operation according to the payment information.Illustratively, server is according to described The user information of one user determines the trading account of first user, according to the confirmation of the user information of the second user The trading account of second user.Server calculates Payment Amount according to the calculating process in the payment information, or directly obtains Take the Payment Amount in the payment information.Server judges whether the remaining sum of the trading account of the first user is greater than the payment The amount of money.If the remaining sum of the trading account of first user is greater than the Payment Amount, friendship of the server from the first user Easy account subtracts the Payment Amount, increases the Payment Amount to the trading account of second user.Server is to the first user It is sent with second user and pays successful notification message.Wherein, the notification message that first user receives may include The user information and payment information of two users.The notification message that the second user receives may include the user of the first user Information and payment information.Wherein, the payment information includes Payment Amount.The payment information can also include the payment gold The calculating process of volume., whereas if the remaining sum of the trading account of first user is less than the Payment Amount, then server can To send the notification message of payment failure to the first user and second user.
S406, electronic equipment 100 receive notification message.
Electronic equipment 100 receives the notification message that server is sent.Illustratively, as shown in figure 9, electronic equipment 100 can With the notification message received described in display.For another example, illustratively, electronic equipment 100 can be to receive described in voice output Notification message.For example, exporting voice signal by audio frequency apparatus: " you are good, and Tom successfully pays 80 to Shenzhen center XX Member.".
It should be noted that above-mentioned first user and second user can be customer and trade company respectively, or can also divide It is not trade company and customer.That is to say, above-mentioned first user and second user can be paying party and beneficiary respectively, or can also To be beneficiary and paying party respectively.
In the prior art, the price summation that trade company calculates commodity obtains the amount of money of pending payment and informs the amount of money of pending payment Customer, customer are manually entered Payment Amount in payment interface.Notification information and payment information do not include paying in the prior art The calculating process of the money amount of money.If customer wants to verify the correctness of the calculating process of the Payment Amount, need in addition to open meter The application programs such as device are calculated, input calculating process is cumbersome to verify the Payment Amount.One kind provided by the embodiments of the present application Electric paying method: electronic equipment 100, which is received, to be paid in the first input that application interface of calculator etc. calculates in interface with obtaining The calculating process of the money amount of money;Then, in response to second input in the calculating interface, into payment process;By institute The calculated result for stating the first input is automatically filled in corresponding input frame as Payment Amount, can be to avoid in the prior art numerous Trivial operation, the operation as carried out manual switching between calculator application and payment application, or will be counted obtained in calculator Calculate the operation that result is manually entered into corresponding input frame as Payment Amount.In addition, the e-payment side in the embodiment of the present application The calculating process of the Payment Amount is sent to server by method, electronic equipment 100, so that the notice that server is sent disappears Breath may include the calculating process of the Payment Amount, and the calculating process of the Payment Amount is verified convenient for trade company and customer.
It is understood that the first electric paying method of the embodiment of the present application, second user need to check server The notification message of transmission is to verify the calculating process of the Payment Amount.That is, second user need the first user to Server verifies the calculating process after sending payment request.It is different from the first e-payment side in the embodiment of the present application Method, the method that second user obtains the calculating process via server, another electric paying method of the embodiment of the present application, The calculating process of the first electronic equipment output Payment Amount of first user, the second electronic equipment of second user can directly from First electronic equipment obtains the calculating process of the Payment Amount.Figure 10 is another electronics provided by the embodiments of the present application The flow diagram of method of payment.As shown in Figure 10, which may include:
S1001, the first electronic equipment receive the first input, and first input includes payment gold relevant to the first user The calculating process of volume.
First electronic equipment is used to receive the first input to obtain the calculating process of Payment Amount relevant to the first user. First electronic equipment can be the terminal of the first user.Step S1001 in Figure 10 is identical as the step S401 in Fig. 4, herein It repeats no more.
S1002, the first electronic equipment receive the 4th input.
Illustratively, the calculating interface can also include output button.4th input can be with are as follows: the output is pressed Button is touched.Alternatively, the 4th input can be with again are as follows: "=" button calculated on interface is long pressed or presses.Alternatively, described Four inputs can be with are as follows: is inputted by voice: " output two dimensional code ".It is defeated that 4th input is used to indicate first electronic equipment The user information of first user and pending payment information out.Wherein, the pending payment information includes described with the first user phase The calculating process of the Payment Amount of pass.
S1003, the first electronic equipment export the user information of first user and wait pay in response to the 4th input Money information.
First electronic equipment exports the user information and pending payment information of first user, so that the second electronics is set The standby user information and pending payment information for obtaining first user.Illustratively, the user of output first user Information and pending payment information can be with are as follows: the first electronic equipment is according to the calculating process of the Payment Amount and the user of the first user Information generates payment code, and the image of the payment code is contained by the display of display screen 194.The payment code includes the first user User information and pending payment information.
Wherein, payment code can be two dimensional code or bar code.The pending payment information may include the meter of Payment Amount Calculation process, such as the payment code is carried out to identify the available pending payment information such as " 100 × 0.8 ".The pending payment letter Breath can also be the unit prices of each commodity, such as to the payment code identify it is available such as " 20,15,5 " pending payment information, The price for respectively indicating 3 commodity of purchase is respectively 20 yuan, 15 yuan, 5 yuan.
It should be noted that the pending payment information can also include Payment Amount, such as the payment code is identified Available such as " 80;100 × 0.8 ", or " 40;20,15,5 " pending payment information.Including Payment Amount in payment code can To reduce the computation burden for the electronic equipment calculating Payment Amount for reading the payment code.
It is understood that the method for the user information and pending payment information of output first user, including but it is unlimited Payment code is generated in the user information according to the calculating process of the Payment Amount and first user and shows the payment The method of code.For example, optional, the method for the user information and pending payment information that export first user can be with are as follows: passes through Wi-Fi, bluetooth or other short-range communications send the user information and pending payment information of first user.For another example, optionally, The method of the user information and pending payment information that export first user can be with are as follows: according to the user information of first user It generates payment code and shows the payment code, by Wi-Fi, bluetooth or other short-range communications send the pending payment information.
S1004, the second electronic equipment obtain the user information of the first user of the first electronic equipment output and wait pay Money information.
Wherein, second electronic equipment can be the terminal of second user.Illustratively, second electronic equipment obtains The user information and pending payment information for taking the first user of first electronic equipment output can be with are as follows: the second electronic equipment passes through Camera captures the still image containing payment code or video to obtain the user information and pending payment information of the first user.Specifically Are as follows: second electronic equipment obtains the still image or video of camera capture;The second electronic equipment identification is described quiet Payment code in state image or video, the payment code include the user information and pending payment information of first user.
It should be noted that the method for obtaining the user information and pending payment information of the first user, including but not limited to logical Cross method of the camera capture payment code image to obtain.For example, optional, obtain first user user information and to The method of payment information can be with are as follows: by Wi-Fi, bluetooth or short-range communication obtain first user user information and to Payment information.For another example, optionally, the method for the user information and pending payment information that obtain first user can be with are as follows: passes through Camera still image of the capture containing payment code or video are to obtain the user information of the first user and by Wi-Fi, bluetooth Or short-range communication obtains the pending payment information.
S1005, the second electronic equipment export the user information and pending payment information of first user.
Illustratively, as shown in figure 11, the second electronic equipment exports the user information and pending payment letter of first user Breath can be with are as follows: the second electronic equipment shows the user information and pending payment information of first user.Alternatively, the second electronic equipment The user information and pending payment information for exporting first user can be with are as follows: the use of second the first user of electronic equipment voice output Family information and pending payment information.Second user can verify the calculating process of the Payment Amount by the output.
S1006, the second electronic equipment receive third input.
Illustratively, third input, which can be to touch, clicks confirmation payment button 1101 as shown in Figure 11.Alternatively, the Three inputs are also possible to voice input, such as voice input " have confirmed that errorless, please pay ".It should be noted that third inputs Including but not limited to touch input or voice input.The third input is used to indicate electronic equipment and asks to server transmission payment Summation payment information.
S1007, the second electronic equipment are inputted in response to the third, send payment request and payment information to server, Wherein, the payment information includes the user information of the first user, the user information of second user and payment information.
Second electronic equipment is inputted in response to the third, is generated according to the user information of the first user and pending payment information Payment information.Wherein, the payment information includes the user information of the first user, the user information of second user and payment letter Breath.Wherein, the description of the user information of first user is referring to step S403, the description of the user information of the second user Referring to step S405, details are not described herein.The payment information may include Payment Amount.It is understood that the second electronics Equipment can generate the payment information according to the pending payment information of acquisition.For example, the second electronic equipment can according to it is described to Calculating process in payment information is calculated the Payment Amount or the second electronic equipment can also directly acquire it is described to Payment Amount in payment information is as the Payment Amount in payment information.Second electronic equipment sends to the server and pays Request and the payment information.It is understood that the payment information may include the calculating process of Payment Amount.Described pair Calculating process in money information is the calculating process in the pending payment information obtained.
It is understood that in response to the payment request of second equipment, server is executed according to the payment information Delivery operation.It should be noted that payment gold can be calculated according to the calculating process in the payment information in server Volume.The description of the delivery operation is referring to step S405, and details are not described herein.
S1008, the second electronic equipment receive notification message and/or the first electronic equipment receives notification message.
The description of step S1008 is referring to step S406, and details are not described herein.
Wherein, first electronic equipment or/and second electronic equipment can be electronic equipment 100.
As described above, second equipment can obtain institute in another electric paying method provided by the embodiments of the present application When stating the user information of the first user, the calculating process of Payment Amount relevant to the first user is obtained.Therefore, second user can To obtain the calculating process from first electronic equipment to verify the calculating before sending payment request to server Whether process is correct.In addition, still can use another above-mentioned electronics when server does not support the transmitting of the calculating process Method of payment obtains the detailed calculating process of the Payment Amount.User is not necessarily to send calculating process to server, can protect The privacy of user.
It is understood that the electric paying method in above-described embodiment, need user artificially verify Payment Amount and Whether calculating process is correct.Another electric paying method provided by the embodiments of the present application, by comparing the first of the first user Second payment information of payment information and second user, the calculating process for automatically verifying Payment Amount or verification Payment Amount are It is no correct.Figure 12 is the flow diagram of another electric paying method provided by the embodiments of the present application.As shown in figure 12, the electricity Sub- method of payment may include:
S1201, the first electronic equipment receive the first input, generate the first payment information according to first input.
Illustratively, first electronic equipment can be the terminal of the first user.First electronic equipment can receive The first input of one user generates the first payment information of first user according to first input.Wherein, described first The description of input is referring to step S401, and details are not described herein.First payment information includes the first Payment Amount.Described first The first Payment Amount of user can be the calculated result of the first input.Illustratively, the first input is " 1 " " 0 " " 0 " "×" " 0 " " " " 8 ", then first payment information can be " 80 " at this time.In other embodiments of the application, described first Payment information may include the first calculating process, and first calculating process is the meter for calculating the first Payment Amount input Calculation process.The description of first calculating process is referring to step S401, and details are not described herein.
S1202, the first electronic equipment receive the second input.
The description of second input is referring to step S402, and details are not described herein.
S1203, it is inputted in response to described second, the first electronic equipment obtains the second user of the second electronic equipment output User information and the second payment information.
Wherein, the method for the user information and the second payment information of second electronic equipment output second user, can be with Including step S1221-S1223.
S1221, the second electronic equipment receive the 5th input, generate the second payment information according to the 5th input.
Wherein, the second electronic equipment can be the terminal of second user.The description of 5th input, referring to step To the description of the first input in S1001.Second payment information may include the second Payment Amount.In other of the application In embodiment, second payment information may include the second calculating process.Wherein, the second Payment Amount of the second user Description, referring to the description of the first Payment Amount of the first user;The description of second calculating process of the second user, referring to The description of first calculating process, details are not described herein.
S1222, the second electronic equipment receive the 6th input.
Wherein, the 6th input is used to indicate the user information and the second payment of the second electronic equipment output second user Information.The description that the description of 6th input is inputted referring to the described in step S1002 the 4th.
S1223, the second electronic equipment export the user information and the second payment of second user in response to the 6th input Information.
Wherein, the second electronic equipment exports the description of the user information and the second payment information of the second user, referring to The description of the output of first equipment the first user information and pending payment information in step S1003.
Illustratively, the information of second electronic equipment output second user and the second payment information can be with are as follows: second Electronic equipment generates payment code according to the user information of the second payment information and second user, and the payment code includes second user User information and the second payment information.Second electronic equipment contains the image of the payment code by the display of display screen 194.The One electronic equipment obtains the user information of the second user of second electronic equipment output and the method for the second payment information Description obtains the user information of the first user of the first electronic equipment output referring to the second electronic equipment in step S1004 With the description of pending payment information.
Illustratively, in response to second input, the first electronic equipment obtains the of second electronic equipment output The user information of two users and the second payment information can be with are as follows: in response to the second input of first user, the first electronics is set Standby starting camera 193, captures still image or video containing payment code by camera 193.The payment code includes the The user information of two users and the second payment information of second user.First electronic equipment identifies in the still image or video Payment code to obtain the user information and the second payment information of second user.
S1204, the first electronic equipment judge whether first payment information is consistent with second payment information.
First electronic equipment compares the first payment information and the second payment information, if the first payment information and the second payment Information is consistent, and thens follow the steps S1205;Otherwise, S1207 is thened follow the steps.
Specifically, if first Payment Amount is identical as the second Payment Amount, the first electronic equipment determines first Payment information is consistent with the second payment information;, whereas if first Payment Amount is different from the second Payment Amount, then One electronic equipment determines that the first payment information is not consistent with the second payment information.Alternatively, in other embodiments of the application, The first calculating process in first payment information can be compared with the second calculating process in the second payment information.Specifically Ground, if first calculating process is identical as the second calculating process, the first electronic equipment determines the first payment information and the Two payment informations are consistent;, whereas if first calculating process is different from second calculating process, then the first electronics is set It is standby to determine that the first payment information is not consistent with the second payment information.
Optionally, when first payment information includes the first Payment Amount, second payment information includes the second meter When calculation process, the first electronic equipment calculates the calculated result of the second calculating process according to second calculating process.If described First Payment Amount is identical as the calculated result of second calculating process, then the first electronic equipment determine the first payment information with Second payment information is consistent;, whereas if the calculated result of first Payment Amount and second calculating process not phase Together, then the first electronic equipment determines that the first payment information is not consistent with the second payment information.It is understood that working as described first Payment information includes the first calculating process, and when second payment information includes the second Payment Amount, the first electronic equipment can also Similarly to compare the first payment information and the second payment information.
S1205, the first electronic equipment send payment request and payment information to server, then execute step S1206.
S1206, the first electronic equipment receive notification message and/or the second electronic equipment receives notification message.
Wherein, the step S1205 can be identical as step S405 or S1006, and the step S1206 can be with step S406 or S1008 are identical, and details are not described herein.
S1207, the first electronic equipment output error prompt.
Illustratively, the first electronic equipment can show the miscue.For example, as shown in figure 13, the mistake mentions Show the Pop-up message that may is that the first user of instruction or second user input error that show by display screen 194.Optionally, The miscue can also include: modification payment information button 1301 or exit payment button 1302.First user can touch The modification payment information button 1301 is touched to modify first payment information or request and modify second payment information.With Payment button is exited described in can touching to exit payment in family.For another example, the first electronic equipment can also be exported by speech message The miscue, for example, the miscue may is that the speech message of the audio frequency apparatus output of the first electronic equipment: " caring for Visitor and the Payment Amount that you input are inconsistent, would you please confirm ".In addition, miscue can also be that directly to retract Payment Amount defeated Enter the page.
In order to make it easy to understand, illustrating another above-mentioned electric paying method below with reference to actual application scenarios.
Assuming that the first user is respectively 20 yuan in merchant purchasing three commodity, the price of three commodity of second user, 30 yuan, 40 yuan.Entitled " Shenzhen XX " center " of the trade company of second user.
For example, the first user successively scans the two dimensional code (the first input) of purchased commodity, then the first electronic equipment is according to upper The first input for stating the first user generates the first payment information.At this point, the first payment information that the first electronic equipment generates is "90".That is, first payment information includes the first Payment Amount, first Payment Amount is " 90 ".Then, One user touches the payment button 601 as shown in (a) in Fig. 6 (the second input), then the first electronic equipment is in response to described first The second input of user, starts camera 193.
For example, second user sequentially inputs " 2 " " 0 " "+" " 3 " " 0 " "+" in the calculator application in the second electronic equipment " 4 " " 0 " "=" (the 5th input), then second user touches output button (the 6th input), then the second electronic equipment in response to 6th input of the second user generates payment code, and the payment code includes that the second payment information of second user and second are used The user information at family.At this point, the user information of second user is that " the second payment information of Shenzhen XX " center ", second user is "20+30+40".That is to say, second payment information includes the second calculating process, the second calculating process is " 20+30+40 ".
First electronic equipment captures still image or video containing payment code by camera 193, identifies the payment Code is to obtain the second payment information of second user and the user information of second user.The second of first electronic equipment acquisition at this time The second payment information of user is " 20+30+40 ".
First payment information is compared by the first electronic equipment with second payment information.First electronic equipment The calculated result of second calculating process is calculated, at this point, the calculated result that the first equipment calculates second calculating process is 90.The calculated result is compared by the first electronic equipment with the first Payment Amount in first payment information.At this point, Because the calculated result and first Payment Amount are 90, the first equipment determines the first payment information and second pair Money information is consistent, and the first electronic equipment sends payment request and payment information to server.
For another example, similarly, the first user is in three commodity of the merchant purchasing where second user, the price of three commodity Respectively 20 yuan, 30 yuan, 40 yuan.First electronic equipment generates the first payment information according to the first of the first user the input, generates The first payment information be " 90 ".It is assumed that second user has been incorrectly entered commodity price when calculating Payment Amount.For example, Second user sequentially inputs " 2 " " 0 " "+" " 2 " " 0 " "+" " 4 " " 0 " "=" (the 5th input) in calculator.First electronic equipment The still image containing payment code or video are captured by camera 193 to obtain the second payment information and second of second user The user information of user.Second payment information of the second user that the first electronic equipment obtains at this time is " 20+20+40 ".Also It is to say, second payment information includes the second calculating process, and the second calculating process is " 20+20+40 ".
First payment information is compared by the first electronic equipment with second payment information.It second calculates at this time The calculated result of process is 80, and the first Payment Amount is 90, the calculated result of the second calculating process and the first Payment Amount not phase Symbol.First electronic equipment shows miscue as shown in fig. 13 that.
Optionally, the first electronic equipment can further be compared the first calculating process and the second calculating process. Illustratively, if the first payment information is not consistent with the second payment information, the first electronic equipment is according to first user First input generate the first calculating process.The first calculating process generated at this time is " 20+30+40 ".First electronic equipment will Second calculating process is compared with first calculating process.For example, at this point, the first calculating process is " 20+20+ 40 ", the second calculating process is " 20+30+40 ".First electronic equipment, first calculating process and the second calculating process, Can further determine the first payment information and the second payment information are specifically which data difference or which operation Symbol is different, then which data electronic equipment can specifically inform or which oeprator is when output error prompts Mistake.For example, at this point, the first electronic equipment can with voice output " customer input second commodity price be 30 yuan, businessman Second commodity price of input is 20 yuan, please be verified ".
As described above, another electric paying method, by comparing the payment information of the first user and paying for second user Money information, whether automatic verification customer or trade company's input Payment Amount are correct, can mitigate the burden of customer and trade company's verification. In some embodiments of the present application, further the first calculating process and the second calculating process are compared, it can be more Meticulously verify the mistake in the input process of customer or trade company.
It should be noted that another above-mentioned electric paying method, is customer with the first user, second user is trade company It is illustrated for scene.But first user can be trade company, and second user can be customer.
It should be noted that another above-mentioned electric paying method, the first electronic equipment can be mutual with the second electronic equipment It changes.Illustratively, that is to say, that in the present embodiment, the second electronic equipment exports the user information and the second payment of second user Information, the first electronic equipment obtain the user information and the second payment information of the second user of the second electronic equipment output;Substitution Property, the user information and the second payment information of the first user can also be exported by the first electronic equipment, by the second electronic equipment Obtain user information and the second payment letter that second electronic equipment obtains the first user of the first electronic equipment output Breath.
It is different from another above-mentioned electric paying method, the first payment letter is carried out on the first electronic equipment of the first user The method of the comparison of breath and the second payment information can be by carrying out first in other embodiments of the application on server The comparison of payment information and the second payment information.
Such as first user the first electronic equipment to server send the first payment request, the first payment message packet Containing first payment information, the user information of the first user, the user information of second user.Second electronic equipment is to server The second payment request is sent, second payment request includes the second payment information, the user information of the first user, second user User information.Server first payment request and the second payment request.If first payment request and institute It is identical to state the second payment request, then server executes the delivery operation;, whereas if first payment request and described the Two payment requests are different, then server sends the prompt of input error to the first electronic equipment or/and the second electronic equipment.
In addition, the embodiment of the present application also provides the graphic user interface (GUI) in a kind of electronic equipment, graphical user circle Mask body includes the graphic user interface that electronic equipment is shown when executing the method.
In the above-described embodiments, all or part of can be come in fact by software, hardware, firmware or any combination thereof It is existing.When being realized using software program, can entirely or partly occur in the form of a computer program product.The computer Program product includes one or more computer instructions.When loading on computers and executing the computer program instructions, entirely Portion is partly generated according to process or function described in the embodiment of the present application.The computer can be general purpose computer, specially With computer, computer network or other programmable devices.The computer instruction can store in computer-readable storage In medium, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the meter Calculation machine instruction can from a web-site, computer, server or data center by it is wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, service Device or data center's transmission.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be Magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
The above, the only specific embodiment of the embodiment of the present application, but the protection scope of the embodiment of the present application is not It is confined to this, any change or replacement in the technical scope that the embodiment of the present application discloses should all be covered and implement in the application Within the protection scope of example.Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the described claims.

Claims (48)

1. a kind of method of e-payment, which is characterized in that the described method includes:
Electronic equipment receives the first input, and first input includes the calculating process of Payment Amount relevant to the first user;
The electronic equipment obtains the user information of second user;
The electronic equipment sends payment request and payment information to server;
Wherein,
The payment information includes the user information of first user, the user information of the second user and payment letter Breath;
The payment information includes the calculating process;
The user information of first user is used to indicate the trading account of first user, user's letter of the second user Breath is used to indicate the trading account of the second user;
The payment request includes first user to the payment request of the second user or the second user to described The payment request of first user.
2. the method according to claim 1, wherein
First input is the input on the calculating interface that the electronic equipment is shown.
3. method according to claim 1 or 2, which is characterized in that
The calculating process includes number and calculating symbol.
4. method according to claim 1-3, which is characterized in that
The payment information further includes Payment Amount.
5. method according to claim 1-4, which is characterized in that the electronic equipment sends to server and pays Request and payment information, comprising:
The electronic equipment receives third input;
It is inputted in response to the third, the electronic equipment sends the payment request and the disbursement letter to the server Breath.
6. according to the described in any item methods of claim 1-5, which is characterized in that the electronic equipment obtains described second The user information of user, comprising:
The electronic equipment receives the second input,
In response to second input, the electronic equipment obtains the user information of the second user.
7. according to the method described in any one of claims 1-6, which is characterized in that the electronic equipment obtains second user User information, comprising:
The electronic equipment obtains the still image or video of the camera capture of the electronic equipment;
The electronic equipment identifies that the payment code in the still image or video, the payment code include the second user User information.
8. according to method described in the claim 6 or 7, which is characterized in that it is described second input include:
Payment button on the calculating interface is touched;
"=" button on the calculating interface is long pressed;Or
"=" button on the calculating interface is pressed again.
9. according to the described in any item methods of claim 1-8, which is characterized in that the method also includes:
The electronic equipment receives the notification message sent by the server, the notification message include the calculating process and The user information of the second user.
10. a kind of method of e-payment, which is characterized in that the described method includes:
First electronic equipment receives the first input, and first input includes the calculating of Payment Amount relevant to the first user Journey;
First electronic equipment exports the user information and pending payment information of first user, and the pending payment information includes The calculating process;
Second electronic equipment obtain first user of first electronic equipment output user information and the pending payment Information;
Second electronic equipment sends payment request and payment information to server;
Wherein,
The payment request includes first user to the payment request of the second user or the second user to described The payment request of first user;
The payment information includes the user information of the first user, the user information of second user and second electronic equipment The payment information generated according to the pending payment information;The user information of first user is used to indicate first user's Trading account, the user information of the second user are used to indicate the trading account of the second user.
11. according to the method described in any one of claim 10, which is characterized in that
First input are as follows: in the input calculated on interface that first electronic equipment is shown.
12. according to method described in the claim 10 or 11, which is characterized in that
Before first electronic equipment exports the user information and pending payment information of first user, the method is also wrapped It includes:
First electronic equipment receives the 4th input,
First electronic equipment exports the user information and the pending payment information of first user, comprising:
In response to it is described 4th input, first electronic equipment export first user user information and the pending payment Information.
13. according to the described in any item methods of claim 10-12, which is characterized in that the first electronic equipment output The user information of first user and the pending payment information, comprising:
First electronic equipment generates payment code according to the calculating process and the user information of first user;
First electronic equipment shows the payment code to export the user information of first user and pending payment letter Breath.
14. according to method described in the claim 13, which is characterized in that second electronic equipment obtains first electricity The user information and the pending payment information of first user of sub- equipment output, comprising:
Second electronic equipment captures still image or video by the camera of second electronic equipment;
Second electronic equipment identifies that the payment code in the still image or video, the payment code include described The user information of one user and the pending payment information.
15. according to method described in the claim 13 or 14, which is characterized in that
The payment code is two dimensional code or bar code.
16. according to method described in the claim 12-15, which is characterized in that it is described 4th input include:
Output button on the calculating interface is touched;
"=" button on the calculating interface is long pressed;Or
"=" button on the calculating interface is pressed again.
17. according to the described in any item methods of claim 10-16, which is characterized in that second electronic equipment to Before server sends payment request and payment information, the method also includes:
Second electronic equipment exports the user information and the pending payment information of first user, or output described the The user information of one user and the payment information;
Second electronic equipment receives third input;
Second electronic equipment sends payment request and payment information to server, comprising: inputs in response to the third, institute It states the second electronic equipment and sends the payment request and the payment information to the server.
18. according to the described in any item methods of claim 10-17, which is characterized in that
The payment information includes Payment Amount and/or the calculating process.
19. according to the method for claim 18, which is characterized in that second electronic equipment is according to the pending payment information The payment information of generation, comprising:
The Payment Amount in the payment information is second electronic equipment according in the pending payment information The result that calculating process calculates.
20. according to the described in any item methods of claim 10-18, which is characterized in that
The pending payment information further includes Payment Amount, and the Payment Amount in the pending payment information is pending payment letter The calculated result of the calculating process in breath.
21. according to the method for claim 20, which is characterized in that
The payment information that second electronic equipment is generated according to the pending payment information, comprising:
The institute in the pending payment information that the Payment Amount in the payment information obtains for second electronic equipment State Payment Amount.
22. a kind of method of e-payment, which is characterized in that the described method includes:
First electronic equipment receives the first input;
First electronic equipment generates the first payment information of the first user, the first payment information packet according to first input The first Payment Amount and/or the first calculating process are included, first calculating process is the calculating process of first Payment Amount;
Second electronic equipment receives the 5th input;
Second electronic equipment generates the second payment information of second user, the second payment information packet according to the 5th input The second Payment Amount and/or the second calculating process are included, second calculating process is the calculating process of second Payment Amount;
Second electronic equipment exports the user information of second payment information and the second user, the use of the second user Family information is used to indicate the trading account of the second user;
First electronic equipment obtains the use of second payment information and the second user of the second electronic equipment output Family information;
First electronic equipment judges whether first payment information is consistent with second payment information;
If first payment information is consistent with second payment information, first electronic equipment is sent to server Payment request and payment information, the payment information include first payment information or second payment information, the first use The user information of the user information of the user information at family and the second user, first user is used to indicate described first The trading account of user.
23. according to the method for claim 22, which is characterized in that the method also includes:
If first payment information is not consistent with second payment information, the first electronic equipment output error is mentioned Show.
24. the method according to claim 22 or 23, which is characterized in that first payment information and second payment Information is consistent, comprising:
First Payment Amount is identical with second Payment Amount;Or
First calculating process is identical with second calculating process;Or
First Payment Amount is identical with the calculated result of second calculating process;Or
The calculated result of first calculating process is identical with second Payment Amount.
25. the method according to claim 23 or 24, which is characterized in that first payment information and second payment Information is not consistent, comprising:
First Payment Amount and second Payment Amount be not identical;Or
First calculating process and second calculating process be not identical;Or
The calculated result of first Payment Amount and second calculating process is not identical;Or
The calculated result of first calculating process is identical with second Payment Amount.
26. a kind of electronic equipment of e-payment characterized by comprising
Processor;
Memory, for storing computer program;
The computer program includes instruction, when described instruction is executed by the electronic equipment, so that the electronic equipment is held Row following steps:
The first input of the first user is received, the first input of first user includes the calculating process of Payment Amount;
Obtain the user information of second user;
Payment request and payment information are sent to server;
Wherein,
The payment request includes that the first user asks to the payment request or second user of second user to the payment of the first user It asks;
The payment information includes the user information of the first user, the user information of second user and payment information, and described pair Money information includes the calculating process;The user information of first user is used to indicate the trading account of first user, The user information of the second user is used to indicate the trading account of the second user.
27. electronic equipment according to claim 26, which is characterized in that the electronic equipment further include: display screen;
The first input of first user, comprising:
First input calculated on interface that first user shows in the display screen.
28. the electronic equipment according to claim 26 or 27, which is characterized in that
The calculating process includes number and calculating symbol.
29. according to the described in any item electronic equipments of claim 26-28, which is characterized in that
The payment information further includes Payment Amount.
30. according to the described in any item electronic equipments of claim 26-28, which is characterized in that when described instruction is by the processing When device executes, it is described send payment request and payment information to server before so that the electronic equipment also executes below Step:
Receive the third input of first user;
It is described to send payment request and payment information to server, comprising:
In response to the third input of first user, payment request and payment information are sent to server.
31. according to the described in any item electronic equipments of claim 26-30, which is characterized in that when described instruction is described When processor executes, before the user information for obtaining the second user, so that the electronic equipment also executes below Step:
The second input of first user is received,
The user information for obtaining the second user, comprising:
In response to the second input of first user, the user information of the second user is obtained.
32. according to the described in any item electronic equipments of claim 26-29, which is characterized in that the acquisition second user User information, comprising:
Obtain the still image or video of camera capture;
Identify that the payment code in the still image or video, the payment code include the user information of the second user.
33. according to electronic equipment described in the claim 31 or 32, which is characterized in that the electronic equipment further include:
Touch sensor;
Second input, comprising:
First user touches payment button, and the first user's long-pressing "=" button or the first user press "=" again.
34. according to the described in any item electronic equipments of claim 26-33, which is characterized in that when described instruction is described When electronic equipment executes, so that the electronic equipment also executes following steps:
The notification message sent by the server is received, the notification message includes the calculating process and the second user User information.
35. a kind of electronic equipment of e-payment characterized by comprising
Processor;
Memory, for storing computer program;
The computer program includes instruction, when described instruction is executed by the electronic equipment, so that the electronic equipment is held Row following steps:
The first input is received, first input includes the calculating process of Payment Amount related to user;
The user information and pending payment information of the user are exported, the pending payment information includes the calculating process.
36. according to electronic equipment described in the claim 35, which is characterized in that the electronic equipment further include: display screen;
The user information and the pending payment information of the output user, specifically:
Payment code is generated according to the calculating process and the user information;
The payment code is shown by the display screen to export the user information and the pending payment information.
37. according to the described in any item electronic equipments of the claim 35 or 36, which is characterized in that
The user information and the pending payment information of the output user, comprising:
Receive the 4th input of user;
In response to the 4th input of the user, the user information and the pending payment information are exported.
38. a kind of electronic equipment of e-payment characterized by comprising
Processor;
Memory, for storing computer program;
The computer program includes instruction, when described instruction is executed by the electronic equipment, so that the electronic equipment is held Row following steps:
Obtain the user information and pending payment information of the first user of other electronic equipments output;Wherein, the pending payment information Calculating process including Payment Amount relevant to first user, the user information of first user are used to indicate described The trading account of first user;
Payment request and payment information are sent to server;Wherein, the payment request includes the first user to second user The payment request of payment request or second user to the first user;The payment information includes user's letter of first user The user information of the second user of breath and first customer transaction and the electronic equipment according to the pending payment information are raw At payment information, the user information of the second user is used to indicate the trading account of the second user.
39. according to electronic equipment described in the claim 38, which is characterized in that the electronic equipment further include:
Camera;
The user information and the pending payment information of first user for obtaining the other equipment output, comprising:
Obtain the still image or video of the camera capture;
Identify that the payment code in the still image or video, the payment code include user information and the institute of first user State pending payment information;Wherein, the payment code is shown on the display screen of the other equipment.
40. according to electronic equipment described in the claim 38 or 39, which is characterized in that when described instruction is by the processor When execution, it is described send payment request and payment information to server before so that the electronic equipment also executes following walk It is rapid:
Export the user information and the pending payment information of first user;
It is described to send the payment request and the payment information to server, comprising:
Receive third input;
It is inputted in response to the third, Xiang Suoshu server sends the payment request and the payment information.
41. according to the described in any item electronic equipments of claim 38-40, which is characterized in that
The payment information includes Payment Amount and/or the calculating process.
42. electronic equipment according to claim 41, which is characterized in that
The Payment Amount in the payment information calculates calculating process institute described in the pending payment information for electronic equipment The calculated result obtained.
43. according to the described in any item electronic equipments of claim 38-41, which is characterized in that
The pending payment information further includes Payment Amount, and the Payment Amount in the pending payment information is pending payment letter The calculated result of the calculating process in breath.
44. according to electronic equipment described in the claim 43, which is characterized in that
The Payment Amount in the payment information is the Payment Amount in the pending payment information.
45. a kind of electronic equipment of e-payment characterized by comprising
Processor;
Memory, for storing computer program;
The computer program includes instruction, when described instruction is executed by the electronic equipment, so that the electronic equipment is held Row following steps:
Receive the first input;
The first payment information of the first user is generated according to the first input, first payment information includes the first Payment Amount And/or first calculating process, first calculating process are the calculating process of first Payment Amount;
Obtain other electronic equipments output second user user information and second user the second payment information, described second The user information of user is used to indicate the trading account of the second user, and second payment information includes the second Payment Amount And/or second calculating process, second calculating process are the calculating process of second Payment Amount;
Judge whether first payment information is consistent with second payment information;
If first payment information is consistent with second payment information, payment request and disbursement letter are sent to server Breath;The payment information includes first payment information, the user information and the second user of first user The user of user information or second payment information, the user information of first user and second user letter Breath, the user information of first user are used to indicate the trading account of first user;
The payment request includes first user to the payment request of the second user or the second user to described The payment request of first user.
46. electronic equipment according to claim 45, which is characterized in that when described instruction is executed by the processor, So that the electronic equipment also executes following steps:
If first payment information is not consistent with second payment information, output error prompt.
47. according to the electronic equipment of claim 45 or 46, which is characterized in that first payment information and described second pair Money information is consistent, comprising:
First Payment Amount is identical with second Payment Amount;Or
First calculating process is identical with second calculating process;Or
First Payment Amount is identical with the calculated result of second calculating process;Or
The calculated result of first calculating process is identical with second Payment Amount.
48. according to any one of the claim 45-27 electronic equipment, which is characterized in that first payment information with it is described Second payment information is not consistent, comprising:
First Payment Amount and second Payment Amount be not identical;Or
First calculating process and second calculating process be not identical;Or
The calculated result of first Payment Amount and second calculating process is not identical;Or
The calculated result of first calculating process is identical with second Payment Amount.
CN201910330860.4A 2019-04-23 2019-04-23 Electronic payment method and electronic device Active CN110111101B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910330860.4A CN110111101B (en) 2019-04-23 2019-04-23 Electronic payment method and electronic device
PCT/CN2020/081896 WO2020215995A1 (en) 2019-04-23 2020-03-28 Electronic payment method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910330860.4A CN110111101B (en) 2019-04-23 2019-04-23 Electronic payment method and electronic device

Publications (2)

Publication Number Publication Date
CN110111101A true CN110111101A (en) 2019-08-09
CN110111101B CN110111101B (en) 2024-03-01

Family

ID=67486392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910330860.4A Active CN110111101B (en) 2019-04-23 2019-04-23 Electronic payment method and electronic device

Country Status (2)

Country Link
CN (1) CN110111101B (en)
WO (1) WO2020215995A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502302A (en) * 2019-08-20 2019-11-26 维沃移动通信有限公司 Control method, terminal device and the storage medium of Application Program Interface
CN111325543A (en) * 2020-02-21 2020-06-23 嘉兴壹传网络科技有限公司 Mobile payment cashier system and cashier method thereof
WO2020215995A1 (en) * 2019-04-23 2020-10-29 华为技术有限公司 Electronic payment method and electronic device
CN111857458A (en) * 2020-06-23 2020-10-30 北京嘀嘀无限科技发展有限公司 Freight order generation method and device, electronic equipment and storage medium
CN112036860A (en) * 2020-08-31 2020-12-04 深圳市兆珑科技有限公司 Safety device
CN114723434A (en) * 2021-01-05 2022-07-08 Oppo广东移动通信有限公司 Payment control method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663586A (en) * 2012-03-21 2012-09-12 华为技术有限公司 Method for payment transaction completed through two mobile terminals
CN102968717A (en) * 2012-11-07 2013-03-13 华为技术有限公司 Electronic payment method, relevant device and system
US20170178097A1 (en) * 2015-12-21 2017-06-22 Mastercard International Incorporated Methods and systems for making a payment
CN107358421A (en) * 2017-02-23 2017-11-17 美味不用等(上海)信息科技股份有限公司 Method of payment, payment mechanism, terminal device and server
CN108510255A (en) * 2013-12-06 2018-09-07 上海掌门科技有限公司 A kind of method of payment, equipment and computer storage media

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2983120A4 (en) * 2013-05-31 2016-05-25 Huawei Tech Co Ltd Transfer information processing method and device
CN105590194A (en) * 2014-12-03 2016-05-18 中国银联股份有限公司 Offline payment method and payment system
KR101570354B1 (en) * 2015-03-05 2015-11-19 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN106296141A (en) * 2015-06-03 2017-01-04 阿里巴巴集团控股有限公司 A kind of method and device realizing paying
CN106779653A (en) * 2017-01-18 2017-05-31 世纪禾光科技发展(北京)有限公司 Payment processing method and device
CN110111101B (en) * 2019-04-23 2024-03-01 华为技术有限公司 Electronic payment method and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663586A (en) * 2012-03-21 2012-09-12 华为技术有限公司 Method for payment transaction completed through two mobile terminals
CN102968717A (en) * 2012-11-07 2013-03-13 华为技术有限公司 Electronic payment method, relevant device and system
CN108510255A (en) * 2013-12-06 2018-09-07 上海掌门科技有限公司 A kind of method of payment, equipment and computer storage media
US20170178097A1 (en) * 2015-12-21 2017-06-22 Mastercard International Incorporated Methods and systems for making a payment
CN107358421A (en) * 2017-02-23 2017-11-17 美味不用等(上海)信息科技股份有限公司 Method of payment, payment mechanism, terminal device and server

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020215995A1 (en) * 2019-04-23 2020-10-29 华为技术有限公司 Electronic payment method and electronic device
CN110502302A (en) * 2019-08-20 2019-11-26 维沃移动通信有限公司 Control method, terminal device and the storage medium of Application Program Interface
CN111325543A (en) * 2020-02-21 2020-06-23 嘉兴壹传网络科技有限公司 Mobile payment cashier system and cashier method thereof
CN111857458A (en) * 2020-06-23 2020-10-30 北京嘀嘀无限科技发展有限公司 Freight order generation method and device, electronic equipment and storage medium
CN112036860A (en) * 2020-08-31 2020-12-04 深圳市兆珑科技有限公司 Safety device
CN114723434A (en) * 2021-01-05 2022-07-08 Oppo广东移动通信有限公司 Payment control method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110111101B (en) 2024-03-01
WO2020215995A1 (en) 2020-10-29

Similar Documents

Publication Publication Date Title
CN109889630B (en) Display method and related device
CN110111101A (en) A kind of electric paying method and electronic equipment
CN109766036A (en) Message treatment method and electronic equipment
CN112395894B (en) Communication method and device based on NFC
CN110058777A (en) The method and electronic equipment of shortcut function starting
CN110506416A (en) A kind of method and terminal of terminal switching camera
CN109584879A (en) A kind of sound control method and electronic equipment
CN110381282A (en) A kind of display methods and relevant apparatus of the video calling applied to electronic equipment
CN110119295A (en) A kind of display control method and relevant apparatus
CN109766043A (en) The operating method and electronic equipment of electronic equipment
CN110347269A (en) A kind of sky mouse mode implementation method and relevant device
CN109634495A (en) Method of payment, device and user equipment
CN109814767A (en) Message treatment method and relevant apparatus
CN113496426A (en) Service recommendation method, electronic device and system
CN109976626A (en) A kind of switching method and electronic equipment of application icon
CN110515506A (en) A kind of countdown display methods and electronic equipment
CN115050358A (en) Voice control command generation method and terminal
CN114363462A (en) Interface display method and related device
CN110138999A (en) A kind of papers-scanning method and device for mobile terminal
CN113572896A (en) Two-dimensional code display method based on user behavior model and related equipment
CN110471604A (en) A kind of more application switching methods and relevant apparatus
US20230418630A1 (en) Operation sequence adding method, electronic device, and system
CN110248037A (en) A kind of identity document scan method and device
CN109756614A (en) A kind of method and relevant apparatus showing contact person
CN115914461B (en) Position relation identification method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant