WO2020140300A1 - Method and system for implementing transaction by means of electronic card graphic code - Google Patents

Method and system for implementing transaction by means of electronic card graphic code Download PDF

Info

Publication number
WO2020140300A1
WO2020140300A1 PCT/CN2019/070929 CN2019070929W WO2020140300A1 WO 2020140300 A1 WO2020140300 A1 WO 2020140300A1 CN 2019070929 W CN2019070929 W CN 2019070929W WO 2020140300 A1 WO2020140300 A1 WO 2020140300A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
code
server
information
electronic card
Prior art date
Application number
PCT/CN2019/070929
Other languages
French (fr)
Chinese (zh)
Inventor
颜斌
Original Assignee
深圳市融纳海川科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市融纳海川科技有限公司 filed Critical 深圳市融纳海川科技有限公司
Publication of WO2020140300A1 publication Critical patent/WO2020140300A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • 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
    • 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/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists

Definitions

  • the present invention relates to the field of Internet of Things, and in particular to a method and system for realizing a transaction by using an electronic card graphic code.
  • Mobile payment refers to the use of ordinary mobile phones or smart phones to complete the payment or confirm the payment, rather than paying with cash, check or bank card. Buyers can use mobile phones to purchase a range of services, digital products or physical goods. Units or individuals send payment instructions directly or indirectly to bank financial institutions through mobile devices, the Internet, or proximity sensing to generate monetary payment and fund transfer behaviors, thereby realizing mobile payment functions. Mobile payment integrates terminal equipment, Internet, application providers and financial institutions to provide users with financial services such as currency payment and payment.
  • QR codes and barcode machines are becoming more and more popular.
  • the built-in QR codes and barcodes on mobile apps can already realize various payments, access control verifications, travel certificates, etc.
  • the present invention can provide a method and system for realizing a transaction by using an electronic card graphic code.
  • the invention discloses a method for realizing a transaction by an electronic card graphic code, which includes the following steps:
  • step S3 is specifically:
  • step S3 is specifically:
  • step S4 is specifically:
  • the transaction code collection terminal scans the second graphic code on the electronic card to identify and extract the transaction code information in the graphic information;
  • the transaction code collection terminal submits the transaction code and transaction data according to the interactive process agreed with the verification server;
  • the verification server decodes the transaction code according to the same transaction code generation rules as the electronic card, removes confusion data, and extracts the key factor information;
  • the verification server matches the key factor information with the user database information. If the time information in the transaction code is within the standard time allowable range, the timeliness of the transaction code is effective; if the The unique ID information of the electronic card in the transaction code can be found in the database, and the legality of the transaction code is considered valid;
  • the verification server validates the time validity and legality of the transaction, it submits the transaction request to the transaction server for transaction confirmation;
  • the transaction server After obtaining the user information and transaction data, the transaction server matches the user transaction information in the user database. If the transactions match, the transaction server allocates the transaction data, and the transaction server matches the transaction The result is fed back to the verification server, and the verification server replies to the transaction code collection terminal;
  • the transaction code collection terminal After the transaction code collection terminal receives a reply from the verification server, it confirms that the transaction is completed.
  • the invention discloses a system for realizing a transaction with a graphic code of an electronic card, which includes a plurality of back-end servers, a transaction code collection terminal, and at least one electronic card, the back-end server is connected to the transaction code collection terminal, and the transaction code Collect the graphic code displayed on the terminal's scanable electronic card.
  • the electronic card has a first memory with a plurality of first instructions. The first instructions are suitable for being loaded by the first processor of the electronic card and executing the above method. Steps 1 (S1) and 3 (S3), the transaction code collection terminal has a second memory of a plurality of second instructions, the second instructions are suitable for being loaded by the second processor of the transaction code collection terminal And execute steps 2 (S2) and 4 (S4) in the above method.
  • the background server includes a verification server, a database server, and a transaction server, and both the verification server and the database server are connected to the transaction server.
  • the first instruction also performs the following steps:
  • the second graphic code is displayed on the display unit according to the graphic code generation rule.
  • the first instruction also performs the following steps:
  • a second graphic code that can be verified by the transaction server is generated offline.
  • the second instruction also performs the following steps:
  • the verification server has a plurality of third memories of third instructions.
  • the third instructions are adapted to be loaded by the third processor of the verification server and perform the following steps:
  • the timeliness of the transaction code is effective; if the electronic information in the transaction code If the unique ID information of the card can be found in the database, the legality of the transaction code is considered valid;
  • the transaction server has a fourth memory of a plurality of fourth instructions.
  • the fourth instructions are adapted to be loaded by the fourth processor of the verification server and perform the following steps:
  • the user transaction information in the user database is matched. If the transaction matches, the transaction data is allocated and the transaction matching result is fed back to the verification server, so that the verification
  • the signing server can reply to the transaction code collection terminal to confirm the completion of the transaction.
  • the technical solution of the present invention realizes mobile payment through an electronic card, expands the channel of mobile payment, especially in areas where the use of mobile phones is prohibited (such as campuses), provides new payment methods, and is more convenient for users (students).
  • FIG. 1 is a flow chart of a method for realizing a transaction with an electronic card graphic code according to the first embodiment of the invention
  • FIG. 2 is a flow chart of a method for realizing a transaction with an electronic card graphic code according to a second embodiment of the invention
  • FIG. 3 is a flow chart of a method for realizing a transaction with an electronic card graphic code according to a third embodiment of the invention
  • FIG. 4 is a schematic structural diagram of a system for realizing a transaction by using an electronic card graphic code according to an embodiment of the present invention.
  • the first, second, third, and fourth, etc. only represent different products or devices, etc., and do not have the function of ordinal numbers.
  • a method for realizing a transaction with a graphic code of an electronic card includes the following steps:
  • the electronic card should be bound to the transaction server through Bluetooth communication through the mobile phone.
  • Graphic codes include QR codes/barcodes, etc.
  • the electronic card presses a designated button to generate a two-dimensional code for data binding purposes.
  • the two-dimensional code uses a QR code or other two-dimensional code encoding method .
  • the content includes the unique information of the card, Bluetooth MAC address, product information, etc.
  • the electronic card includes a main control processor unit, a display unit, a communication unit, a security unit, and an input unit.
  • the main control processor unit mainly includes transaction code generation algorithm, QR code/barcode generation algorithm, business flow control, encryption access and human-computer interaction flow control.
  • the display unit provides prompt information display, status identification display, QR code/barcode display. LCD screen with black and white or color screen.
  • the communication unit implements data communication channels such as Bluetooth, digital cellular mobile network, and WIFI.
  • the communication unit can be a single chip or can be integrated into the main control chip by hardware.
  • the security unit provides high security algorithms and high security data access functions.
  • the security unit can be a single chip, or it can be integrated into the main control chip with high-security hardware.
  • the input unit provides human-computer interaction input, such as keyboard input, touch screen input, fingerprint input, camera acquisition input, etc.
  • the technical scheme adopted by the present invention is a transaction realization method based on an electronic card, which includes a signature verification server, a database server, a transaction server, a transaction code collection terminal, and an electronic card.
  • the transaction code collection terminal recognizes the first graphic code by scanning the code, and registers the specific electronic card in the transaction server.
  • the QR code on the electronic card of the mobile phone scanning code is submitted to the server through Bluetooth and digital cellular mobile network, and the card information is registered in the server, and the information is pulled from the server and synchronized to the card, so that the card and the server can be based on the same key factor information Generate barcode or QR code information that can be checked.
  • the key factor information includes time and the unique ID code generated by the server for the card.
  • the entire communication process is highly encrypted.
  • the server After the binding is successful, the server will keep a copy of the key factor information of the card, and the electronic card will also save a copy of the key factor information.
  • Step S4 is specifically:
  • the transaction code collection terminal scans the QR code or barcode on the electronic card to identify and extract the transaction code information in the graphic information.
  • the transaction code collection terminal submits the transaction code and transaction data according to the interaction process agreed with the verification server.
  • the signature verification server decodes the transaction code according to the same transaction code generation rules as the electronic card, removes confusion data, and extracts key factor information (including time information and unique ID of the electronic card).
  • the verification server matches these key factor information with the user database information. If the time information in the transaction code is within the standard time allowable range (for example, ⁇ 30 seconds), the timeliness of the transaction code is effective. If the unique ID information of the electronic card in the transaction code can be found in the database, the legality of the transaction code is considered valid.
  • the verification server validates the time validity and legality of the transaction, it submits the transaction request to the transaction server for transaction confirmation.
  • the transaction server After obtaining the user information and transaction data, the transaction server matches the user transaction information in the user database, such as whether the user has the right to trade and whether the user's quota meets the transaction.
  • the transaction server feeds back the result of the transaction matching to the verification server, and the verification server replies to the transaction code collection terminal together. If the transactions match, the transaction server transfers the transaction data.
  • the transaction code collection terminal After receiving the feedback from the server, the transaction code collection terminal confirms whether to conduct the transaction.
  • step S3 is specifically:
  • the transaction server issues the transaction code data; that is, the remote server issues the transaction code or generates key factor data.
  • the electronic card After receiving the transaction code data, the electronic card displays the second graphic code on the display unit according to the graphic code generation rule.
  • the electronic card receives the transaction code or generates key factor data, and then displays the bar code or two-dimensional code on the display unit according to the two-dimensional code or bar code generation rules.
  • step S3 is specifically:
  • the transaction code is generated in the offline state: press the designated button of the bound electronic card, and the electronic card main control unit extracts the saved key factor information (such as the current time, unique ID, etc.) as an input to the generation algorithm to generate A transaction code with not only specified rules to generate information but also random information confusion is issued.
  • the saved key factor information such as the current time, unique ID, etc.
  • the main control unit of the electronic card obtains the transaction code, and generates a bar code or two-dimensional code graphic on the display unit according to the two-dimensional code or bar code generation rules.
  • a system 100 for realizing a transaction by using an electronic card graphic code including a plurality of back-end servers, a transaction code collection terminal 200, and at least one electronic card 400.
  • the back-end server can be wired and wirelessly connected to the transaction code collection terminal 200
  • the collection terminal 200 can scan the graphic code displayed by the electronic card 400.
  • the electronic card 400 has a first memory with a plurality of first instructions.
  • the first instructions are suitable to be loaded by the first processor of the electronic card 400 and execute the method shown in FIG.
  • step 1 step S1
  • step S3 step S3
  • the transaction code collection terminal 200 has a second memory of a plurality of second instructions.
  • the second instruction is suitable for being loaded by the second processor of the transaction code collection terminal 200 and Steps 2 (step S2) and 4 (step S4) in the method of FIG. 1 are performed.
  • the first processor of the electronic card 400 loads and executes steps S1 and S3, and the second processor of the transaction code collection terminal 200 loads and executes steps S2 and S4.
  • the background server includes a verification server 110, a database server 120, and a transaction server 130.
  • the verification server 110 and the database server 120 are both connected to the transaction server 130.
  • online payment can be implemented, in which case:
  • the first instruction also performs the following steps:
  • the second graphic code is displayed on the display unit according to the graphic code generation rule.
  • offline payment can be realized, in this case:
  • the first instruction also performs the following steps:
  • a second graphic code that can be checked by the transaction server 130 is generated offline.
  • the second instruction also performs the following steps:
  • the verification server 110 has a third memory of multiple third instructions.
  • the third instructions are suitable for being loaded by the third processor of the verification server 110 and perform the following steps:
  • the timeliness of the transaction is effective; if the unique ID information of the electronic card 400 in the transaction code can be found in the database , The legality of the transaction is considered valid;
  • the transaction request is submitted to the transaction server 130 for transaction confirmation;
  • the transaction server 130 has a fourth memory of a plurality of fourth instructions.
  • the fourth instructions are suitable for being loaded by the fourth processor of the verification server 110 and perform the following steps:
  • the user transaction information in the user database is matched. If the transaction matches, the transaction data is allocated and the transaction matching result is fed back to the verification server 110, so that the verification server 110 can reply Give the transaction code collection terminal 200 to confirm the completion of the transaction.
  • the technical solution of the present invention realizes mobile payment through an electronic card, which expands the channel of mobile payment, especially in areas where the use of mobile phones is prohibited (such as campus), and it is more convenient for users (students).
  • the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or at least one computer usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
  • a computer usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
  • each flow and/or block in the flowchart and/or block diagram and a combination of the flow and/or block in the flowchart and/or block diagram may be implemented by computer program instructions.
  • These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device
  • These computer program instructions may also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instructions The device implements the functions specified in one block or at least one block of the flowchart one flow or at least one flow and/or block diagram.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to generate computer-implemented processing, which is executed on the computer or other programmable device
  • the instructions provide steps for implementing the functions specified in one block or at least one block of the flowchart one flow or at least one flow and/or block diagram.

