










技术领域technical field
本发明实施例涉及互联网技术领域,尤其涉及一种支付控制方法、装置、智能销售终端、设备、介质和系统。The embodiments of the present invention relate to the field of Internet technologies, and in particular, to a payment control method, device, intelligent sales terminal, device, medium and system.
背景技术Background technique
随着互联网技术的发展,商户收银的设备也在更新换代,由传统的POS(SmartPoint of sales,智能销售点)机向智能POS机转换。智能POS机是一种多功能终端,将其安装在信用卡的特约商户和受理网点中与计算机联成网络,可以为商户提供银行卡支付、扫码支付、O2O(Online To Offline,线上到线下)应用和会员管理等丰富功能。With the development of Internet technology, merchants' cash register equipment is also being upgraded, from traditional POS (Smart Point of sales, smart point of sales) machines to smart POS machines. The smart POS machine is a multi-function terminal, which is installed in the special merchants and acceptance outlets of credit cards to form a network with the computer, which can provide merchants with bank card payment, scan code payment, O2O (Online To Offline, online to online). below) rich functions such as application and membership management.
目前,智能POS机在进行交易时,通常是收银员使用扫描枪扫描商品条码再通过商户收银系统查询并计算订单金额,再由收银员将金额输入进智能POS机中。这种方式收银效率低且容易输错金额,往往容易造成客户等待时间长,影响客户体验。At present, when a smart POS machine conducts a transaction, the cashier usually scans the barcode of the product with a scanner gun, then queries and calculates the order amount through the merchant's cashier system, and then the cashier enters the amount into the smart POS machine. This method is inefficient and easy to enter the wrong amount, which often causes customers to wait for a long time and affects the customer experience.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种支付控制方法、装置、智能销售终端、设备、介质和系统,通过联通商户收银系统与智能销售终端,实现交易金额免输入,提高商户收银效率、减小交易金额出错概率、提高用户体验。The embodiments of the present invention provide a payment control method, device, intelligent sales terminal, equipment, medium and system. By connecting the merchant's cash register system and the intelligent sales terminal, the transaction amount can be exempted from input, the merchant's cash collection efficiency is improved, and the error probability of the transaction amount is reduced. , Improve user experience.
第一方面,本发明实施例提供了一种支付控制方法,包括:In a first aspect, an embodiment of the present invention provides a payment control method, including:
接收商户收银系统发送的支付指令;其中,所述支付指令包括交易金额;Receive a payment instruction sent by the merchant's cash register system; wherein, the payment instruction includes the transaction amount;
将所述支付指令转发至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息。The payment instruction is forwarded to the smart sales terminal, so that the smart sales terminal can display payment reminder information including the transaction amount to the consumer.
可选的,所述方法还包括:记录所述支付指令的状态和订单的状态;Optionally, the method further includes: recording the state of the payment instruction and the state of the order;
所述支付指令的状态包括已接收和已转发,所述订单的状态包括已支付。The status of the payment instruction includes received and forwarded, and the status of the order includes paid.
可选的,响应于接收商户收银系统发送的支付指令,记录所述支付指令的状态为已接收;Optionally, in response to receiving a payment instruction sent by the merchant's cash register system, record the state of the payment instruction as received;
响应于将所述支付指令转发至智能销售终端,记录所述支付指令的状态为已转发;In response to forwarding the payment instruction to the smart sales terminal, recording the status of the payment instruction as forwarded;
所述记录订单的状态,包括:The status of the record order, including:
响应于接收到智能销售终端发送的支付成功的消息,记录订单的状态为已支付。In response to receiving the successful payment message sent by the smart sales terminal, the status of the record order is paid.
可选的,在所述将所述支付指令转发至智能销售终端之后,接收智能销售终端发送的支付成功的消息,并将所述支付成功的消息转发至所述商户收银系统。Optionally, after the payment instruction is forwarded to the smart sales terminal, a payment success message sent by the smart sales terminal is received, and the payment success message is forwarded to the merchant cash register system.
可选的,在所述将所述支付指令转发至智能销售终端之后,如果设定时长内未接收到智能销售终端发送的支付成功的消息,将所述支付指令再次转发至所述智能销售终端。Optionally, after the payment instruction is forwarded to the smart sales terminal, if the payment success message sent by the smart sales terminal is not received within a set period of time, the payment instruction is forwarded to the smart sales terminal again. .
第二方面,本发明实施例还提供了一种支付控制方法,适用于智能销售终端,包括:In a second aspect, an embodiment of the present invention also provides a payment control method, which is applicable to an intelligent sales terminal, including:
接收电子设备发送的支付指令;其中,所述支付指令包括交易金额,所述支付指令是商户收银系统发送给所述电子设备的;receiving a payment instruction sent by an electronic device; wherein the payment instruction includes the transaction amount, and the payment instruction is sent to the electronic device by the merchant's cash register system;
向消费者展示包括所述交易金额的支付提醒信息。A payment reminder message including the transaction amount is presented to the consumer.
可选的,所述方法还包括:记录所述支付指令的状态和订单的状态;Optionally, the method further includes: recording the state of the payment instruction and the state of the order;
所述支付指令的状态包括已接收,所述订单的状态包括已支付。The status of the payment instruction includes received, and the status of the order includes paid.
可选的,响应于电子设备发送的支付指令,记录所述支付指令的状态为已接收;Optionally, in response to the payment instruction sent by the electronic device, record the state of the payment instruction as received;
所述记录订单的状态,包括:The status of the record order, including:
响应于支付成功的消息,记录所述订单的状态为已支付。In response to the payment successful message, the status of the order is recorded as paid.
可选的,在所述向消费者展示包括所述交易金额的支付提醒信息之后,将支付成功的消息发送至所述电子设备,以供所述电子设备将所述支付成功的消息转发至所述商户收银系统。Optionally, after the payment reminder information including the transaction amount is displayed to the consumer, a payment success message is sent to the electronic device, so that the electronic device can forward the payment success message to the electronic device. Describe the merchant cash register system.
第三方面,本发明实施例还提供了一种支付控制装置,包括:In a third aspect, an embodiment of the present invention further provides a payment control device, including:
支付指令接收模块,用于接收商户收银系统发送的支付指令;其中,所述支付指令包括交易金额;a payment instruction receiving module, configured to receive a payment instruction sent by the merchant's cash register system; wherein the payment instruction includes the transaction amount;
支付指令转发模块,用于将所述支付指令转发至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息。A payment instruction forwarding module, configured to forward the payment instruction to a smart sales terminal, so that the smart sales terminal can display payment reminder information including the transaction amount to consumers.
可选的,所述支付控制装置还包括:Optionally, the payment control device further includes:
状态记录模块,用于记录所述支付指令的状态和订单的状态;所述支付指令的状态包括已接收和已转发,所述订单的状态包括已支付。The status recording module is used to record the status of the payment instruction and the status of the order; the status of the payment instruction includes received and forwarded, and the status of the order includes paid.
可选的,状态记录模块包括:Optionally, the status recording module includes:
第一记录单元,用于响应于接收商户收银系统发送的支付指令,记录所述支付指令的状态为已接收;a first recording unit, configured to, in response to receiving a payment instruction sent by the merchant's cash register system, record the state of the payment instruction as received;
第二记录单元,用于响应于将所述支付指令转发至智能销售终端,记录所述支付指令的状态为已转发;a second recording unit, configured to record the status of the payment instruction as forwarded in response to forwarding the payment instruction to the smart sales terminal;
第三记录单元,用于响应于接收到智能销售终端发送的支付成功的消息,记录订单的状态为已支付。The third recording unit is configured to record the status of the order as paid in response to receiving the payment success message sent by the smart sales terminal.
可选的,所述支付控制装置还包括:Optionally, the payment control device further includes:
消息处理模块,用于在所述将所述支付指令转发至智能销售终端之后,接收智能销售终端发送的支付成功的消息,并将所述支付成功的消息转发至所述商户收银系统。The message processing module is configured to receive a payment success message sent by the smart sales terminal after the payment instruction is forwarded to the smart sales terminal, and forward the payment success message to the merchant cash register system.
可选的,所述支付控制装置还包括:Optionally, the payment control device further includes:
支付指令转发模块,用于在所述将所述支付指令转发至智能销售终端之后,如果设定时长内未接收到智能销售终端发送的支付成功的消息,将所述支付指令再次转发至所述智能销售终端。The payment instruction forwarding module is configured to forward the payment instruction to the smart sales terminal again if the payment success message sent by the smart sales terminal is not received within a set period of time after the payment instruction is forwarded to the smart sales terminal. Smart point of sale.
第四方面,本发明实施例还提供了一种支付控制装置,适用于智能销售终端,包括:In a fourth aspect, an embodiment of the present invention further provides a payment control device, which is applicable to an intelligent sales terminal, including:
支付指令接收模块,用于接收电子设备发送的支付指令;其中,所述支付指令包括交易金额,所述支付指令是商户收银系统发送给所述电子设备的;a payment instruction receiving module, configured to receive a payment instruction sent by an electronic device; wherein, the payment instruction includes a transaction amount, and the payment instruction is sent to the electronic device by a merchant's cash register system;
信息展示模块,用于向消费者展示包括所述交易金额的支付提醒信息。An information display module, configured to display payment reminder information including the transaction amount to consumers.
可选的,所述支付控制装置还包括:Optionally, the payment control device further includes:
状态记录模块,用于记录所述支付指令的状态和订单的状态;所述支付指令的状态包括已接收,所述订单的状态包括已支付。The status recording module is used to record the status of the payment instruction and the status of the order; the status of the payment instruction includes received, and the status of the order includes paid.
可选的,状态记录模块包括:Optionally, the status recording module includes:
第一记录单元,用于响应于电子设备发送的支付指令,记录所述支付指令的状态为已接收;a first recording unit, configured to record the state of the payment instruction as received in response to the payment instruction sent by the electronic device;
第二记录单元,用于响应于支付成功的消息,记录所述订单的状态为已支付。The second recording unit is configured to record the status of the order as paid in response to the payment success message.
可选的,所述支付控制装置还包括:Optionally, the payment control device further includes:
消息发送模块,用于在所述向消费者展示包括所述交易金额的支付提醒信息之后,将支付成功的消息发送至所述电子设备,以供所述电子设备将所述支付成功的消息转发至所述商户收银系统。A message sending module, configured to send a payment success message to the electronic device after the payment reminder information including the transaction amount is displayed to the consumer, so that the electronic device can forward the payment success message to the merchant's cash register system.
第五方面,本发明实施例还提供了一种电子设备,包括:In a fifth aspect, an embodiment of the present invention further provides an electronic device, including:
一个或多个处理器;one or more processors;
存储器,用于存储一个或多个程序,memory for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本发明任一实施例所述的支付控制方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the payment control method according to any embodiment of the present invention.
第六方面,本发明实施例还提供了一种智能销售终端,包括:In a sixth aspect, an embodiment of the present invention further provides an intelligent sales terminal, including:
一个或多个处理器;one or more processors;
存储器,用于存储一个或多个程序,memory for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本发明任一实施例所述的支付控制方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the payment control method according to any embodiment of the present invention.
第七方面,本发明实施例还提供了一种包含计算机可执行指令的存储介质,该计算机可执行指令由计算机处理器执行时实现如本发明任一实施例支付控制方法。In a seventh aspect, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, and when the computer-executable instructions are executed by a computer processor, the payment control method according to any embodiment of the present invention is implemented.
第八方面,本发明实施例还提供了一种支付控制系统,包括:电子设备、智能销售终端和商户收银系统。In an eighth aspect, an embodiment of the present invention further provides a payment control system, including: an electronic device, an intelligent sales terminal, and a merchant cash register system.
其中,所述电子设备,用于接收商户收银系统发送的支付指令,并将所述支付指令转发至智能销售终端;其中,所述支付指令包括交易金额;Wherein, the electronic device is configured to receive the payment instruction sent by the merchant's cash register system, and forward the payment instruction to the intelligent sales terminal; wherein, the payment instruction includes the transaction amount;
所述智能销售终端,用于接收所述电子设备发送的支付指令,并向消费者展示包括所述交易金额的支付提醒信息。The smart sales terminal is configured to receive a payment instruction sent by the electronic device, and display payment reminder information including the transaction amount to the consumer.
本发明实施例通过将在商户收银系统与智能销售终端之间增加了新的电子设备,通过该设备接收并转发商户收银系统发送的支付指令至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息,为商户收银系统与智能销售终端搭建了通信桥梁,将商户收银系统与智能销售终端连接起来,实现了交易金额免输入,提高了商户收银效率,降低了交易金额出错的概率,缩短了消费者等待时间长,提高了客户体验。In the embodiment of the present invention, a new electronic device is added between the merchant's cash register system and the smart sales terminal, and the device receives and forwards the payment instruction sent by the merchant's cash register system to the smart sales terminal, so that the smart sales terminal can send consumers The user displays the payment reminder information including the transaction amount, builds a communication bridge between the merchant's cash register system and the smart sales terminal, and connects the merchant's cash register system with the smart sales terminal. The probability of wrong transaction amount is reduced, the long waiting time of consumers is shortened, and the customer experience is improved.
附图说明Description of drawings
图1A是本发明实施例所适用的支付控制系统的结构示意图;1A is a schematic structural diagram of a payment control system to which an embodiment of the present invention is applicable;
图1B是本发明实施例一中的支付控制方法的流程图;1B is a flowchart of a payment control method in Embodiment 1 of the present invention;
图2是本发明实施例二中的支付控制方法的流程图;2 is a flowchart of a payment control method in Embodiment 2 of the present invention;
图3是本发明实施例三中的支付控制方法的流程图;3 is a flowchart of a payment control method in Embodiment 3 of the present invention;
图4是本发明实施例四中的支付控制方法的流程图;4 is a flowchart of a payment control method in Embodiment 4 of the present invention;
图5是本发明实施例五中的支付控制方法的流程图;5 is a flowchart of a payment control method in Embodiment 5 of the present invention;
图6是本发明实施例六中的支付控制方法的流程图;6 is a flowchart of a payment control method in Embodiment 6 of the present invention;
图7是本发明实施例七中的支付控制方法的生成装置的结构示意图;7 is a schematic structural diagram of a generation device for a payment control method in Embodiment 7 of the present invention;
图8是本发明实施例八中的适用于智能销售终端的支付控制装置的结构示意图;8 is a schematic structural diagram of a payment control device suitable for a smart sales terminal in Embodiment 8 of the present invention;
图9为本发明实施例九提供的一种电子设备的结构示意图;9 is a schematic structural diagram of an electronic device according to Embodiment 9 of the present invention;
图10为本发明实施例十提供的一种智能销售终端的结构示意图。FIG. 10 is a schematic structural diagram of an intelligent sales terminal according to Embodiment 10 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.
实施例一Example 1
为清楚介绍本发明实施例的技术方案,首先基于图1A介绍本发明实施例所适用的支付控制系统的结构示意图。如图1A所示,支付控制系统1200主要包括电子设备1210、智能销售终端1220和商户收银系统1230。电子设备1210设置有两个接口分别与商户收银系统1230和智能销售终端1220连接,电子设备1210通过接口实现与商户收银系统1230或智能销售终端1220的信息交互。电子设备1210与商户收银系统1230和智能销售终端1220的通信是在消息订阅模式下进行。In order to clearly introduce the technical solutions of the embodiments of the present invention, a schematic structural diagram of a payment control system to which the embodiments of the present invention are applied is first introduced based on FIG. 1A . As shown in FIG. 1A , the
其中,智能销售终端1220可以是智能POS机,智能销售终端1220包括通信模块,用于与电子设备1210建立通信连接,具体与电子设备1210中相匹配的通信模块建立长连接。商户收银系统1230可以是商户收银ERP(Enterprise Resource Planning,企业资源计划)。The smart sales terminal 1220 may be a smart POS machine, and the smart sales terminal 1220 includes a communication module for establishing a communication connection with the
基于上述支付控制系统,本发明实施例一提供一种支付控制方法,本实施例可适用于商家利用智能销售终端收银的情况,可实现智能销售终端上交易金额的免输入。该方法可以由支付控制装置来执行,该装置可以采用软件和/或硬件的方式实现,并可配置在上述电子设备中。Based on the above payment control system, Embodiment 1 of the present invention provides a payment control method. This embodiment can be applied to the case where a merchant uses a smart sales terminal to checkout, and can realize the input-free transaction amount on the smart sales terminal. The method can be executed by a payment control device, which can be implemented in software and/or hardware, and can be configured in the above-mentioned electronic device.
如图1B所示,该方法具体包括:As shown in Figure 1B, the method specifically includes:
S110、接收商户收银系统发送的支付指令;其中,所述支付指令包括交易金额。S110. Receive a payment instruction sent by the merchant's cash register system, wherein the payment instruction includes the transaction amount.
在商户收银系统接收到商户收银终端发送的商品条码数据以及交易类型信息后,向电子设备发出支付指令。其中,商户收银终端可以为扫描枪、台式电脑或者平板电脑。可选的,商品的条形码数据可以通过扫描枪扫描器条形码获得。支付指令包括交易金额,即消费者需要在智能销售终端上支付的金额。可选的,除交易金额之外,支付指令还可以包括但不限于商户号、终端号、交易类型和订单号。其中,商户号用于唯一标识商户收银系统中的商户;终端号用于标识同一个商户中不同的终端;交易类型用于标识消费者选择的支付方式,可以是扫码支付或者刷卡支付;订单号用于标识由商户收银系统生成的、消费者需要支付的订单,订单号与订单一一对应,通过订单号即可查询到对应订单;此处,交易金额即为该笔订单中消费者实际需要支付的金额。After the merchant's cash register system receives the commodity barcode data and transaction type information sent by the merchant's cash register terminal, it sends a payment instruction to the electronic device. Among them, the merchant's cashier terminal may be a scanner gun, a desktop computer or a tablet computer. Optionally, the barcode data of the commodity can be obtained by scanning the barcode of the gun scanner. The payment instruction includes the transaction amount, which is the amount the consumer needs to pay at the smart point-of-sale terminal. Optionally, in addition to the transaction amount, the payment instruction may also include, but is not limited to, a merchant number, a terminal number, a transaction type, and an order number. Among them, the merchant number is used to uniquely identify the merchant in the merchant's cash register system; the terminal number is used to identify different terminals in the same merchant; the transaction type is used to identify the payment method selected by the consumer, which can be scan code payment or credit card payment; order The order number is used to identify the order generated by the merchant's cash register system and the consumer needs to pay. The order number corresponds to the order one by one, and the corresponding order can be queried through the order number; here, the transaction amount is the actual amount of the order in the order. Amount to be paid.
S120、将所述支付指令转发至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息。S120. Forward the payment instruction to the smart sales terminal, so that the smart sales terminal can display payment reminder information including the transaction amount to the consumer.
电子设备接收到商户收银系统发送的支付指令以后,将支付指令转发至智能销售终端,智能销售终端接收到电子设备转发的支付指令,并向消费者展示包括交易金额的支付提醒信息。其中,智能销售终端为可供用户刷卡输入密码支付的具备刷卡功能的智能POS机。这里交易金额是指包含于该支付指令中的交易金额。可选的,支付提醒信息还可以包含商品信息,商户标识和订单号等信息。After the electronic device receives the payment instruction sent by the merchant's cash register system, it forwards the payment instruction to the smart sales terminal. The smart sales terminal receives the payment instruction forwarded by the electronic device and displays payment reminder information including the transaction amount to the consumer. Among them, the intelligent sales terminal is an intelligent POS machine with a card-swiping function that allows users to swipe a card and enter a password for payment. The transaction amount here refers to the transaction amount included in the payment instruction. Optionally, the payment reminder information may further include information such as commodity information, merchant identification and order number.
本发明实施例通过将在商户收银系统与智能销售终端之间增加了新的电子设备,通过该设备接收并转发商户收银系统发送的支付指令至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息,为商户收银系统与智能销售终端搭建了通信桥梁,将商户收银系统与智能销售终端连接起来,实现了交易金额免输入,提高了商户收银效率,降低了交易金额出错的概率,缩短了消费者等待时间长,提高了客户体验。In the embodiment of the present invention, a new electronic device is added between the merchant's cash register system and the smart sales terminal, and the device receives and forwards the payment instruction sent by the merchant's cash register system to the smart sales terminal, so that the smart sales terminal can send consumers The user displays the payment reminder information including the transaction amount, builds a communication bridge between the merchant's cash register system and the smart sales terminal, and connects the merchant's cash register system with the smart sales terminal. The probability of wrong transaction amount is reduced, the long waiting time of consumers is shortened, and the customer experience is improved.
实施例二Embodiment 2
图2是本发明实施例二中的支付控制方法的流程图,本实施例在上述实施例的基础上进一步优化,可选的,对支付控制方法追加操作“记录所述支付指令的状态和订单的状态;所述支付指令的状态包括已接收和已转发,所述订单的状态包括已支付。”Fig. 2 is a flowchart of the payment control method in the second embodiment of the present invention. This embodiment is further optimized on the basis of the above-mentioned embodiment. Optionally, the payment control method is additionally operated "record the state and order of the payment instruction" The status of the payment instruction includes received and forwarded, and the status of the order includes paid."
如图2所示,该方法具体包括:As shown in Figure 2, the method specifically includes:
S210、接收商户收银系统发送的支付指令;其中,所述支付指令包括交易金额。S210. Receive a payment instruction sent by the merchant's cash register system, wherein the payment instruction includes the transaction amount.
S220、将所述支付指令转发至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息。S220. Forward the payment instruction to the smart sales terminal, so that the smart sales terminal can display payment reminder information including the transaction amount to the consumer.
可选的,消费者在看到所述支付提醒信息以后,按照已选择的交易类型完成支付。在支付成功后,智能销售终端将支付成功的消息发送至电子设备。Optionally, after seeing the payment reminder information, the consumer completes the payment according to the selected transaction type. After the payment is successful, the smart sales terminal sends a payment success message to the electronic device.
S230、记录所述支付指令的状态和订单的状态。S230. Record the state of the payment instruction and the state of the order.
其中,所述支付指令的状态包括已接收和已转发,所述订单的状态包括已支付。电子设备记录所述支付指令的状态和订单的状态,可以与步骤S210或步骤S220同步执行,也可以在步骤S210或步骤S220执行完成以后执行。示例性的,在接收商户收银系统发送的支付指令的同时记录该支付指令的状态为已接收,或者,在接收商户收银系统发送的支付指令之后,记录该支付指令的状态为已接收。Wherein, the status of the payment instruction includes received and forwarded, and the status of the order includes paid. The electronic device records the state of the payment instruction and the state of the order, which may be performed synchronously with step S210 or step S220, or may be performed after step S210 or step S220 is performed. Exemplarily, while receiving the payment instruction sent by the merchant's cash register system, the state of the payment instruction is recorded as received, or, after receiving the payment instruction sent by the merchant's cash register system, the state of the payment instruction is recorded as received.
可选的,电子设备响应于接收商户收银系统发送的支付指令,记录所述支付指令的状态为已接收;电子设备响应于将所述支付指令转发至智能销售终端,记录所述支付指令的状态为已转发;电子设备响应于接收到智能销售终端发送的支付成功的消息,记录订单的状态为已支付,以实现对支付指令和订单状态的及时记录和更新。Optionally, the electronic device records the status of the payment instruction as received in response to receiving the payment instruction sent by the merchant's cash register system; the electronic device records the status of the payment instruction in response to forwarding the payment instruction to the smart sales terminal. is forwarded; the electronic device records the order status as paid in response to receiving the payment successful message sent by the smart sales terminal, so as to realize timely recording and updating of payment instructions and order status.
可选的,电子设备在接收到支付指令以后,可以将支付指令中的商户号、终端号、交易类型、交易金额和订单号等数据存储在数据库中并在数据库中记录当前支付指令与订单的状态。其中,记录支付指令与订单状态的方式可以保留二者之前的状态数据,按照时间顺序依次记录状态,也可以是将之前状态直接改写为当前的状态,以实现支付指令与订单的状态的及时更新。可选的,电子设备除了记录支付指令和订单状态以外还可以记录状态变更的时间。Optionally, after receiving the payment instruction, the electronic device may store the merchant number, terminal number, transaction type, transaction amount, order number and other data in the payment instruction in the database, and record the current payment instruction and order in the database. state. Among them, the method of recording the payment instruction and the order status can keep the previous status data of the two, record the status in chronological order, or directly rewrite the previous status to the current status, so as to realize the timely update of the status of the payment instruction and the order . Optionally, in addition to recording the payment instruction and the order status, the electronic device may also record the time of the status change.
本发明实施例通过对支付指令的状态和订单的状态进行记录和更新,便于对支付指令与订单进行分类、汇总、跟踪和查询,实现对支付指令与订单的及时管理,提高了支付指令与订单处理效率,提高了支付指令与订单管理的精准性。By recording and updating the status of payment instructions and orders, the embodiment of the present invention facilitates the classification, aggregation, tracking and query of payment instructions and orders, realizes timely management of payment instructions and orders, and improves payment instructions and orders. Processing efficiency improves the accuracy of payment instructions and order management.
实施例三Embodiment 3
图3是本发明实施例三中的支付控制方法的流程图,本实施例三在上述实施例的基础上进行进一步地优化,可选的,在所述将所述支付指令转发至智能销售终端之后,追加操作“接收智能销售终端发送的支付成功的消息,并将所述支付成功的消息转发至所述商户收银系统。”3 is a flowchart of the payment control method in Embodiment 3 of the present invention. This Embodiment 3 is further optimized on the basis of the above-mentioned embodiment. After that, add the operation "Receive the payment success message sent by the smart sales terminal, and forward the payment success message to the merchant's cash register system."
可选的,在所述将所述支付指令转发至智能销售终端之后,追加操作“如果设定时长内未接收到智能销售终端发送的支付成功的消息,将所述支付指令再次转发至所述智能销售终端。”Optionally, after the payment instruction is forwarded to the smart sales terminal, an additional operation "if the payment success message sent by the smart sales terminal is not received within a set period of time, forward the payment instruction to the smart sales terminal again. Smart point of sale."
如图3所示,所述方法包括:As shown in Figure 3, the method includes:
S310、接收商户收银系统发送的支付指令;其中,所述支付指令包括交易金额。S310. Receive a payment instruction sent by the merchant's cash register system, wherein the payment instruction includes the transaction amount.
S320、将所述支付指令转发至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息。S320. Forward the payment instruction to the smart sales terminal, so that the smart sales terminal can display payment reminder information including the transaction amount to the consumer.
可选的,消费者在看到所述支付提醒信息以后,按照已选择的交易类型完成支付。在支付成功后,智能销售终端将支付成功的消息发送给电子设备。Optionally, after seeing the payment reminder information, the consumer completes the payment according to the selected transaction type. After the payment is successful, the smart sales terminal sends a payment success message to the electronic device.
S330、判断在设定时长内是否接收到智能销售终端发送的支付成功的消息,如果判断结果为是,即在设定时长内接收到智能销售终端发送的支付成功的消息,则执行步骤S340;如果判断结果为否,即在设定时长内未接收到智能销售终端发送的支付成功的消息,则执行步骤S350。S330, determine whether the payment success message sent by the smart sales terminal is received within the set time period, and if the judgment result is yes, that is, the payment success message sent by the smart sales terminal is received within the set time period, then perform step S340; If the judgment result is no, that is, the payment success message sent by the smart sales terminal is not received within the set time period, step S350 is executed.
其中,设定时长可以是几分钟,可选的,设定时长为3分钟。The set duration may be several minutes, and the set duration is optional, and the set duration is 3 minutes.
S340、记录所述订单的状态为已支付,并将所述支付成功的消息转发至所述商户收银系统。S340. Record the status of the order as paid, and forward the payment success message to the merchant's cash register system.
如果电子设备在设定时长内接收到智能销售终端发送的支付成功的消息,将所述支付成功的消息转发至所述商户收银系统。If the electronic device receives the payment success message sent by the smart sales terminal within a set period of time, it forwards the payment success message to the merchant's cash register system.
S350、将所述支付指令再次转发至所述智能销售终端。S350. Forward the payment instruction to the smart sales terminal again.
如果电子设备在设定时长内未接收到智能销售终端发送的支付成功的消息,将所述支付指令再次转发至所述智能销售终端。继续计时,如果下一段设定时长内也未接收到支付成功的消息,继续转发支付指令,以此类推电子设备将所述支付指令再次转发至所述智能销售终端的操作,可以在接收到智能销售终端发送的支付成功或交易终止消息以后停止;也可以在转发次数达到设定次数以后停止,示例性的设定次数可以为6次。在这里不作限定,具体依据实际情况确定。其中,交易终止消息可以是在消费者未成功支付的情况下,智能销售终端发送给电子设备的。If the electronic device does not receive the payment success message sent by the smart sales terminal within a set period of time, it forwards the payment instruction to the smart sales terminal again. Continue timing, if the payment success message is not received within the next set period of time, continue to forward the payment instruction, and so on. The electronic device forwards the payment instruction to the smart sales terminal again. It stops after the payment success or transaction termination message sent by the sales terminal; it can also stop after the number of forwarding times reaches a set number of times, and an exemplary set number of times can be 6 times. It is not limited here, and is determined according to the actual situation. The transaction termination message may be sent by the smart sales terminal to the electronic device when the consumer fails to pay successfully.
本发明实施例通过电子设备如果在设定时长内接收到智能销售终端发送的支付成功的消息,则记录所述订单的状态为已支付,并将所述支付成功的消息转发至所述商户收银系统;如果在设定时长内未接收到智能销售终端发送的支付成功的消息,则将所述支付指令再次转发至所述智能销售终端,有效的保障了交易一致性。In this embodiment of the present invention, if an electronic device receives a message of successful payment sent by a smart sales terminal within a set period of time, the state of the order is recorded as paid, and the message of successful payment is forwarded to the merchant's cashier system; if the payment success message sent by the smart sales terminal is not received within the set time period, the payment instruction is forwarded to the smart sales terminal again, effectively ensuring transaction consistency.
实施例四Embodiment 4
图4是本发明实施例四中的支付控制方法的流程图,本实施例可适用于商家利用智能销售终端收银的情况。该方法可以由支付控制装置来执行,该装置可以采用软件和/或硬件的方式实现,并可配置在智能销售终端中,其中,智能销售终端是智能POS机。FIG. 4 is a flowchart of a payment control method in Embodiment 4 of the present invention, and this embodiment can be applied to a situation where a merchant uses an intelligent sales terminal to cash out. The method can be executed by a payment control device, which can be implemented in software and/or hardware, and can be configured in a smart sales terminal, where the smart sales terminal is a smart POS machine.
如图4所示,该方法具体包括:As shown in Figure 4, the method specifically includes:
S410、接收电子设备发送的支付指令;其中,所述支付指令包括交易金额,所述支付指令是商户收银系统发送给所述电子设备的。S410. Receive a payment instruction sent by the electronic device; wherein the payment instruction includes the transaction amount, and the payment instruction is sent to the electronic device by the merchant's cash register system.
可选的,在智能销售终端接收电子设备发送的支付指令之前,智能终端建立与电子设备的通信连接。其中通信连接可以是当智能销售终端启动后即刻建立的。可选的,智能销售终端周期性检测与电子设备的连接状态。若连接断开,则智能销售终端自动发起重新连接请求,以保证智能销售终端与电子设备之间的通信可以顺利进行。Optionally, before the smart sales terminal receives the payment instruction sent by the electronic device, the smart terminal establishes a communication connection with the electronic device. The communication connection may be established immediately after the smart sales terminal is started. Optionally, the smart sales terminal periodically detects the connection status with the electronic device. If the connection is disconnected, the smart sales terminal automatically initiates a reconnection request to ensure that the communication between the smart sales terminal and the electronic device can be carried out smoothly.
S420、向消费者展示包括所述交易金额的支付提醒信息。S420. Display payment reminder information including the transaction amount to the consumer.
其中,支付提醒消息的形式可以是语音信息,也可以是文字信息,用以告知消费者需付交易金额。可选的,当交易类型为刷卡支付时,提醒消费者刷卡并输入密码,从而在智能销售终端免输入金额的情况下实现自动支付。The payment reminder message may be in the form of a voice message or a text message to inform the consumer of the transaction amount to be paid. Optionally, when the transaction type is swiping card payment, the consumer is reminded to swipe the card and input the password, so as to realize automatic payment without inputting the amount at the smart sales terminal.
本发明实施例通过将在商户收银系统与智能销售终端之间增加了新的电子设备,通过该设备接收并转发商户收银系统发送的支付指令至智能销售终端,从而所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息,为商户收银系统与智能销售终端搭建了通信桥梁,将商户收银系统与智能销售终端连接起来,实现了交易金额免输入,提高了商户收银效率,降低了交易金额出错的概率,缩短了消费者等待时间长,提高了客户体验。In the embodiment of the present invention, a new electronic device is added between the merchant's cash register system and the smart sales terminal, and the device receives and forwards the payment instruction sent by the merchant's cash register system to the smart sales terminal, so that the smart sales terminal sends the consumer Display the payment reminder information including the transaction amount, build a communication bridge between the merchant's cash register system and the smart sales terminal, connect the merchant's cash register system with the smart sales terminal, realize the transaction amount free input, improve the merchant's cash register efficiency, reduce the cost of The probability of wrong transaction amount shortens the long waiting time for consumers and improves the customer experience.
实施例五Embodiment 5
图5是本发明实施例五中的支付控制方法的流程图,本实施例在上述实施例的基础上进一步优化,可选的,对支付控制方法追加操作“记录所述支付指令的状态和订单的状态;所述支付指令的状态包括已接收,所述订单的状态包括已支付。”FIG. 5 is a flowchart of the payment control method in Embodiment 5 of the present invention. This embodiment is further optimized on the basis of the above-mentioned embodiment. Optionally, the payment control method is additionally operated “record the state of the payment instruction and the order. The status of the payment instruction includes received and the status of the order includes paid."
S510、接收电子设备发送的支付指令;其中,所述支付指令包括交易金额,所述支付指令是商户收银系统发送给所述电子设备的;S510. Receive a payment instruction sent by an electronic device; wherein, the payment instruction includes a transaction amount, and the payment instruction is sent to the electronic device by a merchant's cash register system;
S520、向消费者展示包括所述交易金额的支付提醒信息。S520. Display payment reminder information including the transaction amount to the consumer.
可选的,消费者在看到所述支付提醒信息以后,按照已选择的交易类型完成支付。在消费者支付成功后,智能销售终端生成支付成功的消息。Optionally, after seeing the payment reminder information, the consumer completes the payment according to the selected transaction type. After the consumer pays successfully, the smart sales terminal generates a payment success message.
S530、记录所述支付指令的状态和订单的状态;所述支付指令的状态包括已接收,所述订单的状态包括已支付。S530. Record the state of the payment instruction and the state of the order; the state of the payment instruction includes received, and the state of the order includes paid.
可选的,响应于电子设备发送的支付指令,记录所述支付指令的状态为已接收;响应于支付成功的消息,记录所述订单的状态为已支付,以实现对支付指令和订单状态的及时记录和更新。Optionally, in response to the payment instruction sent by the electronic device, record the status of the payment instruction as received; in response to the successful payment message, record the status of the order as paid, so as to realize the verification of the payment instruction and the order status. Timely records and updates.
可选的,智能销售终端在接收到支付指令以后,可以将支付指令中的数据存储在本地中,并在在本地中中记录当前支付指令与订单的状态。其中,记录支付指令与订单状态的方式可以保留二者之前的状态数据,按照时间顺序依次记录状态,也可以是将之前状态直接改写为当前的状态,以实现支付指令与订单的状态的及时更新。Optionally, after receiving the payment instruction, the smart sales terminal may store the data in the payment instruction locally, and record the current payment instruction and the status of the order locally. Among them, the method of recording the payment instruction and the order status can keep the previous status data of the two, record the status in chronological order, or directly rewrite the previous status to the current status, so as to realize the timely update of the status of the payment instruction and the order .
本发明实施例通过对支付指令的状态和订单的状态进行记录和更新,便于对支付指令与订单进行分类、汇总、跟踪和查询,实现对支付指令与订单的及时管理,提高了支付指令与订单处理效率,提高了支付指令与订单管理的精准性。By recording and updating the status of payment instructions and orders, the embodiment of the present invention facilitates the classification, aggregation, tracking and query of payment instructions and orders, realizes timely management of payment instructions and orders, and improves payment instructions and orders. Processing efficiency improves the accuracy of payment instructions and order management.
实施例六Embodiment 6
图6是本发明实施例六中的支付控制方法的流程图,本实施例六在上述实施例的基础上进行进一步地优化,可选的,在所述向消费者展示包括所述交易金额的支付提醒信息之后,追加操作“将支付成功的消息发送至所述电子设备,以供所述电子设备将所述支付成功的消息转发至所述商户收银系统。”FIG. 6 is a flowchart of the payment control method in Embodiment 6 of the present invention. This Embodiment 6 is further optimized on the basis of the above-mentioned embodiment. After the payment reminder information, the additional operation "send the payment success message to the electronic device, so that the electronic device can forward the payment success message to the merchant's cash register system."
如图6所示,所述方法包括:As shown in Figure 6, the method includes:
S610、接收电子设备发送的支付指令;其中,所述支付指令包括交易金额,所述支付指令是商户收银系统发送给所述电子设备的。S610. Receive a payment instruction sent by the electronic device, wherein the payment instruction includes the transaction amount, and the payment instruction is sent to the electronic device by the merchant's cash register system.
S620、向消费者展示包括所述交易金额的支付提醒信息。S620. Display payment reminder information including the transaction amount to the consumer.
S630、将支付成功的消息发送至所述电子设备,以供所述电子设备将所述支付成功的消息转发至所述商户收银系统。S630. Send a payment success message to the electronic device, so that the electronic device forwards the payment success message to the merchant's cash register system.
本发明实施例通过智能销售终端将支付成功的消息发送至所述电子设备,在由电子设备将所述支付成功的消息转发至所述商户收银系统,联通了智能销售终端与商户收银系统,使支付成功的消息免人工确认自动地传递至商户收银系统,有效的保障了交易一致性,提高了收银的效率。In the embodiment of the present invention, the payment success message is sent to the electronic device through the smart sales terminal, and the electronic device forwards the payment success message to the merchant cash register system, which connects the smart sales terminal and the merchant cash register system, so that The message of successful payment is automatically transmitted to the merchant's cash register system without manual confirmation, which effectively guarantees the transaction consistency and improves the efficiency of cash register.
实施例七Embodiment 7
图7是本发明实施例七中的支付控制装置的结构示意图,本实施例可适用于商家利用智能销售终端收银的情况。所述装置可由软件和/或硬件实现,可配置在电子设备中。FIG. 7 is a schematic structural diagram of a payment control device in Embodiment 7 of the present invention, and this embodiment can be applied to a situation where a merchant uses an intelligent sales terminal to cash out. The apparatus may be implemented in software and/or hardware, and may be configured in an electronic device.
如图7所示,该装置700可以包括:支付指令接收模块710和支付指令转发模块720。As shown in FIG. 7 , the
支付指令接收模块710,用于接收商户收银系统发送的支付指令;其中,所述支付指令包括交易金额;A payment
支付指令转发模块720,用于将所述支付指令转发至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息。The payment
本发明实施例通过将在商户收银系统与智能销售终端之间增加了新的电子设备,通过该设备接收并转发商户收银系统发送的支付指令至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息,为商户收银系统与智能销售终端搭建了通信桥梁,将商户收银系统与智能销售终端连接起来,实现了交易金额免输入,提高了商户收银效率,降低了交易金额出错的概率,缩短了消费者等待时间长,提高了客户体验。In the embodiment of the present invention, a new electronic device is added between the merchant's cash register system and the smart sales terminal, and the device receives and forwards the payment instruction sent by the merchant's cash register system to the smart sales terminal, so that the smart sales terminal can send consumers The user displays the payment reminder information including the transaction amount, builds a communication bridge between the merchant's cash register system and the smart sales terminal, and connects the merchant's cash register system with the smart sales terminal. The probability of wrong transaction amount is reduced, the long waiting time of consumers is shortened, and the customer experience is improved.
可选的,所述方法还包括:记录所述支付指令的状态和订单的状态;Optionally, the method further includes: recording the state of the payment instruction and the state of the order;
所述支付指令的状态包括已接收和已转发,所述订单的状态包括已支付。The status of the payment instruction includes received and forwarded, and the status of the order includes paid.
可选的,响应于接收商户收银系统发送的支付指令,记录所述支付指令的状态为已接收;Optionally, in response to receiving a payment instruction sent by the merchant's cash register system, record the state of the payment instruction as received;
响应于将所述支付指令转发至智能销售终端,记录所述支付指令的状态为已转发;In response to forwarding the payment instruction to the smart sales terminal, recording the status of the payment instruction as forwarded;
所述记录订单的状态,包括:The status of the record order, including:
响应于接收到智能销售终端发送的支付成功的消息,记录订单的状态为已支付。In response to receiving the successful payment message sent by the smart sales terminal, the status of the record order is paid.
可选的,在所述将所述支付指令转发至智能销售终端之后,接收智能销售终端发送的支付成功的消息,并将所述支付成功的消息转发至所述商户收银系统。Optionally, after the payment instruction is forwarded to the smart sales terminal, a payment success message sent by the smart sales terminal is received, and the payment success message is forwarded to the merchant cash register system.
可选的,在所述将所述支付指令转发至智能销售终端之后,如果设定时长内未接收到智能销售终端发送的支付成功的消息,将所述支付指令再次转发至所述智能销售终端。Optionally, after the payment instruction is forwarded to the smart sales terminal, if the payment success message sent by the smart sales terminal is not received within a set period of time, the payment instruction is forwarded to the smart sales terminal again. .
本发明实施例所提供的支付控制装置可执行本发明任意实施例所提供的支付控制方法,具备执行支付控制方法相应的功能模块和有益效果。The payment control device provided by the embodiment of the present invention can execute the payment control method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the payment control method.
实施例八Embodiment 8
图8是本发明实施例八中的适用于智能销售终端的支付控制装置的结构示意图,本实施例可适用于商家利用智能销售终端收银的情况。所述装置可由软件和/或硬件实现,可配置在智能销售终端中。FIG. 8 is a schematic structural diagram of a payment control device applicable to a smart sales terminal in Embodiment 8 of the present invention, and this embodiment can be applied to a situation where a merchant uses a smart sales terminal to checkout. The apparatus may be implemented in software and/or hardware, and may be configured in an intelligent point-of-sale terminal.
如图8所示,该装置800可以包括:支付指令接收模块810和信息展示模块820。As shown in FIG. 8 , the
支付指令接收模块810,用于接收电子设备发送的支付指令;其中,所述支付指令包括交易金额,所述支付指令是商户收银系统发送给所述电子设备的;A payment
信息展示模块820,用于向消费者展示包括所述交易金额的支付提醒信息。The
本发明实施例通过将在商户收银系统与智能销售终端之间增加了新的电子设备,通过该设备接收并转发商户收银系统发送的支付指令至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息,为商户收银系统与智能销售终端搭建了通信桥梁,将商户收银系统与智能销售终端连接起来,实现了交易金额免输入,提高了商户收银效率,降低了交易金额出错的概率,缩短了消费者等待时间长,提高了客户体验。In the embodiment of the present invention, a new electronic device is added between the merchant's cash register system and the smart sales terminal, and the device receives and forwards the payment instruction sent by the merchant's cash register system to the smart sales terminal, so that the smart sales terminal can send consumers The user displays the payment reminder information including the transaction amount, builds a communication bridge between the merchant's cash register system and the smart sales terminal, and connects the merchant's cash register system with the smart sales terminal. The probability of wrong transaction amount is reduced, the long waiting time of consumers is shortened, and the customer experience is improved.
可选的,所述支付控制装置还包括:Optionally, the payment control device further includes:
状态记录模块,用于记录所述支付指令的状态和订单的状态;所述支付指令的状态包括已接收,所述订单的状态包括已支付。The status recording module is used to record the status of the payment instruction and the status of the order; the status of the payment instruction includes received, and the status of the order includes paid.
可选的,状态记录模块包括:Optionally, the status recording module includes:
第一记录单元,用于响应于电子设备发送的支付指令,记录所述支付指令的状态为已接收;a first recording unit, configured to record the state of the payment instruction as received in response to the payment instruction sent by the electronic device;
第二记录单元,用于响应于支付成功的消息,记录所述订单的状态为已支付。The second recording unit is configured to record the status of the order as paid in response to the payment success message.
可选的,所述支付控制装置还包括:Optionally, the payment control device further includes:
消息发送模块,用于在所述向消费者展示包括所述交易金额的支付提醒信息之后,将支付成功的消息发送至所述电子设备,以供所述电子设备将所述支付成功的消息转发至所述商户收银系统。A message sending module, configured to send a payment success message to the electronic device after the payment reminder information including the transaction amount is displayed to the consumer, so that the electronic device can forward the payment success message to the merchant's cash register system.
本发明实施例所提供的支付控制装置可执行本发明任意实施例所提供的支付控制方法,具备执行支付控制方法相应的功能模块和有益效果。The payment control device provided by the embodiment of the present invention can execute the payment control method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the payment control method.
实施例九Embodiment 9
图9为本发明实施例十提供的一种电子设备的结构示意图,如图9所示,该电子设备包括处理器910、存储器920、输入装置930和输出装置940;电子设备中处理器910的数量可以是一个或多个,图9中以一个处理器910为例;电子设备中的处理器910、存储器920、输入装置930和输出装置940可以通过总线或其他方式连接,图9中以通过总线连接为例。FIG. 9 is a schematic structural diagram of an electronic device according to Embodiment 10 of the present invention. As shown in FIG. 9 , the electronic device includes a
存储器920作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的支付控制方法对应的程序指令/模块(例如,支付控制装置中的支付指令接收模块710和支付指令转发模块720。处理器910通过运行存储在存储器920中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现支付控制方法。As a computer-readable storage medium, the
存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器920可进一步包括相对于处理器910远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The
输入装置930可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置940可包括显示屏等显示设备。The
实施例十Embodiment ten
图10为本发明实施例十提供的一种智能销售终端的结构示意图,如图10所示,该智能销售终端包括处理器1010、存储器1020、输入装置1030和输出装置1040;电子设备中处理器1010的数量可以是一个或多个,图10中以一个处理器1010为例;电子设备中的处理器1010、存储器1020、输入装置1030和输出装置1040可以通过总线或其他方式连接,图10中以通过总线连接为例。FIG. 10 is a schematic structural diagram of a smart sales terminal according to Embodiment 10 of the present invention. As shown in FIG. 10 , the smart sales terminal includes a
存储器1020作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的支付控制方法对应的程序指令/模块(例如,支付控制装置中的支付指令接收模块810和信息展示模块820。处理器1010通过运行存储在存储器1020中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现支付控制方法。As a computer-readable storage medium, the
存储器1020可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器1020可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器1020可进一步包括相对于处理器1010远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The
输入装置1030可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入可以是密码键盘、智能卡读卡器。输出装置1040可包括显示屏、打印机等显示设备。The
实施例十一Embodiment 11
本发明实施例十一还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例所提供的支付控制方法或适用于智能销售终端的支付控制方法。其中,支付控制方法包括:The eleventh embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by the processor, implements the payment control method provided by the embodiment of the present invention or the method applicable to the smart sales terminal. Payment control method. Among them, the payment control methods include:
接收商户收银系统发送的支付指令;其中,所述支付指令包括交易金额;Receive a payment instruction sent by the merchant's cash register system; wherein, the payment instruction includes the transaction amount;
将所述支付指令转发至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息。The payment instruction is forwarded to the smart sales terminal, so that the smart sales terminal can display payment reminder information including the transaction amount to the consumer.
适用于智能销售终端的支付控制方法,包括:Payment control methods for smart point-of-sale terminals, including:
接收电子设备发送的支付指令;其中,所述支付指令包括交易金额,所述支付指令是商户收银系统发送给所述电子设备的;receiving a payment instruction sent by an electronic device; wherein the payment instruction includes the transaction amount, and the payment instruction is sent to the electronic device by the merchant's cash register system;
向消费者展示包括所述交易金额的支付提醒信息。A payment reminder message including the transaction amount is presented to the consumer.
本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may adopt any combination of one or more computer-readable mediums. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以用一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedures, or a combination thereof programming languages such as "C" or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. Where a remote computer is involved, the remote computer may be connected to the user's computer through any kind of network including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider to connect over the Internet) .
实施例十二Embodiment 12
本实施例提供一种支付控制系统,如图1A所示,支付控制系统1200包括:包括支付控制系统1200主要包括电子设备1210、智能销售终端1220和商户收银系统1230。电子设备1210分别与智能销售终端1220和商户收银系统1230通信连接。This embodiment provides a payment control system. As shown in FIG. 1A , the
其中,电子设备1210用于接收商户收银系统1230发送的支付指令,并将所述支付指令转发至智能销售终端1220;其中,所述支付指令包括交易金额;The
智能销售终端1220,用于接收所述电子设备1210发送的支付指令,并向消费者展示包括所述交易金额的支付提醒信息。The smart sales terminal 1220 is configured to receive the payment instruction sent by the
可选的,电子设备1210还用于记录所述支付指令的状态和订单的状态;所述支付指令的状态包括已接收和已转发,所述订单的状态包括已支付。Optionally, the
可选的,电子设备1210在记录所述支付指令的状态时,具体用于响应于接收商户收银系统1230发送的支付指令,记录所述支付指令的状态为已接收;响应于将所述支付指令转发至智能销售终端1220,记录所述支付指令的状态为已转发;电子设备1210在记录所述订单的状态时,具体用于响应于接收到智能销售终端1220发送的支付成功的消息,记录订单的状态为已支付。Optionally, when the
可选的,电子设备1210还用于在所述将所述支付指令转发至智能销售终端1220之后,如果设定时长内未接收到智能销售终端1220发送的支付成功的消息,将所述支付指令再次转发至所述智能销售终端1220。Optionally, the
可选的,智能销售终端1220,还用于记录所述支付指令的状态和订单的状态;所述支付指令的状态包括已接收,所述订单的状态包括已支付。Optionally, the smart sales terminal 1220 is further configured to record the status of the payment instruction and the status of the order; the status of the payment instruction includes received, and the status of the order includes paid.
可选的,智能销售终端1220,在记录所述支付指令的状态时,具体用于响应于电子设备1210发送的支付指令,记录所述支付指令的状态为已接收;智能销售终端1220在记录所述订单的状态时,具体用于响应于支付成功的消息,记录所述订单的状态为已支付。Optionally, when recording the status of the payment instruction, the smart sales terminal 1220 is specifically configured to record the status of the payment instruction as received in response to the payment instruction sent by the
可选的,智能销售终端1220,还用于在所述向消费者展示包括所述交易金额的支付提醒信息之后,将支付成功的消息发送至所述电子设备1210;电子设备1210还用于接收智能销售终端1220发送的支付成功的消息,并将所述支付成功的消息转发至所述商户收银系统1230。Optionally, the smart sales terminal 1220 is further configured to send a payment success message to the
本发明实施例在商户收银系统与智能销售终端之间增加了新的电子设备,通过该设备接收并转发商户收银系统发送的支付指令至智能销售终端,以供所述智能销售终端向消费者展示包括所述交易金额的支付提醒信息,为商户收银系统与智能销售终端搭建了通信桥梁,将商户收银系统与智能销售终端连接起来,实现了交易金额免输入,提高了商户收银效率,降低了交易金额出错的概率,缩短了消费者等待时间长,提高了客户体验。此外,由于电子设备与智能销售终端均在本地维护了支付指令和订单的状态,实现对支付指令与订单的及时管理,提高了支付指令与订单处理效率,提高了支付指令与订单管理的精准性。电子设备分别与智能销售终端和商户收银系统建立通信连接,智能销售终端将支付成功的消息发送至所述电子设备,在由电子设备将所述支付成功的消息转发至所述商户收银系统,联通了智能销售终端与商户收银系统,使支付成功的消息免人工确认自动地传递至商户收银系统,有效的保障了交易一致性,提高了收银的效率。In the embodiment of the present invention, a new electronic device is added between the merchant's cash register system and the smart sales terminal, and the device receives and forwards the payment instruction sent by the merchant's cash register system to the smart sales terminal for the smart sales terminal to display to consumers. The payment reminder information including the transaction amount, builds a communication bridge between the merchant's cash register system and the smart sales terminal, connects the merchant's cash register system and the smart sales terminal, realizes the transaction amount without input, improves the merchant's cash register efficiency, and reduces the transaction volume. The probability of an error in the amount shortens the long waiting time for consumers and improves the customer experience. In addition, since both electronic devices and smart sales terminals maintain the status of payment instructions and orders locally, the timely management of payment instructions and orders is realized, the processing efficiency of payment instructions and orders is improved, and the accuracy of payment instructions and order management is improved. . The electronic device establishes a communication connection with the smart sales terminal and the merchant's cash register system respectively. The smart sales terminal sends a payment success message to the electronic device, and the electronic device forwards the payment success message to the merchant cash register system. Unicom The intelligent sales terminal and the merchant's cash register system are used, so that the message of successful payment is automatically transmitted to the merchant's cash register system without manual confirmation, which effectively guarantees the transaction consistency and improves the efficiency of the cash register.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010755740.1ACN111915288A (en) | 2020-07-30 | 2020-07-30 | Payment control method, device, intelligent sales terminal, device, medium and system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010755740.1ACN111915288A (en) | 2020-07-30 | 2020-07-30 | Payment control method, device, intelligent sales terminal, device, medium and system |
| Publication Number | Publication Date |
|---|---|
| CN111915288Atrue CN111915288A (en) | 2020-11-10 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010755740.1APendingCN111915288A (en) | 2020-07-30 | 2020-07-30 | Payment control method, device, intelligent sales terminal, device, medium and system |
| Country | Link |
|---|---|
| CN (1) | CN111915288A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100228639A1 (en)* | 2009-03-05 | 2010-09-09 | Barclays Bank Delaware | Systems And Methods To Initiate Payments From Electronic Devices |
| CN105678553A (en)* | 2015-08-05 | 2016-06-15 | 腾讯科技(深圳)有限公司 | Method, device and system for processing order information |
| CN108205755A (en)* | 2016-12-19 | 2018-06-26 | 北京握奇智能科技有限公司 | A kind of electronic fare payment system and method |
| CN108446904A (en)* | 2018-02-02 | 2018-08-24 | 联动优势电子商务有限公司 | A kind of method of payment and POS machine, POSP |
| CN109544134A (en)* | 2018-11-29 | 2019-03-29 | 银联商务股份有限公司 | Convenient payment service method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100228639A1 (en)* | 2009-03-05 | 2010-09-09 | Barclays Bank Delaware | Systems And Methods To Initiate Payments From Electronic Devices |
| CN105678553A (en)* | 2015-08-05 | 2016-06-15 | 腾讯科技(深圳)有限公司 | Method, device and system for processing order information |
| CN108205755A (en)* | 2016-12-19 | 2018-06-26 | 北京握奇智能科技有限公司 | A kind of electronic fare payment system and method |
| CN108446904A (en)* | 2018-02-02 | 2018-08-24 | 联动优势电子商务有限公司 | A kind of method of payment and POS machine, POSP |
| CN109544134A (en)* | 2018-11-29 | 2019-03-29 | 银联商务股份有限公司 | Convenient payment service method and system |
| Publication | Publication Date | Title |
|---|---|---|
| US9881293B2 (en) | Electronic receipt system | |
| US8712912B2 (en) | System and method for providing advice to consumer regarding a payment transaction | |
| US11049085B2 (en) | Point of sale client integration platform | |
| US11468432B2 (en) | Virtual-to-physical secure remote payment to a physical location | |
| US20230169478A1 (en) | Optical-scan triggered electronic funds transfer for purchase transaction | |
| US10764163B2 (en) | Determining an event history for an event processed by a plurality of communicating servers via a central event data log | |
| TW201516934A (en) | Method for network transactions, related device and system | |
| US20190066075A1 (en) | System and method for providing point of sale cloud services | |
| US10783574B1 (en) | Systems and methods for tagging real-time financial transactions | |
| WO2021208916A1 (en) | Payment communication method and apparatus, and electronic device | |
| KR20170064892A (en) | Billing system between accounts and method thereof | |
| JP2008112326A (en) | Payment processing system, service providing server, authentication/accounting server, payment processing method and program | |
| US10229409B1 (en) | Advanced systems and methods for geographical card | |
| CN108961622A (en) | Settlement method, checkout apparatus and supermarket system | |
| JP2010272048A (en) | Electronic settlement system | |
| JP7044591B2 (en) | Information processing equipment, information processing methods and information processing programs | |
| CN111915288A (en) | Payment control method, device, intelligent sales terminal, device, medium and system | |
| CN116777543A (en) | Aggregate payment method and system supporting support and verification integration | |
| JP6740809B2 (en) | Repeater and program | |
| JP2002312595A (en) | Information processor and its method and merchandise providing device and its method and financial processor and its method and information management device and its method and storage medium | |
| CN115018490B (en) | Payment method, system, equipment and medium based on transaction platform | |
| US20250080673A1 (en) | Information terminal, method of controlling information terminal, and electronic receipt system | |
| JP2001043295A (en) | Payment system, portable terminal, payment center and recording medium | |
| TW201933211A (en) | Mobile payment system combining Internet of Things and mobile devices providing a low-cost and high-efficiency payment operation | |
| TWM551305U (en) | Integrated payment system |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right | Effective date of registration:20220921 Address after:25 Financial Street, Xicheng District, Beijing 100033 Applicant after:CHINA CONSTRUCTION BANK Corp. Address before:25 Financial Street, Xicheng District, Beijing 100033 Applicant before:CHINA CONSTRUCTION BANK Corp. Applicant before:Jianxin Financial Science and Technology Co.,Ltd. | |
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20201110 |