WO2019144760A1 - 数据处理方法、终端设备和数据处理系统 - Google Patents

数据处理方法、终端设备和数据处理系统 Download PDF

Info

Publication number
WO2019144760A1
WO2019144760A1 PCT/CN2018/124428 CN2018124428W WO2019144760A1 WO 2019144760 A1 WO2019144760 A1 WO 2019144760A1 CN 2018124428 W CN2018124428 W CN 2018124428W WO 2019144760 A1 WO2019144760 A1 WO 2019144760A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
payment
information
wireless communication
connection
Prior art date
Application number
PCT/CN2018/124428
Other languages
English (en)
French (fr)
Inventor
翟芬
顾春雷
陈戈
康丽娟
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Priority to JP2020536647A priority Critical patent/JP2021510864A/ja
Priority to SG11202005636WA priority patent/SG11202005636WA/en
Priority to KR1020207018906A priority patent/KR102407821B1/ko
Publication of WO2019144760A1 publication Critical patent/WO2019144760A1/zh
Priority to PH12020550974A priority patent/PH12020550974A1/en

Links

Images

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
    • 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/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/209Specified transaction journal output feature, e.g. printed receipt or voice output
    • 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/325Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wireless networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • 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/38Payment protocols; Details thereof
    • G06Q20/385Payment protocols; Details thereof using an alias or single-use codes
    • 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/38Payment protocols; Details thereof
    • G06Q20/42Confirmation, e.g. check or permission by the legal debtor of payment
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit

Definitions

  • the embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a data processing method, a terminal device, and a data processing system.
  • QR codes have gradually been widely used in daily life, such as bus payment scenarios.
  • the main body involved in the bus payment scenario may include a mobile terminal device, a bus POS machine, a server corresponding to the mobile terminal device (hereinafter referred to as a first server), and a server corresponding to the bus POS (hereinafter referred to as a second server).
  • the user can generate a passenger two-dimensional code by using the mobile terminal device, and the passenger two-dimensional code can include payment information.
  • the bus POS machine may scan the travel two-dimensional code to identify the payment information; the payment information may be uploaded to the second server.
  • the second server may receive the payment information; a debit request may be issued to the first server.
  • the first server may receive the debit request and perform a debit operation; and the debit reminding information may be returned to the mobile terminal device.
  • the bus POS machine is usually configured to delay uploading the identified payment information to the second server.
  • the mobile terminal device cannot obtain the deduction prompt information in real time, so that the user can only judge whether the brush code is successful through the sound sent by the bus POS machine, resulting in poor user experience.
  • the user may be caused to brush the code multiple times, thereby causing user damage.
  • the purpose of the embodiments of the present specification is to provide a data processing method, a terminal device, and a data processing system, so that the user can conveniently determine whether the code is successful and improve the user experience.
  • an embodiment of the present disclosure provides a data processing method, including: a first terminal generates a payment code; wherein the payment code includes connection information; and the connection information includes a connection identifier of the first terminal.
  • the second terminal acquires the payment code; establishes a wireless communication connection with the first terminal based on the connection identifier; and sends first prompt information to the first terminal based on the wireless communication connection; wherein, the first The prompt information is used to prompt whether the payment is successful; the first terminal receives the first prompt information based on the wireless communication connection; and displays the first prompt information.
  • an embodiment of the present disclosure provides a data processing method, which is applied to a first terminal, including: generating a payment code; wherein the payment code includes connection information; and the connection information includes the first terminal. a connection identifier; receiving, according to the connection identifier, a first communication information sent by the second terminal, based on the wireless communication connection; wherein the first prompt information is used for Prompting whether the payment is successful; displaying the first prompt information.
  • an embodiment of the present disclosure provides a terminal device, including: a generating unit, configured to generate a payment code, where the payment code includes connection information; and the connection information includes a connection identifier of the first terminal; a receiving unit, configured to receive first prompt information sent by the second terminal, based on the wireless communication connection, on a condition that the wireless communication connection is established with the second terminal based on the connection identifier, where the first prompt information is used by The prompting unit is configured to display the first prompt information.
  • an embodiment of the present disclosure provides a terminal device, including: a communication component, configured to establish a wireless communication connection and perform data transmission; a display component, configured to display first prompt information; and a processor, configured to generate a payment code Wherein the payment code includes connection information; the connection information includes a connection identifier of the first terminal; and receiving, based on the wireless communication connection, a wireless communication connection is established based on the connection identifier and the second terminal The first prompt information sent by the second terminal; wherein the first prompt information is used to prompt whether the payment is successful; and the display component is controlled to display the first prompt information.
  • an embodiment of the present disclosure provides a data processing method, which is applied to a second terminal, including: acquiring a payment code; wherein the payment code includes connection information; and the connection information includes a connection of the first terminal. Identifying, based on the connection identifier, establishing a wireless communication connection with the first terminal, sending, according to the wireless communication connection, first prompt information to the first terminal; wherein the first prompt information is used Prompt whether the payment is successful.
  • an embodiment of the present disclosure provides a terminal device, including: an obtaining unit, configured to acquire a payment code, where the payment code includes connection information; and the connection information includes a connection identifier of the first terminal; a sending unit, configured to send first prompt information to the first terminal, based on the wireless communication connection, on the condition that the wireless communication connection is established with the first terminal, where the first prompt information is used for prompting Whether the payment is successful.
  • an embodiment of the present disclosure provides a terminal device, including: a communication component, configured to establish a wireless communication connection and perform data transmission, and a processor, configured to acquire a payment code, where the payment code includes a connection.
  • the connection information includes a connection identifier of the first terminal, and sends a first prompt to the first terminal based on the wireless communication connection under the condition that a wireless communication connection is established with the first terminal based on the connection identifier Information; wherein the first prompt information is used to prompt whether the payment is successful.
  • an embodiment of the present disclosure provides a data processing system, including a first terminal and a second terminal.
  • the first terminal is configured to generate a payment code, where the payment code includes connection information, and the connection information includes a connection identifier of the first terminal.
  • the second terminal is configured to acquire the payment code, establish a wireless communication connection with the first terminal based on the connection identifier, and send first prompt information to the first terminal according to the wireless communication connection;
  • the first prompt information is used to indicate whether the payment is successful.
  • the first terminal is further configured to receive the first prompt information based on the wireless communication connection; and display the first prompt information.
  • the first terminal may generate a payment code, where the payment code includes connection information, and the connection information includes a connection identifier of the first terminal. .
  • the second terminal may acquire the payment code; may establish a wireless communication connection with the first terminal based on the connection identifier; and send the first prompt information to the first terminal based on the wireless communication connection.
  • the first terminal may receive the first prompt information based on the wireless communication connection; the first prompt information may be displayed.
  • the first prompt information may be used to prompt whether the payment is successful. In this way, through the first prompt information displayed by the first terminal, the user can conveniently determine whether the flash code is successful, thereby improving the user experience.
  • FIG. 1 is a schematic diagram of a short-range wireless communication connection between a first terminal and the second terminal according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a data processing method according to an embodiment of the present specification
  • FIG. 3 is a flowchart of another data processing method according to an embodiment of the present specification.
  • FIG. 5 is a schematic diagram of a payment code according to an embodiment of the present specification.
  • FIG. 6 is a schematic diagram of prompt information for supporting success according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of prompt information for payment failure according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another terminal device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another terminal device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram showing the functional structure of another terminal device according to an embodiment of the present disclosure.
  • Embodiments of the present specification provide a data processing system.
  • the data processing system may include a first terminal.
  • the first terminal may have a payment code generating function.
  • the payment code may include a graphic code and a sound wave code or the like, and the graphic code may include a barcode, a two-dimensional code, and the like.
  • the first terminal may also have a short-range wireless communication function.
  • the short-range wireless communication may refer to communication within a short distance, including but not limited to Bluetooth, IrDA, WI-FI, Ultra Wide Band, Zigbee ), Near Field Communication (NFC), etc.
  • the first terminal may be a smart phone, a tablet electronic device, a portable computer, a personal digital assistant (PDA), or a smart wearable device.
  • PDA personal digital assistant
  • the data processing system may further include a second terminal.
  • the second terminal may have a payment code scanning function.
  • the second terminal may also have a short-range wireless communication function.
  • the second terminal may be a mobile device, such as a smart phone, a tablet electronic device, a portable computer, a personal digital assistant (PDA), an in-vehicle device, a POS machine (such as a merchant POS machine, a bus POS machine, etc.), or a smart wearable device. Wait.
  • PDA personal digital assistant
  • the second terminal may also be a desktop device, such as a server, an industrial computer (industrial control computer), a personal computer (PC), an all-in-one, or a smart self-service terminal (kiosk) (for example, a subway self-service ticket vending machine, a train ticket self-service ticketing) Machine) and so on.
  • the second terminal may further have a speaker.
  • the speaker can produce sound waves that are audible to humans.
  • the data processing system may further include a first server.
  • the first server may be a server, and may also be a server cluster including multiple servers.
  • the first server may be a server corresponding to the first terminal.
  • the first terminal may be a smart phone with an Alipay APP installed, and the first server may be an Alipay server.
  • the data set transmission system may further include a second server.
  • the second server may be a server, and may also be a server cluster including multiple servers.
  • the second server may be a server corresponding to the second terminal.
  • the second terminal may be a bus POS machine
  • the second server may be a server corresponding to a bus POS machine.
  • the embodiment of the present specification provides a data processing method.
  • the main body implementing the data processing method may include a first terminal and a second terminal.
  • the short-range wireless communication function of the first terminal and the second terminal may be in an on state.
  • the data processing method may include the following steps.
  • Step S10 The first terminal generates a payment code.
  • the payment code may include a graphic code and a sound wave code, etc.
  • the graphic code may include a barcode, a two-dimensional code, and the like.
  • Connection information may be included in the payment code.
  • the connection information may include a connection identifier of the first terminal.
  • the connection identification can be used to establish a wireless communication connection.
  • the connection identifiers may be the same or different depending on the established wireless communication connection.
  • the connection identifier may be a physical address (Media Access Control, MAC) of the first terminal.
  • the connection identifier may be a Service Set Identifier (SSID) of the first terminal.
  • SSID Service Set Identifier
  • the connection identifier may be other identifiers of the first terminal, and are not enumerated here.
  • the payment code may further include payment information.
  • the payment information may include user identification information.
  • the user identification information can be used to identify a user.
  • the user identification information can be, for example, a user account, a code for a user account, or any other form of information that can derive a user account.
  • the user account may be, for example, an Alipay account, a WeChat account, a card number of a bus card, or a card number of a campus card.
  • the payment information may also include other information, such as at least one of a single limit and a time of failure.
  • the single limit may be, for example, 10 yuan, or 20 yuan, etc.; the failure time may be, for example, 10:30, 11:15, or the like.
  • the first terminal may generate the payment code after receiving the payment instruction.
  • the first terminal may have a payment button; the payment instruction may be generated upon detecting that the payment button is triggered.
  • the payment button is triggered herein to include, but is not limited to, the payment button being pressed, clicked, double-clicked, swiped, pressed for more than a predetermined time, and the like.
  • the payment button may be a physical button, or a virtual button, etc., and the virtual button includes, but is not limited to, a button control, a graphic control, a text control, and the like.
  • the first terminal may be preset with a gesture operation.
  • the gesture operation can include a touch trajectory on a display component, such as a touch display.
  • the first terminal may generate the payment instruction when the preset gesture operation is recognized.
  • the first terminal may have a sensor.
  • the sensor may be used to sense a preset motion state, and may specifically include, for example, a gyroscope and/or an acceleration sensor sense.
  • the first terminal may generate the payment instruction when the preset motion state is sensed.
  • the first terminal may acquire connection information and payment information; and generate a payment code by using a payment code generation algorithm based on the acquired connection identifier and payment information.
  • the first terminal may acquire corresponding connection information according to a wireless communication connection type pre-agreed by the first terminal and the second terminal.
  • a wireless communication connection type pre-agreed by the first terminal and the second terminal For example, when the pre-agreed wireless communication connection type is Bluetooth, the first terminal may acquire its own physical address. As another example, when the pre-agreed wireless communication connection type is wireless fidelity, the first terminal may acquire its own service set identifier.
  • the first terminal may acquire user identification information. For example, the first terminal may acquire the currently logged in account or the historical logged in account as the user identification information. As another example, the first terminal may obtain the card number of the bus card or the card number of the campus card as the user identification information. In an embodiment of the embodiment, the first terminal may also acquire a single quota. Specifically, the first terminal may be preset with a single quota. The first terminal may acquire the preset single quota. Alternatively, the first server may have a single quota. The first terminal may send a data acquisition request to the first server. The first server may receive the data acquisition request, and may acquire and send the single quota to the first terminal. The first terminal may receive the single quota.
  • the first terminal may further obtain an effective time of the payment code; and calculate a failure time of the payment code based on the current time and the valid time.
  • the validity time of the payment code may come from the first terminal or the first server. Specifically, the first terminal may preset a valid time of the payment code. The first terminal may acquire the preset effective time. Alternatively, the first server may have a valid time of the payment code. The first terminal may send a data acquisition request to the first server. The first server may receive the data acquisition request, and may acquire and send the valid time to the first terminal. The first terminal may receive the valid time.
  • the payment code generation algorithms may be the same or different depending on the generated payment code.
  • the payment code generation algorithm may be a Quick Response code (QRcode) algorithm.
  • QRcode Quick Response code
  • the fast response code algorithm herein is merely an example, and virtually any algorithm capable of generating a two-dimensional code can be applied thereto.
  • the payment code generation algorithm may also be other algorithms, which are not enumerated here.
  • Step S12 The second terminal acquires a payment code.
  • the user can perform a brushing operation by using the payment code generated by the first terminal.
  • the second terminal may scan to obtain the payment code. It should be understood by those skilled in the art that the second terminal may also obtain the payment code generated by the first terminal in other manners, which is not specifically limited in this embodiment.
  • Step S14 The second terminal establishes a wireless communication connection with the first terminal based on the connection identifier, and sends the first prompt information to the first terminal based on the wireless communication connection.
  • the second terminal may parse the payment code to obtain connection information and payment information.
  • the connection information may include a connection identifier of the first terminal.
  • the first terminal may be regarded as a device requesting to establish a wireless communication connection
  • the second terminal may be understood as a device that is requested to establish a wireless communication connection.
  • the second terminal may establish a wireless communication connection with the first terminal based on the connection identifier.
  • the first prompt information may be used to prompt whether the payment is successful.
  • the first prompt information may include prompt information for successful payment or prompt information for payment failure.
  • the prompt information of the payment success may include text, image, audio, video, and any combination thereof.
  • the prompt information of the payment success may include a payment amount.
  • the prompt information of the payment failure may include text, image, audio, video, and any combination thereof.
  • the second terminal may directly send the prompt information of the payment success to the first terminal.
  • the payment information may be verified; when the verification result is correct, the prompt information of the payment success may be sent to the first terminal; when the verification result is an error Sending the prompt information of the payment failure to the first terminal.
  • the payment information may include a time of failure.
  • the second terminal may compare the current time with the failure time; when the current time is less than or equal to the failure time, the verification result may be considered to be correct; At the time of failure, the verification result can be considered as an error.
  • the payment information may include a single limit. After parsing the payment code, the second terminal may determine the payment amount; the payment amount may be compared with the single quota; when the payment amount is less than or equal to the single quota, the verification result may be considered correct When the payment amount is greater than the single limit, the verification result may be considered as an error.
  • the payment amount may be a preset default amount.
  • the payment amount may be determined by the second terminal according to information input by the user.
  • the information input by the user may include, for example, a destination station or the like.
  • the payment amount may be determined by the second terminal according to its current geographic location.
  • the second terminal can have a calculation rule. The second terminal may obtain its current geographic location; the payment amount may be calculated based on the acquired geographic location and the calculation rule.
  • Step S16 The first terminal receives the first prompt information based on the wireless communication connection; and displays the first prompt information.
  • the first prompt information may include prompt information for successful payment or prompt information for payment failure.
  • the first terminal may receive the prompt information of the payment success or the prompt information of the payment failure; the prompt information of the payment success or the prompt information of the payment failure may be displayed.
  • the first server may have at least one digital signature data.
  • the digital signature data can be obtained by signature based on the private key of the asymmetric encryption technology.
  • the asymmetric encryption techniques include, but are not limited to, an RSA algorithm, an Elgamal algorithm, a knapsack algorithm, an ECC (Elliptic Curve Encryption Algorithm), and the like.
  • Each digital signature data in the first server may be associated with a public key and a key identifier, and the public key may be used to perform verification on the digital signature data, and the key identifier may be used to identify the public key.
  • the first terminal may acquire digital signature data and a key identifier corresponding to the digital signature data; and generate a payment code based on the connection information, the payment information, the digital signature data, and the key identifier. .
  • the first server may send at least one digital signature data and a key identifier corresponding to the digital signature data to the first terminal.
  • the first terminal can have a digital signature data set.
  • the digital signature data set may include at least one digital signature data, and each digital signature data may correspond to a key identifier.
  • the first terminal may obtain a digital signature data and a key identifier corresponding to the digital signature data from the digital signature data set.
  • the first terminal may send a data acquisition request to the first server.
  • the first server may receive the data acquisition request; and may acquire and send digital signature data to the first terminal, and a key identifier corresponding to the digital signature data.
  • the first terminal may receive digital signature data and a key identifier corresponding to the digital signature data.
  • the second terminal may obtain a payment code; may parse the payment code, obtain connection information, payment information, digital signature data, and a key identifier; and obtain a public key whose key identifies the identifier as a target a public key; the digital signature data can be checked using the target public key. Further, after the verification, the second terminal may send the first prompt information to the first terminal. Specifically, after the verification is successful, the second terminal may send the prompt information of the payment success to the first terminal. After the verification fails, the second terminal may send the prompt information of the payment failure to the first terminal.
  • the first server may send at least one public key corresponding to the digital signature data to the second terminal.
  • the second terminal can have a public key set, and the public key set can include at least one public key. In this way, the second terminal may obtain the public key corresponding to the key identifier from the public key set as the target public key.
  • the second terminal may have a speaker.
  • the second terminal can use the speaker to emit an audible prompt message.
  • the second terminal may directly use the speaker to send the voice prompt information of the payment success.
  • the payment information may be verified; when the verification result is correct, the speaker may use the speaker to send the voice prompt information for successful payment; when the verification result is an error, the second terminal may use The speaker sends an audible alert message that the payment failed.
  • the second server may perform a debit operation.
  • the second terminal may determine a payment amount; the payment information and the payment amount may be sent to the second server.
  • the second server may receive the payment information and the payment amount.
  • the payment information may include a user identifier, and the second server may further perform a chargeback operation based on the user identification information and the payment amount.
  • the first server can perform a chargeback operation.
  • the second server may send a debit request to the first server, where the debit request may carry user identification information and a payment amount.
  • the first server may receive the debit request; the debit operation may be performed based on the user identification information and the payment amount.
  • the first server may further send the second prompt information to the first terminal, where the second prompt information may include prompt information for successful deduction.
  • the first terminal may receive and display the second prompt information.
  • the second terminal may directly send payment information and a payment amount to the second server. Alternatively, the second terminal may further send the payment information and the payment amount to the second server after detecting the sending instruction.
  • the sending instruction may be automatically generated by the second terminal. For example, the second terminal may generate the sending instruction at a preset time. The preset time can be flexibly set according to actual needs, for example, it can be 12 o'clock in the evening, 4 o'clock in the morning, and the like. As another example, the second terminal may also generate the sending instruction when it detects that its own network connection is available. Of course, the sending instruction may also be generated by the user actively triggering. For example, the second terminal may have a send button, which in turn may generate the send command upon detecting that the send button is triggered.
  • the sending button is triggered herein to include, but is not limited to, the sending button being pressed, clicked, double-clicked, swiped, pressed for more than a predetermined time, and the like.
  • the sending button may be a physical button or a virtual button, etc., and the virtual button includes but is not limited to a button control, a graphic control, a text control, and the like.
  • the first terminal may generate a payment code, where the payment code includes connection information, and the connection information includes a connection identifier of the first terminal.
  • the second terminal may acquire the payment code; may establish a wireless communication connection with the first terminal based on the connection identifier; and send the first prompt information to the first terminal based on the wireless communication connection.
  • the first terminal may receive the first prompt information based on the wireless communication connection; the first prompt information may be displayed.
  • the first prompt information may be used to prompt whether the payment is successful. In this way, through the first prompt information displayed by the first terminal, the user can conveniently determine whether the flash code is successful, thereby improving the user experience.
  • the embodiment of the present specification also provides another data processing method.
  • the main body implementing the data processing method may include a first terminal.
  • the short-range wireless communication function of the first terminal may be in an on state.
  • the data processing method may include the following steps.
  • Step S20 Generate a payment code.
  • the first terminal may generate a payment code after receiving the payment instruction.
  • Step S22 Receive first prompt information sent by the second terminal based on the wireless communication connection under the condition that the wireless communication connection is established with the second terminal based on the connection identifier.
  • the first prompt information may be used to prompt whether the payment is successful.
  • the first prompt information may include prompt information for successful payment or prompt information for payment failure.
  • the second terminal may obtain a payment code; the payment code may be parsed to obtain connection information; and the wireless communication connection may be established with the first terminal based on the connection identifier in the connection information; The communication connection sends the first prompt information to the first terminal.
  • the first terminal may receive the first prompt information sent by the second terminal based on the wireless communication connection.
  • Step S24 Display the first prompt information.
  • the first terminal may acquire digital signature data and a key identifier corresponding to the digital signature data; and may be based on connection information, payment information, the digital signature data, and the key identifier. , generate a payment code.
  • the first terminal may receive the second prompt information sent by the first server; and the second prompt information may be displayed.
  • the second prompt information may include prompt information for successful deduction.
  • the first terminal may generate a payment code, and may receive the first prompt information sent by the second terminal based on the wireless communication connection under the condition that the wireless communication connection is established with the second terminal based on the connection identifier;
  • the first prompt information is displayed.
  • the first prompt information may be used to prompt whether the payment is successful. In this way, through the first prompt information displayed by the first terminal, the user can conveniently determine whether the flash code is successful, thereby improving the user experience.
  • the embodiment of the present specification also provides another data processing method.
  • the body implementing the data processing method may include a second terminal.
  • the short-range wireless communication function of the second terminal may be in an on state.
  • the data processing method may include the following steps.
  • Step S30 Acquire a payment code.
  • Step S32 Send first prompt information to the first terminal based on the wireless communication connection under the condition that a wireless communication connection is established with the first terminal based on the connection identifier.
  • the first prompt information may be used to prompt whether the payment is successful.
  • the first prompt information may include prompt information for successful payment or prompt information for payment failure.
  • the second terminal may parse the payment code to obtain connection information and payment information.
  • the connection information may include a connection identifier of the first terminal.
  • the first terminal may be regarded as a device requesting to establish a wireless communication connection, and the second terminal may be understood as a device that is requested to establish a wireless communication connection.
  • the second terminal may establish a wireless communication connection with the first terminal based on the connection identifier.
  • the second terminal may directly send the prompt information of the payment success to the first terminal.
  • the payment information may be verified; when the verification result is correct, the prompt information of the payment success may be sent to the first terminal; when the verification result is an error Sending the prompt information of the payment failure to the first terminal.
  • the second terminal may obtain a payment code; may parse the payment code, obtain connection information, payment information, digital signature data, and a key identifier; and obtain a key identifier for the identifier.
  • the public key is used as the target public key; the digital signature data can be checked and verified using the target public key.
  • the second terminal may send the first prompt information to the first terminal. Specifically, after the verification is successful, the second terminal may send the prompt information of the payment success to the first terminal. After the verification fails, the second terminal may send the prompt information of the payment failure to the first terminal.
  • the second terminal may have a speaker.
  • the second terminal can use the speaker to emit an audible prompt message.
  • the second terminal may determine a payment amount; the payment information and the payment amount may be sent to the second server.
  • the second server may receive the payment information and the payment amount.
  • the payment information may include user identification information, and the second server may perform a debit operation based on the user identification information and the payment amount.
  • the second server may further send a debit request to the first server, where the debit request may carry user identification information and a payment amount.
  • the first server may receive the debit request; the debit operation may be performed based on the user identification information and the payment amount.
  • the second terminal may obtain the payment code, and may send the first prompt information to the first terminal based on the wireless communication connection, so that the wireless communication connection is established based on the connection identifier, so that The first prompt information can be displayed on the first terminal.
  • the first prompt information may be used to prompt whether the payment is successful. In this way, through the first prompt information displayed by the first terminal, the user can conveniently determine whether the flash code is successful, thereby improving the user experience.
  • FIG. 1, FIG. 2, FIG. 5, FIG. 6, and FIG. An example of a scenario of an embodiment of the present specification is described below.
  • the data processing system may include a first terminal, a second terminal, a first server, and a second server.
  • the first terminal may be a smart phone.
  • An Alipay APP can be installed in the smart phone.
  • the smart phone may have a Bluetooth communication function, and the Bluetooth communication function of the smart phone may be in an open state.
  • the second terminal may be a bus POS machine.
  • the bus POS machine may have a Bluetooth communication function, and the Bluetooth communication function of the bus POS machine may be in an open state.
  • the bus POS machine can also have a speaker.
  • the first server may be an Alipay server.
  • the second server may be a server corresponding to the bus POS machine.
  • the Alipay server may have at least one digital signature data.
  • the digital signature data can be obtained by signature based on the private key of the asymmetric encryption technology.
  • Each of the digital signature data in the Alipay server may be associated with a public key and a key identifier, and the public key may be used to perform verification on the digital signature data, and the key identifier may be used to identify the public key.
  • the Alipay server may deliver at least one digital signature data and a key identifier corresponding to the digital signature data to the smart phone.
  • the smartphone can have a digital signature data set.
  • the digital signature data set may include at least one digital signature data, and each digital signature data may correspond to a key identifier.
  • the Alipay server may also send at least one public key corresponding to the digital signature data to the bus POS machine.
  • the bus POS machine can have a public key set
  • the public key set can include at least one public key.
  • the user may send a payment instruction to the smart phone when he needs to take a bus.
  • the smart phone may acquire the connection information and the payment information; and obtain a digital signature data and a key identifier corresponding to the digital signature data from the digital signature data set;
  • the payment information, the acquired digital signature data, and the acquired key identifier generate a payment code.
  • the user can perform a brushing operation on the bus POS machine using the payment code.
  • the bus POS machine can obtain the payment code; the payment code can be parsed to obtain connection information, payment information, digital signature data, and a key identifier.
  • connection information may include a physical address of the smartphone.
  • the bus POS machine can establish a Bluetooth communication connection with the smart phone using the physical address in the connection information.
  • the bus POS machine may also obtain a public key of the identifier from the public key set to identify the identifier as a target public key; the digital signature data may be checked using the target public key.
  • the bus POS machine can send the prompt information of the payment success to the smart phone through the Bluetooth communication connection.
  • the bus POS machine may send the prompt information of the payment failure to the smart phone through the Bluetooth communication connection.
  • the smart phone may receive the prompt information of the payment success or the prompt information of the payment failure; the prompt information of the payment success or the prompt information of the payment failure may be displayed. In this way, the user can easily judge whether the brush code is successful through his or her smart phone.
  • the bus POS machine can also determine the payment amount; the payment information and the payment amount can be sent to the second server.
  • the second server may receive the payment information and the payment amount, and the payment information may include user identification information.
  • the second server may then send a debit request to the Alipay server, where the debit request may carry the user identification information and the payment amount.
  • the payment server may receive the debit request; the deduction operation may be performed based on the user identification information and the payment amount; and the prompt information for successful deduction may be sent to the smart phone.
  • the smart phone can receive and display the prompt information of successful deduction.
  • the embodiment of the present specification provides a data processing apparatus, including a generating unit 40, a receiving unit 42, and a display unit 44.
  • a generating unit 40 configured to generate a payment code, where the payment code includes connection information; the connection information includes a connection identifier of the first terminal;
  • the receiving unit 42 is configured to receive the first prompt information sent by the second terminal based on the wireless communication connection under the condition that the wireless communication connection is established with the second terminal based on the connection identifier; wherein the first prompt information Used to indicate whether the payment was successful;
  • the display unit 44 is configured to display the first prompt information.
  • the embodiment of the present specification provides a terminal device, including a communication component, a display component, and a processor.
  • the communication component can be implemented in any suitable manner, for example, a wireless network card, a Bluetooth module, an infrared transceiver module, an ultra-wideband communication module, and a Zigbee protocol communication module.
  • the communication component can be used to establish a communication connection and perform data transmission.
  • the display component includes, but is not limited to, a liquid crystal display (LCD) display, a cathode ray tube (CRT) display, and a light emitting diode (LED) display.
  • LCD liquid crystal display
  • CRT cathode ray tube
  • LED light emitting diode
  • the display component can be used to display the first prompt information.
  • the processor can be implemented in any suitable manner.
  • the processor can take the form of, for example, a microprocessor or processor and computer readable media, logic gates, switches, and special-purpose integrations for storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • ASIC Application Specific Integrated Circuit
  • programmable logic controller programmable logic controller and embedded microcontroller form.
  • the processor may be configured to generate a payment code, where the payment code includes connection information, the connection information includes a connection identifier of the first terminal, and establishes a wireless communication connection with the second terminal based on the connection identifier. And receiving, by the wireless communication connection, the first prompt information sent by the second terminal, where the first prompt information is used to prompt whether the payment is successful; and the display component is controlled to display the first prompt information.
  • the terminal device disclosed in this embodiment the communication component, the display component and the specific functions implemented by the processor can be explained in comparison with the foregoing embodiments in the present specification.
  • a data processing apparatus includes an acquisition unit 50 and a transmission unit 52.
  • the obtaining unit 50 is configured to obtain a payment code, where the payment code includes connection information, and the connection information includes a connection identifier of the first terminal;
  • the sending unit 52 is configured to send, according to the wireless communication connection, the first prompt information to the first terminal, on the condition that the wireless communication connection is established with the first terminal based on the connection identifier, where the first The prompt message is used to indicate whether the payment is successful.
  • the embodiment of the present specification provides a terminal device, including a communication component and a processor.
  • the communication component can be implemented in any suitable manner, for example, a wireless network card, a Bluetooth module, an infrared transceiver module, an ultra-wideband communication module, and a Zigbee protocol communication module.
  • the communication component can be used to establish a communication connection and perform data transmission.
  • the processor can be implemented in any suitable manner.
  • the processor can take the form of, for example, a microprocessor or processor and computer readable media, logic gates, switches, and special-purpose integrations for storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • ASIC Application Specific Integrated Circuit
  • programmable logic controller programmable logic controller and embedded microcontroller form.
  • the processor may be configured to obtain a payment code, where the payment code includes connection information, the connection information includes a connection identifier of the first terminal, and establish wireless communication with the first terminal based on the connection identifier.
  • the first prompt information is sent to the first terminal based on the wireless communication connection, wherein the first prompt information is used to prompt whether the payment is successful.
  • the terminal device may further include a speaker that can generate sound waves audible to humans.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • the present specification can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present specification may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present specification or portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.
  • This description can be used in a variety of general purpose or special purpose computer system environments or configurations.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the present specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Telephonic Communication Services (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种数据处理方法、终端设备和数据处理系统。所述方法包括:第一终端生成支付码(S20);其中,所述支付码中包括有连接信息;所述连接信息包括所述第一终端的连接标识;第二终端获取所述支付码(S30);基于所述连接标识与所述第一终端建立无线通信连接;基于所述无线通信连接向所述第一终端发送第一提示信息(S32);其中,所述第一提示信息用于提示是否支付成功;第一终端基于所述无线通信连接接收所述第一提示信息(S22);展示所述第一提示信息(S24)。

Description

数据处理方法、终端设备和数据处理系统 技术领域
本说明书实施例涉及计算机技术领域,特别涉及一种数据处理方法、终端设备和数据处理系统。
背景技术
随着互联网的发展和移动终端设备的普及,二维码开始逐渐被广泛应用于日常生活中,例如公交支付场景中。
通常地,公交支付场景涉及的主体可以包括移动终端设备、公交POS机、移动终端设备对应的服务器(以下称为第一服务器)、公交POS机对应的服务器(以下称为第二服务器)。用户可以使用移动终端设备生成乘车二维码,所述乘车二维码中可以包括有支付信息。公交POS机可以扫描所述乘车二维码进而识别出所述支付信息;可以向第二服务器上传所述支付信息。所述第二服务器可以接收所述支付信息;可以向第一服务器发出扣款请求。所述第一服务器可以接收所述扣款请求进而执行扣款操作;可以向所述移动终端设备返回扣款提示信息。
为了能够在网络状况不佳的状况下使用户实现乘车,公交POS机通常被配置为延时向第二服务器上传识别出的支付信息。这样,在用户刷码后,移动终端设备无法即时获得扣款提示信息,使得用户往往只能通过公交POS机发出的声音来判断是否刷码成功,造成用户体验欠佳。特别地,在公交POS机出现声音故障的情况下,可能会导致用户多次刷码,从而造成用户资损。
发明内容
本说明书实施例的目的是提供一种数据处理方法、终端设备和数据处理系统,以使用户能够方便地判断是否刷码成功,提高用户体验。
为实现上述目的,本说明书实施例提供一种数据处理方法,包括:第一终端生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括所述第一终端的连接标 识;第二终端获取所述支付码;基于所述连接标识与所述第一终端建立无线通信连接;基于所述无线通信连接向所述第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支付成功;第一终端基于所述无线通信连接接收所述第一提示信息;展示所述第一提示信息。
为实现上述目的,本说明书实施例提供一种数据处理方法,应用于第一终端,包括:生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括所述第一终端的连接标识;在基于所述连接标识与第二终端建立无线通信连接的条件下,基于所述无线通信连接接收第二终端发来的第一提示信息;其中,所述第一提示信息用于提示是否支付成功;展示所述第一提示信息。
为实现上述目的,本说明书实施例提供一种终端设备,包括:生成单元,用于生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;接收单元,用于在基于所述连接标识与第二终端建立无线通信连接的条件下,基于所述无线通信连接接收第二终端发来的第一提示信息;其中,所述第一提示信息用于提示是否支付成功;展示单元,用于展示所述第一提示信息。
为实现上述目的,本说明书实施例提供一种终端设备,包括:通信组件,用于建立无线通信连接并进行数据传输;显示组件,用于展示第一提示信息;处理器,用于生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;在基于所述连接标识与第二终端建立无线通信连接的条件下,基于所述无线通信连接接收第二终端发来的第一提示信息;其中,所述第一提示信息用于提示是否支付成功;控制所述显示组件展示所述第一提示信息。
为实现上述目的,本说明书实施例提供一种数据处理方法,应用于第二终端,包括:获取支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;在基于所述连接标识与所述第一终端建立无线通信连接的条件下,基于所述无线通信连接向所述第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支付成功。
为实现上述目的,本说明书实施例提供一种终端设备,包括:获取单元,用于获取支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;发送单元,用于在基于所述连接标识与第一终端建立无线通信连接的条件下,基于所述无线通信连接向第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支 付成功。
为实现上述目的,本说明书实施例提供一种终端设备,包括:通信组件,用于建立无线通信连接并进行数据传输;处理器,用于获取支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;在基于所述连接标识与所述第一终端建立无线通信连接的条件下,基于所述无线通信连接向所述第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支付成功。
为实现上述目的,本说明书实施例提供一种数据处理系统,包括第一终端和第二终端。所述第一终端用于生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括所述第一终端的连接标识。所述第二终端用于获取所述支付码;基于所述连接标识与所述第一终端建立无线通信连接;基于所述无线通信连接向所述第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支付成功。所述第一终端还用于基于所述无线通信连接接收所述第一提示信息;展示所述第一提示信息。
由以上本说明书实施例提供的技术方案可见,在本说明书实施例中,第一终端可以生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识。第二终端可以获取所述支付码;可以基于所述连接标识与第一终端建立无线通信连接;可以基于所述无线通信连接向第一终端发送第一提示信息。第一终端可以基于所述无线通信连接接收所述第一提示信息;可以展示所述第一提示信息。所述第一提示信息可以用于提示是否支付成功。这样,通过第一终端展示的第一提示信息,用户能够方便地判断是否刷码成功,从而提高了用户体验。
附图说明
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本说明书实施例第一终端和所述第二终端之间的短距离无线通信连接示意图;
图2为本说明书实施例一种数据处理方法的流程图;
图3为本说明书实施例另一种数据处理方法的流程图;
图4为本说明书实施例另一种数据处理方法的流程图;
图5为本说明书实施例一种支付码示意图;
图6为本说明书实施例一种支持成功的提示信息的示意图;
图7为本说明书实施例一种支付失败的提示信息的示意图;
图8为本说明书实施例一种终端设备的功能结构示意图;
图9为本说明书实施例另一种终端设备的功能结构示意图;
图10为本说明书实施例另一种终端设备的功能结构示意图;
图11为本说明书实施例另一种终端设备的功能结构示意图。
具体实施方式
下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本说明书保护的范围。
本说明书实施例提供一种数据处理系统。
在本实施例中,所述数据处理系统可以包括第一终端。所述第一终端可以具有支付码生成功能。所述支付码可以包括图形化编码和声波码等,所述图形化编码可以包括条形码和二维码等。所述第一终端还可以具有短距离无线通信功能。所述短距离无线通信可以指较短距离内的通信,包括但不限于蓝牙(Bluetooth)、红外(IrDA)、无线保真(WI-FI)、超宽带通信(Ultra Wide Band)、紫峰(Zigbee)、近场通信(Near Field Communication,NFC)等。所述第一终端可以为智能手机、平板电子设备、便携式计算机、个人数字助理(PDA)、或智能穿戴设备等。
在本实施例中,所述数据处理系统还可以包括第二终端。所述第二终端可以具有支付码扫描功能。所述第二终端还可以具有短距离无线通信功能。所述第二终端可以为可移动设备,例如智能手机、平板电子设备、便携式计算机、个人数字助理(PDA)、车 载设备、POS机(例如商户POS机、公交POS机等)、或智能穿戴设备等。所述第二终端还可以为桌面设备,例如服务器、工控机(工业控制计算机)、个人计算机(PC机)、一体机、或智能自助终端(kiosk)(例如地铁自助售票机、火车票自助售票机)等。在本实施例的一个实施方式中,所述第二终端还可以具有扬声器。所述扬声器可以产生人类可听见的声波。
在本实施例的一个实施方式中,所述数据处理系统还可以包括第一服务器。所述第一服务器可以为一个服务器,还可以为包括多个服务器的服务器集群。所述第一服务器可以为所述第一终端对应的服务器。例如,所述第一终端可以为安装有支付宝APP的智能手机,所述第一服务器可以为支付宝服务器。
在本实施例的一个实施方式中,所述数据集传输系统还可以包括第二服务器。所述第二服务器可以为一个服务器,还可以为包括多个服务器的服务器集群。所述第二服务器可以为所述第二终端对应的服务器。例如,所述第二终端可以为公交POS机,所述第二服务器可以为公交POS机对应的服务器。
请参阅图1、图2、图5、图6和图7。本说明书实施例提供一种数据处理方法。实现所述数据处理方法的主体可以包括第一终端和第二终端。为了能够进行数据传输,所述第一终端和所述第二终端的短距离无线通信功能可以处于开启状态。所述数据处理方法可以包括以下步骤。
步骤S10:第一终端生成支付码。
在本实施例中,所述支付码可以包括图形化编码和声波码等,所述图形化编码可以包括条形码和二维码等。
所述支付码中可以包括有连接信息。所述连接信息可以包括所述第一终端的连接标识。所述连接标识可以用于建立无线通信连接。依据建立的无线通信连接的不同,所述连接标识可以相同或不同。例如,在基于蓝牙技术建立无线通信连接时,所述连接标识可以为所述第一终端的物理地址(Media Access Control,MAC)。另举一例,在基于无线保真技术建立无线通信连接时,所述连接标识可以为所述第一终端的服务集标识(Service Set Identifier,SSID)。当然,在基于其它技术建立无线通信连接时,所述连接标识可以为所述第一终端的其它标识,在此不再依次列举。
所述支付码中还可以包括有支付信息。所述支付信息可以包括用户标识信息。所述用户标识信息可以用于标识一个用户。所述用户标识信息例如可以为用户账户、用户账 户的编码、或者其它可以推导出用户账户的任何形式的信息。其中,所述用户账户例如可以为支付宝账户、微信账户、公交卡的卡号、或校园一卡通的卡号等。当然,所述支付信息还可以包括其它信息,例如单笔限额和失效时刻中的至少一个。所述单笔限额例如可以为10元、或20元等;所述失效时刻例如可以为10点30分、或11点15分等。
在本实施例中,所述第一终端可以在接收到支付指令以后,生成所述支付码。
所述第一终端可以具有支付按键;可以在检测到所述支付按键被触发时产生所述支付指令。这里所述支付按键被触发包括但不限于所述支付按键被按下、点击、双击、划过、按下时间超过预定时间等。所述支付按键可以为物理按键、或虚拟按键等,所述虚拟按键包括但不限于按钮控件、图形控件、文字控件等。或者,所述第一终端可以预先设定有手势操作。所述手势操作可以包括在显示组件(例如触摸式显示器)上的触摸轨迹。所述第一终端可以在识别到所述预设手势操作时产生所述支付指令。或者,所述第一终端可以具有传感器。所述传感器可以用于感测预先设定的运动状态,具体例如可以包括陀螺仪和/或加速传感器感等。所述第一终端可以在感测到所述预设运动状态时产生所述支付指令。
在本实施例中,所述第一终端可以获取连接信息和支付信息;可以基于获取的连接标识和支付信息,使用支付码生成算法,生成支付码。
依据第一终端和第二终端预先约定的无线通信连接类型,所述第一终端可以获取对应的连接信息。例如,在预先约定的无线通信连接类型为蓝牙时,所述第一终端可以获取自身的物理地址。另举一例,在预先约定的无线通信连接类型为无线保真时,所述第一终端可以获取自身的服务集标识。
所述第一终端可以获取用户标识信息。例如,所述第一终端可以获取当前登录的账户或历史登录的账户作为用户标识信息。另举一例,所述第一终端可以获取公交卡的卡号或校园一卡通的卡号作为用户标识信息。在本实施例的一个实施方式中,所述第一终端还可以获取单笔限额。具体地,所述第一终端可以预先设定有单笔限额。所述第一终端可以获取所述预先设定的单笔限额。或者,第一服务器可以具有单笔限额。所述第一终端可以向所述第一服务器发送数据获取请求。所述第一服务器可以接收所述数据获取请求,可以获取并向所述第一终端发送所述单笔限额。所述第一终端可以接收所述单笔限额。在本实施例的另一个实施方式中,所述第一终端还可以获取支付码的有效时间;可以基于当前时刻和所述有效时间,计算支付码的失效时刻。所述支付码的有效时间可 以来自所述第一终端或第一服务器。具体地,所述第一终端可以预先设定有支付码的有效时间。所述第一终端可以获取所述预先设定的有效时间。或者,所述第一服务器可以具有支付码的有效时间。所述第一终端可以向所述第一服务器发送数据获取请求。所述第一服务器可以接收所述数据获取请求,可以获取并向所述第一终端发送所述有效时间。所述第一终端可以接收所述有效时间。
在本实施例中,依据生成的支付码的不同,所述支付码生成算法可以相同或不同。例如,在生成二维码时,所述支付码生成算法可以为快速反应码(Quick Response code,QRcode)算法。本领域技术人员应当能够理解,此处的快速反应码算法仅为示例,实际上任何能够生成二维码的算法均可以应用于此。当然,在生成其它的支付码时,所述支付码生成算法还可以为其它算法,在此不再依次列举。
步骤S12:第二终端获取支付码。
在本实施例中,用户可以使用所述第一终端生成的支付码进行刷码操作。所述第二终端可以扫描得到所述支付码。本领域技术人员应当能够理解,所述第二终端还可以采用其它方式获取第一终端生成的支付码,本实施例对此并不做具体限定。
步骤S14:第二终端基于连接标识与所述第一终端建立无线通信连接;基于所述无线通信连接向所述第一终端发送第一提示信息。
在本实施例中,所述第二终端可以解析支付码,得到连接信息和支付信息。
在本实施例中,所述连接信息可以包括所述第一终端的连接标识。所述第一终端可以理为请求建立无线通信连接的设备,所述第二终端可以理解为被请求建立无线通信连接的设备。所述第二终端可以基于所述连接标识与所述第一终端建立无线通信连接。
在本实施例中,所述第一提示信息可以用于提示是否支付成功。具体地,所述第一提示信息可以包括支付成功的提示信息或支付失败的提示信息。所述支付成功的提示信息可以包括文字、图像、音频、视频及其任意组合。进一步地,所述支付成功的提示信息可以包括支付金额。所述支付失败的提示信息可以包括文字、图像、音频、视频及其任意组合。
在本实施例中,所述第二终端在解析支付码以后,可以直接向所述第一终端发送支付成功的提示信息。或者,所述第二终端在解析支付码以后;可以对支付信息进行校验;在校验结果为正确时,可以向所述第一终端发送支付成功的提示信息;在校验结果为错 误时,可以向所述第一终端发送支付失败的提示信息。
例如,所述支付信息可以包括失效时刻。所述第二终端在解析支付码以后,可以将当前时刻与所述失效时刻进行比对;在当前时刻小于或等于所述失效时刻时,可以认为校验结果为正确;在当前时刻大于所述失效时刻时,可以认为校验结果为错误。
另举一例,所述支付信息可以包括单笔限额。所述第二终端在解析支付码以后,可以确定支付金额;可以将支付金额与所述单笔限额进行比对;在支付金额小于或等于所述单笔限额时,可以认为校验结果为正确;在支付金额大于所述单笔限额时,可以认为校验结果为错误。其中,所述支付金额可以为预先设定的默认金额。或者,所述支付金额还可以是所述第二终端根据用户输入的信息确定的。用户输入的信息例如可以包括目的车站等。又或者,所述支付金额还可以是所述第二终端根据自身当前的地理位置确定的。例如,所述第二终端可以具有计算规则。所述第二终端可以获取自身当前的地理位置;可以基于获取的地理位置和所述计算规则,计算得到支付金额。
步骤S16:第一终端基于无线通信连接接收所述第一提示信息;展示所述第一提示信息。
在本实施例中,所述第一提示信息可以包括支付成功的提示信息或支付失败的提示信息。所述第一终端可以接收支付成功的提示信息或支付失败的提示信息;可以展示支付成功的提示信息或支付失败的提示信息。
在本实施例的一个实施方式中,第一服务器可以具有至少一个数字签名数据。所述数字签名数据可以基于非对称加密技术的私钥进行签名得到。所述非对称加密技术包括但不限于RSA算法、Elgamal算法、背包算法、ECC(椭圆曲线加密算法)等等。所述第一服务器中的每个数字签名数据可以对应有公钥和密钥标识,该公钥可以用于对该数字签名数据进行验签,该密钥标识可以用于标识该公钥。
在本实施方式中,所述第一终端可以获取数字签名数据、以及该数字签名数据对应的密钥标识;可以基于连接信息、支付信息、该数字签名数据、和该密钥标识,生成支付码。
所述第一服务器可以向所述第一终端下发至少一个数字签名数据、以及数字签名数据对应的密钥标识。这样,所述第一终端可以具有数字签名数据集合。所述数字签名数据集合可以包括至少一个数字签名数据,每个数字签名数据可以对应有密钥标识。如此,所述第一终端可以从所述数字签名数据集合中获取一个数字签名数据、以及该数字签名 数据对应的密钥标识。或者,所述第一终端可以向所述第一服务器发送数据获取请求。所述第一服务器可以接收所述数据获取请求;可以获取并向所述第一终端发送数字签名数据、以及该数字签名数据对应的密钥标识。所述第一终端可以接收数字签名数据、以及该数字签名数据对应的密钥标识。
在本实施方式中,所述第二终端可以获取支付码;可以解析支付码,得到连接信息、支付信息、数字签名数据、和密钥标识;可以获取密钥标识所述标识的公钥作为目标公钥;可以使用所述目标公钥对所述数字签名数据进行验签。进一步地,在验签以后,所述第二终端可以向所述第一终端发送第一提示信息。具体地,在验签成功以后,所述第二终端可以向所述第一终端发送支付成功的提示信息。在验签失败以后,所述第二终端可以向所述第一终端发送支付失败的提示信息。
所述第一服务器可以向第二终端下发至少一个数字签名数据对应的公钥。这样,所述第二终端可以具有公钥集合,所述公钥集合可以包括至少一个公钥。如此,所述第二终端可以从所述公钥集合中获取密钥标识对应的公钥作为目标公钥。
在本实施例的一个实施方式中,所述第二终端可以具有扬声器。所述第二终端可以使用扬声器发出声音提示信息。具体地,所述第二终端在解析支付码以后,可以直接使用扬声器发出支付成功的声音提示信息。或者,所述第二终端在解析支付码以后;可以对支付信息进行校验;在校验结果为正确时,可以使用扬声器发出支付成功的声音提示信息;在校验结果为错误时,可以使用扬声器发出支付失败的声音提示信息。
在本实施例的一个实施方式中,第二服务器可以执行扣款操作。具体地,所述第二终端可以确定支付金额;可以向第二服务器发送支付信息和支付金额。所述第二服务器可以接收所述支付信息和所述支付金额。所述支付信息可以包括用户标识,所述第二服务器进而可以基于用户标识信息和支付金额进行扣款操作。或者,第一服务器可以执行扣款操作。具体地,在接收到来自第二终端的支付信息和支付金额以后,所述第二服务器可以向所述第一服务器发送扣款请求,所述扣款请求中可以携带有用户标识信息和支付金额。所述第一服务器可以接收所述扣款请求;可以基于用户标识信息和支付金额进行扣款操作。进一步地,在执行扣款操作以后,所述第一服务器还可以向所述第一终端发送第二提示信息,所述第二提示信息可以包括扣款成功的提示信息。所述第一终端可以接收并展示所述第二提示信息。
所述第二终端可以直接向所述第二服务器发送支付信息和支付金额。或者,所述第 二终端还可以在检测到发送指令以后,向所述第二服务器发送支付信息和支付金额。其中,所述发送指令可以是所述第二终端自动产生的。例如,所述第二终端可以在预设时刻产生所述发送指令。所述预设时刻可以根据实际需要灵活设定,例如可以为晚上12点、凌晨4点等。另举一例,所述第二终端还可以在检测到自身网络连接可用时产生所述发送指令。当然,所述发送指令还可以是由用户主动触发所产生的。例如,所述第二终端可以具有发送按键,所述第二终端进而可以在检测到所述发送按键被触发时产生所述发送指令。这里所述发送按键被触发包括但不限于所述发送按键被按下、点击、双击、划过、按下时间超过预定时间等。所述发送按键可以为物理按键或虚拟按键等,所述虚拟按键包括但不限于按钮控件、图形控件、文字控件等。
在本实施例中,第一终端可以生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识。第二终端可以获取所述支付码;可以基于所述连接标识与第一终端建立无线通信连接;可以基于所述无线通信连接向第一终端发送第一提示信息。第一终端可以基于所述无线通信连接接收所述第一提示信息;可以展示所述第一提示信息。所述第一提示信息可以用于提示是否支付成功。这样,通过第一终端展示的第一提示信息,用户能够方便地判断是否刷码成功,从而提高了用户体验。
请参阅图3。本说明书实施例还提供另一种数据处理方法。实现所述数据处理方法的主体可以包括第一终端。为了能够进行数据传输,所述第一终端的短距离无线通信功能可以处于开启状态。所述数据处理方法可以包括以下步骤。
步骤S20:生成支付码。
在本实施例中,所述第一终端可以在接收到支付指令以后,生成支付码。
步骤S22:在基于连接标识与第二终端建立无线通信连接的条件下,基于所述无线通信连接接收第二终端发来的第一提示信息。
在本实施例中,所述第一提示信息可以用于提示是否支付成功。具体地,所述第一提示信息可以包括支付成功的提示信息或支付失败的提示信息。
在本实施例中,第二终端可以获取支付码;可以解析支付码,得到连接信息;可以基于所述连接信息中的连接标识,与所述第一终端建立无线通信连接;可以基于所述无线通信连接向所述第一终端发送第一提示信息。所述第一终端可以基于所述无线通信连接,接收所述第二终端发来的第一提示信息。
步骤S24:展示所述第一提示信息。
在本实施例的一个实施方式中,所述第一终端可以获取数字签名数据、以及该数字签名数据对应的密钥标识;可以基于连接信息、支付信息、该数字签名数据、和该密钥标识,生成支付码。
在本实施例的一个实施方式中,所述第一终端可以接收第一服务器发来第二提示信息;可以展示所述第二提示信息。所述第二提示信息可以包括扣款成功的提示信息。
在本实施例中,第一终端可以生成支付码;在基于连接标识与第二终端建立无线通信连接的条件下,可以基于所述无线通信连接接收第二终端发来的第一提示信息;可以展示所述第一提示信息。所述第一提示信息可以用于提示是否支付成功。这样,通过第一终端展示的第一提示信息,用户能够方便地判断是否刷码成功,从而提高了用户体验。
请参阅图4。本说明书实施例还提供另一种数据处理方法。实现所述数据处理方法的主体可以包括第二终端。为了能够进行数据传输,所述第二终端的短距离无线通信功能可以处于开启状态。所述数据处理方法可以包括以下步骤。
步骤S30:获取支付码。
步骤S32:在基于连接标识与第一终端建立无线通信连接的条件下,基于所述无线通信连接向所述第一终端发送第一提示信息。
在本实施例中,所述第一提示信息可以用于提示是否支付成功。具体地,所述第一提示信息可以包括支付成功的提示信息或支付失败的提示信息。
在本实施例中,所述第二终端可以解析支付码,得到连接信息和支付信息。所述连接信息可以包括所述第一终端的连接标识。所述第一终端可以理为请求建立无线通信连接的设备,所述第二终端可以理解为被请求建立无线通信连接的设备。所述第二终端可以基于所述连接标识与所述第一终端建立无线通信连接。
在本实施例中,所述第二终端在解析支付码以后,可以直接向所述第一终端发送支付成功的提示信息。或者,所述第二终端在解析支付码以后;可以对支付信息进行校验;在校验结果为正确时,可以向所述第一终端发送支付成功的提示信息;在校验结果为错误时,可以向所述第一终端发送支付失败的提示信息。
在本实施例的一个实施方式中,所述第二终端可以获取支付码;可以解析支付码,得到连接信息、支付信息、数字签名数据、和密钥标识;可以获取密钥标识所述标识的 公钥作为目标公钥;可以使用所述目标公钥对所述数字签名数据进行验签。进一步地,在验签以后,所述第二终端可以向所述第一终端发送第一提示信息。具体地,在验签成功以后,所述第二终端可以向所述第一终端发送支付成功的提示信息。在验签失败以后,所述第二终端可以向所述第一终端发送支付失败的提示信息。
在本实施例的一个实施方式中,所述第二终端可以具有扬声器。所述第二终端可以使用扬声器发出声音提示信息。
在本实施例的一个实施方式中,所述第二终端可以确定支付金额;可以向第二服务器发送支付信息和支付金额。所述第二服务器可以接收所述支付信息和所述支付金额。所述支付信息可以包括用户标识信息,所述第二服务器可以基于用户标识信息和支付金额进行扣款操作。或者,在接收到来自第二终端的支付信息和支付金额以后,所述第二服务器还可以向所述第一服务器发送扣款请求,所述扣款请求中可以携带有用户标识信息和支付金额。所述第一服务器可以接收所述扣款请求;可以基于用户标识信息和支付金额进行扣款操作。
在本实施例中,第二终端可以获取支付码;在基于连接标识与第一终端建立无线通信连接的条件下,可以基于所述无线通信连接向所述第一终端发送第一提示信息,以便于所述第一终端能够展示所述第一提示信息。所述第一提示信息可以用于提示是否支付成功。这样,通过第一终端展示的第一提示信息,用户能够方便地判断是否刷码成功,从而提高了用户体验。
请参阅图1、图2、图5、图6和图7。以下介绍本说明书实施例的一个场景示例。
在本场景实施例中,所述数据处理系统可以包括第一终端、第二终端、第一服务器和第二服务器。所述第一终端可以为智能手机。所述智能手机中可以安装有支付宝APP。所述智能手机可以具有蓝牙通信功能,所述智能手机的蓝牙通信功能可以处于开启状态。所述第二终端可以为公交POS机。所述公交POS机可以具有蓝牙通信功能,所述公交POS机的蓝牙通信功能可以处于开启状态。所述公交POS机还可以具有扬声器。所述第一服务器可以为支付宝服务器。所述第二服务器可以为公交POS机对应的服务器。
在本场景实施例中,所述支付宝服务器可以具有至少一个数字签名数据。所述数字签名数据可以基于非对称加密技术的私钥进行签名得到。所述支付宝服务器中的每个数字签名数据可以对应有公钥和密钥标识,该公钥可以用于对该数字签名数据进行验签, 该密钥标识可以用于标识该公钥。所述支付宝服务器可以向所述智能手机下发至少一个数字签名数据、以及数字签名数据对应的密钥标识。这样,所述智能手机可以具有数字签名数据集合。所述数字签名数据集合可以包括至少一个数字签名数据,每个数字签名数据可以对应有密钥标识。所述支付宝服务器还可以向所述公交POS机下发至少一个数字签名数据对应的公钥。这样,所述公交POS机可以具有公钥集合,所述公钥集合可以包括至少一个公钥。
在本场景实施例中,用户在需要乘坐公交时,可以向所述智能手机发送支付指令。所述智能手机在接收到支付指令以后,可以获取连接信息和支付信息;可以从数字签名数据集合中获取一个数字签名数据、以及该数字签名数据对应的密钥标识;可以基于所述连接信息、所述支付信息、获取的数字签名数据、和获取的密钥标识,生成支付码。
在本场景实施例中,用户可以使用所述支付码在所述公交POS机进行刷码操作。所述公交POS机可以获得所述支付码;可以解析所述支付码,得到连接信息、支付信息、数字签名数据、和密钥标识。
所述连接信息可以包括所述智能手机的物理地址。如此,所述公交POS机可以使用所述连接信息中的物理地址与所述智能手机建立蓝牙通信连接。
所述公交POS机还可以从公钥集合中获取密钥标识所述标识的公钥作为目标公钥;可以使用所述目标公钥对所述数字签名数据进行验签。在验签成功以后,所述公交POS机可以通过所述蓝牙通信连接向所述智能手机发送支付成功的提示信息。或者,在验签失败以后,所述公交POS机可以通过所述蓝牙通信连接向所述智能手机发送支付失败的提示信息。所述智能手机可以接收支付成功的提示信息或支付失败的提示信息;可以展示支付成功的提示信息或支付失败的提示信息。这样,用户可以通过自己的智能手机方便地判断是否刷码成功。
此外,在验签成功以后,所述公交POS机还可以确定支付金额;可以向第二服务器发送支付信息和支付金额。所述第二服务器可以接收所述支付信息和所述支付金额,所述支付信息可以包括用户标识信息。所述第二服务器继而可以向支付宝服务器发送扣款请求,所述扣款请求中可以携带有用户标识信息和支付金额。所述支付宝服务器可以接收所述扣款请求;可以基于用户标识信息和支付金额进行扣款操作;可以向所述智能手机发送扣款成功的提示信息。所述智能手机可以接收并展示扣款成功的提示信息。
请参阅图8。本说明书实施例提供一种数据处理装置,包括生成单元40、接收单元 42和展示单元44。
生成单元40,用于生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;
接收单元42,用于在基于所述连接标识与第二终端建立无线通信连接的条件下,基于所述无线通信连接接收第二终端发来的第一提示信息;其中,所述第一提示信息用于提示是否支付成功;
展示单元44,用于展示所述第一提示信息。
请参阅图9。本说明书实施例提供一种终端设备,包括通信组件、显示组件和处理器。
在本实施例中,所述通信组件可以按任何适当的方式实现,例如,无线网卡、蓝牙模块、红外收发模块、超宽带通信模块、以及紫蜂协议通信模块等。所述通信组件可以用于建立通信连接并进行数据传输。
在本实施例中,所述显示组件包括但不限于液晶(Liquid Crystal Display,LCD)显示器、阴极射线管(Cathode Ray Tube,CRT)显示器、和发光二极管(Light Emitting Diode,LED)显示器等。所述显示组件可以用于展示第一提示信息。
在本实施例中,所述处理器可以按任何适当的方式实现。例如,所述处理器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式等等。
所述处理器可以用于生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;在基于所述连接标识与第二终端建立无线通信连接的条件下,基于所述无线通信连接接收第二终端发来的第一提示信息;其中,所述第一提示信息用于提示是否支付成功;控制所述显示组件展示所述第一提示信息。
本实施例公开的终端设备,其通信组件、显示组件和处理器实现的具体功能,可以与本说明书中前述实施例对照进行解释。
请参阅图10。一种数据处理装置,包括获取单元50和发送单元52。
获取单元50,用于获取支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;
发送单元52,用于在基于所述连接标识与所述第一终端建立无线通信连接的条件下,基于所述无线通信连接向所述第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支付成功。
请参阅图11。本说明书实施例提供一种终端设备,包括通信组件和处理器。
在本实施例中,所述通信组件可以按任何适当的方式实现,例如,无线网卡、蓝牙模块、红外收发模块、超宽带通信模块、以及紫蜂协议通信模块等。所述通信组件可以用于建立通信连接并进行数据传输。
在本实施例中,所述处理器可以按任何适当的方式实现。例如,所述处理器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式等等。
所述处理器可以用于获取支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;在基于所述连接标识与所述第一终端建立无线通信连接的条件下,基于所述无线通信连接向所述第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支付成功。
在本实施例的一个实施方式中,所述终端设备还可以包括扬声器,所述扬声器可以产生人类可听见的声波。
本实施例公开的终端设备,其通信组件和处理器实现的具体功能,可以与本说明书中前述实施例对照进行解释。
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同或相似的部分互相参见即可,每个实施例重点说明的都是与其它实施例的不同之处。尤其,对于终端设备实施例而言,由于其基本相似于数据处理方法实施例,所以描述的比较简单,相关之处参见数据处理方法实施例的部分说明即可。
另外,可以理解的是,本领域技术人员在阅读本说明书文件之后,可以无需创造性劳动想到将本说明书列举的部分或全部实施例进行任意组合,这些组合也在本说明书公开和保护的范围内。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的 改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片2。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog2。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本说明书可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本说明书的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本说明书各 个实施例或者实施例的某些部分所述的方法。
本说明书可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。
本说明书可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
虽然通过实施例描绘了本说明书,本领域普通技术人员知道,本说明书有许多变形和变化而不脱离本说明书的精神,希望所附的权利要求包括这些变形和变化而不脱离本说明书的精神。

Claims (24)

  1. 一种数据处理方法,包括:
    第一终端生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括所述第一终端的连接标识;
    第二终端获取所述支付码;基于所述连接标识与所述第一终端建立无线通信连接;基于所述无线通信连接向所述第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支付成功;
    第一终端基于所述无线通信连接接收所述第一提示信息;展示所述第一提示信息。
  2. 一种数据处理方法,应用于第一终端,包括:
    生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括所述第一终端的连接标识;
    在基于所述连接标识与第二终端建立无线通信连接的条件下,基于所述无线通信连接接收第二终端发来的第一提示信息;其中,所述第一提示信息用于提示是否支付成功;
    展示所述第一提示信息。
  3. 如权利要求2所述的方法,所述支付码包括图形化编码和声波码中的至少一个。
  4. 如权利要求2所述的方法,所述支付码中还包括有支付信息;所述支付信息包括用户标识信息。
  5. 如权利要求4所述的方法,所述支付信息还包括单笔限额和失效时刻中的至少一个。
  6. 如权利要求2所述的方法,所述连接标识包括物理地址和服务集标识中的至少一个。
  7. 如权利要求2所述的方法,所述无线通信连接包括以下至少一种:
    基于蓝牙技术建立的无线通信连接;
    基于红外技术建立的无线通信连接;
    基于无线保真技术建立的无线通信连接;
    基于超宽带通信技术建立的无线通信连接;
    基于紫峰技术建立的无线通信连接;
    基于近场通信技术建立的无线通信连接。
  8. 如权利要求4或5所述的方法,所述生成支付码,包括:
    获取连接信息和支付信息;
    获取数字签名数据和所述数字签名数据对应的密钥标识;
    基于所述连接信息、所述支付信息、所述数字签名数据和所述密钥标识,生成支付码。
  9. 如权利要求2所述的方法,所述方法还包括:
    接收第一服务器发来的第二提示信息;其中,所述第二提示信息包括扣款成功的提示信息;
    展示所述第二提示信息。
  10. 一种终端设备,包括:
    生成单元,用于生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;
    接收单元,用于在基于所述连接标识与第二终端建立无线通信连接的条件下,基于所述无线通信连接接收第二终端发来的第一提示信息;其中,所述第一提示信息用于提示是否支付成功;
    展示单元,用于展示所述第一提示信息。
  11. 一种终端设备,包括:
    通信组件,用于建立无线通信连接并进行数据传输;
    显示组件,用于展示第一提示信息;
    处理器,用于生成支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;在基于所述连接标识与第二终端建立无线通信连接的条件下,基于所述无线通信连接接收第二终端发来的第一提示信息;其中,所述第一提示信息用于提示是否支付成功;控制所述显示组件展示所述第一提示信息。
  12. 一种数据处理方法,应用于第二终端,包括:
    获取支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;
    在基于所述连接标识与所述第一终端建立无线通信连接的条件下,基于所述无线通信连接向所述第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支付成功。
  13. 如权利要求12所述的方法,所述支付码包括图形化编码和声波码中的至少一个。
  14. 如权利要求12所述的方法,所述支付码中还包括有支付信息;所述支付信息包括用户标识信息。
  15. 如权利要求14所述的方法,所述支付信息还包括单笔限额和失效时刻中的至 少一个。
  16. 如权利要求12所述的方法,所述连接标识包括物理地址和服务集标识中的至少一个。
  17. 如权利要求12所述的方法,所述无线通信连接包括以下至少一种:
    基于蓝牙技术建立的无线通信连接;
    基于红外技术建立的无线通信连接;
    基于无线保真技术建立的无线通信连接;
    基于超宽带通信技术建立的无线通信连接;
    基于紫峰技术建立的无线通信连接;
    基于近场通信技术建立的无线通信连接。
  18. 如权利要求12所述的方法,所述支付码中还包括有数字签名数据和密钥标识;相应地,在获取支付码以后,所述方法还包括:
    获取所述密钥标识对应的公钥作为目标公钥;
    使用所述目标公钥对所述数字签名数据进行验签。
  19. 如权利要求18所述的方法,所述基于所述无线通信连接向所述第一终端发送第一提示信息,包括:
    在验签成功时,基于所述无线通信连接向所述第一终端发送支付成功的提示信息;
    或者,在验签失败时,基于所述无线通信连接向所述第一终端发送支付失败的提示信息。
  20. 如权利要求14或15所述的方法,所述基于所述无线通信连接向所述第一终端发送第一提示信息,包括:
    对所述支付信息进行校验;
    在校验结果为正确时,基于所述无线通信连接向所述第一终端发送支付成功的提示信息;或者,在校验结果为错误时,基于所述无线通信连接向所述第一终端发送支付失败的提示信息。
  21. 如权利要求14或15所述的方法,所述方法还包括:
    确定支付金额;
    向第二服务器发送所述支付信息和所述支付金额。
  22. 一种终端设备,包括:
    获取单元,用于获取支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;
    发送单元,用于在基于所述连接标识与所述第一终端建立无线通信连接的条件下,基于所述无线通信连接向所述第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支付成功。
  23. 一种终端设备,包括:
    通信组件,用于建立无线通信连接并进行数据传输;
    处理器,用于获取支付码;其中,所述支付码中包括有连接信息;所述连接信息包括第一终端的连接标识;在基于所述连接标识与所述第一终端建立无线通信连接的条件下,基于所述无线通信连接向所述第一终端发送第一提示信息;其中,所述第一提示信息用于提示是否支付成功。
  24. 一种数据处理系统,包括第一终端和第二终端;
    所述第一终端,用于实现如权利要求2至9中任一项所述的方法步骤;
    所述第二终端,用于实现如权利要求12至21中任一项所述的方法步骤。
PCT/CN2018/124428 2018-01-24 2018-12-27 数据处理方法、终端设备和数据处理系统 WO2019144760A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2020536647A JP2021510864A (ja) 2018-01-24 2018-12-27 データ処理方法、端末デバイス、およびデータ処理システム
SG11202005636WA SG11202005636WA (en) 2018-01-24 2018-12-27 Data processing method, terminal device, and data processing system
KR1020207018906A KR102407821B1 (ko) 2018-01-24 2018-12-27 데이터 처리 방법, 단말 장치, 및 데이터 처리 시스템
PH12020550974A PH12020550974A1 (en) 2018-01-24 2020-06-23 Data processing method, terminal device, and data processing system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810067565.XA CN108305065B (zh) 2018-01-24 2018-01-24 数据处理方法、终端设备和数据处理系统
CN201810067565.X 2018-01-24

Publications (1)

Publication Number Publication Date
WO2019144760A1 true WO2019144760A1 (zh) 2019-08-01

Family

ID=62865897

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124428 WO2019144760A1 (zh) 2018-01-24 2018-12-27 数据处理方法、终端设备和数据处理系统

Country Status (7)

Country Link
JP (1) JP2021510864A (zh)
KR (1) KR102407821B1 (zh)
CN (2) CN108305065B (zh)
PH (1) PH12020550974A1 (zh)
SG (1) SG11202005636WA (zh)
TW (1) TWI699717B (zh)
WO (1) WO2019144760A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305065B (zh) * 2018-01-24 2021-07-30 创新先进技术有限公司 数据处理方法、终端设备和数据处理系统
CN110852756A (zh) * 2019-11-20 2020-02-28 腾讯科技(深圳)有限公司 一种数据处理方法及设备
CN111131470B (zh) * 2019-12-27 2021-10-22 联想(北京)有限公司 终端设备及其数据处理方法以及数据处理系统
CN113947398A (zh) * 2021-10-19 2022-01-18 北京有竹居网络技术有限公司 支付方法、装置、电子设备及计算机可读介质
CN114581084B (zh) * 2022-01-07 2023-04-07 代增瑜 基于区块链的安全支付方法、系统及第三方平台节点

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081769A (zh) * 2009-11-27 2011-06-01 阿里巴巴集团控股有限公司 支付数据处理方法、系统、支付终端及支付服务器
CN106779712A (zh) * 2015-11-25 2017-05-31 阿里巴巴集团控股有限公司 网络支付方法及装置
CN106886892A (zh) * 2016-11-18 2017-06-23 阿里巴巴集团控股有限公司 基于条码的通信方法和装置、支付的实现方法和装置
CN108305065A (zh) * 2018-01-24 2018-07-20 阿里巴巴集团控股有限公司 数据处理方法、终端设备和数据处理系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8380177B2 (en) * 2010-04-09 2013-02-19 Paydiant, Inc. Mobile phone payment processing methods and systems
US8740064B2 (en) * 2011-04-08 2014-06-03 Blackberry Limited Payment processing system including mobile wireless communications device to send a payment confirmation to a transaction terminal and associated methods
DE102012112967B4 (de) * 2012-12-21 2016-06-16 Sqwin Sa online Transaktionssystem
CN104636916A (zh) * 2013-11-15 2015-05-20 腾讯科技(深圳)有限公司 一种移动支付方法及相关设备、系统
CN106934615B (zh) * 2015-12-29 2020-08-04 阿里巴巴集团控股有限公司 基于移动终端条码的支付以及业务处理方法及装置
TWM550433U (zh) * 2017-07-21 2017-10-11 Modern Times Financial Information Co Ltd 二維條碼多元支付繳費系統
TWM554202U (zh) * 2017-08-04 2018-01-11 Lee Han Hui 支援預先點單之服務設備

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081769A (zh) * 2009-11-27 2011-06-01 阿里巴巴集团控股有限公司 支付数据处理方法、系统、支付终端及支付服务器
CN106779712A (zh) * 2015-11-25 2017-05-31 阿里巴巴集团控股有限公司 网络支付方法及装置
CN106886892A (zh) * 2016-11-18 2017-06-23 阿里巴巴集团控股有限公司 基于条码的通信方法和装置、支付的实现方法和装置
CN108305065A (zh) * 2018-01-24 2018-07-20 阿里巴巴集团控股有限公司 数据处理方法、终端设备和数据处理系统

Also Published As

Publication number Publication date
KR20200100671A (ko) 2020-08-26
KR102407821B1 (ko) 2022-06-10
TWI699717B (zh) 2020-07-21
CN108305065A (zh) 2018-07-20
CN113743929A (zh) 2021-12-03
TW201933208A (zh) 2019-08-16
JP2021510864A (ja) 2021-04-30
PH12020550974A1 (en) 2021-03-22
SG11202005636WA (en) 2020-07-29
CN108305065B (zh) 2021-07-30

Similar Documents

Publication Publication Date Title
WO2019144760A1 (zh) 数据处理方法、终端设备和数据处理系统
US11855981B2 (en) Authenticating a user device via a monitoring device
US11100442B2 (en) Method and device for implementing service function
TWI688281B (zh) 支付輔助方法、裝置以及設備
US11184347B2 (en) Secure authentication using variable identifiers
US10977464B2 (en) Service processing using a digital object identifier
KR102301880B1 (ko) 전자 장치 및 이의 음성 대화 방법
US11379819B2 (en) Method and apparatus for information exchange
US10789592B2 (en) Transaction confirmation based on user attributes
US10891364B2 (en) Identity verification method and system, and intelligent wearable device
KR102390713B1 (ko) 전자 장치 및 전자 장치의 통화 서비스 제공 방법
US11100473B2 (en) Mobile payment processing
KR20160033409A (ko) 전자 장치 및 전자 장치에서 데이터를 처리하는 방법
US20210333861A1 (en) Hands-free gestures for account authentication
US20200043067A1 (en) Resource transmission methods and apparatus
KR102144509B1 (ko) 근접 통신 방법 및 장치
WO2018082560A1 (zh) 帐号注册方法、相关设备及系统
JP2018512106A (ja) スマートイメージを使用したフィッシング対策のための方法およびシステム
EP3308289B1 (en) Resource protection using tokenized information
US20230041559A1 (en) Apparatus and methods for multifactor authentication

Legal Events

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

Ref document number: 18902118

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020536647

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20207018906

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18902118

Country of ref document: EP

Kind code of ref document: A1