Abstract

The present invention provides a method for implementing transaction by means of an electronic card graphic code, comprising the following steps of: S1, selecting a specific electronic card to generate a first graphic code for binding to a transaction server; S2, identifying the first graphic code, and registering the specific electronic card in the transaction server; S3, receiving pullback information from the transaction server, wherein the first graphic code and the pullback information both comprise information of the same key factor, and generating, on the basis of the information of the same key factor, a second graphic code capable of being verified by the transaction server; and S4, identifying the second graphic code then for transaction. The present invention further provides a system for implementing transaction by means of an electronic card graphic code. According to the technical solutions of the present invention, by means of an electronic card, mobile payment is implemented, channels of mobile payment are expanded, and especially in areas where the use of mobile phones is prohibited (such as campus), the technical solutions are more convenient for users (students).

Description

一种电子卡图形码实现交易的方法及系统Method and system for realizing transaction by electronic card graphic code 技术领域Technical field
本发明涉及一种物联网领域,特别涉及一种电子卡图形码实现交易的方法及系统。The present invention relates to the field of Internet of Things, and in particular to a method and system for realizing a transaction by using an electronic card graphic code.
背景技术Background technique
移动支付是指使用普通手机或智能手机完成支付或确认支付,而不是用现金、支票或银行卡支付。买方可以使用移动电话购买一系列的服务、数字产品或实体商品。单位或个人通过移动设备、互联网或者近距离传感直接或间接向银行金融机构发送支付指令产生货币支付与资金转移行为,从而实现移动支付功能。移动支付将终端设备、互联网、应用提供商以及金融机构相融合,为用户提供货币支付、缴费等金融业务。Mobile payment refers to the use of ordinary mobile phones or smart phones to complete the payment or confirm the payment, rather than paying with cash, check or bank card. Buyers can use mobile phones to purchase a range of services, digital products or physical goods. Units or individuals send payment instructions directly or indirectly to bank financial institutions through mobile devices, the Internet, or proximity sensing to generate monetary payment and fund transfer behaviors, thereby realizing mobile payment functions. Mobile payment integrates terminal equipment, Internet, application providers and financial institutions to provide users with financial services such as currency payment and payment.
随着移动支付的市场成熟,二维码和条形码机具越来越普及,手机APP内置二维码和条形码已经可以实现各种支付、门禁验证、乘车凭证等等。With the maturity of the mobile payment market, QR codes and barcode machines are becoming more and more popular. The built-in QR codes and barcodes on mobile apps can already realize various payments, access control verifications, travel certificates, etc.
现有应用场景都需要手机安装特定APP来实现,如果不能直接使用手机或者针对简易支付交易需求,只能采用NFC刷卡方式却局限在特定消费场所,人们需要直接利用其它的电子设备也能实现移动支付。Existing application scenarios require the mobile phone to be installed with a specific APP. If you can’t use the mobile phone directly or for simple payment transactions, you can only use the NFC card swipe method but it is limited to specific consumer places. People need to directly use other electronic devices to achieve mobile. Pay.
发明内容Summary of the invention
为了解决利用电子卡实现移动支付的问题,本发明能提供一种电子卡图形码实现交易的方法及系统。In order to solve the problem of using an electronic card to realize mobile payment, the present invention can provide a method and system for realizing a transaction by using an electronic card graphic code.
本发明的技术方案是这样实现的:The technical solution of the present invention is implemented as follows:
本发明公开了一种电子卡图形码实现交易的方法,包括以下步骤:The invention discloses a method for realizing a transaction by an electronic card graphic code, which includes the following steps:
S1.选取特定的电子卡,生成用于与交易服务器进行绑定的第一图形码;S1. Select a specific electronic card and generate a first graphic code for binding with the transaction server;
S2.识别所述的第一图形码,将所述的特定电子卡在所述的交易服务器进行登记;S2. Identify the first graphic code, and register the specific electronic card in the transaction server;
S3.接收来自交易服务器的拉回信息,其中,所述的第一图形码及拉回信息均具有同一关键因子信息;并基于所述的同一关键因子的信息,生成能被所述的交易服务器验签的第二图形码;S3. Receive pull-back information from the transaction server, wherein the first graphic code and the pull-back information all have the same key factor information; and based on the same key factor information, generate a transaction server that can be used by the The second graphic code for verification;
S4.识别所述的第二图形码进行交易。S4. Identify the second graphic code to conduct a transaction.
进一步地,在所述的步骤S3具体是:Further, the step S3 is specifically:
S31.接受已绑定电子卡的指定按键指令,基于所述的同一关键因子的信息,通过加密方式向所述的交易服务器发起获取交易码的请求;S31. Accept the designated key command of the bound electronic card, and initiate a request to obtain the transaction code through encryption to the transaction server based on the information of the same key factor;
S32.收到交易服务器下发交易码数据后,根据图形码生成规则,在显示单元上显示所述的第二图形码。S32. After receiving the transaction code data issued by the transaction server, display the second graphic code on the display unit according to the graphic code generation rule.
进一步地,在所述的步骤S3具体是:Further, the step S3 is specifically:
S33.接受已绑定的电子卡的指定按键指令,基于所述的同一关键因子的信息,自身生成交易码;S33. Accept the designated key command of the bound electronic card, and generate the transaction code by itself based on the information of the same key factor;
S34.根据所述的交易码,离线生成能被所述的交易服务器验签的第二图形码。S34. According to the transaction code, generate a second graphic code that can be verified by the transaction server offline.
进一步地,步骤S4具体是:Further, step S4 is specifically:
交易码采集终端扫描电子卡上的所述的第二图形码,识别并提取出图形信息里面的交易码信息;The transaction code collection terminal scans the second graphic code on the electronic card to identify and extract the transaction code information in the graphic information;
交易码采集终端根据跟验签服务器约定交互流程提交交易码和交易数据;The transaction code collection terminal submits the transaction code and transaction data according to the interactive process agreed with the verification server;
所述的验签服务器按照与电子卡同一的交易码生成规则,对所述的交易码进行解码,去除混淆数据,提取出所述的关键因子信息;The verification server decodes the transaction code according to the same transaction code generation rules as the electronic card, removes confusion data, and extracts the key factor information;
所述的验签服务器将所述的关键因子信息与用户数据库信息进行匹配,如果所述的交易码里面的时间信息在标准时间允许范围,则所述的交易码的时效性有效;如果所述的交易码里面的电子卡唯一ID信息在数据库里面能找到唯一对应关系,则认为所述的交易码的合法性有效;The verification server matches the key factor information with the user database information. If the time information in the transaction code is within the standard time allowable range, the timeliness of the transaction code is effective; if the The unique ID information of the electronic card in the transaction code can be found in the database, and the legality of the transaction code is considered valid;
所述的验签服务器对交易的时间有效性和合法性验证通过后,将交易请求提交给所述的交易服务器进行交易确认;After the verification server validates the time validity and legality of the transaction, it submits the transaction request to the transaction server for transaction confirmation;
所述的交易服务器拿到用户信息和交易数据后,对用户数据库里面的用户交易信息进行匹配,如果交易匹配,所述的交易服务器将交易数据进行划拨处理,所述的交易服务器将交易匹配的结果反馈给所述的验签服务器,由所述的验签服务器回复给所述的交易码采集终端;After obtaining the user information and transaction data, the transaction server matches the user transaction information in the user database. If the transactions match, the transaction server allocates the transaction data, and the transaction server matches the transaction The result is fed back to the verification server, and the verification server replies to the transaction code collection terminal;
所述的交易码采集终端拿到验签服务器的回复后,确认交易完成。After the transaction code collection terminal receives a reply from the verification server, it confirms that the transaction is completed.
本发明公开了一种电子卡图形码实现交易的系统,包括多个后台服务器、交易码采集终端、至少一个电子卡,所述的后台服务器连接所述的交易码采集终端,所述的交易码采集终端可扫码电子卡显示的图形码,所述的电子卡具有多个第一指令的第一存储器,所述第一指令适于由电子卡的第一处理器加载并执行上述的方法中的第1(S1)及3(S3)步骤,所述的交易码采集终端具有多个第二指令的第二存储器,所述的第二指令适于由交易码采集终端的第二处理器加载并执行上述方法中的的第2(S2)及4(S4)步骤。The invention discloses a system for realizing a transaction with a graphic code of an electronic card, which includes a plurality of back-end servers, a transaction code collection terminal, and at least one electronic card, the back-end server is connected to the transaction code collection terminal, and the transaction code Collect the graphic code displayed on the terminal's scanable electronic card. The electronic card has a first memory with a plurality of first instructions. The first instructions are suitable for being loaded by the first processor of the electronic card and executing the above method. Steps 1 (S1) and 3 (S3), the transaction code collection terminal has a second memory of a plurality of second instructions, the second instructions are suitable for being loaded by the second processor of the transaction code collection terminal And execute steps 2 (S2) and 4 (S4) in the above method.
进一步地,所述的后台服务器包括验签服务器、数据库服务器、交易服务器,所述的验签服务器、数据库服务器均与所述的交易服务器相连接。Further, the background server includes a verification server, a database server, and a transaction server, and both the verification server and the database server are connected to the transaction server.
进一步地,所述的第一指令还执行以下步骤:Further, the first instruction also performs the following steps:
接受已绑定电子卡的指定按键指令,基于所述的同一关键因子的信息,通过加密方式向所述的交易服务器发起获取交易码的请求;Accept the designated key instruction of the bound electronic card, and initiate a request to obtain the transaction code through encryption to the transaction server based on the information of the same key factor;
收到交易服务器下发交易码数据后,根据图形码生成规则,在显示单元上显示所述的第二图形码。After receiving the transaction code data issued by the transaction server, the second graphic code is displayed on the display unit according to the graphic code generation rule.
进一步地,所述的第一指令还执行以下步骤:Further, the first instruction also performs the following steps:
接受已绑定的电子卡的指定按键指令,基于所述的同一关键因子的信息,自身生成交易码;Accept the designated key instruction of the bound electronic card, and generate the transaction code based on the same key factor information;
根据所述的交易码,离线生成能被所述的交易服务器验签的第二图形码。According to the transaction code, a second graphic code that can be verified by the transaction server is generated offline.
进一步地,所述的第二指令还执行以下步骤:Further, the second instruction also performs the following steps:
扫描电子卡上的所述的第二图形码,识别并提取出图形信息里面的交易码信息;Scan the second graphic code on the electronic card to identify and extract the transaction code information in the graphic information;
根据跟验签服务器约定交互流程提交交易码和交易数据;Submit the transaction code and transaction data according to the interactive process agreed with the verification server;
所述的验签服务器具有多个第三指令的第三存储器,所述的第三指令适于由验签服务器的第三处理器加载并执行以下步骤:The verification server has a plurality of third memories of third instructions. The third instructions are adapted to be loaded by the third processor of the verification server and perform the following steps:
按照与电子卡同一的交易码生成规则,对所述的交易码进行解码,去除混淆数据,提取出所述的关键因子信息;Decode the transaction code according to the same transaction code generation rules as the electronic card, remove confusion data, and extract the key factor information;
将所述的关键因子信息与用户数据库信息进行匹配,如果所述的交易码里面的时间信息在标准时间允许范围,则所述的交易码的时效性有效;如果所述的交易码里面的电子卡唯一ID信息在数据库里面能找到唯一对应关系,则认为所述的交易码的合法性有效;Match the key factor information with the user database information. If the time information in the transaction code is within the allowable range of standard time, the timeliness of the transaction code is effective; if the electronic information in the transaction code If the unique ID information of the card can be found in the database, the legality of the transaction code is considered valid;
对交易的时间有效性和合法性验证通过后,将交易请求提交给所述的交易服务器进行交易确认;After verifying the time validity and legality of the transaction, submit the transaction request to the transaction server for transaction confirmation;
所述的交易服务器具有多个第四指令的第四存储器,所述的第四指令适于由验签服务器的第四处理器加载并执行以下步骤:The transaction server has a fourth memory of a plurality of fourth instructions. The fourth instructions are adapted to be loaded by the fourth processor of the verification server and perform the following steps:
拿到用户信息和交易数据后,对用户数据库里面的用户交易信息进行匹配,如果交易匹配,将交易数据进行划拨处理,将交易匹配的结果反馈给所述的验签服务器,以致所述的验签服务器可回复给所述的交易码采集终端,确认交易完成。After obtaining the user information and transaction data, the user transaction information in the user database is matched. If the transaction matches, the transaction data is allocated and the transaction matching result is fed back to the verification server, so that the verification The signing server can reply to the transaction code collection terminal to confirm the completion of the transaction.
实施本发明的一种电子卡图形码实现交易的方法及系统,具有以下有益的技术效果:The method and system for implementing a transaction of an electronic card graphic code of the present invention have the following beneficial technical effects:
本发明的技术方案通过电子卡实现移动支付,拓展了移动支付的渠道,特别是在禁止使用手机的区域(如校园),提供新的支付方式,更是方便了用户(学生)。The technical solution of the present invention realizes mobile payment through an electronic card, expands the channel of mobile payment, especially in areas where the use of mobile phones is prohibited (such as campuses), provides new payment methods, and is more convenient for users (students).
附图说明BRIEF DESCRIPTION
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, without paying any creative labor, other drawings can also be obtained based on these drawings.
图1为本发明的第一实施例一种电子卡图形码实现交易的方法流程图;FIG. 1 is a flow chart of a method for realizing a transaction with an electronic card graphic code according to the first embodiment of the invention;
图2为本发明的第二实施例一种电子卡图形码实现交易的方法流程图;FIG. 2 is a flow chart of a method for realizing a transaction with an electronic card graphic code according to a second embodiment of the invention;
图3为本发明的第三实施例一种电子卡图形码实现交易的方法流程图;FIG. 3 is a flow chart of a method for realizing a transaction with an electronic card graphic code according to a third embodiment of the invention;
图4为本发明的实施例一种电子卡图形码实现交易的系统结构示意图。4 is a schematic structural diagram of a system for realizing a transaction by using an electronic card graphic code according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
在本发明中,第一、第二、第三及第四等只表示不同的产品或器件等,不具有序数词的作用。In the present invention, the first, second, third, and fourth, etc. only represent different products or devices, etc., and do not have the function of ordinal numbers.
请参阅图1,实施例一,一种电子卡图形码实现交易的方法,包括以下步骤:Please refer to FIG. 1, the first embodiment, a method for realizing a transaction with a graphic code of an electronic card includes the following steps:
S1.选取特定的电子卡,生成用于与交易服务器进行绑定的第一图形码;S1. Select a specific electronic card and generate a first graphic code for binding with the transaction server;
电子卡要通过手机以蓝牙通讯的方式绑定交易服务器。The electronic card should be bound to the transaction server through Bluetooth communication through the mobile phone.
图形码包括二维码/条形码等。Graphic codes include QR codes/barcodes, etc.
电子卡在未跟服务器数据产生绑定关系前(简称未绑定),电子卡按指定按键生成用于数据绑定用途的二维码,该二维码采用QR码或其他二维码编码方式,内容包括该卡的唯一信息、蓝牙的MAC地址、产品信息等。Before the electronic card has a binding relationship with the server data (abbreviated as unbound), the electronic card presses a designated button to generate a two-dimensional code for data binding purposes. The two-dimensional code uses a QR code or other two-dimensional code encoding method , The content includes the unique information of the card, Bluetooth MAC address, product information, etc.
电子卡包括主控处理器单元、显示单元、通信单元、安全单元和输入单元。The electronic card includes a main control processor unit, a display unit, a communication unit, a security unit, and an input unit.
主控处理器单元主要包括交易码生成算法,二维码/条形码生成算法,业务流控制,加密存取和人机交互流程控制。显示单元提供提示信息显示、状态标识显示、二维码/条形码显示。采用黑白或彩屏的液晶点阵屏。通信单元实现蓝 牙、数字蜂窝移动网络、WIFI等数据通讯通道。通信单元可以是单独一颗芯片,也可以硬件集成到主控芯片。安全单元提供高安全性算法、高安全性数据存取功能。安全单元可以单独一个芯片,也可以采用高安全性的硬件集成到主控芯片。输入单元提供人机交互输入,例如键盘输入、触屏输入、指纹输入、摄像头采集输入等。The main control processor unit mainly includes transaction code generation algorithm, QR code/barcode generation algorithm, business flow control, encryption access and human-computer interaction flow control. The display unit provides prompt information display, status identification display, QR code/barcode display. LCD screen with black and white or color screen. The communication unit implements data communication channels such as Bluetooth, digital cellular mobile network, and WIFI. The communication unit can be a single chip or can be integrated into the main control chip by hardware. The security unit provides high security algorithms and high security data access functions. The security unit can be a single chip, or it can be integrated into the main control chip with high-security hardware. The input unit provides human-computer interaction input, such as keyboard input, touch screen input, fingerprint input, camera acquisition input, etc.
S2.识别所述的第一图形码,将所述的特定电子卡在所述的交易服务器进行登记。S2. Identify the first graphic code and register the specific electronic card with the transaction server.
本发明采用的技术方案是一个基于电子卡的交易实现方法,包括验签服务器、数据库服务器、交易服务器、交易码采集终端、电子卡。The technical scheme adopted by the present invention is a transaction realization method based on an electronic card, which includes a signature verification server, a database server, a transaction server, a transaction code collection terminal, and an electronic card.
由交易码采集终端通过扫码的方式识别所述的第一图形码,并将所述的特定电子卡在所述的交易服务器进行登记。The transaction code collection terminal recognizes the first graphic code by scanning the code, and registers the specific electronic card in the transaction server.
S3.接收来自交易服务器的拉回信息,其中,第一图形码及拉回信息均具有同一关键因子信息;并基于同一关键因子的信息,生成能被交易服务器验签的第二图形码。S3. Receive the pull-back information from the transaction server, where the first graphic code and the pull-back information both have the same key factor information; and based on the same key factor information, generate a second graphic code that can be checked by the transaction server.
手机扫码电子卡上的二维码,通过蓝牙、数字蜂窝移动网络并提交给服务器,将卡片信息在服务器登记,同时从服务器拉取信息同步到卡片,以便卡片能与服务器根据同一关键因子信息生成可验签的条形码或二维码信息。这些关键因子信息包括时间,服务器为卡专门生成的唯一ID编码。整个通讯过程都经过高度安全加密。The QR code on the electronic card of the mobile phone scanning code is submitted to the server through Bluetooth and digital cellular mobile network, and the card information is registered in the server, and the information is pulled from the server and synchronized to the card, so that the card and the server can be based on the same key factor information Generate barcode or QR code information that can be checked. The key factor information includes time and the unique ID code generated by the server for the card. The entire communication process is highly encrypted.
绑定成功后,服务器会保留一份卡的关键因子信息,电子卡片也会保存一份关键因子信息。After the binding is successful, the server will keep a copy of the key factor information of the card, and the electronic card will also save a copy of the key factor information.
S4.识别第二图形码进行交易。S4. Identify the second graphic code to conduct the transaction.
步骤S4具体是:Step S4 is specifically:
交易码采集终端扫描电子卡上的二维码或条形码,识别并提取出图形信息里面的交易码信息。The transaction code collection terminal scans the QR code or barcode on the electronic card to identify and extract the transaction code information in the graphic information.
交易码采集终端根据跟验签服务器约定交互流程提交交易码和交易数据。The transaction code collection terminal submits the transaction code and transaction data according to the interaction process agreed with the verification server.
验签服务器按照与电子卡同一的交易码生成规则,对交易码进行解码,去除混淆数据,提取出关键因子信息(包括时间信息,电子卡的唯一ID)。The signature verification server decodes the transaction code according to the same transaction code generation rules as the electronic card, removes confusion data, and extracts key factor information (including time information and unique ID of the electronic card).
验签服务器将这些关键因子信息与用户数据库信息进行匹配,如果交易码里面的时间信息在标准时间允许范围(例如±30秒),则交易码的时效性有效。如果交易码里面的电子卡唯一ID信息在数据库里面能找到唯一对应关系,则认为该交易码的合法性有效。The verification server matches these key factor information with the user database information. If the time information in the transaction code is within the standard time allowable range (for example, ±30 seconds), the timeliness of the transaction code is effective. If the unique ID information of the electronic card in the transaction code can be found in the database, the legality of the transaction code is considered valid.
验签服务器对交易的时间有效性和合法性验证通过后,将交易请求提交给交易服务器进行交易确认。After the verification server validates the time validity and legality of the transaction, it submits the transaction request to the transaction server for transaction confirmation.
交易服务器拿到用户信息和交易数据后,对用户数据库里面的用户交易信息进行匹配,例如用户是否有权交易、用户的额度是否满足此次交易。交易服务器将交易匹配的结果反馈给验签服务器,由验签服务器一同回复给交易码采集终端。如果交易匹配,交易服务器将交易数据进行划拨处理。After obtaining the user information and transaction data, the transaction server matches the user transaction information in the user database, such as whether the user has the right to trade and whether the user's quota meets the transaction. The transaction server feeds back the result of the transaction matching to the verification server, and the verification server replies to the transaction code collection terminal together. If the transactions match, the transaction server transfers the transaction data.
交易码采集终端拿到服务器的反馈后,确认是否进行交易。After receiving the feedback from the server, the transaction code collection terminal confirms whether to conduct the transaction.
请参阅图2,在本发明的实施例二中,可以实现在线支付,大部分的步骤与图1相同,不同之处在于,步骤S3具体是:Please refer to FIG. 2. In the second embodiment of the present invention, online payment can be realized. Most of the steps are the same as FIG. 1, except that step S3 is specifically:
S31.接受已绑定电子卡的指定按键指令,基于同一关键因子的信息,通过加密方式向交易服务器发起获取交易码的请求;S31. Accept the specified key instruction of the bound electronic card, and initiate a request to obtain the transaction code through the encryption method based on the information of the same key factor;
此时,在联网状态(能连接上验签服务器)下生成交易码,按下已绑定电子卡的指定按键,电子卡主控单元提取保存的关键因子数据,通过加密方式向远端服务器发起获取交易码或生成关键因子的请求。At this time, generate a transaction code under the network status (can be connected to the verification server), press the designated button of the bound electronic card, the electronic card main control unit extracts the saved key factor data, and initiates to the remote server through encryption Request to obtain transaction codes or generate key factors.
S32.收到交易服务器下发交易码数据后,根据图形码生成规则,在显示单元上显示所述的第二图形码。S32. After receiving the transaction code data issued by the transaction server, display the second graphic code on the display unit according to the graphic code generation rule.
交易服务器下发交易码数据;即,远端服务器下发交易码或生成关键因子数据。The transaction server issues the transaction code data; that is, the remote server issues the transaction code or generates key factor data.
电子卡收到交易码数据后,再根据图形码生成规则,在显示单元上显示第二图形码。After receiving the transaction code data, the electronic card displays the second graphic code on the display unit according to the graphic code generation rule.
电子卡收到交易码或生成关键因子数据,再根据二维码或条形码生成规则,在显示单元上显示条形码或二维码。The electronic card receives the transaction code or generates key factor data, and then displays the bar code or two-dimensional code on the display unit according to the two-dimensional code or bar code generation rules.
请参阅图3,在本发明的实施例三中,可以实现离线支付,大部分的步骤与图1相同,不同之处在于,步骤S3具体是:Referring to FIG. 3, in the third embodiment of the present invention, offline payment can be realized. Most of the steps are the same as FIG. 1, except that step S3 is specifically:
S33.接受已绑定的电子卡的指定按键指令,基于所述的同一关键因子的信息,电子卡自身生成交易码;S33. Accept the designated key instruction of the bound electronic card, and based on the information of the same key factor, the electronic card itself generates a transaction code;
此时,在离线状态下生成交易码:按已绑定电子卡的指定按键,电子卡主控单元提取保存的关键因子信息(例如当前时间、唯一ID等)作为输入,给到生成算法,产生出不但有指定规则生成信息又带有随机信息混淆的交易码。At this time, the transaction code is generated in the offline state: press the designated button of the bound electronic card, and the electronic card main control unit extracts the saved key factor information (such as the current time, unique ID, etc.) as an input to the generation algorithm to generate A transaction code with not only specified rules to generate information but also random information confusion is issued.
S34.根据所述的交易码,离线生成能被所述的交易服务器验签的第二图形码。S34. According to the transaction code, generate a second graphic code that can be verified by the transaction server offline.
电子卡的主控单元拿到交易码,根据二维码或条形码生成规则,在显示单元生成条形码或二维码图形。The main control unit of the electronic card obtains the transaction code, and generates a bar code or two-dimensional code graphic on the display unit according to the two-dimensional code or bar code generation rules.
请参阅图4,一种电子卡图形码实现交易的系统100,包括多个后台服务器、交易码采集终端200、至少一个电子卡400,后台服务器可有线可无线连接交易码采集终端200,交易码采集终端200可扫码电子卡400显示的图形码,电子卡400具有多个第一指令的第一存储器,第一指令适于由电子卡400的第一处理器加载并执行上述的图1方法中的第1(步骤S1)及3步骤(步骤S3),交易码采集终端200具有多个第二指令的第二存储器,第二指令适于由交易码采集终端200的第二处理器加载并执行图1的方法中的的第2(步骤S2)及4步骤(步骤S4)。Please refer to FIG. 4, a system 100 for realizing a transaction by using an electronic card graphic code, including a plurality of back-end servers, a transaction code collection terminal 200, and at least one electronic card 400. The back-end server can be wired and wirelessly connected to the transaction code collection terminal 200 The collection terminal 200 can scan the graphic code displayed by the electronic card 400. The electronic card 400 has a first memory with a plurality of first instructions. The first instructions are suitable to be loaded by the first processor of the electronic card 400 and execute the method shown in FIG. In step 1 (step S1) and step 3 (step S3), the transaction code collection terminal 200 has a second memory of a plurality of second instructions. The second instruction is suitable for being loaded by the second processor of the transaction code collection terminal 200 and Steps 2 (step S2) and 4 (step S4) in the method of FIG. 1 are performed.
即:以下步骤中:That is: in the following steps:
S1.选取特定的电子卡,生成用于与交易服务器进行绑定的第一图形码;S1. Select a specific electronic card and generate a first graphic code for binding with the transaction server;
S2.识别所述的第一图形码,将所述的特定电子卡在所述的交易服务器进行登记;S2. Identify the first graphic code, and register the specific electronic card in the transaction server;
S3.接收来自交易服务器的拉回信息,其中,所述的第一图形码及拉回信息均具有同一关键因子信息;并基于所述的同一关键因子的信息,生成能被所述的交易服务器验签的第二图形码;S3. Receive pull-back information from the transaction server, wherein the first graphic code and the pull-back information all have the same key factor information; and based on the same key factor information, generate a transaction server that can be used by the The second graphic code for verification;
S4.识别所述的第二图形码进行交易。S4. Identify the second graphic code to conduct a transaction.
电子卡400的第一处理器加载并执行步骤S1及S3,交易码采集终端200的第二处理器加载并执行步骤S2及S4。The first processor of the electronic card 400 loads and executes steps S1 and S3, and the second processor of the transaction code collection terminal 200 loads and executes steps S2 and S4.
后台服务器包括验签服务器110、数据库服务器120、交易服务器130,验签服务器110、数据库服务器120均与交易服务器130相连接。The background server includes a verification server 110, a database server 120, and a transaction server 130. The verification server 110 and the database server 120 are both connected to the transaction server 130.
在本发明系统的另一实施例中,可以实现在线支付,此时:In another embodiment of the system of the present invention, online payment can be implemented, in which case:
第一指令还执行以下步骤:The first instruction also performs the following steps:
接受已绑定电子卡400的指定按键指令,基于同一关键因子的信息,通过加密方式向交易服务器130发起获取交易码的请求;Accept the specified key command of the bound electronic card 400, and initiate a request to obtain the transaction code to the transaction server 130 through encryption based on the information of the same key factor;
收到交易服务器130下发交易码数据后,根据图形码生成规则,在显示单元上显示所述的第二图形码。After receiving the transaction code data issued by the transaction server 130, the second graphic code is displayed on the display unit according to the graphic code generation rule.
在本发明系统的又一实施例中,可以实现离线支付,此时:In yet another embodiment of the system of the present invention, offline payment can be realized, in this case:
第一指令还执行以下步骤:The first instruction also performs the following steps:
接受已绑定的电子卡400的指定按键指令,基于所述的同一关键因子的信息,自身生成交易码;Accept the designated key instruction of the bound electronic card 400, and generate a transaction code by itself based on the information of the same key factor;
基于生成的交易码,离线生成能被交易服务器130验签的第二图形码。Based on the generated transaction code, a second graphic code that can be checked by the transaction server 130 is generated offline.
在本发明系统的再一实施例中,第二指令还执行以下步骤:In yet another embodiment of the system of the present invention, the second instruction also performs the following steps:
扫描电子卡400上的第二图形码,识别并提取出图形信息里面的交易码信息;Scan the second graphic code on the electronic card 400 to identify and extract the transaction code information in the graphic information;
根据跟验签服务器110约定交互流程提交交易码和交易数据;Submit the transaction code and transaction data according to the interactive process agreed with the verification server 110;
验签服务器110具有多个第三指令的第三存储器,第三指令适于由验签服务器110的第三处理器加载并执行以下步骤:The verification server 110 has a third memory of multiple third instructions. The third instructions are suitable for being loaded by the third processor of the verification server 110 and perform the following steps:
按照与电子卡400同一的交易码生成规则,对交易码进行解码,去除混淆数据,提取出关键因子信息;Decode the transaction code according to the same transaction code generation rules as the electronic card 400, remove obfuscated data, and extract key factor information;
将关键因子信息与用户数据库信息进行匹配,如果交易码里面的时间信息在标准时间允许范围,则交易的时效性有效;如果交易码里面的电子卡400唯一ID信息在数据库里面能找到唯一对应关系,则认为交易的合法性有效;Match the key factor information with the user database information. If the time information in the transaction code is within the standard time range, the timeliness of the transaction is effective; if the unique ID information of the electronic card 400 in the transaction code can be found in the database , The legality of the transaction is considered valid;
对交易的时间有效性和合法性验证通过后,将交易请求提交给交易服务器130进行交易确认;After the time validity and legality of the transaction are verified, the transaction request is submitted to the transaction server 130 for transaction confirmation;
交易服务器130具有多个第四指令的第四存储器,第四指令适于由验签服务器110的第四处理器加载并执行以下步骤:The transaction server 130 has a fourth memory of a plurality of fourth instructions. The fourth instructions are suitable for being loaded by the fourth processor of the verification server 110 and perform the following steps:
拿到用户信息和交易数据后,对用户数据库里面的用户交易信息进行匹配,如果交易匹配,将交易数据进行划拨处理,将交易匹配的结果反馈给验签服务器110,以致验签服务器110可回复给交易码采集终端200,确认交易完成。After obtaining the user information and transaction data, the user transaction information in the user database is matched. If the transaction matches, the transaction data is allocated and the transaction matching result is fed back to the verification server 110, so that the verification server 110 can reply Give the transaction code collection terminal 200 to confirm the completion of the transaction.
实施本发明的一种电子卡图形码实现交易的方法及系统,具有以下有益的技术效果:The method and system for implementing a transaction of an electronic card graphic code of the present invention have the following beneficial technical effects:
本发明的技术方案通过电子卡实现移动支付,拓展了移动支付的渠道,特别是禁止使用手机的区域(如校园),更是方便了用户(学生)。The technical solution of the present invention realizes mobile payment through an electronic card, which expands the channel of mobile payment, especially in areas where the use of mobile phones is prohibited (such as campus), and it is more convenient for users (students).
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或至少一个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or at least one computer usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个 流程或至少一个流程和/或方框图一个方框或至少一个方框中指定的功能的装置。The present invention is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and/or block in the flowchart and/or block diagram and a combination of the flow and/or block in the flowchart and/or block diagram may be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device A device for realizing the functions specified in one block or at least one block of the flowchart one flow or at least one flow and/or block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或至少一个流程和/或方框图一个方框或至少一个方框中指定的功能。These computer program instructions may also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instructions The device implements the functions specified in one block or at least one block of the flowchart one flow or at least one flow and/or block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或至少一个流程和/或方框图一个方框或至少一个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to generate computer-implemented processing, which is executed on the computer or other programmable device The instructions provide steps for implementing the functions specified in one block or at least one block of the flowchart one flow or at least one flow and/or block diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although the preferred embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic inventive concept. Therefore, the appended claims are intended to be construed as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various modifications and variations to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. In this way, if these modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention is also intended to include these modifications and variations.

Claims (9)

  1. 一种电子卡图形码实现交易的方法,其特征在于,包括以下步骤:A method for realizing a transaction with an electronic card graphic code, which is characterized by the following steps:
    S1.选取特定的电子卡,生成用于与交易服务器进行绑定的第一图形码;S1. Select a specific electronic card and generate a first graphic code for binding with the transaction server;
    S2.识别所述的第一图形码,将所述的特定电子卡在所述的交易服务器进行登记;S2. Identify the first graphic code, and register the specific electronic card in the transaction server;
    S3.接收来自交易服务器的拉回信息,其中,所述的第一图形码及拉回信息均具有同一关键因子信息;并基于所述的同一关键因子的信息,生成能被所述的交易服务器验签的第二图形码;S3. Receive pull-back information from the transaction server, wherein the first graphic code and the pull-back information all have the same key factor information; and based on the same key factor information, generate a transaction server that can be used by the The second graphic code for verification;
    S4.识别所述的第二图形码进行交易。S4. Identify the second graphic code to conduct a transaction.
  2. 根据权利要求1所述的方法,其特征在于,在所述的步骤S3具体是:The method according to claim 1, wherein the step S3 is specifically:
    S31.接受已绑定电子卡的指定按键指令,基于所述的同一关键因子的信息,通过加密方式向所述的交易服务器发起获取交易码的请求;S31. Accept the designated key command of the bound electronic card, and initiate a request to obtain the transaction code through encryption to the transaction server based on the information of the same key factor;
    S32.收到交易服务器下发交易码数据后,根据图形码生成规则,在显示单元上显示所述的第二图形码。S32. After receiving the transaction code data issued by the transaction server, display the second graphic code on the display unit according to the graphic code generation rule.
  3. 根据权利要求1所述的方法,其特征在于,在所述的步骤S3具体是:The method according to claim 1, wherein the step S3 is specifically:
    S33.接受已绑定的电子卡的指定按键指令,基于所述的同一关键因子的信息,自身生成交易码;S33. Accept the designated key command of the bound electronic card, and generate the transaction code by itself based on the information of the same key factor;
    S34.根据所述的交易码,离线生成能被所述的交易服务器验签的第二图形码。S34. According to the transaction code, generate a second graphic code that can be verified by the transaction server offline.
  4. 根据权利要求2或3所述的方法,其特征在于,步骤S4具体是:The method according to claim 2 or 3, wherein step S4 is specifically:
    交易码采集终端扫描电子卡上的所述的第二图形码,识别并提取出图形信息里面的交易码信息;The transaction code collection terminal scans the second graphic code on the electronic card to identify and extract the transaction code information in the graphic information;
    交易码采集终端根据跟验签服务器约定交互流程提交交易码和交易数据;The transaction code collection terminal submits the transaction code and transaction data according to the interactive process agreed with the verification server;
    所述的验签服务器按照与电子卡同一的交易码生成规则,对所述的交易码进行解码,去除混淆数据,提取出所述的关键因子信息;The verification server decodes the transaction code according to the same transaction code generation rules as the electronic card, removes confusion data, and extracts the key factor information;
    所述的验签服务器将所述的关键因子信息与用户数据库信息进行匹配,如果所述的交易码里面的时间信息在标准时间允许范围,则所述的交易码的时效 性有效;如果所述的交易码里面的电子卡唯一ID信息在数据库里面能找到唯一对应关系,则认为所述的交易码的合法性有效;The verification server matches the key factor information with the user database information. If the time information in the transaction code is within the standard time allowable range, the timeliness of the transaction code is effective; if the The unique ID information of the electronic card in the transaction code can be found in the database, and the legality of the transaction code is considered valid;
    所述的验签服务器对交易的时间有效性和合法性验证通过后,将交易请求提交给所述的交易服务器进行交易确认;After the verification server validates the time validity and legality of the transaction, it submits the transaction request to the transaction server for transaction confirmation;
    所述的交易服务器拿到用户信息和交易数据后,对用户数据库里面的用户交易信息进行匹配,如果交易匹配,所述的交易服务器将交易数据进行划拨处理,所述的交易服务器将交易匹配的结果反馈给所述的验签服务器,由所述的验签服务器回复给所述的交易码采集终端;After obtaining the user information and transaction data, the transaction server matches the user transaction information in the user database. If the transactions match, the transaction server allocates the transaction data, and the transaction server matches the transaction The result is fed back to the verification server, and the verification server replies to the transaction code collection terminal;
    所述的交易码采集终端拿到验签服务器的回复后,确认交易完成。After the transaction code collection terminal receives a reply from the verification server, it confirms that the transaction is completed.
  5. 一种电子卡图形码实现交易的系统,包括多个后台服务器、交易码采集终端、至少一个电子卡,所述的后台服务器连接所述的交易码采集终端,所述的交易码采集终端可扫码电子卡显示的图形码,其特征在于,所述的电子卡具有多个第一指令的第一存储器,所述第一指令适于由电子卡的第一处理器加载并执行权利要求1的第1及3步骤,所述的交易码采集终端具有多个第二指令的第二存储器,所述的第二指令适于由交易码采集终端的第二处理器加载并执行权利要求1的第2及4步骤。An electronic card graphic code realizing transaction system includes a plurality of background servers, a transaction code collection terminal, and at least one electronic card. The background server is connected to the transaction code collection terminal, and the transaction code collection terminal can be scanned. The graphic code displayed on the electronic card is characterized in that the electronic card has a first memory with a plurality of first instructions, and the first instructions are suitable for being loaded and executed by the first processor of the electronic card according to claim 1 Steps 1 and 3, the transaction code collection terminal has a second memory of a plurality of second instructions, and the second instruction is suitable for being loaded and executed by the second processor of the transaction code collection terminal according to claim 1 2 and 4 steps.
  6. 根据权利要求5所述的系统,其特征在于,所述的后台服务器包括验签服务器、数据库服务器、交易服务器,所述的验签服务器、数据库服务器均与所述的交易服务器相连接。The system according to claim 5, wherein the background server includes a verification server, a database server, and a transaction server, and the verification server and the database server are both connected to the transaction server.
  7. 根据权利要求5所述的系统,其特征在于,所述的第一指令还执行以下步骤:The system according to claim 5, wherein the first instruction further executes the following steps:
    接受已绑定电子卡的指定按键指令,基于所述的同一关键因子的信息,通过加密方式向所述的交易服务器发起获取交易码的请求;Accept the designated key instruction of the bound electronic card, and initiate a request to obtain the transaction code through encryption to the transaction server based on the information of the same key factor;
    收到交易服务器下发交易码数据后,根据图形码生成规则,在显示单元上显示所述的第二图形码。After receiving the transaction code data issued by the transaction server, the second graphic code is displayed on the display unit according to the graphic code generation rule.
  8. 根据权利要求5所述的系统,其特征在于,所述的第一指令还执行以下步骤:The system according to claim 5, wherein the first instruction further executes the following steps:
    接受已绑定的电子卡的指定按键指令,基于所述的同一关键因子的信息, 自身生成交易码;Accept the designated key instruction of the bound electronic card, and generate the transaction code based on the same key factor information;
    根据所述的交易码,离线生成能被所述的交易服务器验签的第二图形码。According to the transaction code, a second graphic code that can be verified by the transaction server is generated offline.
  9. 根据权利要求6所述的系统,其特征在于,所述的第二指令还执行以下步骤:The system according to claim 6, wherein the second instruction further executes the following steps:
    扫描电子卡上的所述的第二图形码,识别并提取出图形信息里面的交易码信息;Scan the second graphic code on the electronic card to identify and extract the transaction code information in the graphic information;
    根据与验签服务器约定的交互流程,提交交易码和交易数据;Submit the transaction code and transaction data according to the interaction process agreed with the verification server;
    所述的验签服务器具有多个第三指令的第三存储器,所述的第三指令适于由验签服务器的第三处理器加载并执行以下步骤:The verification server has a plurality of third memories of third instructions. The third instructions are adapted to be loaded by the third processor of the verification server and perform the following steps:
    按照与电子卡同一的交易码生成规则,对所述的交易码进行解码,去除混淆数据,提取出所述的关键因子信息;Decode the transaction code according to the same transaction code generation rules as the electronic card, remove confusion data, and extract the key factor information;
    将所述的关键因子信息与用户数据库信息进行匹配,如果所述的交易码里面的时间信息在标准时间允许范围,则所述的交易码的时效性有效;如果所述的交易码里面的电子卡唯一ID信息在数据库里面能找到唯一对应关系,则认为所述的交易码的合法性有效;Match the key factor information with the user database information. If the time information in the transaction code is within the allowable range of standard time, the timeliness of the transaction code is effective; if the electronic information in the transaction code If the unique ID information of the card can be found in the database, the legality of the transaction code is considered valid;
    对交易的时间有效性和合法性验证通过后,将交易请求提交给所述的交易服务器进行交易确认;After verifying the time validity and legality of the transaction, submit the transaction request to the transaction server for transaction confirmation;
    所述的交易服务器具有多个第四指令的第四存储器,所述的第四指令适于由验签服务器的第四处理器加载并执行以下步骤:The transaction server has a fourth memory of a plurality of fourth instructions. The fourth instructions are adapted to be loaded by the fourth processor of the verification server and perform the following steps:
    拿到用户信息和交易数据后,对用户数据库里面的用户交易信息进行匹配,如果交易匹配,将交易数据进行划拨处理,将交易匹配的结果反馈给所述的验签服务器,以致所述的验签服务器可回复给所述的交易码采集终端,确认交易完成。After obtaining the user information and transaction data, the user transaction information in the user database is matched. If the transaction matches, the transaction data is allocated and the transaction matching result is fed back to the verification server, so that the verification The signing server can reply to the transaction code collection terminal to confirm the completion of the transaction.
PCT/CN2019/070929 2019-01-03 2019-01-09 Method and system for implementing transaction by means of electronic card graphic code WO2020140300A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910010245.5 2019-01-03
CN201910010245.5A CN109741051A (en) 2019-01-03 2019-01-03 A kind of electronic card graphic code realizes the method and system of transaction

Publications (1)

Publication Number Publication Date
WO2020140300A1 true WO2020140300A1 (en) 2020-07-09

Family

ID=66363493

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/070929 WO2020140300A1 (en) 2019-01-03 2019-01-09 Method and system for implementing transaction by means of electronic card graphic code

Country Status (2)

Country Link
CN (1) CN109741051A (en)
WO (1) WO2020140300A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147991A (en) * 2019-05-27 2019-08-20 深圳市融纳海川科技有限公司 A kind of method, apparatus and system of the multi-platform payment of graphic code
CN110322238B (en) * 2019-08-28 2019-12-20 深圳市融纳海川科技有限公司 Method, device and system for receiving payment information of merchant

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106529631A (en) * 2016-11-29 2017-03-22 王艺茗 O2O public transit payment system and operation process thereof
CN107403314A (en) * 2017-07-05 2017-11-28 佛山杰致信息科技有限公司 Method of payment based on children's wrist-watch, children's wrist-watch
CN108717633A (en) * 2018-05-31 2018-10-30 腾讯科技(深圳)有限公司 Virtual card data processing method, system, device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160125387A1 (en) * 2014-11-03 2016-05-05 Square, Inc. Background ocr during card data entry
CN109118189A (en) * 2018-06-25 2019-01-01 阿里巴巴集团控股有限公司 A kind of method and apparatus paid using smart machine
CN108711049A (en) * 2018-07-11 2018-10-26 深圳市华士精成科技有限公司 A kind of graphic code payment system and method for payment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106529631A (en) * 2016-11-29 2017-03-22 王艺茗 O2O public transit payment system and operation process thereof
CN107403314A (en) * 2017-07-05 2017-11-28 佛山杰致信息科技有限公司 Method of payment based on children's wrist-watch, children's wrist-watch
CN108717633A (en) * 2018-05-31 2018-10-30 腾讯科技(深圳)有限公司 Virtual card data processing method, system, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN109741051A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
US20220114591A1 (en) Payer-controlled payment processing
TWI585701B (en) Method, device and recording medium of requesting transaction
US10078744B2 (en) Authentication-activated augmented reality display device
US20190087825A1 (en) Systems and methods for provisioning biometric templates to biometric devices
CN107210918A (en) Use the token and password of transaction-specific information
CN108293054A (en) System and method for the biometric authentication for using social networks
CN108140179A (en) Using machine readable code without the electric payment transaction of on-line joining process
CN107209904A (en) Method and system for handling moneytary operations
US10825026B2 (en) Payment card transaction authorization system and process
CN107194695A (en) Transaction code is generated and end of scan, transaction code generation and method of commerce
CN107787502A (en) Method and system for the certification of ideal money instrument
TW201837806A (en) Multidimensional barcode mobile payment method, buyer device and payment servo mechanism capable of verifying validity of the transaction in real time to ensure safe transaction
TWM563015U (en) Identity verification system
US11853441B2 (en) Untethered resource distribution and management
TWI625684B (en) Mobile payment method and mobile payment device
WO2020140300A1 (en) Method and system for implementing transaction by means of electronic card graphic code
US10558969B2 (en) Modified confirmation element data for transaction confirmation
US20220291979A1 (en) Mobile application integration
TWM507553U (en) Mobile payment device
US20160098712A1 (en) Online transaction verification system
US20220207526A1 (en) Secure contactless credential exchange
TWM555510U (en) Info-exchange verification platform for mobile payment
TWI661365B (en) System and method for dynamically checking code scanning payment, computer-readable recording medium and computer program product
US20230129991A1 (en) Systems and methods for use in biometric-enabled network interactions
TWI640940B (en) Information exchange verification platform and method for mobile payment, computer readable recording medium and computer program product

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: 19907843

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01/12/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19907843

Country of ref document: EP

Kind code of ref document: A1